[issue26336] Expose regex bytecode as attribute of compiled pattern object

Serhiy Storchaka report at bugs.python.org
Sun Jun 5 01:04:12 EDT 2016


Serhiy Storchaka added the comment:

__code__ is associated with Python bytecode. Regex bytecode can't be represented as a Unicode string since it is a sequence of 32-bit integers that can be out of the ord(sys.maxunicode) limit.

----------

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


More information about the Python-bugs-list mailing list