[issue30674] IDLE: add docstrings to grep.py

2017-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 39e501a2913eff047f7a644e2b20eb4278f97d50 by terryjreedy in branch '3.6': [3.6] bpo-30674: IDLE: add docstrings to grep.py (GH-2213) (#2434) https://github.com/python/cpython/commit/39e501a2913eff047f7a644e2b20eb4278f97d50 -- ___

[issue30674] IDLE: add docstrings to grep.py

2017-06-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue30785] ast.c duplicates STR(CHILD)

2017-06-27 Thread Christopher Aycock
New submission from Christopher Aycock: The function alias_for_import_name() duplicates logic starting at Python/ast.c:3237 char *sch = STR(CHILD(n, i)); strcpy(s, STR(CHILD(n, i))); s += strlen(sch); *s++ = '.'; I assume the strcpy() is supposed to use the sch value from the l

[issue17960] Clarify the required behaviour of locals()

2017-06-27 Thread Nick Coghlan
Nick Coghlan added the comment: Guido: perhaps I should run this update through the PEP process? Even though the actual proposed change is only to a pretty obscure edge case (having multiple concurrent live references to the result of locals() for a function namespace), the extra visibility sh

[issue30786] getaddrinfo emulation does not support AI_NUMERICSERV

2017-06-27 Thread Radek Smejkal
New submission from Radek Smejkal: Modules/getaddrinfo.c should support AI_NUMERICSERV. Moreover, not supporting AI_NUMERICSERV may cause troubles on platforms where the getaddrinfo function is available but it's buggy (see configure.ac and Modules/socketmodule.c), because Modules/addrinfo.h d

[issue30711] getaddrinfo invalid port number

2017-06-27 Thread Radek Smejkal
Radek Smejkal added the comment: See also issue30786. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30710] getaddrinfo raises OverflowError

2017-06-27 Thread Radek Smejkal
Changes by Radek Smejkal : -- pull_requests: +2483 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30711] getaddrinfo invalid port number

2017-06-27 Thread Radek Smejkal
Changes by Radek Smejkal : -- pull_requests: +2484 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30786] getaddrinfo emulation does not support AI_NUMERICSERV

2017-06-27 Thread Radek Smejkal
Changes by Radek Smejkal : -- pull_requests: +2485 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30773] async generator receives wrong value when shared between coroutines

2017-06-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Note that the example can be further simplified by replacing user() with: async def send_hello(g): print("sending: hello") await g.asend("hello") Then the output is: sending: hello received hello sending: hello sending: hello received None

[issue24813] Redesign Help => About IDLE, make it non-modal

2017-06-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: Is this the re-arrangement? A. What the patch does not do is switch from buttons to blue-underlined links, as I have discussed elsewhere, nor do other rearrangements and changes. I want to move What's New to the top, move the Python license and copyright to

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2486 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30383] [3.5] Backport regrtest features from master to Python 3.5

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2487 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: -2486 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: I backported almost all regrtest features from master to 2.7. It should ease the development on Python 2.7 ;-) I added a NEWS entry, thanks Serhiy for the reminder. Hopefully, with NEWS.d/ and blurb, we will get much less conflicts on NEWS entries now ;-) I'm

