Re: -nspkg.pth and .pth files - should we get rid of them?
On Jul 20, 2015, at 01:12 PM, Julien Cristau wrote:
>Is that a serious question? Why should debian-python, for no good
>reason, break things that work just fine?
Because it doesn't really work well when you are supporting both Python 2 and
Python 3. For example, if you have the 'foo' namespace with submodules 'bar'
and 'baz', you can't write a foo/__init__.py that supports old-style
namespaces for Python 2 and PEP 420 style namespaces for Python 3 because in
the latter *you can't have an __init__.py at all*.
+1 also for getting rid of .pth files as much as is possible.
Cheers,
-Barry
Reply to: