[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-08-25 Thread Henry Precheur
Henry Precheur <[EMAIL PROTECTED]> added the comment: I forgot to mention, I made to following modification to configure.in so I could compile Python 3000 on OpenBSD 4.4 --- configure.in(revision 66037) +++ configure.in(working copy) @@ -250,7 +250,7 @@ # On OpenBSD, select(2)

[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-08-25 Thread Henry Precheur
New submission from Henry Precheur <[EMAIL PROTECTED]>: I tried to compile Python 3000 under OpenBSD and the compilation fails because of a 'MemoryError': Fatal Python error: can't create sys.path object : MemoryError() type: MemoryError refcount: 4 address : 0x20abfbd08 lost sys.stderr Abo

[issue3684] traceback.format_exception_only() misplaces the caret for certain SyntaxErrors

2008-08-25 Thread Brodie Rao
New submission from Brodie Rao <[EMAIL PROTECTED]>: >> + File "", line 1 + ^ SyntaxError: invalid syntax >>> import sys >>> import traceback >>> traceback.print_exception(sys.last_type, sys.last_value, None) File "", line 1 + ^ SyntaxError: invalid syntax >>> sys.last_valu

[issue3683] compilation --without-threads fails

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The patch looks good to me. Next time, please a a ".patch" or ".diff" extension to your patch, so it isn't marked as binary data. Thanks! -- keywords: +needs review nosy: +benjamin.peterson priority: -> release blocker _

[issue1081824] Rewrite of docs for compiler.visitor

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The patch no longer applies cleanly. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3683] compilation --without-threads fails

2008-08-25 Thread Damien Miller
New submission from Damien Miller <[EMAIL PROTECTED]>: Compilation with --without-threads fails with the following error. Patch attached. cc -c -fno-strict-aliasing -DNDEBUG -O2 -pipe -DTHREAD_STACK_SIZE=0x2 -fPIC -I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/import.o Python/import.

[issue3634] invalid result value of _weakref.__init__()

2008-08-25 Thread Daniel Diniz
Changes by Daniel Diniz <[EMAIL PROTECTED]>: -- nosy: +ajaksu2 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3638] tkinter.mainloop() is meanling less and crash: remove it

2008-08-25 Thread Daniel Diniz
Changes by Daniel Diniz <[EMAIL PROTECTED]>: -- nosy: +ajaksu2 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3682] test_math: math.log(-ninf) fails to raise exception on OpenBSD

2008-08-25 Thread Christian Heimes
Changes by Christian Heimes <[EMAIL PROTECTED]>: -- assignee: -> marketdickinson nosy: +marketdickinson priority: -> high ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3682] test_math: math.log(-ninf) fails to raise exception on OpenBSD

2008-08-25 Thread Damien Miller
New submission from Damien Miller <[EMAIL PROTECTED]>: Hi, On OpenBSD 4.4, the test_math.py regression test fails with the following: Traceback (most recent call last): File "Lib/test/test_math.py", line 419, in testLog self.assertRaises(ValueError, math.log, NINF) AssertionError: ValueEr

[issue3681] Cannot read saved csv file in a single run

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Mon, Aug 25, 2008 at 4:45 PM, Rahul Ghosh <[EMAIL PROTECTED]> wrote: > > Rahul Ghosh <[EMAIL PROTECTED]> added the comment: > > I wrote a python GPIB command to the scope to export the waveform as a > csv file. Then in another function I

[issue3681] Cannot read saved csv file in a single run

2008-08-25 Thread Rahul Ghosh
Rahul Ghosh <[EMAIL PROTECTED]> added the comment: I wrote a python GPIB command to the scope to export the waveform as a csv file. Then in another function I try to read this file that I just saved and it cannot find the file till I rerun. ___ Python tracke

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: New patch with a couple of tiny fixes. Added file: http://bugs.python.org/file11257/isinstance3k-2.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue3681] Cannot read saved csv file in a single run

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Are you closing the file before trying to read it? -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3681] Cannot read saved csv file in a single run

