Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev
Re: [Python-checkins] cpython: Issue #14581: Windows users are allowed to import modules w/o taking
 

Index | Next | Previous | View Flat


tjreedy at udel

Apr 20, 2012, 11:09 AM


Views: 83
Permalink
Re: [Python-checkins] cpython: Issue #14581: Windows users are allowed to import modules w/o taking

On 4/20/2012 12:53 PM, brett.cannon wrote:
> http://hg.python.org/cpython/rev/a32be109bd86
> changeset: 76428:a32be109bd86
> user: Brett Cannon<brett [at] python>
> 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
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Subject User Time
Re: [Python-checkins] cpython: Issue #14581: Windows users are allowed to import modules w/o taking tjreedy at udel Apr 20, 2012, 11:09 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.