[issue30383] [3.5] Backport regrtest features from master to Python 3.5

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: PR 2438 adds the NEWS entry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue30383] [3.5] Backport regrtest features from master to Python 3.5

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset eef254d6c6b13db2f3d6a2f219bc76e84416f59c by Victor Stinner in branch '3.5': bpo-30383: Add NEWS entry for backported regrtest (#2438) https://github.com/python/cpython/commit/eef254d6c6b13db2f3d6a2f219bc76e84416f59c -- _

[issue30383] [3.5] Backport regrtest features from master to Python 3.5

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: I backported almost all regrtest features from master to 3.5. You should now get almost the same tool, even if the implementation is much older (regrtest was deeply reworked in master, a new test.libregrtest package was created). I added the NEWS entry. I now

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 95a91df0363f88722ea2860d9d42a0b04b3f8be2 by Victor Stinner in branch '2.7': bpo-30764: Windows support.SuppressCrashReport (#2423) https://github.com/python/cpython/commit/95a91df0363f88722ea2860d9d42a0b04b3f8be2 --

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-27 Thread Utkarsh Upadhyay
Utkarsh Upadhyay added the comment: I've added the following tests to remove the 0 attributes from the repr: self.assertEqual(repr(self.theclass(days=1, seconds=0)), "%s(days=1)" % name) self.assertEqual(repr(self.theclass(seconds=60)),

[issue30705] python2.7 -m test -R 3:3 hangs on Refleaks 2.7 buildbots

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2488 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-06-27 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +2489 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-06-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've made a PR for the docstrings and comments. I didn't change any of the comments separating the sections in the create* functions as I wasn't sure how you wanted those changed. When reading the code, I found the comments helpful in that they separated eac

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e613e6add5f07ff6aad5802924596b631b707d2a by Serhiy Storchaka in branch 'master': bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (#2285) https://github.com/python/cpython/commit/e613e6add5f07ff6aad5802924596b631b707d2a --

[issue1754] WindowsError messages are not properly encoded

2017-06-27 Thread alberfontan1
Changes by alberfontan1 : -- pull_requests: +2490 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30705] python2.7 -m test -R 3:3 hangs on Refleaks 2.7 buildbots

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2d775589d98959abb9833121bd9d417003de56c0 by Victor Stinner in branch '2.7': bpo-30705: Fix test_regrtest.test_crashed() (#2439) https://github.com/python/cpython/commit/2d775589d98959abb9833121bd9d417003de56c0 -- ___

[issue30705] python2.7 -m test -R 3:3 hangs on Refleaks 2.7 buildbots

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: It seems like "x86 Gentoo Refleaks 2.7" was fixed, I don't know how, but I don't care as soon as it works :-) My commit 2d775589d98959abb9833121bd9d417003de56c0 fixed "./python -m test -R 3:3 test_regrtest" on Windows. I tested manually. I consider that the b

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2491 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2493 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2492 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35d2ca2b94a6ff29e763ddb7727166f0592edfa2 by Victor Stinner in branch '3.6': [3.6] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2441) https://github.com/python/cpython/commit/35d2ca2b94a6ff29e763ddb7727166f0592edfa2 -- __

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35d2ca2b94a6ff29e763ddb7727166f0592edfa2 by Victor Stinner in branch '3.6': [3.6] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2441) https://github.com/python/cpython/commit/35d2ca2b94a6ff29e763ddb7727166f0592edfa2 -- __

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35d2ca2b94a6ff29e763ddb7727166f0592edfa2 by Victor Stinner in branch '3.6': [3.6] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2441) https://github.com/python/cpython/commit/35d2ca2b94a6ff29e763ddb7727166f0592edfa2 -- __

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2494 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2495 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30328] test_ssl.test_connect_with_context(): ConnectionResetError on AMD64 FreeBSD 9.x 3.6

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.6/builds/137/steps/test/logs/stdio == ERROR: test_connect_with_context (test.test_ssl.SimpleBackgroundTests) ---

[issue30351] [2.7] regrtest hangs on Python 2.7 (test_threading?)

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%202.7/builds/140/steps/test/logs/stdio 0:06:09 [401/404] test_runpy passed 0:06:09 [402/404] test_htmlparser passed 0:06:10 [403/404] test_smtpnet passed command timed out: 1200 seconds without outp

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2496 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30787] Please add a comprehensive index of decorators to the documentation.