2008-08-25 Thread Rahul Ghosh
New submission from Rahul Ghosh <[EMAIL PROTECTED]>: I am trying to save a csv file from a scope and then open it to post process the data. The file is getting created currectly, but when it tries to open the csv file it complains about file not found. I am trying to do this in a single run. I

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Ok, here is the patch for py3k. As I said it fixes some interesting bugs (when the second argument was a tuple, isinstance() and issubclass() were trying to get __instancecheck__ / __subclasscheck__ on the tuple rather than on each of the tupl

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The py3k warnings look good to me. -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3680] Cycles with some iterator are leaking.

2008-08-25 Thread Robert Schuppenies
Changes by Robert Schuppenies <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11255/tp_traverse.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3680] Cycles with some iterator are leaking.

2008-08-25 Thread Robert Schuppenies
New submission from Robert Schuppenies <[EMAIL PROTECTED]>: The dict, set, and deque iterators do not implement tp_traverse although they reference container objects. This can lead to reference cycles which will not be collected. The attached cycle.py script from Amaury demonstrates the problem f

[issue3679] pressing HOME key in IDLE editor ends IDLE

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Well, 3.0b3 is out and many bugs may have been corrected. Can you try with this newer version? -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]>

[issue3679] pressing HOME key in IDLE editor ends IDLE

2008-08-25 Thread Toby Donaldson
New submission from Toby Donaldson <[EMAIL PROTECTED]>: In IDLE 3.0b2, whenever I press the Home key in an IDLE editor window, IDLE ends and all windows disappear. -- components: IDLE messages: 71953 nosy: tjd severity: normal status: open title: pressing HOME key in IDLE editor ends IDL

[issue3678] Ignored LDFLAGS during linking libpython$(VERSION).so

2008-08-25 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis <[EMAIL PROTECTED]>: LDFLAGS are ignored during linking libpython$(VERSION).so. (LDFLAGS are respected during linking $(BUILDPYTHON) and $(PGEN).) -- components: Build files: python-respect_LDFLAGS.patch keywords: patch messages: 7

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: I'm currently doing the port to py3k. It makes me find interesting flaws in the current isinstance/issubclass implementation :-)) ___ Python tracker <[EMAIL PROTECTED]> __

[issue2356] fixer for sys.exitfunc -> atexit

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Here's my 2to3 fixer for the cause. It always changes assignment to sys.exitfunc to atexit.register. It then inserts a "import atexit" after the module's sys import. If it can't find a sys import (that should be rare obviously :) ), it emit

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread djc
Changes by djc <[EMAIL PROTECTED]>: -- nosy: +djc ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubscri

[issue2350] 'exceptions' import fixer

2008-08-25 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- keywords: +needs review -26backport ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue2350] 'exceptions' import fixer

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Here's my 2to3 fixer for the job. It cleanly removes the imports and changes the usage. -- assignee: -> collinwinter components: +2to3 (2.x to 3.0 conversion tool) keywords: +patch nosy: +collinwinter title: Warn against importing

[issue3279] import of site.py fails on startup

