[issue22064] Misleading message from 2to3 when skipping optional fixers

2014-07-25 Thread Nick Coghlan
New submission from Nick Coghlan: From https://stackoverflow.com/questions/5499897/converting-selenium-py-to-python-3-by-2to3, 2to3 prints the following messages when run: === RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms

[issue22053] turtledemo: clean up start and stop, fix warning

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a55b34f1db2 by Terry Jan Reedy in branch '2.7': Issue #22053: Make help work, after previous patch for this issue disabled it http://hg.python.org/cpython/rev/7a55b34f1db2 New changeset c26862955342 by Terry Jan Reedy in branch '3.4': Issue

[issue22053] turtledemo: clean up start and stop, fix warning

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Removal of 'demo' as a global name disabled help callbacks. I could have added 'global demo' to main(), but I decided to refactor and remove duplicate code instead. For 3.5, however, refactor would not merge because of #10291, so I made the simplest fix

[issue22061] turtledemo doesn't launch due to changes in tkinter

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which replaces obsolete and non-working menu creation code by modernized code. Now menu should be correctly displayed on MacOS. -- Added file: http://bugs.python.org/file36084/turtledemo_menu.patch

[issue10291] Clean-up turtledemo in-package documentation

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is there any reason when turtledemo.__init__ and turtledemo.__main__ should not get docstrings in earlier versions? And the turtledemo.__main__ get the same changes in 3.4? Not doing so introduced seeming gratuitous differences between the versions. The help

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: Pipes cannot be configured in non-blocking mode on Windows. It sounds dangerous to call a blocking syscall in a signal handler. In fact, it works to write the signal number into a pipe on Windows, but I'm worried about the blocking behaviour.

[issue22061] turtledemo doesn't launch due to changes in tkinter

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c4d45f73622 by Terry Jan Reedy in branch '2.7': Issue #22061: remove call of useless function slated for removal. http://hg.python.org/cpython/rev/3c4d45f73622 New changeset 976f31b2858b by Terry Jan Reedy in branch '3.4': Issue #22061: remove

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: 2014-07-25 9:02 GMT+02:00 Charles-François Natali rep...@bugs.python.org: Pipes cannot be configured in non-blocking mode on Windows. It sounds dangerous to call a blocking syscall in a signal handler. In fact, it works to write the signal number into a

[issue22065] Update turtledemo menu creation

2014-07-25 Thread Terry J. Reedy
New submission from Terry J. Reedy: On #22061, Serhiy Storchaka posted turtledemo_menu.patch, which is unrelated to that issue. Issues in that patch. * It mistakenly includes the tkinter_restore_empty_methods.patch that does belongs to 22061. * It will not apply any more, especially to 3.4 as

[issue22061] Restore deleted tkinter functions with deprecaton dummies.

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The turtledemo part of this issue is over. (Lita, tracebacks are not 'crash' issues. Segfaults and the Windows equivalent are.) The restoration patch could have been attached to 4350. But since it is here, I retitled this issue instead of closing it. Patch

[issue22061] Restore deleted tkinter functions with deprecaton dummies.

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be add deprecation warnings in 2.7 and 3.4? This method's calls can be left in existing user code as in turtledemo and this code behaves differently from how it was designed and behaved with Tk 4.0. As far as now this methods are empty, this bug can be

