[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Brodie Rao
New submission from Brodie Rao [EMAIL PROTECTED]: Running the attached script - which reassigns sys.stdout to an object that proxies sys.stdout, and eventually reassigns it back to the original object - using Apple's distribution of Python 2.5.1 on an x86 machine, I get the following crash:

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Brodie Rao
Brodie Rao [EMAIL PROTECTED] added the comment: Actually, this seems to be a hardware issue, despite the consistency between runs and the duplication on another machine. I think you can ignore/close this bug. Sorry for the noise. ___ Python tracker [EMAIL

[issue3241] warnings module prints garbage

2008-06-30 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: I just noticed that this also happens with 2.5. I first thought it was a regression, since I've never seen frozen programs print such garbage, it's apparently caused by bbfreeze choosing a dubious __file__ and by 2.6 having much more warnings

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-30 Thread Georgij Kondratjev
Georgij Kondratjev [EMAIL PROTECTED] added the comment: Sorry, I didn't not distinguish between curses module ascii and built-in function ascii. import curses.ascii as ascii works. Is this a good fix? ___ Python tracker [EMAIL PROTECTED]

[issue3241] warnings module prints garbage

2008-06-30 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- assignee: - brett.cannon nosy: +brett.cannon resolution: - wont fix status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3241 ___

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3242 ___ ___

[issue3240] IDLE environment corrupts string.letters

2008-06-30 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Changing the locale changes string.letters -- that is expected behavior. -- nosy: +georg.brandl resolution: - wont fix status: open - pending ___ Python tracker [EMAIL PROTECTED]

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-06-30 Thread Nagy Ferenc László
Nagy Ferenc László [EMAIL PROTECTED] added the comment: Can you please try this patch on top of the original patch? It makes an infinite loop: Traceback (most recent call last): File F:\nfl\proxyhttps\test.py, line 8, in module response = urllib2.urlopen(req) File

[issue3216] errors in msilib documentation

2008-06-30 Thread Sjoerd Mullender
Sjoerd Mullender [EMAIL PROTECTED] added the comment: Today the links to Microsoft documentation go to English language pages, so that part of the bug report can be skipped. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3216

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-06-30 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Yes, I think that providing an unwrap method for the ssl module would be good, independently from this issue. With that implemented and httplib fixed in the way you were mentioning in this same report I can go on with modifying the ftplib

[issue3119] pickle.py is limited by python's call stack

2008-06-30 Thread Jesús Cea Avión
Changes by Jesús Cea Avión [EMAIL PROTECTED]: -- nosy: +jcea ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3119 ___ ___ Python-bugs-list mailing list

[issue3239] curses/textpad.py incorrectly and redundantly imports ascii

2008-06-30 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Ah, I now understand what you mean. The best, IMO, to avoid the confusion in the import and in the usage, is to do: import curses.ascii as curses_ascii Do you care to send a patch? Thank you! -- assignee: - facundobatista

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-06-30 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Some remarks: - I don't think doing a bulk backport of ceval.c is the right approach. Instead, each functionality should be considered and backported independently, if desired. - Guido already said that 3.0 should be mostly clean from

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-06-30 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] added the comment: But httplib is far from fixed. It's a nasty tarball of interdependencies... Bill On Mon, Jun 30, 2008 at 4:12 AM, Giampaolo Rodola' [EMAIL PROTECTED] wrote: Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Yes, I think that

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2008-06-30 Thread Senthil
Changes by Senthil [EMAIL PROTECTED]: -- type: - feature request ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1675455 ___ ___ Python-bugs-list

[issue2829] Copy cgi.parse_qs() to urllib.parse

2008-06-30 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: This is addressed in issue600362. -- nosy: +orsenthil ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2829 ___

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-06-30 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Could what I've just said be an idea? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2054 ___ ___

[issue2829] Copy cgi.parse_qs() to urllib.parse

2008-06-30 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- resolution: - duplicate status: open - closed superseder: - relocate cgi.parse_qs() into urlparse ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2829

[issue3008] Let bin/oct/hex show floats

2008-06-30 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Here's an updated Python version of toHex and fromHex; fixes a bug in the previous version of fromHex for hex floats starting with an upper case hex digit. I'm not sure how useful this is, but I thought I might as well post the code. I

[issue3008] Let bin/oct/hex show floats

2008-06-30 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: ...and the tests for hex_float.py Added file: http://bugs.python.org/file10786/test_hex_float.py ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3008 ___

[issue3008] Let bin/oct/hex show floats

2008-06-30 Thread Mark Dickinson
Changes by Mark Dickinson [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10780/hex_float.py ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3008 ___

[issue3243] Support iterable bodies in httplib

2008-06-30 Thread Chris AtLee
New submission from Chris AtLee [EMAIL PROTECTED]: httplib should support requests whose bodies are iterable objects. This would facilitate doing large file uploads via HTTP since you wouldn't have to load the entire file into memory to create the request string. Index: Lib/httplib.py

[issue3244] multipart/form-data encoding

2008-06-30 Thread Chris AtLee
New submission from Chris AtLee [EMAIL PROTECTED]: The standard library should provide a way to encode data using the standard multipart/form-data encoding. This encoding is required to support file uploads via HTTP POST (or PUT) requests. Ideally file data could be streamed to the remote

[issue3245] Memory leak on OS X

2008-06-30 Thread Edward Langley
New submission from Edward Langley [EMAIL PROTECTED]: On OS X 10.5.3 the default python has a mild memory leak. sample session: % python -S Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin switch terminals % leaks Python Process 2357: 572 nodes

[issue3246] configure: WARNING: sys/socket.h: present but cannot be compiled

2008-06-30 Thread ric
New submission from ric [EMAIL PROTECTED]: Building Python 2.5.2 on Solaris9, receive error: checking sys/socket.h presence... yes configure: WARNING: sys/socket.h: present but cannot be compiled configure: WARNING: sys/socket.h: check for missing prerequisite headers? configure: WARNING:

[issue2013] Long object free list optimization

2008-06-30 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Gregory, your patch probably deserves checking in, it doesn't seem to me there is any concern preventing you to do that. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2013

[issue2862] cleanup of freelist management

2008-06-30 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: I agree with this patch and will commit it later this weekend if I hear no objections. Gregory, it seems there has been no objection on the ML :-) -- nosy: +pitrou ___ Python tracker [EMAIL

[issue1682] Move Demo/classes/Rat.py to Lib/fractions.py and fix it up.

2008-06-30 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: I agree that if the type of the 2nd arg isn't int or long it should be rejected. That should not slow down the common path (two ints). I'm having second thoughts about this; it doesn't seem worth adding an extra check that has to be

[issue3191] round docstring is inaccurate

2008-06-30 Thread Mark Dickinson
Changes by Mark Dickinson [EMAIL PROTECTED]: -- assignee: georg.brandl - marketdickinson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3191 ___ ___

[issue3008] Let bin/oct/hex show floats

2008-06-30 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: I'm looking forward to your C implementation. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3008 ___ ___

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-06-30 Thread kai zhu
kai zhu [EMAIL PROTECTED] added the comment: ideally that may be true. but its quite frustrating testing/developing new py3k software when many modules/extensions we take for granted in 2.x isn't available. in the meantime, this patch serves as a very convenient stopgap for developers (even w/

[issue3245] Memory leak on OS X

2008-06-30 Thread Edward Langley
Edward Langley [EMAIL PROTECTED] added the comment: I think it may be a result of the framework build, I don't have the problem with either 2.5.2 (debug build) or 2.6b1, both non-framework builds. ___ Python tracker [EMAIL PROTECTED]

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-30 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Alright - I'll do that asap On Jun 30, 2008, at 7:06 PM, Amaury Forgeot d'Arc [EMAIL PROTECTED] wrote: Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Committed my changes to threading.local as r64601. I think we could enable

[issue1682] Move Demo/classes/Rat.py to Lib/fractions.py and fix it up.

2008-06-30 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: That's fine. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1682 ___ ___ Python-bugs-list mailing list

[issue3245] Memory leak on OS X

2008-06-30 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I assume it was fixed then. -- nosy: +benjamin.peterson resolution: - out of date status: open - closed type: performance - resource usage ___ Python tracker [EMAIL PROTECTED]

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Brodie Rao
Brodie Rao [EMAIL PROTECTED] added the comment: Actually, I've tested this script on another Debian x86 machine and two Ubuntu x86 machines, all which exhibit the exact same crash with their Python 2.4 distributions. I don't think it's a hardware issue, I think there's a legitimate issue

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Can you try on later versions of Python. 2.4 is no longer supported. -- nosy: +benjamin.peterson resolution: invalid - status: closed - open ___ Python tracker [EMAIL PROTECTED]

[issue3247] dir of an _sre.SRE_Match object not working

2008-06-30 Thread vizcayno
New submission from vizcayno [EMAIL PROTECTED]: For Windows XP SP3: v = 'add 1 to 4.56' import re r=re.search(([0-9]+)\D+(\d+\.\d+),add 1 to 4.56) r _sre.SRE_Match object at 0x00BED920 r.groups() ('1', '4.56') dir(r) [] in pyhton 2.5 it shows: ['__copy__', '__deepcopy__', 'end', 'expand',

[issue1754483] linecache package handling

2008-06-30 Thread Hans Ulrich Niedermann
Hans Ulrich Niedermann [EMAIL PROTECTED] added the comment: The patch does not fix the underlying problem which is not limited to files named '__init__.py'. -- nosy: +ndim ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1754483

[issue1068477] linecache.py::updatecache strips directory info from files

2008-06-30 Thread Hans Ulrich Niedermann
Hans Ulrich Niedermann [EMAIL PROTECTED] added the comment: The following issues appear to be the same bug to me: http://bugs.python.org/issue1068477 http://bugs.python.org/issue1309567 http://bugs.python.org/issue1754483 and are, as of 2008-06-30, unfixed in both rel25-maint and

[issue1309567] linecache module returns wrong results

2008-06-30 Thread Hans Ulrich Niedermann
Hans Ulrich Niedermann [EMAIL PROTECTED] added the comment: The following issues appear to be the same bug to me: http://bugs.python.org/issue1068477 http://bugs.python.org/issue1309567 http://bugs.python.org/issue1754483 and are, as of 2008-06-30, unfixed in both rel25-maint and

[issue1754483] linecache package handling

2008-06-30 Thread Hans Ulrich Niedermann
Hans Ulrich Niedermann [EMAIL PROTECTED] added the comment: The following issues appear to be the same bug to me: http://bugs.python.org/issue1068477 http://bugs.python.org/issue1309567 http://bugs.python.org/issue1754483 and are, as of 2008-06-30, unfixed in both rel25-maint and

[issue1309567] linecache module returns wrong results

2008-06-30 Thread Hans Ulrich Niedermann
Changes by Hans Ulrich Niedermann [EMAIL PROTECTED]: -- components: +Library (Lib) -None versions: +Python 2.3, Python 2.4, Python 2.5, Python 2.6, Python 2.7 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1309567

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Brodie Rao
Brodie Rao [EMAIL PROTECTED] added the comment: Using Python 2.5.2 from python.org on Mac OS X 10.5, I get the same error: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0xad40 0x0052ed30 in ?? () (gdb) bt #0 0x0052ed30 in ?? () #1 0x0002ad41 in

[issue3248] ScrolledText can't be placed in a PanedWindow

2008-06-30 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: Right now ScrolledText can't be added to a Tkinter.PanedWindow, also can't be added to a ttk.Notebook (which is not part of the stdlib), because it is a lacking a proper __str__ method. Run the following sample code to check how it fails:

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Brodie Rao
Brodie Rao [EMAIL PROTECTED] added the comment: Running with Python 2.5.2 with guard malloc on OS X 10.5 produces a similar crash to that of Python 2.4 on Linux: (gdb) set env DYLD_INSERT_LIBRARIES /usr/lib/libgmalloc.dylib (gdb) run ~/Documents/Code/py-crash/crash5.py Starting program: