[issue7560] Various filename-taking posix methods don't like bytes / buffer objects.

Sebastian Hagen report at bugs.python.org
Tue Dec 22 06:42:10 CET 2009


Sebastian Hagen <sh_pybugs at memespace.net> added the comment:

And further testing reveals that all of this has in fact already been
fixed in trunk. I assumed it hadn't been, because the code for at least
some of the relevant functions in Modules/_posixmodule.c is the same as
in 3.1.1; I didn't know that the samentics for the "s" format parameter
to PyArg_ParseTuple() had been modified. Apologies for the noise.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7560>
_______________________________________


More information about the Python-bugs-list mailing list