[issue8514] Create fsencode() and fsdecode() functions in os.path
Antoine Pitrou
report at bugs.python.org
Sat May 1 17:12:18 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
In posixmodule.c, the following snippet doesn't make sense anymore:
if (k == NULL) {
PyErr_Clear();
continue;
}
If memory allocation of the bytes object fails, we should error out.
(same for "if (v == NULL)" a bit later)
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8514>
_______________________________________
More information about the Python-bugs-list
mailing list