[issue18695] os.statvfs() not working well with unicode paths

Serhiy Storchaka report at bugs.python.org
Sat May 24 22:50:17 CEST 2014


Serhiy Storchaka added the comment:

> > You have eaten "return NULL;" in posix_mkfifo.
> What do you mean?

You deleted "return NULL;" after "if (!PyArg_ParseTuple(...))" in the 
posix_mkfifo() function.

> > Tests should check that results for unicode filename is same as for str
> > filename.
> What do you mean? Can you provide an example?

For example test_statvfs should check that os.statvfs(TESTFN_UNICODE) == 
os.statvfs(TESTFN_UNICODE_ENCODED) (where TESTFN_UNICODE_ENCODED is relevant 
8-bit str).

----------

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


More information about the Python-bugs-list mailing list