2017-06-27 Thread tom kronmiller
New submission from tom kronmiller: It is difficult to learn what decorators there are because there is no single index which lists all of them (at least, I have been unable to find one). Instead, one must stumble across them while reading library module documentation. An index listing the d

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread Emily Morehouse
Emily Morehouse added the comment: I think I need a bit more direction for the 3.5 backport. The original test below passes: ./python -m test -R 3:3 -m test_execve_invalid_env test_os -- ___ Python tracker ___

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset de1850bb03f8225cbff85f437b6e972bf9b68c2a by Victor Stinner in branch '3.5': [3.5] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2442) https://github.com/python/cpython/commit/de1850bb03f8225cbff85f437b6e972bf9b68c2a -- __

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset de1850bb03f8225cbff85f437b6e972bf9b68c2a by Victor Stinner in branch '3.5': [3.5] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2442) https://github.com/python/cpython/commit/de1850bb03f8225cbff85f437b6e972bf9b68c2a -- __

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset de1850bb03f8225cbff85f437b6e972bf9b68c2a by Victor Stinner in branch '3.5': [3.5] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2442) https://github.com/python/cpython/commit/de1850bb03f8225cbff85f437b6e972bf9b68c2a -- __

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2497 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2499 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2500 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2498 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30772] If I make an attribute "[a unicode version of B]", it gets assigned to "[ascii B]", and so on.

2017-06-27 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30776] regrtest: change -R/--huntrleaks rule to decide if a test leaks

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset fea98bfcff6ccf9142daa97677fe86c1fdf8e63e by Victor Stinner in branch '2.7': [2.7] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2444) https://github.com/python/cpython/commit/fea98bfcff6ccf9142daa97677fe86c1fdf8e63e -- __

[issue30523] regrtest: add --list-cases option to only display test case identifiers

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset fea98bfcff6ccf9142daa97677fe86c1fdf8e63e by Victor Stinner in branch '2.7': [2.7] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2444) https://github.com/python/cpython/commit/fea98bfcff6ccf9142daa97677fe86c1fdf8e63e -- __

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset fea98bfcff6ccf9142daa97677fe86c1fdf8e63e by Victor Stinner in branch '2.7': [2.7] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master (#2444) https://github.com/python/cpython/commit/fea98bfcff6ccf9142daa97677fe86c1fdf8e63e -- __

[issue30742] VS2015 support for 2.7 branch

2017-06-27 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2501 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Just read the code. Find the function parse_envlist() in posixmodule.c and find similar code checking for '='. Even if the leak is not detected by the test (but it is detected on Linux, maybe you use Windows?) it exists. os.spawnve() also should be affected

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread Emily Morehouse
Changes by Emily Morehouse : -- pull_requests: +2503 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: > 2. Factor out the negative sign: -timedelta(seconds=60) rather than > timedelta(days=-1, seconds=86340). Please don't do that. repr() is designed for developers, not end users. Don't make repr() implementation overcomplicated. Just dump raw data, tha's all.

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: What is your favorite repr() for datetime.timedelta(seconds=0)? Since it's hard to decide which unit is the best, I suggest to not write any unit: either "datetime.timedelta(0)" or "datetime.timedelta()" is fine with me. In fact, "datetime.timedelta(seconds=0)

[issue30302] Improve .__repr__ implementation for datetime.timedelta

2017-06-27 Thread Utkarsh Upadhyay
Utkarsh Upadhyay added the comment: @haypo: thanks for the input! I will find datetime.timedelta() to be rather confusing because it does not explicitly tell me that the interval indeed is 0. Between datetime.timedelta(0) and datetime.timedelta(seconds=0), I am ambivalent but I prefer the lat

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset eb3c52a0d273491e745e0cbff2b73900bb96aa45 by Victor Stinner (Emily Morehouse) in branch '3.5': [3.5] bpo-30769: Fix reference leak introduced in 7770394 (GH-2416) (#2447) https://github.com/python/cpython/commit/eb3c52a0d273491e745e0cbff2b73900bb96

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Ooookay, the bug is now fix on all branches. Thanks Eric & Emily for your PR and thanks Serhiy for the help ;-) -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <

[issue30742] VS2015 support for 2.7 branch

2017-06-27 Thread Steve Dower
Steve Dower added the comment: There are *many* more fixes required than just these. We're not prepared to take the changes into 2.7 at this stage, and we don't want to encourage people to think that MSVC 14.0 or later are supported when we know that it's incomplete. I'd suggest creating a fo

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Many thanks for you Victor for your wonderful tool. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30448] test_subprocess creates a core dump on FreeBSD

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: It seems like test_child_terminated_in_stopped_state() of test_subprocess on Python 2.7 fails on some macOS versions, see: http://bugs.python.org/issue30764#msg296966 Can someone please try to reproduce the bug? I'm unable to reproduce the bug on Darwin 16.5.0

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread Emily Morehouse
Emily Morehouse added the comment: Resolving this since the fix and backports have been merged in. -- ___ Python tracker ___ ___ Pytho

