[issue9660] PEP 383: socket module doesn't handle undecodable protocol or service names
David Watson
report at bugs.python.org
Tue Aug 24 00:13:27 CEST 2010
David Watson <baikie at users.sourceforge.net> added the comment:
Come to think of it, I'm not sure if the patch is correct for
Windows, as PyUnicode_DecodeFSDefault() appears to do strict MBCS
decoding by default (similarly with PyUnicode_FSConverter() for
encoding). Can Windows return service names that won't decode
with MBCS? Or does it use a different encoding? I don't have a
system to experiment with.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9660>
_______________________________________
More information about the Python-bugs-list
mailing list