[issue3021] Lexical exception handlers

2008-06-07 Thread Adam Olsen
Adam Olsen [EMAIL PROTECTED] added the comment: I agree, the argument for a syntax error is weak. It's more instinct than anything else. I don't think I'd be able to convince you unless Guido had the same instinct I do. ;) ___ Python tracker [EMAIL

[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] http://bugs.python.org/issue3051 ___

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

[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

[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] http://bugs.python.org/issue3052 ___

[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

[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, patch

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

[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] http://bugs.python.org/issue3057 ___

[issue1505257] winerror module

2008-06-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1505257 ___ ___

[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] http://bugs.python.org/issue2847

[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] http://bugs.python.org/issue2663 ___ ___ Python-bugs-list

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

[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] http://bugs.python.org/issue3059 ___

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

[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

[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] http://bugs.python.org/issue1500773 ___

[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] http://bugs.python.org/issue1500773 ___

[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] http://bugs.python.org/issue2349 ___

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

[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] http://bugs.python.org/issue2981 ___