[issue3215] Can't import sqlite3 in Python 2.6b1

2008-06-30 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This is now fixed in r64597. I had indeed edited the project file before the release, but couldn't commit, as that would have modified the tag. I had rebuilt sqlite3.dll, but probably forgotten to rebuild _sqlite3.pyd. There are more issues

[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]> __

[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]> ___ __

[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 response = urllib2.urlopen(req) File "C:\Python25\lib\urlli

[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]> __

[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]> ___ ___ Python-bugs-list mailing l

[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 r

[issue2325] isinstance(anything, MetaclassThatDefinesInstancecheck) raises instead of returning False

2008-06-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I think the best is to ignore __instancecheck__ when "cls.__instancecheck__" is returned as an unbound method. In this case, we try "type(cls).__instancecheck__" instead. Here is a patch along this idea. I had to disable a test named "E

[issue3092] Wrong unicode size detection in pybench

2008-06-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-06-28 21:33, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > >> You're right: probably not. Would be great to have the test on the >> Py2.x version as well - to see the difference in performance. >

[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 compat

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

2008-06-30 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Interesting. Why do you use a deque? You never seem to prepend or pop from the beginning of it, so using a plain list should be as fast. Also, your patch should add one or several unit tests to enforce the new behaviour. -- nosy: +pi

[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]> ___ ___ 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]> ___

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

2008-06-30 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Ok, so let's leave httplib alone. Let's just add the unwrap() method to ssl.SSLSocket so that it could be be possible to go ahead with the current patch. Modifying it consists in just adding a new prot_c method (I could do that). As for the

[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]> ___ ___ Pyt

[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]> _

[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 al

[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]> __

[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]> ___ __

[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 ser

[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 >>> % leaks Python Process 2357: 572 nodes malloced fo

[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]> ___

[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 P

[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 app

[issue3245] Memory leak on OS X

2008-06-30 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: I can reproduce this with the Apple-supplied Python, but I'm having trouble reproducing it with anything from python.org. I tried checking out revision 54863 and doing ./configure --enable-framework MACOSX_DEPLOYMENT_TARGET=10.3 && make su

[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]> ___ _

[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]> ___ ___

[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 Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Committed my changes to threading.local as r64601. I think we could enable the "Manager" tests again. ___ 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 c

[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]> ___ ___ 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 her

[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]>

[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 tru

[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 tru

[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 tru

[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]> _

[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: i

[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: /User