[issue8514] Add fsencode() functions to os module

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

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/5/8 STINNER Victor : > > STINNER Victor 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 equivalent to utf-8 with surrogatesescape then. > > fsencode() is

[issue8514] Add fsencode() functions to os module

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

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why does this have no tests? -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-l

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: Commited: r80971 (py3k), blocked by r80972 (3.1). -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
Changes by STINNER Victor : -- title: Create fsencode() and fsdecode() functions in os.path -> Add fsencode() functions to os module ___ Python tracker ___ __