[Python-Dev] Case sensitive import.

Jason Tishler Jason.Tishler@dothill.com
Mon, 12 Feb 2001 17:08:39 -0500


[Sorry for letting this thread hang, but I'm back from paternity leave
so I will be more responsive now.  Well, at least between normal business
hours that is.]

On Mon, Feb 05, 2001 at 04:01:49PM -0500, Tim Peters wrote:
> Basic sanity requires that Python do the same
> thing on *all* case-insensitive case-preserving filesystems, to the fullest
> extent possible.  Python's DOS/Windows behavior has priority by a decade.
> I'm deadly opposed to making a special wart for Cygwin (or the Mac), but am
> in favor of changing it on Windows too.

May be if we can agree on how import should behave, then we will have
a better chance of determining the best way to implement it sans warts?
So, along these lines I propose that import from a file behave the same
on both case-sensitive and case-insensitive/case-preserving filesystems.
This will help to maximize portability between platforms like UNIX,
Windows, and Mac.  Unfortunately, something like the PYTHONCASEOK
caveat still needs to be preserved for case-destroying filesystems.

Any feedback is appreciated -- I'm just trying to help get closure on
this issue by Beta 1.

Thanks,
Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com