This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients abraithwaite, berker.peksag, docs@python, eric.smith, rhettinger
Date 2014-06-17.07:10:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402989053.87.0.512678470753.issue21784@psf.upfronthosting.co.za>
In-reply-to
Content
I think this is related to PEP 420.

    $ tree pkg/
    pkg/
    ├── foobar.py

    $ python3.2 -c "from pkg import foobar"
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named pkg

But, with Python 3.3 and newer:

    $ python3.3 -c "from pkg import foobar"
    hello

See https://docs.python.org/3/whatsnew/3.3.html#pep-420-implicit-namespace-packages for the whatsnew entry.
History
Date User Action Args
2014-06-17 07:10:53berker.peksagsetrecipients: + berker.peksag, rhettinger, eric.smith, docs@python, abraithwaite
2014-06-17 07:10:53berker.peksagsetmessageid: <1402989053.87.0.512678470753.issue21784@psf.upfronthosting.co.za>
2014-06-17 07:10:53berker.peksaglinkissue21784 messages
2014-06-17 07:10:53berker.peksagcreate