[issue14387] Include\accu.h incompatible with Windows.h

2012-04-28 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I think the issue is fixed in all affected branches. Georg, can we close it? -- resolution: - fixed stage: - committed/rejected status: open - pending ___ Python tracker

[issue14387] Include\accu.h incompatible with Windows.h

2012-04-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I think so, yes. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14387 ___

[issue14448] Mention pytz in datetime's docs

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1e5a483248ce by Sandro Tosi in branch '2.7': Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick suggestions http://hg.python.org/cpython/rev/1e5a483248ce New changeset a5a0d47e6e78 by

[issue14688] Typos in sorting.rst

2012-04-28 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos peite...@gmail.com: Please see the file attached. -- assignee: docs@python components: Documentation files: sorting.diff keywords: patch messages: 159513 nosy: dk, docs@python priority: normal severity: normal status: open title: Typos in

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Peter Eisentraut
New submission from Peter Eisentraut pete...@gmx.net: The environment variable PYTHONWARNINGS only works with the python interpreter binary, but not with programs embedding libpython. This could be changed by moving the code from Modules/main.c to Python/pythonrun.c. See attached patch

[issue14642] Fix importlib.h build rule to not depend on hg

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As I don't fully understand what the original issue was, I can't know for sure whether it's fixed now. But yes, there is now a mechanism to bring the time stamps in the right order. -- resolution: - fixed status: open - closed

[issue14676] DeprecationWarning missing in default warning filters documentation

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0ad724738f6a by Sandro Tosi in branch '2.7': Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut http://hg.python.org/cpython/rev/0ad724738f6a -- nosy: +python-dev

[issue14676] DeprecationWarning missing in default warning filters documentation

2012-04-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Peter: thanks for the patch! -- nosy: +sandro.tosi resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-28 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Here my first stab at a comprehensive proposal. Each section represents a specific new function argument, and a list of functions that the argument be added to. All new arguments are keyword-only and optional. All functions mentioned are

[issue14369] make __closure__ writable

2012-04-28 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: sbt, looks good for me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14369 ___ ___

[issue13916] disallow the surrogatepass handler for non utf-* encodings

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I fail to see the problem. If the error handler does not produce meaningful results in some context, then just don't use it. The whole point of error handlers is that they handle errors; using them shouldn't ever cause errors/exceptions.

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brett.cannon stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14689 ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Well, there is no practical advantage at all. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: Please change the priorty of this bug to low. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue14417] dict RuntimeError workaround

2012-04-28 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Still no progress on this bug. Should I just check in my simple patch? But there's much more to do -- docs, and unittests. Volunteers? It's not hard, just work. -- ___ Python tracker

[issue14417] dict RuntimeError workaround

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Still no progress on this bug. Should I just check in my simple patch? But there's much more to do -- docs, and unittests. Volunteers? It's not hard, just work. Well, in general the person writing the patch should also write the tests ;-) I

[issue13916] disallow the surrogatepass handler for non utf-* encodings

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: The problem is that surrogatepass specific to utf-8 and there is no standard way to decode alone surrogates in utf-16. \udc80\udc80.encode(utf-16, surrogatepass).decode(utf-16, surrogatepass) Traceback (most recent call last): File

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14626 ___ ___ Python-bugs-list mailing

[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This should have fixed it. If now, someone reopen the issue :) -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14689 ___

