[issue846388] Check for signals during regular expression matches

2008-02-04 Thread Guido van Rossum
Guido van Rossum added the comment: Backported to 2.5.2 as r60576. (The other deltas are not backported.) Tracker <[EMAIL PROTECTED]> ___ Py

[issue2011] compiler.parse("1; ") adds unexpected extra Discard(Const(None)) to parse tree

2008-02-04 Thread Andrew Dalke
Andrew Dalke added the comment: This really is a minor point. I don't track the 3K list and I see now that the compiler module won't be in Python 3k - good riddance - so feel free to discard this as well as the other open compiler module bugs. I want to experiment with adding instrumentation

[issue2013] Long object free list optimization

2008-02-04 Thread Christian Heimes
New submission from Christian Heimes: The patch adds a free list of long objects with size 1 or -1. It has quite a tremendous effect on code like list(range(1000)). $ ./python -m timeit "for i in range(100): list(range(1000))" Without patch: 10 loops, best of 3: 79 msec per loop With patch: 10

[issue2011] compiler.parse("1; ") adds unexpected extra Discard(Const(None)) to parse tree

2008-02-04 Thread Guido van Rossum
Guido van Rossum added the comment: What on earth is this about? __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue2011] compiler.parse("1; ") adds unexpected extra Discard(Const(None)) to parse tree

2008-02-04 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Interpreter Core nosy: +gvanrossum, ncoghlan, nnorwitz priority: -> low __ Tracker <[EMAIL PROTECTED]> __

[issue2010] Link to howto section on re module documentation incorrect

2008-02-04 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> georg.brandl nosy: +georg.brandl priority: -> low type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ __

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2008-02-04 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Interpreter Core -None nosy: +ncoghlan, nnorwitz priority: -> normal versions: +Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]> __ _

[issue2012] Add migration step for DictMixin -> collections.MutableMapping

2008-02-04 Thread Christian Heimes
New submission from Christian Heimes: See r60577 -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) messages: 62058 nosy: collinwinter, tiran priority: normal severity: normal status: open title: Add migration step for DictMixin -> collections.MutableMapping type: rf

[issue2011] compiler.parse("1; ") adds unexpected extra Discard(Const(None)) to parse tree