[issue30763] There is functionality bug in linecache library.

2017-06-27 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-27 Thread Emily Morehouse
Emily Morehouse added the comment: And thank you to Serhiy and Victor for the assistance and attention to this issue! -- ___ Python tracker ___ _

[issue29910] Ctrl-D eats a character on IDLE

2017-06-27 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: +2504 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29910] Ctrl-D eats a character on IDLE

2017-06-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: -2504 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: -2366 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The unlinked PR is a closed duplicate. PR 2306 is the one being updated and reviewed. -- versions: +Python 3.6 ___ Python tracker ___

[issue30777] IDLE: configdialog -- add docstrings and improve comments

2017-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Louie, perhaps you would like to review the PR, especially the comment revisions responding to your comments. -- ___ Python tracker ___ ___

[issue29304] dict: simplify lookup functions

2017-06-27 Thread INADA Naoki
INADA Naoki added the comment: Finally, I removed `freeslot` and all lookdict*() functions are much simpler in GH-2407. Macro bench doesn't show any significant performance change. I'll try to write micro benchmarks. -- ___ Python tracker

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have compared current behavior with you explanation and I agree on the enhancement. 'parens' seems more useful than 'default'. 'default' is a misnomer for current IDLE since the current default in config-extensions.def is 'expression', not 'default', I am i

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0edffa3073b551ffeca34952529e7b292f1bd350 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30708: Check for null characters in PyUnicode_AsWideCharString(). (GH-2285) (#2443) https://github.com/python/cpython/commit/0edffa3073b551ffeca34952529e7b2

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2505 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-27 Thread Charles Wohlganger
Charles Wohlganger added the comment: 'opener' sounds fine to me. I agree it makes much more sense than 'default'. I don't know much about Emacs, and couldn't find what their parens highlighting styles were. I can't think of anything sensible that isn't in this extension with this enhancement;

[issue27584] New addition of vSockets to the python socket module

2017-06-27 Thread Cathy Avery
Cathy Avery added the comment: I've attached the third version of VSOCK patch addressing the concerns of the last rev. I've also included a README file that lists instructions on how to setup a test environment. Thanks -- Added file: http://bugs.python.org/file46977/0001-bpo-27584-Ne

[issue27584] New addition of vSockets to the python socket module

2017-06-27 Thread Cathy Avery
Cathy Avery added the comment: Help file. -- Added file: http://bugs.python.org/file46978/REAME.txt ___ Python tracker ___ ___ Python-

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 94b169fe48bc7ea76b926823885d1b12c2c381fa by Serhiy Storchaka in branch '3.5': [3.5] bpo-30708: Add private C API function _PyUnicode_AsWideCharString(). (GH-2285) (GH-2443) (#2448) https://github.com/python/cpython/commit/94b169fe48bc7ea76b926

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2017-06-27 Thread Jan-Philip Gehrcke
Changes by Jan-Philip Gehrcke : -- pull_requests: +2506 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2017-06-27 Thread Jan-Philip Gehrcke
Jan-Philip Gehrcke added the comment: Hey Senthil and Christian! > Could you convert your latest patch into PR against > https://github.com/python/cpython That was fun. There we go: https://github.com/python/cpython/pull/2449 I hope I was not too late with that for the 3.7 development. -

[issue30708] Ensure that the result of PyUnicode_AsWideCharString() doesn't contain null characters if size is not returned

2017-06-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Wrong commit message in 3.6. Should be the same as in 3.5. This functionality was backported as a private function _PyUnicode_AsWideCharString(). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am working on revising the patch now, so don't push anything until I do. I will revise the docstring and add 'opener' and help and news file. -- ___ Python tracker

[issue24813] Redesign Help => About IDLE, make it non-modal

2017-06-27 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2508 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24813] Redesign Help => About IDLE, make it non-modal

2017-06-27 Thread Mark Roseman
Mark Roseman added the comment: FYI, just added a trivial pull request to change the tagline in the about dialog to 'integrated development and learning environment'. It's showing up as from python-dev as I hadn't (yet) added my github name to my bpo prefs. Got to start somewhere! --

[issue30788] email.policy.SMTP.fold() issue with long filenames with spaces

2017-06-27 Thread Joel Hillacre
New submission from Joel Hillacre: Found an issue in email.policy.SMTP.fold on "Content-Disposition" headers for long filenames with spaces. Managed to simply the issue to a test case as follows: >>> from email.policy import SMTP; SMTP.fold('Content-Disposition', >>> 'attachment; filename="{}

[issue30788] email.policy.SMTP.fold() issue for long filenames with spaces

2017-06-27 Thread Joel Hillacre
Changes by Joel Hillacre : -- title: email.policy.SMTP.fold() issue with long filenames with spaces -> email.policy.SMTP.fold() issue for long filenames with spaces ___ Python tracker _

[issue30743] unittest discover does not mention module file must be named with "test_" prefix

2017-06-27 Thread Zachary Ware
Zachary Ware added the comment: This all seems to be covered in https://docs.python.org/3/library/unittest.html#test-discovery $ cat aaaTest.py import unittest class TestAAA(unittest.TestCase): def test_something(self): self.assertTrue(True) if __name__ == '__main__': unit

[issue30743] unittest discover does not mention module file must be named with "test_" prefix

2017-06-27 Thread Alessandro Piccione
Alessandro Piccione added the comment: You are right. As the `--pattern` documentation says, the default pattern is "test*.py" which does not match "aaaTest.py". I had looking for the wrong pattern. Thanks, Alex -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue30764] regrtest: Add --fail-env-changed option

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: The initial issue, the "regrtest: Add --fail-env-changed option" feature, has been implemented in 2.7, 3.5; 3.6 and master branches. So I close this issue. Again, this issue got hijacked by the test_subprocess change, bpo-30448, because I wrote the wrong bpo n

[issue30758] regrtest hangs sometimes on the master branch (test_pydoc? test_subprocess?à)

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_pydoc (regrtest?) hangs on some buildbots -> regrtest hangs sometimes on the master branch (test_pydoc? test_subprocess?à) ___ Python tracker

[issue30758] regrtest hangs sometimes on the master branch (test_pydoc? test_subprocess?)

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- title: regrtest hangs sometimes on the master branch (test_pydoc? test_subprocess?à) -> regrtest hangs sometimes on the master branch (test_pydoc? test_subprocess?) ___ Python tracker

[issue29512] regrtest refleak: implement bisection feature

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2509 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue17942] IDLE Debugger: Improve GUI

