[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: Alex has a valid point in relation to PEP 399, since, like lzma, regex will be coming in under the "special permission" clause that allows the addition of C extension modules without pure Python equivalents. Unlike lzma, though, the new regex engine isn't a rel

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +akitada, akoumjian, alex, amaury.forgeotdarc, belopolsky, davide.rizzo, eric.snow, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jacques, jaylogan, jhalcrow, jimjjewett, loewis, mark, mattchaput, moreati, mrabarnett, ncoghlan, nneon

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file20185/issue2636-20101229.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file20182/issue2636-20101228a.zip ___ Python tracker ___ ___ Python-bugs-list ma

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file20176/issue2636-20101228.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file20154/issue2636-20101224.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file20001/issue2636-20101210.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19965/issue2636-20101207.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19881/issue2636-20101130.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19786/issue2636-20101123.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19723/issue2636-20101121.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19651/issue2636-20101120.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19597/issue2636-20101113.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19514/issue2636-20101106.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19469/issue2636-20101102a.zip ___ Python tracker ___ ___ Python-bugs-list ma

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19460/issue2636-20101102.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19456/issue2636-20101101.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19435/issue2636-20101030a.zip ___ Python tracker ___ ___ Python-bugs-list ma

[issue6210] Exception Chaining missing method for suppressing context

2012-01-28 Thread Ethan Furman
Ethan Furman added the comment: It looks like agreement is forming around the raise ... from None method. It has been mentioned more than once that having the context saved on the exception would be a Good Thing, and for further debugging (or logging or what-have-you) I must agree. The

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19422/issue2636-20101030.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19419/issue2636-20101029.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file19168/issue2636-20101009.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18913/issue2636-20100918.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18865/issue2636-20100913.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18854/issue2636-20100912.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18621/issue2636-20100824.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file21144/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18541/issue2636-20100816.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18532/issue2636-20100814.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18192/issue2636-20100725.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file18054/issue2636-20100719.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file17912/issue2636-20100709.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file17877/issue2636-20100706.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16916/issue2636-20100414.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16914/build.log ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16913/setup.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16910/test_regex_20100413 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16331/issue2636-20100223.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16327/issue2636-20100222.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16205/issue2636-20100211.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16905/issue2636-20100413.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16709/issue2636-20100331.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16626/issue2636-20100323.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16444/issue2636-20100305.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16424/issue2636-20100304.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16375/issue2636-20100226.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16365/issue2636-20100225.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16362/issue2636-20100224.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -akitada, akoumjian, alex, amaury.forgeotdarc, belopolsky, davide.rizzo, eric.snow, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jacques, jaylogan, jhalcrow, jimjjewett, loewis, mark, mattchaput, moreati, mrabarnett, ncoghlan, nneo

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16278/Features-backslashes.patch ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16255/issue2636-20100219.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16247/issue2636-20100218.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16243/issue2636-20100217.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16195/issue2636-20100210.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file16122/issue2636-20100204.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file15901/issue2636-20100116.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14733/issue2636-20090815.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14687/issue2636-20090810#3.zip ___ Python tracker ___ ___ Python-bugs-list m

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14683/issue2636-20090810#2.zip ___ Python tracker ___ ___ Python-bugs-list m

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14682/issue2636-20090810.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14642/issue2636-20090804.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14594/issue2636-20090729.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14576/issue2636-20090727.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file14570/issue2636-20090726.zip ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file13707/issue2636-patch-2.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file13449/issue2636-patch-1.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file13257/issue2636-features-6.diff ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file13216/issue2636-features-5.diff ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file13185/issue2636-features-4.diff ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file13165/issue2636-features-3.diff ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file12974/issue2636-features-2.diff ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file12932/issue2636-features.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file11669/issue2636+01+09-02+17+18+19+20+21+24+26_speedup.diff ___ Python tracker ___ _

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file11657/issue2636-01+09-02+17_backport.diff ___ Python tracker ___ ___ Python

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file10647/issue2636-02.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file10645/issue2636-patches.tar.bz2 ___ Python tracker ___ ___ Python-bugs-list

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Georg Brandl
Georg Brandl added the comment: I created a new sandbox branch to integrate regex into CPython, see "remote repo" field. I mainly had to adapt the test suite to use unittest. -- hgrepos: +108 ___ Python tracker _

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Alex Gaynor
Alex Gaynor added the comment: So, to my reading of teh compatibility PEP this cannot be added wholesale, unless there is a pure Python version as well. However, if it replaced re (read: patched) it would be valid. On Sun, Jan 29, 2012 at 1:26 AM, Nick Coghlan wrote: > > Nick Coghlan added t

[issue2636] Adding a new regex module (compatible with re)

2012-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: As part of the PEP 408 discussions, Guido approved the addition of 'regex' in 3.3 (using that name, rather than as a drop-in replacement for re) [1,2] That should greatly ease the backwards compatibility concerns, even if it isn't as transparent an upgrade path

[issue13900] documentation page on email.parser contains self-referential non-definition of headersonly parameter

2012-01-28 Thread Parker Phinney
New submission from Parker Phinney : to recreate: go here: http://docs.python.org/library/email.parser.html#email.parser.Parser.parse notice this line: "Optional headersonly is as with the parse() method." But that doesn't make sense, because this /is/ the parse() method! -- title: htt

[issue13900] http://docs.python.org/library/email.parser.html#email.parser.Parser.parse

2012-01-28 Thread Parker Phinney
Changes by Parker Phinney : -- assignee: docs@python components: Documentation nosy: Parker.Phinney, docs@python priority: normal severity: normal status: open title: http://docs.python.org/library/email.parser.html#email.parser.Parser.parse type: behavior _

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2012-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: Also, +1 to replacing _testbuffer with .cast() to demonstrate the multi-dimensional support. Without an actual multi-dimensional array object in the standard library, demonstrating those aspects is always going to be a little tricky. However, it's worth doing s

[issue13897] Move fields relevant to coroutine/generators out of frame into generator/threadstate

2012-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: The division of responsibilities between generator objects and the eval loop is currently a little messy. The eval loop deals almost entirely with frame objects and also handles swapping exception states around on behalf of generators, which is why the generato

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2012-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: I'm with Antoine here - we want to be *very* conservative with what we expose through the limited API. Due to the ABI compatibility promise, anything exposed that way is very hard to change. Keeping things out of the limited API isn't really an issue - it just

[issue13897] Move fields relevant to coroutine/generators out of frame into generator/threadstate

2012-01-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Extensions modules should really be using PyErr_Occurred/Fetch etc. -- ___ Python tracker ___ __

[issue13703] Hash collision security issue

2012-01-28 Thread Dave Malcolm
Dave Malcolm added the comment: On Sat, 2012-01-28 at 23:56 +, Terry J. Reedy wrote: > Terry J. Reedy added the comment: > > > I think you should check with randomization enabled, if only to see the > > nature of the failures and if they are expected. > > Including the list of when-enable

[issue13897] Move fields relevant to coroutine/generators out of frame into generator/threadstate

2012-01-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson, ncoghlan stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue13703] Hash collision security issue

