Message171472
Note: on python3, the error is
File "/[...]/cpython/Lib/genericpath.py", line 41, in isdir
st = os.stat(s)
TypeError: embedded NUL character
(same exception but different message.)
I don't know where to start fixing, because the documentation for os.stat says "Perform the equivalent of a stat() system call on the given path.", which is not exactly the correct behavior in this case.
I see that
$ printf "/\00" | xargs stat
stat()s correctly the root directory, and
$ printf "/\00tmp" | xargs stat
stat()s still '/'. So, is this a bug of os.stat?
Noising some coredevs. |
|
Date |
User |
Action |
Args |
2012-09-28 14:15:03 | maker | set | recipients:
+ maker, christian.heimes, ezio.melotti, eric.araujo, r.david.murray |
2012-09-28 14:15:03 | maker | set | messageid: <1348841703.39.0.297385423449.issue16083@psf.upfronthosting.co.za> |
2012-09-28 14:15:02 | maker | link | issue16083 messages |
2012-09-28 14:15:02 | maker | create | |
|