[Python-Dev] Case sensitive import.

Jason Tishler Jason.Tishler@dothill.com
Tue, 13 Feb 2001 09:51:40 -0500


Tim,

On Tue, Feb 13, 2001 at 12:34:23AM -0500, Tim Peters wrote:
> [Jason Tishler]
> > I'm willing to help develop, test, etc. the Cygwin stuff.  Just let me
> > know how I can assist you.

Guido said that you needed help with Cygwin and MacOSX, so I was just
offering my help.  I know that you have the "development" in good shape
so let me know if I can help with testing Cygwin or other platforms.

> Jason, doesn't the current CVS Python already do what you want?

Yes.

> I thought
> that was the case, due to the HAVE_DIRENT_H #ifdef'ery Steven introduced.
> If not, scream at me.  My intent is to get rid of the HAVE_DIRENT_H #ifdef
> *test*, but not the code therein, and add new versions of MatchFilename that
> work for systems (like regular old Windows) that don't support opendir()
> natively.  I didn't think Cygwin needed that -- scream if that's wrong.

You are correct -- Cygwin supports opendir() et al.

> However, even if you are happy with that (& I won't hurt it),

I am (and thanks).

> sooner or
> later you're going to try accessing a case-destroying network filesystem
> from Cygwin, so I believe you need more code to honor PYTHONCASEOK too (it's
> the only chance anyone has in the face of a case-destroying system).

Is it possible to make the PYTHONCASEOK caveat orthogonal to the
platform so it can be enabled to combat case-destroying filesystems for
any platform?

> Luckily, with a new child in the house, you have plenty of time to think
> about this, since you won't be sleeping again for about 3 years anyway
> <wink>.

Agreed -- this is not our first so we "know."  I *have* been thinking
about this issue and others 24 hours a day for the last two weeks.
I'm just finding it difficult to actually *do* anything with one hand
and no sleep... :,)

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