Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Crashing happens only with the debug build. With the release mode I got 
OSError(EINVAL). I think it is better to raise the same error in all builds. 
ValueError is not new, it is already raised for paths containing NUL and too 
long paths.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue8036>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to