Re: [Python-Dev] Regular expression bytecode

2016-02-19 Thread Jonathan Goble
On Fri, Feb 19, 2016 at 2:30 PM, Simon Cross wrote: > This might be tricky for alternative Python implementations which > might compile regular expressions into something rather different. As has been discussed on python-ideas, it would be explicitly treated as a CPython implementation detail, so

Re: [Python-Dev] Regular expression bytecode

2016-02-19 Thread Simon Cross
This might be tricky for alternative Python implementations which might compile regular expressions into something rather different. ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https:

Re: [Python-Dev] Regular expression bytecode

2016-02-14 Thread Jonathan Goble
On Sun, Feb 14, 2016 at 2:41 PM, Franklin? Lee wrote: > I think it would be nice for manipulating (e.g. optimizing, possibly with > JIT-like analysis) and comparing regexes. It can also be useful as a > teaching tool, e.g. exercises in optimizing and comparing regexes. Both great points in favor

Re: [Python-Dev] Regular expression bytecode

2016-02-14 Thread Franklin? Lee
I think it would be nice for manipulating (e.g. optimizing, possibly with JIT-like analysis) and comparing regexes. It can also be useful as a teaching tool, e.g. exercises in optimizing and comparing regexes. I think the discussion should be on python-ideas, though. On Feb 14, 2016 2:01 PM, "Jona

[Python-Dev] Regular expression bytecode

2016-02-14 Thread Jonathan Goble
I'm new to Python's mailing lists, so please forgive me if I'm sending this to the wrong list. :) I filed http://bugs.python.org/issue26336 a few days ago, but now I think this list might be a better place to get discussion going. Basically, I'd like to see the bytecode of a compiled regex object