[issue24993] The C function PyCodec_NameReplaceErrors doesn't handle PyCapsule_Import() failure
STINNER Victor
report at bugs.python.org
Thu Sep 3 16:18:35 CEST 2015
STINNER Victor added the comment:
> It was optional in Python 2 (at least in Unicode-disabled build).
Yeah, even if I don't think that anyone is really using python without unicode in the wild. I guess that too many libraries don't work without unicode. Well, anyway this issue is for Python 3.6 which has always unicode support :-)
> Perhaps it can be exclude from custom build in Python 3 too.
Right, some patches were proposed to disable some features of Python to get a smaller Python core/stdlib, but some developers were opposed to this idea.
It's not supported officially by Python, so I don't think that we should polute the code for an hypothetic use case.
If you use a custom build, you must be prepared to some corner case bugs. If you modify the build, you are able to fix such simple issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24993>
_______________________________________
More information about the Python-bugs-list
mailing list