Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: Create fsencode() and fsdecode() functions in os.path - Add fsencode()
functions to os module
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited: r80971 (py3k), blocked by r80972 (3.1).
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
Benjamin Peterson benja...@python.org added the comment:
Why does this have no tests?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Why does this have no tests?
The function is trivial. Does it really need tests? What kind of tests?
fsencode() is already tested indirectly by test_subprocess, and #8513 will add
new tests.
--
Benjamin Peterson benja...@python.org added the comment:
2010/5/8 STINNER Victor rep...@bugs.python.org:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Why does this have no tests?
The function is trivial. Does it really need tests? What kind of tests?
Check that it is
STINNER Victor victor.stin...@haypocalc.com added the comment:
Check that it is equivalent to utf-8 with surrogatesescape then.
The file system encoding can be anything, not only utf-8. Anyway: r81014.
--
___
Python tracker rep...@bugs.python.org