2008-02-04 Thread Andrew Dalke
New submission from Andrew Dalke: Python 2.6a0 (trunk:60565M, Feb 4 2008, 01:21:28) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from compiler import parse >>> parse("1;") Module(None, Stmt([Discard(Const(1)),

[issue2010] Link to howto section on re module documentation incorrect

2008-02-04 Thread Karl Norby
New submission from Karl Norby: The link on "http://docs.python.org/lib/re-syntax.html"; to the HOWTO section of documentation redirects incorrectly to "http://docs.python.org/dev/howto/index.html/";. It should be "http://docs.python.org/dev/howto/"; or "http://docs.python.org/dev/howto/index.htm

[issue2009] Grammar change to prevent shift/reduce problem with varargslist

2008-02-04 Thread Andrew Dalke
New submission from Andrew Dalke: I wrote a translator from the CFG used in the Grammar file into a form for PLY. I found one problem with varargslist: ((fpdef ['=' test] ',')* ('*' NAME [',' '**' NAME] | '**' NAME) | fpdef ['=' test] (',' fpdef ['=' test])* [','])

[issue1750076] Python 2.5+ skips while statements in debuggers

2008-02-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Committed r60579 in release25-maint. -- status: pending -> closed _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1750076] Python 2.5+ skips while statements in debuggers

2008-02-04 Thread Nick Coghlan
Nick Coghlan added the comment: Very nice solution Amaury. As far as I can tell, this should be backported to 2.5 as well. _ Tracker <[EMAIL PROTECTED]> _ ___

[issue2006] asyncore loop lacks timers and work tasks

2008-02-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm not sure to understand what do you mean by "work tasks". Do you need them to have ssl module work with asyncore? > I've been reading asyncore lately, and feel that it's showing its age. Absolutely. I'd have some ideas about some asyncore/chat enhancemen

[issue1750076] Python 2.5+ skips while statements in debuggers

2008-02-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I finally got rid of the entire hack, by removing the "compression" of the lnotab: now each (effective) call to compiler_set_lineno() will generate an entry in lnotab. The patch is even simpler. the lnotab will grow a little, but only when several statement

[issue2004] tarfile extractall() allows local attacker to overwrite files while extracting

2008-02-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: Even though it does change existing behaviour, can anybody imagine a case where extracting a tarfile now fails when it previously succeeds? If not, I would consider this a security-relevant fix, and thus a candidate for a backport. Perhaps this should be raised

[issue1572320] parser stack overflow

2008-02-04 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc: -- resolution: -> duplicate status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-

[issue1572320] parser stack overflow

2008-02-04 Thread Ralf Schmitt
Ralf Schmitt added the comment: this is a duplicate of http://bugs.python.org/issue21. Please close. -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> _ ___

[issue2007] cookielib lacks FileCookieJar class for Internet Explorer

2008-02-04 Thread Georg Brandl
Changes by Georg Brandl: -- type: behavior -> rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue2008] cookielib lacks FileCookieJar class for Safari

2008-02-04 Thread Georg Brandl
Changes by Georg Brandl: -- type: behavior -> rfe __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2008-02-04 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti: -- nosy: +alexandre.vassalotti _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Un

[issue2008] cookielib lacks FileCookieJar class for Safari

2008-02-04 Thread Bill Janssen
Bill Janssen added the comment: I have code to read Safari cookies, but no code to write them. I'll have to look at the FileCookieJar interface. __ Tracker <[EMAIL PROTECTED]> __ _

[issue2008] cookielib lacks FileCookieJar class for Safari

2008-02-04 Thread Bill Janssen
New submission from Bill Janssen: cookielib has no FileCookieJar class for Safari, Apple's standard and default browser for OS X. -- components: Library (Lib) messages: 62047 nosy: janssen severity: normal status: open title: cookielib lacks FileCookieJar class for Safari type: behavior

[issue2007] cookielib lacks FileCookieJar class for Internet Explorer

2008-02-04 Thread Bill Janssen
New submission from Bill Janssen: cookielib contains an implementation of FileCookieJar for Mozilla Firefox, which will work with most of the various Mozilla browsers, but no implementation for Internet Explorer, standard on Windows and used by some 80% of computer users. -- components:

[issue1090076] Defaults in ConfigParser.get overrides section values

2008-02-04 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: The patch "cfgdoc.diff" contains changes to rst as well as to the doc string. Can some one please review it? Added file: http://bugs.python.org/file9354/cfgdoc.diff _ Tracker <[EMAIL PROTECTED]>

[issue1975] signals in thread problem

2008-02-04 Thread Guido van Rossum
Guido van Rossum added the comment: Well okay than I can confirm that OSX is *not* affected by this OS bugginess. -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __

[issue2001] Pydoc interactive browsing enhancement

2008-02-04 Thread Ron Adam
Changes by Ron Adam: -- versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue540952] Memory Usage Reporting

2008-02-04 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: This has evolved into a general discussion without any specific direction (which is more suitable for a mailing list than in a bug tracker). So I am closing it. Please do reopen if required. I don't know what resolution to select for this one. None of the

[issue1183] race in SocketServer.ForkingMixIn.collect_children

2008-02-04 Thread David Ripton
David Ripton added the comment: Just noticed that this is a partial duplicate of issue 1540386. -- versions: +Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ _

[issue1757072] Zipfile robustness

2008-02-04 Thread Chris Mellon
Chris Mellon added the comment: I agree that the zipfile is out of spec. Here are my arguments in favor of making the change anyway: Existing zip tools like 7zip, pkzip, and winzip handle these files "as expected" As far as I know, it won't break any valid zipfiles. Because the fix necessary i

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-02-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue2006] asyncore loop lacks timers and work tasks

2008-02-04 Thread Christian Heimes
Christian Heimes added the comment: If you are going to spend some time with async event io you may be interested in my patch #1657. It adds epoll and kqueue. -- nosy: +tiran priority: -> normal __ Tracker <[EMAIL PROTECTED]>

[issue2004] tarfile extractall() allows local attacker to overwrite files while extracting

2008-02-04 Thread Lars Gustäbel
Lars Gustäbel added the comment: This was fixed in the trunk in r53526 about a year ago following issue1507247. I did not backport it to 2.5 at that time, because it would have changed existing behaviour. If there are no objections I could do this now. The os.mkdir() call in TarFile.makedir() us

[issue1975] signals in thread problem

2008-02-04 Thread Andriy Pylypenko
Andriy Pylypenko added the comment: I'm sorry I've forgotten to add one important thing to the script - the t.setDaemon(True) call, as without it the main thread will wait for the user thread to stop explicitly. So the correct script is: some_time = 600 # seconds class MyThread(Thre