2017-06-27 Thread Mark Roseman
Changes by Mark Roseman : -- pull_requests: +2510 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30704] test_free_different_thread() of test_code leaks references on Python 3.6

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2511 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2512 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: _PyCode_SetExtra() uses two memory block for code extras. By changing how memory is accessed and allocated, it would be possible to use a single memory block. Was it on purpose to use two memory blocks? See for example PyTupleObject which uses a single memory

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-06-27 Thread STINNER Victor
New submission from STINNER Victor: Currently, _PyCode_SetExtra() uses two memory block for code extras. Using a different structure, it would be possible to use a single memory block: less memory fragmentation, better CPU cache usage, less indirections, etc. It matters since the long term pla

[issue30789] Redesign PyCodeObject.co_extras to use a single memory block, instead of two

2017-06-27 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +dino.viehland, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: > _PyCode_SetExtra() uses two memory block for code extras. By changing how > memory is accessed and allocated, it would be possible to use a single memory > block. Was it on purpose to use two memory blocks? I discussed with Yury who is not opposed to such ch

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23e7944eba1968bb8432fdc4cc96d4fdd2c1a230 by Victor Stinner in branch 'master': bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) https://github.com/python/cpython/commit/23e7944eba1968bb8432fdc4cc96d4fdd2c1a230 --

  1   2   >