[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
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

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
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

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
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 ___

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
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. --

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
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

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
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