[Python-Dev] Emit a BytesWarning on bytes filenames on Windows (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Oct 29 19:47:48 CEST 2011


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.)

That sounds all fine to me.

Regards, Martin



More information about the Python-Dev mailing list