[issue3231] re.compile fails with some bytes patterns

2008-07-22 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: I think the fix is trivial enough. Committed in r65185. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3231] re.compile fails with some bytes patterns

2008-07-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3231] re.compile fails with some bytes patterns

2008-07-15 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Antoine's patch (with a 3 character fix) looks just fine to me. Guido, I'm assigning this to you because svn annotate tells me, you made this change. -- assignee: -> gvanrossum nosy: +benjamin.peterson ___

[issue3231] re.compile fails with some bytes patterns

2008-07-15 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Can we make sure this is fixed for beta 3? (Beta 2 would be great too, but it's getting late.) -- nosy: +gvanrossum priority: -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]>

[issue3231] re.compile fails with some bytes patterns

2008-06-28 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a patch fixing both the bug and the test suite. -- keywords: +patch Added file: http://bugs.python.org/file10765/rebytes.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3231] re.compile fails with some bytes patterns

2008-06-28 Thread Antoine Pitrou
New submission from Antoine Pitrou <[EMAIL PROTECTED]>: Some patterns can be compiled in str form but not in bytes form. This was overlooked because the test suite wasn't correctly adapted for py3k: >>> re.compile('[\\1]') <_sre.SRE_Pattern object at 0xb7be1410> >>> re.compile('\\09') <_sre.SRE_