Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Please follow the naming convention used in os.path. The functions
would have to be called os.path.fsencode() and os.path.fsdecode().
Ok
Other
STINNER Victor victor.stin...@haypocalc.com added the comment:
In real life applications, you do run into these problems quite
often
Yes, I'm agree 100% with you :-)
Python3 prefers unicode, eg. print expects an unicode string, not a byte
string. I mean it's more pratical to use unicode
STINNER Victor victor.stin...@haypocalc.com added the comment:
Please follow the naming convention used in os.path. The functions
would have to be called os.path.fsencode() and os.path.fsdecode().
Ok
Other than that, I'm +0 on the patch: the sys.filesystemencoding
logic doesn't really work
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
Python3 uses unicode filenames in Windows and bytes filenames (but support
also unicode filenames) on other OS. We have to support both types. On
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
priority: - normal
stage: - patch review
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
___
New submission from STINNER Victor victor.stin...@haypocalc.com:
Python3 uses unicode filenames in Windows and bytes filenames (but support also
unicode filenames) on other OS. We have to support both types. On POSIX system,
bytes filenames can be stored in unicode filenames using
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +lemburg, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Issue #8513 would benefit from these functions.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
___