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 gsakkis
Recipients brett.cannon, eric.araujo, gsakkis, hauser, mrts, rhettinger
Date 2010-04-15.22:51:32
SpamBayes Score 0.011251432
Marked as misclassified No
Message-id <1271371893.99.0.733883319131.issue2090@psf.upfronthosting.co.za>
In-reply-to
Content
More fun findings: dots are special-cased too, but only if they don't appear consecutively (!);

~$ cat pkg/__init__.py
print  __name__

~$ python -c "__import__('pkg', fromlist=['.'])"
pkg
pkg..
~$ python -c "__import__('pkg', fromlist=['..'])"
pkg
~$ python -c "__import__('pkg', fromlist=['...'])"
pkg
~$ python -c "__import__('pkg', fromlist=['././//.'])"
pkg
pkg.././//.
~$ python -c "__import__('pkg', fromlist=['././../'])"
pkg
History
Date User Action Args
2010-04-15 22:51:34gsakkissetrecipients: + gsakkis, brett.cannon, rhettinger, hauser, eric.araujo, mrts
2010-04-15 22:51:33gsakkissetmessageid: <1271371893.99.0.733883319131.issue2090@psf.upfronthosting.co.za>
2010-04-15 22:51:32gsakkislinkissue2090 messages
2010-04-15 22:51:32gsakkiscreate