[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Well, if there is no reason for this change, it should be closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14675 ___

[issue13916] disallow the surrogatepass handler for non utf-* encodings

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I see. The proper reaction for a codec that can't handle a certain error then is to raise the original exception. I'm -1 on raising LookupError when trying to find the error handler - this would suggest that the error handler does not

[issue14687] Optimize str%tuple for the PEP 393

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I see sped up +10% on Intel Atom (but 3.2 still 2x fast). With non-ascii arguments speed up can be a little bit larger. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The patch is incorrect, i.e. it deviates from what the command line interface does. When you try to write to sys.stdout, and the characters are not supported you get UnicodeError. Only when it is interactive mode, and tries to represent

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I don't see what the patch worse than the current behavior. Unpatched: ''.join(map(chr, [76, 246, 119, 105, 115])) 'Löwis' ''.join(map(chr, [76, 246, 119, 105, 115, 65536])) 'L\xf6wis\U0001' Patched: ''.join(map(chr, [76, 246, 119,

[issue9239] zipfile: truncating comment can corrupt the zipfile

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: The bug is no longer there. Probably it is fixed in issue14399. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9239

[issue1760357] ZipFile.write fails with bad modification time

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: An alternative is to use the current time, as for stdin. -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1760357 ___

[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: Attached a patch that adds description of get_header and header_items methods in Doc/library/urllib.request.rst. -- keywords: +patch nosy: +godfryd Added file: http://bugs.python.org/file25391/doc-urlib-request.patch

[issue13050] RLock support the context manager protocol but this is not documented

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: It looks that it is already documented by 76228:2040842626ba changeset. The bug can be closed. -- nosy: +godfryd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13050

[issue14688] Typos in sorting.rst

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: The changes looks ok. -- nosy: +godfryd ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14688 ___

[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: This should have fixed it. If now, someone reopen the issue :) Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14666 ___

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In the case of the Cyrillic alphabet all text becomes unreadable, if there are some non-bmp characters in it. And indeed, that's the correct, desired behavior, as it models what the interactive shell does. If you want to change this,

[issue14570] Document json sort_keys parameter properly

2012-04-28 Thread Michal Nowikowski
Michal Nowikowski godf...@gmail.com added the comment: In json module there are dump/dumps methods which internally instantiate encoder class JSONEncoder (or some other user-defined encoder clas). They look as follows: json.dump(obj, fp, skipkeys=False, ensure_ascii=True,

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, here is a draft patch for the new importlib. Several issues with this patch: - introduces a pure Python function (_lock_unlock_module) on the fast import path - synchronization issues due to interruptibility of pure Python code (see

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I take that back; the interactive shell uses the backslashescape error handler. Still, I don't think IDLE should setup a displayhook in the first place. What if an application replaces the displayhook? --

[issue14688] Typos in sorting.rst

2012-04-28 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: The first and last change looks fine. -- assignee: docs@python - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14688

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Still, I don't think IDLE should setup a displayhook in the first place. What if an application replaces the displayhook? IDLE *is* the application. If another application that uses the idlelib, replace displayhook, it must itself to

[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1739648 ___ ___

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Serhiy, I like to fix tkinter itself, not only IDLE. There are other problems like idle is crashing if non-bmp char will be pasted from clipboard. Moreover, non-bmp behavior is different from one Tk widget to other. I still want to make

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: IDLE *is* the application. No, IDLE is the development environment. The application is whatever is being developed with IDLE. -- ___ Python tracker rep...@bugs.python.org

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I don't understand how the utf-8-bmp codec will help to fix the tkinter. To fix the tkinter, you need to fix the Tcl/Tk, but it is outside of Python. While Tcl does not support non-bmp characters, correct and non-ambiguous working with

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: No, IDLE is the development environment. The application is whatever is being developed with IDLE. If the application replaces the displayhook, than it is the development environment too. --

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-04-28 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: -- nosy: +hynek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13241 ___ ___ Python-bugs-list mailing list

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25393/4ba64ca9abcf.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: New patch gets rid of the reliance on _thread.RLock (uses non-recursive locks instead), and should solve the synchronization issue. Other issues remain. -- Added file: http://bugs.python.org/file25394/module_locks2.patch

[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2012-04-28 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: The proposed patch has been committed as c4dcbe51c2e3 – any reasons why this issues is still open? -- nosy: +hynek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7707

[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Documentation -Library (Lib) resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7707

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25393/4ba64ca9abcf.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25395/9a93348e98e7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: docs@python - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14427 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25395/9a93348e98e7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Removed file: http://bugs.python.org/file25254/384190bb0bd5.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25396/667541bb315c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: 667541bb315c.diff: Updated patch, last change: is_adjusted key of time.get_clock_info() is now mandatory. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428

[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Alan McIntyre
Alan McIntyre alan.mcint...@gmail.com added the comment: I'd be glad to do some code reviews or something in exchange for the time of somebody with commit rights. :-) If anybody is interested in getting this change committed, please let me know and I'll check that the patch is still valid.

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: Added file: http://bugs.python.org/file25397/4255e3c4daf2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 76d2e0761d18 by Victor Stinner in branch 'default': Issue #14428, #14397: Implement the PEP 418 http://hg.python.org/cpython/rev/76d2e0761d18 -- nosy: +python-dev ___

[issue14397] Use GetTickCount/GetTickCount64 instead of QueryPerformanceCounter for monotonic clock

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 76d2e0761d18 by Victor Stinner in branch 'default': Issue #14428, #14397: Implement the PEP 418 http://hg.python.org/cpython/rev/76d2e0761d18 -- nosy: +python-dev ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Guido van Rossum accepted the PEP, let's commit the implementation. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14428

[issue14309] Deprecate time.clock()

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 314c3faea2fb by Victor Stinner in branch 'default': Close #14309: Deprecate time.clock() http://hg.python.org/cpython/rev/314c3faea2fb -- nosy: +python-dev resolution: - fixed stage: - committed/rejected

[issue14309] Deprecate time.clock()

2012-04-28 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: The PEP 418 has been accepted: read it to understand why time.clock() is now deprecated. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14309

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Updated patch fixes the performance issue and disposes of module locks when they aren't used anymore. Only the afterfork question remains. Should I hook in threading's own facility? Should we wait for an atfork module? Something else.

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file25398/module_locks3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9260 ___

[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Added file: http://bugs.python.org/file25399/module_locks3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9260 ___

[issue14428] Implementation of the PEP 418

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset bd195749c0a2 by Victor Stinner in branch 'default': Issue #14428: Use the new time.perf_counter() and time.process_time() functions http://hg.python.org/cpython/rev/bd195749c0a2 --

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@gmail.com: The PEP 418 added a new time.monotonic() function. The sched, trace and subprocess modules should use it, if available, to avoid issues when the system time is changed. Attached patch uses the time.monotonic() function when

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14690 ___ ___ Python-bugs-list

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14690 ___ ___

[issue14155] Deja vu in re's documentation

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 142297db28f1 by Ezio Melotti in branch '2.7': #14155: add a note about \b. http://hg.python.org/cpython/rev/142297db28f1 New changeset f4b167309bee by Ezio Melotti in branch '3.2': #14155: add a note about \b.

[issue14155] Deja vu in re's documentation

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I added a note about \b. I don't think the duplicate description of the octal escapes is a problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14155

[issue11379] Remove lightweight from minidom description

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Any news on this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11379 ___ ___

[issue14009] Clearer documentation for cElementTree

2012-04-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14009 ___ ___

[issue13684] httplib tunnel infinite loop

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 685c1db976c4 by Senthil Kumaran in branch '2.7': httplib test for early eof response. related to Issue13684 http://hg.python.org/cpython/rev/685c1db976c4 New changeset afabb0635b15 by Senthil Kumaran in branch

[issue13684] httplib tunnel infinite loop

2012-04-28 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I added a simple test for the early eof condition. It is not specific under _tunnel. I find that Mocks yet to be written that cover the response from httplib ( the mocks in the tests -httplib,urllib2), have their own overridden read()

[issue13850] Summary tables for argparse add_argument options

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: * It's incredibly not helpful for people who don't know argparse Indeed. Maybe this should be moved down in the page, and possibly provide a link to the top (see e.g. the unittest doc [0] and the link on top to jump to the list of

[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6a9f100e138c by Senthil Kumaran in branch '3.2': issue14427 - Document Request.get_header and Request.header_items http://hg.python.org/cpython/rev/6a9f100e138c New changeset 261de1701343 by Senthil Kumaran in

[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Just documented it. Surprising that it was not already! :( -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14034] Add argparse howto

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Would be nice to get another review. I left several comments on rietveld. Overall the tutorial seems really nice and easy to follow (except a couple of parts, noted in the comments). I would replace all the uses of pow(x, y) with x**y

[issue11379] Remove lightweight from minidom description

2012-04-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’ve been unresponsive of late, sorry, but I’m still here. Will see if I have time tomorrow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11379

[issue14034] Add argparse howto

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: A few more comments: * in the review I mentioned highlighting specific code lines (this would be really great given the incremental nature of the howto), but apparently that requires a pygment 1.1 [0]. * all the output examples could use

[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7c262962b681 by Ezio Melotti in branch '2.7': #14461: fix wording. http://hg.python.org/cpython/rev/7c262962b681 New changeset 7f35da912739 by Ezio Melotti in branch '3.2': #14461: fix wording.

[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Technically you are correct, however using zero-width classes inside a lookbehind doesn't make much sense, because the result would be equivalent even without lookbehind. I replaced 'never' with 'not', because usually it will not match,

[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 64a6824d129d by Senthil Kumaran in branch 'default': Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead of client hostname http://hg.python.org/cpython/rev/64a6824d129d -- nosy:

[issue14462] In re's named group the name cannot contain unicode characters

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: There are two options here: 1. fix the doc; 2. fix the code; Matthew, do you have any opinion on this? Does this work on regex? -- stage: - needs patch type: behavior - enhancement versions: +Python 2.7, Python 3.3

[issue14405] Some Other Resources in the sidebar are hopelessly out of date

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here's a patch that removes a few links: * FAQs: the link is already in the page; * Guido's Essays: the content is outdated; * New-style Classes: the content is outdated; * Other Doc Collections: link is broken; * Report a Bug: the link

[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-04-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - committed/rejected type: - enhancement versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14244 ___

[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset da9179248118 by Ezio Melotti in branch '3.2': #14236: mention Unicode whitespace in \s documentation. http://hg.python.org/cpython/rev/da9179248118 New changeset db39b9513e71 by Ezio Melotti in branch 'default':

[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: -Python 2.7 ___

[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: The original change was introduced in this issue401197 which seems to use fqdn at *all appropriate places*. In this case, after about a decade, it was realized that using fdqn for client connection may not be appropriate when hostname is

[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fb1e71c7619a by Senthil Kumaran in branch '2.7': Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler http://hg.python.org/cpython/rev/fb1e71c7619a New changeset

[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Fixed in all codelines. Closing this. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14468] Update cloning guidelines in devguide

2012-04-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Are you referring to http://docs.python.org/devguide/committing.html#forward-porting ? -- stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org

[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Andrew, imagine that the utf-8-bmp codec is already there (I will do it for you, if I see its necessity). How are you going to use it? Show a patch that fixes IDLE and tkinter using this codec. It seems to me that any result can be achieved