[issue27770] remove run_until_complete

2016-08-15 Thread Decorater
New submission from Decorater: I use a library that uses run_until_complete that is used for HTTP connections. However it does not work well when you want to reconnect anything that makes it start via recursion. So, I am suggesting the removal of run_until_complete and then tell everyone that

[issue27038] Make os.DirEntry exist

2016-08-15 Thread Brendan Moloney
Brendan Moloney added the comment: The functions were all written around DirEntry objects since that is what they will be processing 99% of the time and I want to do that as efficiently as possible. Converting a DirEntry object into a str representation doesn't help me with my use case at all.

[issue27770] remove run_until_complete

2016-08-15 Thread Guido van Rossum
Guido van Rossum added the comment: This sounds like you're overreacting -- just because you were bit by some code that used run_until_complete() incorrectly that doesn't mean we should break everybody's code that is using it (most I'm sure are using it correctly). If you want help understandi

[issue26823] Shrink recursive tracebacks

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 86d062edb6ab by Nick Coghlan in branch 'default': Issue #26823: fix traceback abbreviation docs https://hg.python.org/cpython/rev/86d062edb6ab -- ___ Python tracker __

[issue27756] Add pyd icon for 3.6

2016-08-15 Thread Steve Dower
Steve Dower added the comment: It's certainly very easy to add an icon for pyd files. The tricky part is getting an icon we can redistribute - fairly sure one derived from a Windows icon is not redistributable. Let me see if I can get one of the designers at work to put something together. Ma

[issue26823] Shrink recursive tracebacks

2016-08-15 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks again Emanuel - I incorporated your suggested changes along with some other ones I had already made locally. -- ___ Python tracker ___ ___

[issue26823] Shrink recursive tracebacks

2016-08-15 Thread Nick Coghlan
Changes by Nick Coghlan : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue27756] Add pyd icon for 3.6

2016-08-15 Thread Eryk Sun
Eryk Sun added the comment: > Maybe it's time for a whole new set :) Please keep a rocket in the upper left-hand corner for the launcher icon. It distinguishes the launcher from other "Python" apps when modifying the shell's file association, since the shell doesn't show the command-line templ

[issue27714] some test_idle tests are not re-runnable, producing false failures with regrtest -w option

2016-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, test_tix failing on some systems (but not Windows) after test_idle, because test_idle calls tk.NoDefaultRoot() (added June 21 in #24137) is #27611. Serhiy says there is a bug in tix, but no one has fix that yet. Zach says I should restore tkinter module

[issue27756] Add pyd icon for 3.6

2016-08-15 Thread Steve Dower
Steve Dower added the comment: Can't promise there'll be a rocket, but the launcher icon will certainly be different from the source file icon. -- ___ Python tracker ___ ___

[issue27767] Receive "A required privilege is not held by the Client" error message when Installing python on Windows 10 64 bit

2016-08-15 Thread Ron Carr
Ron Carr added the comment: Hi Nosy and Brett, I worked it out, even though I turned off the virus checker it was still in memory. I had to right click on the install file, then select allow install, it then completed successfully. Regards, Ron On Tue, Aug 16, 2016 at 2:44 AM, Brett Cannon w

[issue27767] Receive "A required privilege is not held by the Client" error message when Installing python on Windows 10 64 bit

2016-08-15 Thread Emanuel Barry
Changes by Emanuel Barry : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue27714] some test_idle tests are not re-runnable, producing false failures with regrtest -w option

2016-08-15 Thread Ned Deily
Ned Deily added the comment: "Ned, test_tix failing on some systems [...]" Sorry, Terry! I had forgotten about Issue27611 and didn't do a proper search. -- ___ Python tracker __

[issue27736] repeated Py_Initialize/PyRun_SimpleString/Py_Finalize segfaults

2016-08-15 Thread Xiang Zhang
Xiang Zhang added the comment: We don't have to change Lib/test/test_capi.py. It has already got a repeated init and fini test[1]. All we need to do is increase the loop number[2]. I have tried with 15, the test case fails reliably. And with the previous patch applied, it won't fail. [1] http

[issue24137] Force not using _default_root in IDLE

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6a248479b66 by Terry Jan Reedy in branch 'default': Issue #27611, #24137: Only change tkinter when easily restored. https://hg.python.org/cpython/rev/a6a248479b66 -- ___ Python tracker

[issue27611] test_tix cannot import _default_root after test_idle

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6a248479b66 by Terry Jan Reedy in branch 'default': Issue #27611, #24137: Only change tkinter when easily restored. https://hg.python.org/cpython/rev/a6a248479b66 -- ___ Python tracker

[issue27611] test_tix cannot import _default_root after test_idle

2016-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned Deily noticed the same problem when running with test.regrtest #27714. I cannot reproduce this issue when running both tests either with unittest or test.regrtest. F:\Python\dev>36\pcbuild\win32\python_d.exe -m unittest test.test_tix test.test_idle test.t

[issue27736] repeated Py_Initialize/PyRun_SimpleString/Py_Finalize segfaults

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f69626fd923 by Ned Deily in branch 'default': Issue #27736: Improve the existing embedded interpreter init/fini test https://hg.python.org/cpython/rev/4f69626fd923 -- ___ Python tracker

[issue27736] repeated Py_Initialize/PyRun_SimpleString/Py_Finalize segfaults

