[issue17998] internal error in regular expression engine

2013-08-19 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

For other related issues see issue18672 and issue18684.

--
resolution:  -> fixed
stage: test needed -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

See issue18647.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-03 Thread Larry Hastings

Larry Hastings added the comment:

This broke the test suite on all the 32-bit Linux buildbots.  Sample output is 
here:

http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/8349/steps/test/logs/stdio

There's no obvious fix, and I want to cut 3.4a1 right about now, so I'm going 
to tag the version in trunk just before this checkin.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-03 Thread R. David Murray

R. David Murray added the comment:

This appears to have turned the buildbots red.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Sorry for the delay. I have committed a simple patch which fixes this bug. But 
I don't close the issue still because there are other related issues.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 86b8b035529b by Serhiy Storchaka in branch '3.3':
Issue #17998: Fix an internal error in regular expression engine.
http://hg.python.org/cpython/rev/86b8b035529b

New changeset 36702442ffe0 by Serhiy Storchaka in branch 'default':
Issue #17998: Fix an internal error in regular expression engine.
http://hg.python.org/cpython/rev/36702442ffe0

New changeset e5e425fd1e4f by Serhiy Storchaka in branch '2.7':
Issue #17998: Fix an internal error in regular expression engine.
http://hg.python.org/cpython/rev/e5e425fd1e4f

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-01 Thread Larry Hastings

Larry Hastings added the comment:

I'm downgrading this to "deferred blocker".  I'm sure we'll get it fixed for 
Python 3.4 final, but in the meantime there's no sense in holding up Python 
3.4a1 for it.

--
priority: release blocker -> deferred blocker

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-01 Thread Larry Hastings

Larry Hastings added the comment:

Can I downgrade this to "deferred blocker"?  That means we still need to deal 
with it before the release, but we don't have to hold up Python 3.4a1 for it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-08-01 Thread Cédric Krier

Changes by Cédric Krier :


--
nosy: +ced

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-07-31 Thread Bohuslav "Slavek" Kabrda

Changes by Bohuslav "Slavek" Kabrda :


--
nosy: +bkabrda

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-07-31 Thread Larry Hastings

Larry Hastings added the comment:

There is now a need to rush.  I'm hoping to cut the release in about two days, 
so we can have Python 3.4a1 on time.  Can we resolve this in the next day or 
two?  Sorry for the short notice.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-07-20 Thread Doug Hellmann

Changes by Doug Hellmann :


--
nosy: +doughellmann

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-06-02 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I'm working on tests. No need to rush.

--
stage: patch review -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-06-02 Thread Matthias Klose

Matthias Klose added the comment:

what's the status on this one?  Can the proposed patch be applied until the 
decision whether to backout the original change, or not?

--
nosy: +doko, georg.brandl, larry
priority: normal -> release blocker

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-18 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Perhaps it would be safer to revert the original commit in bugfix branches, and 
just commit the better patch in default?

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-18 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Matthew for simpler examples. They helped and I'll use them in the 
tests.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is a patch which should fix this bug. I still have to look for similar 
bugs and write tests.

--
keywords: +patch
stage:  -> patch review
versions: +Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30299/re_unsigned_ptrdiff.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Matthew Barnett

Matthew Barnett added the comment:

Here are some simpler examples of the bug:

re.compile('.*yz', re.S).findall('xyz')
re.compile('.?yz', re.S).findall('xyz')
re.compile('.+yz', re.S).findall('xyz')

Unfortunately I find it difficult to see what's happening when single-stepping 
through the code because of the macros. :-(

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Christian Heimes

Christian Heimes added the comment:

I'm able to confirm Benjamin's notes. The regexp works on 64bit Linux but fails 
with a 32bit build:

$ CFLAGS="-m32" LDFLAGS="-m32" ./configure
$ make -j10
$ ./python -c "import re; print(re.compile('(.*)\.[0-9]*\.[0-9]*$', 
re.I|re.S).findall('3.0.0'))"
Traceback (most recent call last):
  File "", line 1, in 
RuntimeError: internal error in regular expression engine

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Benjamin Peterson

Benjamin Peterson added the comment:

Also, note this particular case only reproduces on 32 bit.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Christian Heimes

Changes by Christian Heimes :


--
nosy: +christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Benjamin Peterson

Benjamin Peterson added the comment:

27162465316f

--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Ezio Melotti

Changes by Ezio Melotti :


--
components: +Regular Expressions
nosy: +benjamin.peterson, ezio.melotti, mrabarnett
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17998] internal error in regular expression engine

2013-05-17 Thread Jeroen Demeyer

New submission from Jeroen Demeyer:

On Linux Ubuntu 13.04, i686:

$ uname -a
Linux arando 3.5.0-26-generic #42-Ubuntu SMP Fri Mar 8 23:20:06 UTC 2013 i686 
i686 i686 GNU/Linux

$ python
Python 2.7.5 (default, May 17 2013, 18:43:24) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> re.compile('(.*)\.[0-9]*\.[0-9]*$', re.I|re.S).findall('3.0.0')
Traceback (most recent call last):
  File "", line 1, in 
RuntimeError: internal error in regular expression engine

This is a 2.7.5 regression, 2.7.4 worked fine.

--
components: Library (Lib)
messages: 189461
nosy: jdemeyer
priority: normal
severity: normal
status: open
title: internal error in regular expression engine
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com