2012-01-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: > I think you should check with randomization enabled, if only to see the > nature of the failures and if they are expected. Including the list of when-enabled expected failures in the release notes would help those who compile and test. -- _

[issue13897] Move fields relevant to coroutine/generators out of frame into generator/threadstate

2012-01-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: - Why is it called CoState? is it related to coroutines? - I'm a bit worried about the removal of tstate->exc_value, and the changes in sys.exc_info(). "tstate->exc_value" is used by many extension modules, do you really want to replace this?

[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation

2012-01-28 Thread Chen Huang
Chen Huang added the comment: Nevermind, putting #include doesn't help. I have to put on top to get away this. -- ___ Python tracker ___ _

[issue13703] Hash collision security issue

2012-01-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Passes "make test" on this x86_64 Fedora 15 box, --with-pydebug, though > that's without randomization enabled (it just does it within individual > test cases that explicitly enable it). I think you should check with randomization enabled, if only to see the

[issue13703] Hash collision security issue

2012-01-28 Thread Dave Malcolm
Dave Malcolm added the comment: On Sat, 2012-01-28 at 20:05 +, Benjamin Peterson wrote: > Benjamin Peterson added the comment: > > I think we don't need to mess with tests in 2.6/3.1, but everything should > pass under 2.7 and 3.2. New version of the patch for 3.1 optin-hash-randomizat

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2012-01-28 Thread John Machin
John Machin added the comment: @ezio: Of course the context is "inside a character class". I expect r'[\b]' to act like r'\b' aka r'\x08' aka backspace because (1) that is the treatment applied to all other C-like control char escapes (2) the docs say so explicitly: "Inside a character range,

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2012-01-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine Pitrou wrote: > > >a) Make all functions and the two buffer access macros part > > > of the limited API again. > > > > Hmm, I don't think buffer access macros should be part of the limited > > API. If they are truely important (which I doub

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2012-01-28 Thread Stefan Krah
Stefan Krah added the comment: Antoine Pitrou wrote: > >a) Make all functions and the two buffer access macros part > > of the limited API again. > > Hmm, I don't think buffer access macros should be part of the limited > API. If they are truely important (which I doubt), we should h

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2012-01-28 Thread Ezio Melotti
Ezio Melotti added the comment: This happens because \A, \B and \Z are valid escape sequences[0]. If what you mean is that they shouldn't be recognized as such inside a character class, then I can agree with that. ^ and $ are similar to \A and \Z but they are considered as literals inside [].

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2012-01-28 Thread John Machin
New submission from John Machin : Expected behaviour illustrated using "C": >>> import re >>> re.findall(r'[\C]', 'CCC') ['C', 'C', 'C'] >>> re.compile(r'[\C]', 128) literal 67 <_sre.SRE_Pattern object at 0x01FC6E78> >>> re.compile(r'C', 128) literal 67 <_sre.SRE_Pattern object at 0x01FC6F08> I

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2012-01-28 Thread Roger Serwy
Roger Serwy added the comment: #13884 has a patch to address point 4) ANNOYANCE: Get rid of the detachable menus feature. -- ___ Python tracker ___

[issue13884] IDLE 2.6.5 Recent Files undocks

2012-01-28 Thread Roger Serwy
Roger Serwy added the comment: Should tear-off menus still be a feature? This relates to the #13504 meta-issue, in particular entry "4) ANNOYANCE: Get rid of the detachable menus feature.." Attached is patch against 3.3a0 to disable tear-off menus. (It also makes modifications to Mac-specif

[issue13806] Audioop decompression frames size check fix

2012-01-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for your work Oleg! The patch is now committed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

  1   2   >