Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14260
Roundup Robot added the comment:
New changeset 4d5826fa77a1 by Serhiy Storchaka in branch 'default':
Issue #14260: The groupindex attribute of regular expression pattern object
https://hg.python.org/cpython/rev/4d5826fa77a1
--
nosy: +python-dev
___
py.user added the comment:
@Serhiy Storchaka
What approach looks better, a copy or a read-only proxy?
ISTM, your proxy patch is better, because it expects an exception rather than
silence.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
What approach looks better, a copy or a read-only proxy?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14260
___
Serhiy Storchaka added the comment:
Ping.
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14260
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14260
Serhiy Storchaka added the comment:
Here are two patches which implement two alternative solutions. They are based
on regex code.
Dict copying patch matches current regex behavior and needs modifying other
code to avoid small slowdown. Artificial example:
$ ./python -m timeit -s 'import re;
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: -skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14260
___
___
Python-bugs-list
Changes by py.user bugzilla-mail-...@yandex.ru:
--
title: re.groupindex available for modification and continues to work, having
incorrect data inside it - re.groupindex is available for modification and
continues to work, having incorrect data inside it