2016-08-15 Thread Ned Deily
Ned Deily added the comment: Excellent! Thanks for digging into that. Increasing the iterations seems to work fine within the (understandable) limitations of the existing embedded tests, e.g. only work from a source tree build (not an installed build nor from a separate build directory) etc.

[issue27771] Add a clear screen button or menu choice for IDLE

2016-08-15 Thread Raymond Hettinger
New submission from Raymond Hettinger: Learners in my classes commonly request this feature. Beyond just providing a cosmetic clean-up, this would be useful for recovering from IDLE's catastrophic slow-downs after trying to print a very wide line (i.e. the repr of a string containing a full w

[issue27772] Refer to actual format string when creating “zero padding” error message

2016-08-15 Thread Ben Finney
New submission from Ben Finney: When using a format specifier with leading zero, the format spec mini-language (as documented at https://docs.python.org/3/library/string.html#format-specification-mini-language>) says: > '=' […] becomes the default when ‘0’ immediately precedes the field width

[issue15660] Clarify 0 prefix for width specifier in str.format doc,

2016-08-15 Thread Ben Finney
Ben Finney added the comment: Terry Reedy wrote: > If the spec string is still available, it could be searched and the message > adjusted if '=' is not present. That proposal should be a new issue if > someone wants to push it. Done now, see Issue 27772. -- nosy: +bignose _

[issue27772] Refer to actual format string when creating “zero padding” error message

2016-08-15 Thread Ned Deily
Changes by Ned Deily : -- nosy: +eric.smith versions: +Python 3.6 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___ Pytho

[issue27773] Excessive Py_XDECREF in the ssl module:

2016-08-15 Thread Benjamin Peterson
New submission from Benjamin Peterson: Thomas E. Hybel reports: This vulnerability exists in the function newPySSLSocket in /Modules/_ssl.c. The problem is that Py_XDECREF is called on an object, self->server_hostname, which isn't owned anymore. The code looks like this: static PySSLSocket

[issue27773] Excessive Py_XDECREF in the ssl module:

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 98c86d5a6655 by Benjamin Peterson in branch '3.5': fix corner cases in the management of server_hostname (closes #27773) https://hg.python.org/cpython/rev/98c86d5a6655 New changeset a8cd67e80ed3 by Benjamin Peterson in branch 'default': merge 3.5 (#

[issue27774] Py_DECREF on a non-owned object in _sre

2016-08-15 Thread Benjamin Peterson
New submission from Benjamin Peterson: Thomas E Hybel reports: This vulnerability exists in the function _sre_SRE_Match_groupdict_impl which resides in the /Modules/_sre.c file. The problem is that the code calls Py_DECREF(key); without having done a corresponding Py_INCREF on the key. Here's

[issue12916] Add inspect.splitdoc

2016-08-15 Thread Ben Finney
Ben Finney added the comment: Am I right that this: > pydoc doesn't have public API other than its CLI and the help() function. > […] On the other hand, there are already functions related to splitdoc() > in the inspect module […]. > There is no rush to make splitdoc() public. We can improve py

[issue27774] Py_DECREF on a non-owned object in _sre

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ca84a3e37d7 by Benjamin Peterson in branch '2.7': do not decref value borrowed from list (closes #27774) https://hg.python.org/cpython/rev/4ca84a3e37d7 New changeset cbf2a05648b3 by Benjamin Peterson in branch '3.3': do not decref value borrowed fr

[issue26331] Tokenizer: allow underscores for grouping in numeric literals

2016-08-15 Thread Georg Brandl
Georg Brandl added the comment: @Serhiy/anyone: can I get another review, so that we can commit this in time for beta? Thanks! -- ___ Python tracker ___

[issue6143] IDLE - an extension to clear the shell window

2016-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python 3.6 just got a patch to squeeze duplicate traceback lines, as with recursion-depth errors. -- ___ Python tracker ___

[issue27734] Memory leaks at Python35-32

2016-08-15 Thread Филипп Пономарев
Филипп Пономарев added the comment: I understand and totally agree, but if u're working on it, can u give me a reference to open issue, or should I use Stefan link? I should report to my сhief :) After that you can close it immideatly. -- status: closed -> open

[issue27734] Memory leaks at Python35-32

2016-08-15 Thread Филипп Пономарев
Филипп Пономарев added the comment: And one more thing. Is there python version exist without leaks? Or all of them have those leaks? thank you! -- ___ Python tracker ___ __

[issue27771] Add a clear screen button or menu choice for IDLE

2016-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is essentially a duplicate of your #17632, which proposed Clear Screen + Restart, which was closed as a duplicate of #6143, which has some patches. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> I

[issue27611] test_tix cannot import _default_root after test_idle

2016-08-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset cddd633b959f by Terry Jan Reedy in branch '2.7': Issue #27611: Don't import volatile attribute. https://hg.python.org/cpython/rev/cddd633b959f New changeset a4295897 by Terry Jan Reedy in branch '3.5': Issue #27611: Don't import volatile attribu

[issue27611] test_tix cannot import _default_root after test_idle

2016-08-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue27714] some test_idle tests are not re-runnable, producing false failures with regrtest -w option

2016-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I fixed #27611. Could you try the comment out test of macosx call for test_autocomplete (around line 30 to 35) in 2.7 and 3.5? If those also pass, I will patch all three and close this. -- ___ Python tracker

[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2016-08-15 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: -petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue1442493] IDLE shell window gets very slow when displaying long lines

2016-08-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

<    1   2