]> granicus.if.org Git - python/commit
Issue #23908: os functions now reject paths with embedded null character
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 20 Apr 2015 07:12:28 +0000 (10:12 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 20 Apr 2015 07:12:28 +0000 (10:12 +0300)
commit7e9d1d1a1b8ec4db9b9b6789b448c4202ab84b48
tree0cecdabe5db216090cd9fb763bf3cd6c3b2165e3
parente3037e114509913874a28746f5e05780919e909a
parent2b0d2007a1a51a15a67dc7297cf5e21c8767b563
Issue #23908: os functions now reject paths with embedded null character
on Windows instead of silently truncate them.

Removed no longer used _PyUnicode_HasNULChars().
Include/unicodeobject.h
Lib/test/test_posix.py
Misc/NEWS
Modules/_io/fileio.c
Modules/posixmodule.c
Objects/unicodeobject.c