[issue26754] PyUnicode_FSDecoder() accepts arbitrary iterable

Serhiy Storchaka report at bugs.python.org
Sat Jun 18 07:45:35 EDT 2016


Serhiy Storchaka added the comment:

Following patch deprecates the support of bytes-like objects (except bytes itself) in PyUnicode_FSDecoder() for consistency with issue26800.

----------
dependencies: +Don't accept bytearray as filenames part 2
versions:  -Python 3.5
Added file: http://bugs.python.org/file43451/PyUnicode_FSDecoder-deprecate-buffer.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26754>
_______________________________________


More information about the Python-bugs-list mailing list