After updating python34 to python34-3.4.3-4.el7.x86_64, python3 no longer accepts a script which has a rather large regex: $ tail -f -n 500000 /var/log/messages | python3.4 /usr/local/bin/syslog-filters/myscript Traceback (most recent call last): File "/usr/local/bin/syslog-filters/trar-general-1", line 612, in --RAW HTML NOT ALLOWED-- exclude_pat_compiled = re.compile(exclude_regex_str) File "/usr/lib64/python3.4/re.py", line 223, in compile return _compile(pattern, flags) File "/usr/lib64/python3.4/re.py", line 294, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib64/python3.4/sre_compile.py", line 579, in compile "sorry, but this version only supports 100 named groups" AssertionError: sorry, but this version only supports 100 named groups
I'm not sure which version of python34 was installed before, but it was probably version 3.4.3-2.el7. With that version, things worked fine. As I see it, this constitues a regression.
This update has been submitted for testing by orion.
This update has obsoleted python-rpm-macros-3-6.el7, and has inherited its bugs and notes.
orion edited this update.
New build(s):
This update has been pushed to testing.
orion edited this update.
New build(s):
This update has been submitted for testing by orion.
This update has been pushed to testing.
Shouldn't python34 provide python3 and python34-devel provide python3-devel?
Debatable - probably should be discussed here: https://bugzilla.redhat.com/show_bug.cgi?id=1271578
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by orion.
This update has been pushed to stable.
On RHEL 7 x86_64:
After updating python34 to python34-3.4.3-4.el7.x86_64, python3 no longer accepts a script which has a rather large regex: $ tail -f -n 500000 /var/log/messages | python3.4 /usr/local/bin/syslog-filters/myscript Traceback (most recent call last): File "/usr/local/bin/syslog-filters/trar-general-1", line 612, in --RAW HTML NOT ALLOWED-- exclude_pat_compiled = re.compile(exclude_regex_str) File "/usr/lib64/python3.4/re.py", line 223, in compile return _compile(pattern, flags) File "/usr/lib64/python3.4/re.py", line 294, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib64/python3.4/sre_compile.py", line 579, in compile "sorry, but this version only supports 100 named groups" AssertionError: sorry, but this version only supports 100 named groups
I'm not sure which version of python34 was installed before, but it was probably version 3.4.3-2.el7. With that version, things worked fine. As I see it, this constitues a regression.
karma: -1
As this is in stable - please file a bug: https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL&component=python34
OK; a Bugzilla case has been submitted: https://bugzilla.redhat.com/show_bug.cgi?id=1319880