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

Jonathan Goble report at bugs.python.org
Sat Feb 20 13:14:00 EST 2016


Jonathan Goble added the comment:

Noting for the record that, as I had brought up on python-ideas [1], in addition to simply exposing the raw code, it would be nice to have a public constructor for the compiled pattern type and a 'dis'-like module for support. The former would enable optimizers, and the latter would simplify programmatic analysis.

[1] https://mail.python.org/pipermail/python-ideas/2016-February/thread.html#38488

----------

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


More information about the Python-bugs-list mailing list