[issue22065] Update turtledemo menu creation

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is updated patch. * Excluded the tkinter_restore_empty_methods.patch. * Synchronized with tip. * Corrected grid row indices (this doesn't matter, in any case menu was removed from grid on Mac). Current code doesn't work as was designed (with using

[issue22061] Restore deleted tkinter functions with deprecaton dummies.

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since Deprecation warnings are off by default, backporting seems like a good idea. There was talk on pydev about adding more py3 warnings to 2.7, which this essentially is (though the removal is delated to 3.6). --

[issue10291] Clean-up turtledemo in-package documentation

2014-07-25 Thread Ned Deily
Ned Deily added the comment: Is there any reason when turtledemo.__init__ and turtledemo.__main__ should not get docstrings in earlier versions? And the turtledemo.__main__ get the same changes in 3.4? I think my reasoning was that it was not a bug fix so it wasn't a strong candidate

[issue4350] Remove dead code from Tkinter.py

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e6beea0eeab by Serhiy Storchaka in branch 'default': Issue #22061: Restored empty obsolete methods removed in issue #4350 and http://hg.python.org/cpython/rev/7e6beea0eeab -- ___ Python tracker

[issue22061] Restore deleted tkinter functions with deprecaton dummies.

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7c84674bdec by Serhiy Storchaka in branch '2.7': Issue #22061: Add deprecation warnings in empty obsolete methods. http://hg.python.org/cpython/rev/f7c84674bdec New changeset a50297e793f9 by Serhiy Storchaka in branch '3.4': Issue #22061: Add

[issue22061] Restore deleted tkinter functions with deprecaton dummies.

2014-07-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22061 ___

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Alejandro MJ
Alejandro MJ added the comment: Thanks a lot for your help! I've tested it in Linux, Python version 3.3.5 and the message obtained is this: [404 Not Found]. The script is this one (changing of course the ip_address and the proxy_url values): import http.client, urllib.parse data =

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88a532a31eb3 by Nick Coghlan in branch 'default': Issue #18093: Factor out the programs that embed the runtime http://hg.python.org/cpython/rev/88a532a31eb3 -- nosy: +python-dev ___ Python tracker

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7640af73c19d by Nick Coghlan in branch 'default': Add missing NEWS entry for issue #18093 http://hg.python.org/cpython/rev/7640af73c19d -- ___ Python tracker rep...@bugs.python.org

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Alejandro MJ
Alejandro MJ added the comment: I've wrote these sentences on my SUSE, python is installed on path: /usr/local/pr/python computer002:/usr/local/pr/python # patch -p1 --dry-run issue22041_1.patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Prompted to finally get back to this by the python-dev discussion about PEP 432 (as separating these out helps keep the moving parts clear when working on the startup sequence) In response to Eric's question, Modules/main.c is part of the CPython runtime,

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: In the issue #22042, I would like to make automatically the file desscriptor or socket handler in non-blocking mode. The problem is that you cannot make a file descriptor in non-blocking mode on Windows. I don't think we should set it non-blocking

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Zach, regarding the Windows executables - up to you if you want to open an issue to move them. These ones I particularly wanted to move because I found having them in Modules to be genuinely confusing when working on the startup code. --

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: Charles-François wrote: I don't think we should set it non-blocking automatically, but rather check that it's non-blocking. The first reason I can think of is that the user passing a blocking FD could be a sign of a bug (e.g. if the other end is in blocking

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2014-07-25 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1025395 ___ ___ Python-bugs-list

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ae5709692ef by Nick Coghlan in branch 'default': Issue #21947: handle generator-iterator objects in dis http://hg.python.org/cpython/rev/2ae5709692ef -- nosy: +python-dev ___ Python tracker

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the patch Clement! Could I also please request that you sign the Contributor License Agreement at https://www.python.org/psf/contrib/contrib-form/ While we have some discretion to accept small patches without one, a signed CLA helps assure that we

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-25 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21947 ___

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread Mark Summerfield
Mark Summerfield added the comment: I used pip to install the win_unicode_console package on windows 7 python 3.3. It works but wouldn't freeze with cx_freeze because there's no __init__.py file in the win_unicode_console directory. -- ___ Python

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Hmm, I'm not sure if that would be a bug in cxFreeze or CPython - I don't think we've tried freezing or zipimporting namespace packages... (either way, adding the __init__.py to win_unicode_console would likely be the quickest fix) --

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: Since there is now an external project fixing the support of Windows console, I suggest to close this issue as wontfix. In a few months, if we get enough feedback on this project, we may reconsider integrating it into Python. What do you think?

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: The poor interaction with the Windows command line is still a bug in CPython - we could mark it closed/later but I don't see any value in doing so. I see Drekin's win_unicode_console module as similar to my own contextlib2 - used to prove the concept, and

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: The poor interaction with the Windows command line is still a bug in CPython - we could mark it closed/later but I don't see any value in doing so. I don't see any value in keeping the issue open since nobody worked on it last 7 years. I just want to make

[issue22066] subprocess.communicate() does not receive full output from the called process.

2014-07-25 Thread juj
New submission from juj: When Python 2.7 executes a Node .js application that prints to stdout and subsequently exits, Python does not capture full output printed by that application. Steps to repro: 1. Download and unzip http://clb.demon.fi/bugs/python_proc_bug.zip 2. Run run_test.bat

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Based on Steve's last post, the main challenge is that the IO model assumes a bytes-based streaming API - it isn't really set up to cope with a UTF-16 buffering layer. However, that's not substantially different from the situation when the standard streams are

[issue1602] windows console doesn't print or input Unicode

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Changing targets to Python 3.5, since this is almost certainly going to be too invasive for a maintenance release. -- versions: +Python 3.5 -Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 766570a5d607 by Zachary Ware in branch 'default': Issue #18093: Give the Windows build _testembed.c's new location. http://hg.python.org/cpython/rev/766570a5d607 -- ___ Python tracker

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2014-07-25 Thread Ian Cordasco
Changes by Ian Cordasco graffatcolmin...@gmail.com: -- nosy: +icordasc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3566 ___ ___ Python-bugs-list

[issue22067] time_test fails after strptime()

2014-07-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: time_test fails when running after any test which uses strptime(). The bug can be easily reproduced by running test_time twice: $ TZ=Europe/Kiev ./python -m test.regrtest -ugui -v test_time test_time ...

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Demian Brecht
Demian Brecht added the comment: To add a little more detail, from what I gather, CONNECT support may be unsupported or limited (i.e. only allowing SSL connections) on various proxy servers. If the code snippet in my previous post solves your issue, then I would assume that to be the case

[issue22041] http POST request with python 3.3 through web proxy

2014-07-25 Thread Demian Brecht
Demian Brecht added the comment: Sorry Alejandro, I should have clarified: The attached patch is for dev, so the failure you're seeing when attempting to apply the patch against 3.3 is expected. It effectively does the same thing as explicitly setting the port as you have already attempted.

[issue18436] Add mapping of symbol to function to operator module

2014-07-25 Thread Zachary Ware
Zachary Ware added the comment: With no one (including me) clamoring for this, I'm going to go ahead and reject it. If someone in the future does really want this, I'd be happy to review a new patch. -- resolution: - rejected stage: - resolved status: open - closed versions:

[issue21591] exec(a, b, c) not the same as exec a in b, c in nested functions

2014-07-25 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21591 ___ ___ Python-bugs-list

[issue22068] test_gc fails after test_idle

2014-07-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -m test.regrtest -ugui -v test_idle test_gc ... == FAIL: test_saveall (test.test_gc.GCTests) -- Traceback (most

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-07-25 Thread Victor Zhong
Victor Zhong added the comment: Hi Zach, I've pulled from the default branch. Please find attached the diff for hg diff -r default Lib/unittest in the attached issue14534.v3.diff. Victor -- hgrepos: +266 Added file: http://bugs.python.org/file36086/issue14534.v3.diff

[issue22068] test_gc fails after test_idle

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: It looks like test_idle leaks uncollectable objects. I modified regrtest to use tracemalloc, I attach the output: tracemalloc.txt. Good luck to find the leaks ;-) -- nosy: +haypo Added file: http://bugs.python.org/file36087/tracemalloc.txt

[issue22068] test_gc fails after test_idle

2014-07-25 Thread STINNER Victor
STINNER Victor added the comment: regrtest_tracemalloc.patch: my patch for regrtest.py to dump the traceback where garbage objects where allocated using tracemalloc. http://pytracemalloc.readthedocs.org/ (Note: you need to recompile Python to use tracemalloc on Python 3.4.) --

[issue21867] Turtle returns TypeError when undobuffer is set to 0 (aka no undo is allowed)

2014-07-25 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: - resolved status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21867 ___

[issue22003] BytesIO copy-on-write

2014-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: It doesn't seem likely this patch would introduce severe performance troubles elsewhere, but I'd like to trying it out with some example heavy BytesIO consumers (any suggestions? Some popular template engine?) I don't have any specific suggestions, but you

[issue22003] BytesIO copy-on-write

2014-07-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22003 ___ ___

[issue22068] test_gc fails after test_idle

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indeed, there are a lot of small reference loops in ConfigDialog. Tk variables save reference to the dialog and the dialog saves references to variables. Either variables should be created with different argument (i.e. self.parent), or they should be

[issue21308] PEP 466: backport ssl changes

2014-07-25 Thread Alex Gaynor
Alex Gaynor added the comment: New version of this patch fixes a bunch of versionadded and changeds in the docs that referred to the wrong version. -- Added file: http://bugs.python.org/file36089/ssl-backport.diff ___ Python tracker

[issue22069] TextIOWrapper(newline=\n, line_buffering=True) mistakenly treat \r as a newline

2014-07-25 Thread Akira Li
New submission from Akira Li: TextIOWrapper(b, newline=\n, line_buffering=True) object calls flush() while writing \r. See test_line_buffering() method in Lib/test/test_io.py:2114 The documentation says [1]: If line_buffering is True, flush() is implied when a call to write contains a

[issue11271] concurrent.futures.ProcessPoolExecutor.map() doesn't batch function arguments by chunks

2014-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for posting this, I'm reopening the issue. -- nosy: +sbt resolution: out of date - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11271

[issue22070] Use the _functools module to speed up functools.total_ordering

2014-07-25 Thread Nick Coghlan
New submission from Nick Coghlan: Getting functools.total_ordering to handle NotImplemented correctly in issue 10042 came at the cost of slowing it down dramatically, as the simple use of normal operator syntax had to be replaced by explicit method calls. It also introduced the quirk of going

[issue22070] Use the _functools module to speed up functools.total_ordering

2014-07-25 Thread Alex Gaynor
Alex Gaynor added the comment: If you're going to fix the semantics of the method lookup to go via the type, can you please do that for the pure python version as well? When the C and Python versions diverge on semantics, it becomes a real pain for alternate implementations which are

[issue22071] Remove long-time deprecated attributes from smtpd

2014-07-25 Thread Milan Oberkirch
New submission from Milan Oberkirch: I made a patch removing deprecated attributes from smtpd (as suggested by r.david.murray). -- components: Library (Lib) files: smtpd_remove_deprecated_attrs.patch keywords: patch messages: 223969 nosy: jesstess, pitrou, r.david.murray, zvyn

[issue22070] Use the _functools module to speed up functools.total_ordering

2014-07-25 Thread Nick Coghlan
Nick Coghlan added the comment: Fixing the lookup semantics should arguably be a bug report in its own right, but yes, if the C implementation uses _PyType_LookupSpecial, then the Python version should definitely be changed to match. -- ___ Python

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for noticing this. Do you want to propose a patch? -- assignee: docs@python - rhettinger nosy: +rhettinger stage: - needs patch versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21990 ___

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread paul j3
paul j3 added the comment: On further thought, I think group2 = group1.add_mutually_exclusive_group() should have raised an error, stating that a group (argument or mutually exclusive) cannot be added to a mutually exclusive group. Also an argument group should not be added to another

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a5cb10f2dbaa by Raymond Hettinger in branch '2.7': Issue #21990: Cleanup unnecessary inner class definition in saxutils. http://hg.python.org/cpython/rev/a5cb10f2dbaa -- nosy: +python-dev ___ Python

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread Sam Kerr
Sam Kerr added the comment: What I was going for was the ability to have a group contain a mutually exclusive group and a non-exclusive group, but using the mutually exclusive group meant you could not use the non-exclusive group. Such as: [ [ -opt1 | -opt2 | -opt3 ] [ [-opt4] [-opt5]

[issue22049] argparse: type=callable doesn't honor nargs 1

2014-07-25 Thread Chris Bruner
Chris Bruner added the comment: Yes, I know. My function just sees '1', but I think it should see '1 2 3' so that it can figure out what to do. That's impossible (well, impossible without saving state between calls) when it sees the arguments piecemeal. Sent from my iPhone On Jul 24, 2014,

[issue3982] support .format for bytes

2014-07-25 Thread Derek Wilson
Derek Wilson added the comment: First off, +1 for this feature. It's not just for twisted, but anyone doing anything with binary data (storage, compression, encryption and networking for me) with python since 2.6 will very likely have been using .format for building messages. I know I have

[issue22018] Add a new signal.set_wakeup_socket() function

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: It doesn't answer to my complain: I don't want to support file descriptors on Windows anymore because file descriptors cannot be configured in non-blocking mode. I think it does : if an exception is raised if an FD/handler is not in non-blocking

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread Sam Kerr
Sam Kerr added the comment: I fat fingered the example, sorry: [ [ -opt1 | -opt2 | -opt3 ] | [ [-opt4] [-opt5] [-opt6] ] ] Note the new pipe between the 2 subgroups -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22047

[issue3982] support .format for bytes

2014-07-25 Thread Derek Wilson
Derek Wilson added the comment: sorry, terry's patch does handle padding - just with the caveats i listed later. i should have removed that bullet. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3982

[issue19875] test_getsockaddrarg occasional failure

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 897c9e6ddb1a by Charles-François Natali in branch '3.4': Issue #19875: Fix random test_getsockaddrarg() failure. http://hg.python.org/cpython/rev/897c9e6ddb1a New changeset 619feea86ce4 by Charles-François Natali in branch 'default': Issue #19875:

[issue19875] test_getsockaddrarg occasional failure

2014-07-25 Thread Charles-François Natali
Charles-François Natali added the comment: Should be fixed now, thanks! -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19875

[issue22072] Fix typos in SSL's documentation

2014-07-25 Thread Alex Gaynor
New submission from Alex Gaynor: Attached patch fixes a pair of typos. -- assignee: docs@python components: Documentation files: ssl-docs.diff keywords: easy, needs review, patch messages: 223982 nosy: alex, docs@python priority: normal severity: normal status: open title: Fix typos in

[issue21990] saxutils defines an inner class where a normal one would do

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21990 ___

[issue22072] Fix typos in SSL's documentation

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c7567ec6292 by Zachary Ware in branch '3.4': Issue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor. http://hg.python.org/cpython/rev/1c7567ec6292 New changeset 967311e6c0d2 by Zachary Ware in branch 'default': Closes #22072: Merge

[issue22072] Fix typos in SSL's documentation

2014-07-25 Thread Zachary Ware
Zachary Ware added the comment: Thanks, Alex! -- nosy: +zach.ware versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22072 ___

[issue22073] Reference links in PEP466 are broken

2014-07-25 Thread Alex Gaynor
New submission from Alex Gaynor: Specifically, the links in the Acknowledgements section http://legacy.python.org/dev/peps/pep-0466/#acknowledgements -- messages: 223985 nosy: alex, ncoghlan priority: normal severity: normal status: open title: Reference links in PEP466 are broken

[issue10291] Clean-up turtledemo in-package documentation

2014-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the explanation. I will re-delete the file after copying 3.4 version to docstring and marking the original .txt as frozen. I will do same with other files deleted in 3.5. -- ___ Python tracker

[issue22058] datetime.datetime() should accept a datetime.date as init parameter

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: [David] There is already a spelling for that operation, and it is d.date() [Tim] Alexander, I don't see a need to make everything a one-liner [Facundo] So, unless anyody wants to pursue with this, I'll close the issue. Marking as closed, rejected for the

[issue22045] Python make issue

2014-07-25 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22045 ___ ___

[issue22033] Subclass friendly reprs

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 These all look worthwhile and correct. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22033 ___ ___

[issue18093] Move main functions to a separate Programs directory

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 413017768dde by Ned Deily in branch 'default': Issue #18093: Create Programs directory in build location for http://hg.python.org/cpython/rev/413017768dde -- ___ Python tracker rep...@bugs.python.org

[issue21958] Allow python 2.7 to compile with Visual Studio 2013

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb2e1b3a395f by Zachary Ware in branch '2.7': Issue #21958: Define HAVE_ROUND when building with VS 2013 and above. http://hg.python.org/cpython/rev/cb2e1b3a395f New changeset 1c35cefd25b7 by Zachary Ware in branch '3.4': Issue #21958: Define

[issue21958] Allow python 2.7 to compile with Visual Studio 2013

2014-07-25 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch, I've committed it. For future reference, the devguide should answer any questions you may have about how to contribute to Python, or you can ask on any of the various mailing lists (where you'll either get an answer or be pointed to a

[issue22073] Reference links in PEP466 are broken

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b3dc5fafb82 by Ned Deily in branch 'default': Issue #22073: fix footnote references. http://hg.python.org/peps/rev/3b3dc5fafb82 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue22073] Reference links in PEP466 are broken

2014-07-25 Thread Ned Deily
Ned Deily added the comment: Fixed, thanks! -- nosy: +ned.deily resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22073 ___

[issue563491] Add separator argument to readline()

2014-07-25 Thread Akira Li
Akira Li added the comment: Reincarnation: issue #1152248: Add support for reading records with arbitrary separators to the standard IO stack -- nosy: +akira ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue563491

[issue21308] PEP 466: backport ssl changes

2014-07-25 Thread Alex Gaynor
Alex Gaynor added the comment: Try #3: This fixes a bug with NPN (I hadn't tested with an OpenSSL that supports NPN, I have now), and cherry-picks the typo fixes from 967311e6c0d2 -- Added file: http://bugs.python.org/file36092/ssl-backport.diff ___

[issue17083] can't specify newline string for readline for binary files

2014-07-25 Thread Akira Li
Akira Li added the comment: Related issue #1152248: Add support for reading records with arbitrary separators to the standard IO stack It suggests to extend the newline support for both text and binary files. -- nosy: +akira ___ Python tracker

[issue22033] Subclass friendly reprs

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42276ad3acef by Serhiy Storchaka in branch 'default': Issue #22033: Reprs of most Python implemened classes now contain actual http://hg.python.org/cpython/rev/42276ad3acef -- nosy: +python-dev ___

[issue20188] ALPN support for TLS

2014-07-25 Thread Mark Nottingham
Mark Nottingham added the comment: HTTP/2 requires ALPN, BTW. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20188 ___ ___ Python-bugs-list

[issue22033] Subclass friendly reprs

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Raymond for the review. -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22033

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine, what do you think about this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21802 ___ ___

[issue21585] Run Tkinter tests with wantobjects=False

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Lita, but I think it would be better if all Tkinter tests will automatically run in both wantobjects=0 and wantobjects=1 modes. As for your patch, ttk.Button() creates default root with current wantobjects value, this default root can be

[issue21574] Port image types detections from PIL to the imghdr module

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Claudiu, are you working on this issue? If not, I'll start writing a patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574 ___

[issue22065] Update turtledemo menu creation

2014-07-25 Thread Ned Deily
Ned Deily added the comment: Nice insight, Serhly! The patch addresses the menu concern I brought up in msg223631 of Issue21933. I evaluated the patch with all three OS X Tk variants (Cocoa, Carbon, and X11) and it looked good to me. The only review comment I have is that ideally, with

[issue22044] Premature Py_DECREF while generating a TypeError in call_tzinfo_method

2014-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger nosy: +rhettinger versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22044 ___

[issue22047] argparse improperly prints mutually exclusive options when they are in a group

2014-07-25 Thread paul j3
paul j3 added the comment: Here's a preliminary patch that raises an error if there's an attempt to nest a mutually exclusive group in another, or there's an attempt to add an argument group to either kind of group. It still needs test_argparse.py and argparse.rst changes I'm raising a

[issue21574] Port image types detections from PIL to the imghdr module

2014-07-25 Thread Claudiu Popa
Claudiu Popa added the comment: No, I didn't start any work on this and right now, with EuroPython, I don't have that much time to start, so feel free to take it and write a patch. -- ___ Python tracker rep...@bugs.python.org

[issue22044] Premature Py_DECREF while generating a TypeError in call_tzinfo_method

2014-07-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01c6d2893092 by Raymond Hettinger in branch '3.4': Issue #22044: Fixed premature DECREF in call_tzinfo_method. http://hg.python.org/cpython/rev/01c6d2893092 -- nosy: +python-dev ___ Python tracker

[issue22044] Premature Py_DECREF while generating a TypeError in call_tzinfo_method

2014-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22044 ___

  1   2   >