Antoine Pitrou added the comment:

I think I agree with Serhiy. Augmenting the import dependencies from the re 
module can have side effects. While the alternative (a custom Int subclass) 
isn't extremely pretty, it does the job.

NamedIntConstant should be private, though.

----------

_______________________________________
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