os.mkdir() errno inconsistency on Windows?

Irmen de Jong usenet at NOSPAM-irmen.cjb.net
Thu Dec 13 01:39:59 EST 2001


"Tim Peters" <tim at zope.com> wrote in message
news:mailman.1008107491.4060.python-list at python.org...
> Only Microsoft knows:  Python reports the errno value set by Microsoft's
> _mkdir() function.

Hmm. Great.
Because Microsoft treats the root and its subdirectories as different
objects,
I have to write code that handles both cases.

Anyway, thanks for clearing things up. The answer was quite obvious.

Irmen de Jong






More information about the Python-list mailing list