2008-08-25 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Mon, Aug 25, 2008 at 10:49 AM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > On Mon, Aug 25, 2008 at 12:48 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> >> Brett Cannon <[EMAIL

[issue3279] import of site.py fails on startup

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Mon, Aug 25, 2008 at 12:48 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Brett Cannon <[EMAIL PROTECTED]> added the comment: > > On Mon, Aug 25, 2008 at 6:40 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: >> >> Benjamin Peterson <[

[issue3279] import of site.py fails on startup

2008-08-25 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Mon, Aug 25, 2008 at 6:40 AM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > We could: > > 1. Use _fileio._FileIO directly. > 2. Use os.open. > 3. Initialize the stdio streams bef

[issue3382] Make '%F' and float.__format__('F') convert results to upper case.

2008-08-25 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: Unfortunately, I missed the window to get these into 3.0 and 2.6. Better luck for 3.1 and 2.7! -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]>

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Here's an updated patch that applies the same logic to all meta-data fields, instead of just a few. This simplifies the code somewhat. I've tested it with the test you provided and also with eGenix packages using Unicode author names (ie.

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9967/unicode.metadata.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10065/distutils.unicode.simplified.patch ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file9961/unicode.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: The problem is in distutils code, not in setuptools or PyPI. As long as I can see, the problem remains in the trunk. It is dead simple to reproduce : put an unicode name for the author in a plain setup.py with a non ascii character. (for example

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-08-25 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: Unpickler looks safe as Unpickler_load() checks if Unpickler was properly initialized. And only Pickler_dump is vulnerable right now (new methods, if any, exposed for issue3385 will have to take into account this vulnerability). ___

[issue3675] Python 2.6 can't read sets pickled with Python 3.0

2008-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- nosy: +alexandre.vassalotti priority: -> critical type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3677] importing from UNC roots doesn't work

2008-08-25 Thread Kristján Valur Jónsson
Kristján Valur Jónsson <[EMAIL PROTECTED]> added the comment: Correction: The workaround is to _append_ a backslash. ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue1276] LookupError: unknown encoding: X-MAC-JAPANESE

2008-08-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-08-23 10:08, Hye-Shik Chang wrote: > Hye-Shik Chang <[EMAIL PROTECTED]> added the comment: > > Committed patch "cjkmactemporary.diff" as r65988 in the py3k branch. > I'll open another issue for cjkcodecs implementation of Mac code

[issue3649] IA5 Encoding should be in the default encodings

2008-08-25 Thread Pascal Bach
Pascal Bach <[EMAIL PROTECTED]> added the comment: I currently use the codec in my ucplib already and this is not a problem. I just thought that it might be useful for somebody else. But maybe it is to use case specific. If this codec is not of general interest I think this report can be closed.

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-08-25 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: Oh, that's nasty. Recalling __init__ with bad arguments breaks the internal invariants as it clears the Pickler's content before parsing the arguments. I suspect that Unpickler is vulnerable too. Adding a NULL check in pickler_write wil

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- versions: +Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue2534] Restore isinstance and issubclass speed in 2.6

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: By the way, py3k suffers from this problem too, so a similar patch should be applied if possible. -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]>

[issue2562] Cannot use non-ascii letters in disutils if setuptools is used.

2008-08-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Is this still an issue in 2.6 ? AFAIK, there have been a few changes both to setuptools and PyPI that make it easy to just use Unicode objects in the setup() call for non-ASCII values. ___ Python track

[issue3279] import of site.py fails on startup

2008-08-25 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: Benjamin is right. site.py imports the io module before _bytesio and _stringio are available for import. Thus the python version of BytesIO and StringIO is always used. There is an old thread about the issue at http://mail.python.org/pip

[issue3649] IA5 Encoding should be in the default encodings

2008-08-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: I think what you're after is the encoding used in SMS messages: http://en.wikipedia.org/wiki/Short_message_service Here's an old discussion about this codec: http://mail.python.org/pipermail/python-list/2002-October/167267.html http://m

[issue3218] 2to3 Fix_imports optimization

2008-08-25 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3279] import of site.py fails on startup

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: It was probably done so that importing _bytesio would actually work in io. IMO, it would be better to just compile _bytesio and _stringio into the python binary. ___ Python tracker <[EMAIL PROTECTED]>

[issue3677] importing from UNC roots doesn't work

2008-08-25 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson <[EMAIL PROTECTED]>: When executing a script from a UNC path, e.g. //myhost/exports/a.py, r"\\myhost\exports" gets prepended to sys.path. But it doesn't work. This means that in a.py, "import b" will fail even though b.py is present in the same dire

[issue3279] import of site.py fails on startup

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Well, it would be interesting to know why r62778 has exactly the opposite move. Alexandre, do you remember doing it? -- nosy: +alexandre.vassalotti ___ Python tracker <[EMAIL PROTECTED]>

[issue2127] sqlite3 docs should mention utf8 requirement

