Serhiy Storchaka added the comment:

> Since the op codes are singletons, you can use identity tests instead of
> equality checks in sre_parse.py:

Please ignore my reply in previous message. Op codes are always tested for 
identity in sre_compile.py, so I have applied your suggestion in sre_parse.py 
(30a6c74ad87f).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22434>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to