On 4/20/2012 12:53 PM, brett.cannon wrote:
http://hg.python.org/cpython/rev/a32be109bd86
changeset: 76428:a32be109bd86
user: Brett Cannon<[email protected]>
date: Fri Apr 20 12:53:14 2012 -0400
summary:
Issue #14581: Windows users are allowed to import modules w/o taking
the file suffix's case into account, even when doing a case-sensitive
import.
+ name, dot, suffix = item.partition('.')
Should this be .rpartition in case there is more than one . in the name?
tjr
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com