[issue2523] binary buffered reading is quadratic

2008-06-07 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: I reviewed the patch and I found a few bugs -- i.e., peek() was replacing the buffer content, read() wasn't written in consideration of non-blocking streams, the removal of the None check in BufferedRandom.read() was wrong. Here's an up

[issue2981] confusing action of struct.pack and struct.unpack with fmt 'p'

2008-06-07 Thread Mark Hammond
Mark Hammond <[EMAIL PROTECTED]> added the comment: What should struct.calcsize() do with a 'p' format string? -- nosy: +mhammond ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3060] Warn about tuple parameters

2008-06-07 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: This patch adds Py3k warnings to nested tuple parameters. -- assignee: georg.brandl components: Interpreter Core files: tuple_parameters_warn.patch keywords: patch messages: 67820 nosy: benjamin.peterson, georg.brandl severity: n

[issue2349] Py3K warn against assigning to True/False

2008-06-07 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Georg, can I apply? -- assignee: brett.cannon -> georg.brandl nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> __

[issue2523] binary buffered reading is quadratic

2008-06-07 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: I am going to go through your patch as soon as I get the time -- i.e., later today or tomorrow morning. ___ Python tracker <[EMAIL PROTECTED]> __

[issue1500773] wm_attributes doesn't take keyword arguments

2008-06-07 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10548/issue1500773.diff ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1500773] wm_attributes doesn't take keyword arguments

2008-06-07 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10513/issue1500773.diff ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue2523] binary buffered reading is quadratic

2008-06-07 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: I recommend not letting this issue rot too much :) Eating 20+ seconds to read the contents of a 10MB binary file in one pass is not very good marketing-wise, and the betas are coming soon... ___ Python trac

[issue3021] Lexical exception handlers

2008-06-07 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a newer patch that also adapts the behaviour of finally blocks as suggested by Adam Olsen. Note that I had to change some things in the way 'with' statements are compiled and executed. Added file: http://bugs.python.org/file10547/fina

[issue3059] Removing .decode calls from Lib/calendar.py

2008-06-07 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- title: Removing s.decode at Lib/calendar.py -> Removing .decode calls from Lib/calendar.py ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3059] Removing s.decode at Lib/calendar.py

2008-06-07 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: I've removed calls to s.decode found at Lib/calendar.py as it is no longer needed in py3k and doesn't even work (since .decode is gone). -- components: Library (Lib) files: no_strdecode.diff keywords: patch messages: 67815 nosy: gpo

[issue2663] shutil.copytree glob-style filtering [patch]

2008-06-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue2847] Remove cl usage from aifc

2008-06-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I found a few more bytes/str problems, committed patch in r64023. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue1505257] winerror module

2008-06-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bu

[issue3057] 2.6 abc fixes

2008-06-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: OK, committed as r64018. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3057] 2.6 abc fixes

2008-06-07 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Looks good. I like keeping the *View classes around so someone can use them still. -- assignee: gvanrossum -> georg.brandl ___ Python tracker <[EMAIL PROTECTED]>

[issue3058] Let SimpleXMLRPCServer pass client_address to called functions.

2008-06-07 Thread Kunshan Wang
New submission from Kunshan Wang <[EMAIL PROTECTED]>: I recently wrote a program making use of SimpleXMLRPCServer. It has a function that responds to the caller according to the caller's IP address. However the current SimpleXMLRPCServer does not allow me to do this (directly). For example: de

[issue3057] 2.6 abc fixes

2008-06-07 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: This patch makes the 2.6 Mapping ABC use the 2.6 dict interface. It also removes registering list as a KeysView, ValuesView and ItemsView. -- assignee: gvanrossum components: Library (Lib) files: abcoll.diff keywords: 26backport, patc

[issue2862] cleanup of freelist management

2008-06-07 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: I agree with this patch and will commit it later this weekend if I hear no objections. see the mailing list discussion. -- assignee: christian.heimes -> gregory.p.smith ___ Python tracker <[EMAI

[issue3029] free list management - list, dict, set

2008-06-07 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: everyone seems to be in agreement that this patch is a bad idea. closing. -- nosy: +gregory.p.smith resolution: -> rejected status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue2862] cleanup of freelist management

2008-06-07 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- nosy: +gregory.p.smith ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-li

[issue3054] test_disutils fails

2008-06-07 Thread Dror Levin
Dror Levin <[EMAIL PROTECTED]> added the comment: This also happens in py3k. Attached a patch that fixes this by using the dirname of sysconfig.project_base if the file is not found, but perhaps a better solution could be found... -- keywords: +patch nosy: +spatz versions: +Python 3.0 Ad

[issue2451] No way to disable socket timeouts in httplib, etc.

2008-06-07 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Applied the rest of the patch regarding test_urllib2net.py. Thank you! -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3048] getsizeof incorrect for Unicode strings

2008-06-07 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3052] Mac Modules failing to compile

2008-06-07 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: It is fixed. Thanks. -- status: pending -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue2912] let platform.uname try harder

2008-06-07 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for volunteering, James! I think you misunderstood the task. Do you see how in platform's uname, it only tries to find missing values for os.uname if os.uname doesn't exist? Sometimes os.uname exists, but it doesn't provide all the v

[issue1505257] winerror module

2008-06-07 Thread Mark Hammond
Mark Hammond <[EMAIL PROTECTED]> added the comment: pywin32 has a 'winerror' module, which is (basically) a h2py generated module from the same header (although initially generated roughly a decade ago and hand-tweaked since then). Its unfortunate pywin32 still hasn't adopted a package approach,

[issue3051] heapq change breaking compatibility

2008-06-07 Thread Thomas Herve
Thomas Herve <[EMAIL PROTECTED]> added the comment: Unfortunately, the modification didn't fix the problem. ___ Python tracker <[EMAIL PROTECTED]> ___ __