[Python-Dev] Emit a BytesWarning on bytes filenames on Windows (original) (raw)
Victor Stinner victor.stinner at haypocalc.com
Wed Nov 9 01:41:56 CET 2011
- Previous message: [Python-Dev] cpython: Remove the old style [...] to denote optional args and show the defaults.
- Next message: [Python-Dev] draft PEP: virtual environments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le samedi 29 octobre 2011 07:47:01, vous avez écrit :
Therefore, as you imply, I think the solution to this issue is to start the process of deprecating the bytes version of the api in py3k with a view to removing it completely - possibly with a less aggressive timeline than normal. In Python 2.7, I think documenting the issue and a recommendation to always use unicode is sufficient (ie, we can't deprecate it and a new BytesWarning seems gratuitous.)
I wrote a patch to implement the deprecation: http://bugs.python.org/issue13374
Victor
- Previous message: [Python-Dev] cpython: Remove the old style [...] to denote optional args and show the defaults.
- Next message: [Python-Dev] draft PEP: virtual environments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]