Serhiy Storchaka added the comment:

I think that if the regex module will be adopted in the stdlib, not all it's 
feature should be included. Regex is too complicated. In particular indexing 
looks confusing (due to ambiguity of starting index and redundant first item in 
unpacking). If we will not add support for indexing, there will no 
incompatibility.

There is yet one solution:

0) Reject both iterating and indexing.

----------

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

Reply via email to