2008-08-25 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: Can we close this now? Did you try out a Python2.6 or Python 3.0 beta? ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: And a similarly better patch for 2.6. -- versions: +Python 2.6 Added file: http://bugs.python.org/file11248/argleak2-2.6.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3279] import of site.py fails on startup

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Here's my patch for the problem. Added file: http://bugs.python.org/file11247/different_order.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Actually, here is a better patch for py3k. Added file: http://bugs.python.org/file11246/argleak3.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Both patches look good to me. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-b

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a patch for 2.6. Added file: http://bugs.python.org/file11245/argleak-2.6.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: By the way, this bug affects 2.6 as well, although not in binascii since it has not been converted to use "s*": >>> codecs.latin_1_decode(b"", 0) Traceback (most recent call last): File "", line 1, in TypeError: latin_1_decode() argument 2

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Ok, here is a new patch addressing Amaury's comments. Added file: http://bugs.python.org/file11244/argleak2.patch ___ Python tracker <[EMAIL PROTECTED]> _

[issue3279] import of site.py fails on startup

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: We could: 1. Use _fileio._FileIO directly. 2. Use os.open. 3. Initialize the stdio streams before importing site. This seems like the best option, although I haven't run all the tests yet. -- nosy: +benjamin.peterson

[issue3676] Obsolete references to PEP 291 in py3k lib

2008-08-25 Thread Oren Tirosh
New submission from Oren Tirosh <[EMAIL PROTECTED]>: The comments in the following modules contain references to PEP 291 or to remaining compatible with version 2.x. However, they all include non backward compatible python 3 syntax like "except x as y". decimal.py modulefinder.py pkgutil.py sub

[issue3663] Extra DECREF on syntax errors

2008-08-25 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The patch looks fine to me. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1462525] URI parsing library

2008-08-25 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: Hello Paul, Have you beeing keeping track of urlparse changes in Python2.6? I anaylzed your patch and read through the RFC3986 and have the following comments: 1) The usage of this module is very diffirent from the current urlparse module's usag

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This patch elegantly reuses the existing cleanup list. Only two remarks: - there are a few tabs/spaces inconsistencies. - I would make the cleanup_ptr explicit: intead of addcleanup(*buffer, freelist, NULL); I'd prefer add

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a patch. Please review. -- keywords: +needs review, patch type: -> resource usage Added file: http://bugs.python.org/file11243/argleak.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue1220212] os.kill on windows

2008-08-25 Thread Anders J. Munch
Changes by Anders J. Munch <[EMAIL PROTECTED]>: -- nosy: +andersjm ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3675] Python 2.6 can't read sets pickled with Python 3.0

2008-08-25 Thread Hagen Fürstenau
New submission from Hagen Fürstenau <[EMAIL PROTECTED]>: After pickling a set of ints with Python 3.0 and pickle protocol 2: [EMAIL PROTECTED] ~]$ python3.0 Python 3.0b3 (r30b3:65927, Aug 21 2008, 11:48:29) [GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2 Type "help", "copyright", "credits" or "

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- assignee: -> pitrou ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue600362] relocate cgi.parse_qs() into urlparse

2008-08-25 Thread Matt Giuca
Matt Giuca <[EMAIL PROTECTED]> added the comment: It seems like parse_multipart and parse_header are very strongly related to parse_qs. (eg. if you want to process HTTP requests you'll want to call parse_qs for x-www-form-urlencoded and parse_multipart for multipart/form-data). Should these be m

[issue3663] Extra DECREF on syntax errors

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Agreed. PyErr_ExceptionMatches returns owned references, so the tb variable has to remain an owned reference. Patch attached, please review. -- keywords: +needs review, patch Added file: http://bugs.python.org/file11242/missing-

[issue3279] import of site.py fails on startup

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Attached patch writes the "'import site' failed" message to libc stderr instead of sys.stderr, which does not exist at this point. The initial problem still remains: site.py cannot use the "open" builtin. -- keywords: +patch Ad

[issue3668] "s*" argument parser marker leaks memory

2008-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing

[issue3160] Building a Win32 binary installer crashes

2008-08-25 Thread Antoine Pitrou
Changes by Antoine Pitrou <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue3160] Building a Win32 binary installer crashes

2008-08-25 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Viktor? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubs

[issue3651] eval() leaks 1 reference every time

2008-08-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Updated patch with the additional PyBuffer_Release mentioned by Neal, plus a proposition of entry for the NEWS file. There is no doc about the new interface, so no update is needed :-( See issue2619. Added file: http://bugs.python.org