[issue23069] IDLE's F5 Run Module doesn't transfer effects of future import

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am no longer patching 2.7 but there is one __future__ import active in 3.6: generator_stop. If I remember right, there is code that would work without future import and fail with it. In 3.7, it would always fail. -- assignee: -> terry.reedy versio

[issue22897] IDLE hangs on OS X with Cocoa Tk if encoding dialog is required during save

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am no longer patching IDLE for 2.7 -- nosy: +terry.reedy resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue10909] thread hang, possibly related to print

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is no bug in 3.6/7, this should be closed. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue10909] IDLE: thread hang, possibly related to print

2017-06-23 Thread STINNER Victor
Changes by STINNER Victor : -- title: thread hang, possibly related to print -> IDLE: thread hang, possibly related to print ___ Python tracker ___ _

[issue30712] struct.unpack generates wrong error in certain conditions

2017-06-23 Thread knzsys
knzsys added the comment: Ah OKAY! That's the key which makes all clear to me! I didn't thought at that! Thanks a lot Serhiy Storchaka for your help! -- ___ Python tracker ___

[issue14304] Implement utf-8-bmp codec

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.6, Python's use of the Windows console was changed to work much better with unicode. As a result, IDLE is now worse rather than better than the console on Windows. I plan to do something before 3.7.0. -- components: +IDLE versions: +Python 3.6,

[issue14326] IDLE - allow shell to support different locales

2017-06-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue30726] [Windows] Warnings in elementtree due to new expat

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

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

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

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c8fb58bd7917151e63398587a7fc2126db7c26de by Victor Stinner in branch 'master': bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) https://github.com/python/cpython/commit/c8fb58bd7917151e63398587a7fc2126db7c26de -- __

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c8fb58bd7917151e63398587a7fc2126db7c26de by Victor Stinner in branch 'master': bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) https://github.com/python/cpython/commit/c8fb58bd7917151e63398587a7fc2126db7c26de -- __

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

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

[issue30726] [Windows] Warnings in elementtree due to new expat

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

[issue30726] [Windows] Warnings in elementtree due to new expat

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

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: My commit c8fb58bd7917151e63398587a7fc2126db7c26de (co-written with Jeremy Kloth) fixes the "macro redefinition". There are still warnings in the siphash code, but I suggest to report them upstream, and *then* propose to cherry-pick fixes from libexpat (as I d

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

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

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: Oh... I'm sorry Segev Finer, I didn't see that you proposed a PR :-( -- ___ Python tracker ___ ___ P

[issue30462] urllib does not support NO_PROXY environment variable containing domain with asterisk

2017-06-23 Thread Xiang Zhang
Xiang Zhang added the comment: One question about this function: hosts like "*.foo.com" gets an unambiguous intention, but how about hosts like "*foo.com"? Should it match hosts like barfoo.com, or treat it as a typo and not match? Although the link says "asterisks can be used as wildcards" bu

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: For siphash.h warnings, I created a PR on libexpat: https://github.com/libexpat/libexpat/pull/58 -- ___ Python tracker ___ _

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: > Oh... I'm sorry Segev Finer, I didn't see that you proposed a PR :-( Please rebase and rewrite your PR to just add _CRT_SECURE_NO_WARNINGS. Once merged, I will include this change to my 3.6 and 3.5 backports. -- _

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 32cb968a2edd482891c33b6f2ebae10f1d305424 by Serhiy Storchaka in branch 'master': bpo-30727: Fix a race condition in test_threading. (#2334) https://github.com/python/cpython/commit/32cb968a2edd482891c33b6f2ebae10f1d305424 -- _

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

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

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

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

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 87c65550730a8f85ce339ba197bce4fb7e836619 by Victor Stinner (Segev Finer) in branch 'master': bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319) https://github.com/python/cpython/commit/87c65550730a8f85ce339ba197bce4fb7e836

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

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

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-23 Thread Michael Foord
Michael Foord added the comment: Note that you can use an object as the parameter to the spec argument rather than just a list of attributes. Hmmm... I'm not totally opposed to the addition of a "seal_mock" method (optionally with a recurse boolean for child mocks) being added to the Mock/Ma

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c1d5345679eaa5fccd719b1c130140eecc8ba4c8 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30727: Fix a race condition in test_threading. (GH-2334) (#2351) https://github.com/python/cpython/commit/c1d5345679eaa5fccd719b1c130140eecc8ba4c8

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e2aec8e691d8acb08373889d9af48a5b1d03b689 by Serhiy Storchaka in branch '3.5': [3.5] bpo-30727: Fix a race condition in test_threading. (GH-2334) (#2352) https://github.com/python/cpython/commit/e2aec8e691d8acb08373889d9af48a5b1d03b689

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7709b4d57b433ef027a2e7e63b4cab3fc9ad910d by Serhiy Storchaka in branch '2.7': [2.7] bpo-30727: Fix a race condition in test_threading. (GH-2334). (#2353) https://github.com/python/cpython/commit/7709b4d57b433ef027a2e7e63b4cab3fc9ad910d ---

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In Python 3 the test was failed if decrease the sleep time in _wait() to 0.001. Patched test no longer fail for any small sleep intervals. -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5, Python 3.6, Python 3.

[issue29304] dict: simplify lookup functions

2017-06-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: >From a purely human and social perspective, I agree that it's beneficial to >minimize duplicated code. >From a performance perspective, I can see two possible consequences: - either compilers are already smart enough to undo the code duplication, and generate

[issue26098] PEP 510: Specialize functions with guards

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

[issue26098] PEP 510: Specialize functions with guards

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: Recently, some people asked me for an update for my FAT Python project. So I rebased this change I wrote 1 year 1/2 and adapted it for the new code base: * I renamed test_pep510.py to test_func_specialize.py * I removed the useless PyFunction_Check() macro * I

[issue26145] PEP 511: Add sys.set_code_transformers()

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

[issue26145] PEP 511: Add sys.set_code_transformers()

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: Recently, some people asked me for an update for my FAT Python project. So I rebased this change I wrote 1 year 1/2 and adapted it for the new code base: * I renamed test_pep511.py to test_code_transformer.py * I removed the sys module from the PyInterpreterSta

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: > I don't like the idea of an additional Mock class for this. Hum, in the current implementation, it's an enhancement of the Mock class, no more a new class. -- ___ Python tracker

[issue29304] dict: simplify lookup functions

2017-06-23 Thread INADA Naoki
Changes by INADA Naoki : -- pull_requests: +2402 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: > In Python 3 the test was failed if decrease the sleep time in _wait() to > 0.001. Patched test no longer fail for any small sleep intervals. I used sleep(1e-9), 1 nanosecond, for my tests :-) I confirm that I'm unable to reproduce the bug on 2.7 and master b

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

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

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c8d6ab2e25ff212702d387e516e258b1d8c52910 by Victor Stinner in branch 'master': bpo-30602: Fix lastarg in os.spawnve() (#2287) https://github.com/python/cpython/commit/c8d6ab2e25ff212702d387e516e258b1d8c52910 -- _

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

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

[issue30739] pypi ssl errors [CERTIFICATE_VERIFY_FAILED]

2017-06-23 Thread Luc Zimmermann
New submission from Luc Zimmermann: Hi Guys, I've a strange behavior. We use python for configure our new boxes with openWRT and coovaChilli. But since yesterday, when i ask to pip to dowload PyJWT, json-cfg and speedtest-cli, some boxes can download these packages, and some can't. root@O

[issue30739] pypi ssl errors [CERTIFICATE_VERIFY_FAILED]

2017-06-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +dstufft ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

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

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset a4b091e135ccf345cfafdd8477aef897c5214f82 by Victor Stinner in branch 'master': bpo-30604: Skip CoExtra tests if ctypes is missing (#2356) https://github.com/python/cpython/commit/a4b091e135ccf345cfafdd8477aef897c5214f82 -- _

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

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

[issue21071] struct.Struct.format is bytes, but should be str

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f87b85f80853c580b1c8bf78a51b0e9a25f6e1a7 by Victor Stinner in branch 'master': bpo-21071: struct.Struct.format type is now str (#845) https://github.com/python/cpython/commit/f87b85f80853c580b1c8bf78a51b0e9a25f6e1a7 -- _

[issue21071] struct.Struct.format is bytes, but should be str

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: Ok, I changed struct.Struct.format type to str (Unicode string). If someone wants to modify the C code to use a PyUnicodeObject rather than a char*, feel free to propose a further change. Since the initial issue is fixed, I now close the issue. Thank you all

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f42ce179c8aaa7e211ac4123c58fa3dd9a452004 by Victor Stinner in branch '3.5': [3.5] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2350) https://github.com/python/cpython/commit/f42ce179c8aaa7e211ac4123c58fa3dd9a452004 ---

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f42ce179c8aaa7e211ac4123c58fa3dd9a452004 by Victor Stinner in branch '3.5': [3.5] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2350) https://github.com/python/cpython/commit/f42ce179c8aaa7e211ac4123c58fa3dd9a452004 ---

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset d32a05953130fb5cc2d3c0c9fcb20ad0859353f3 by Victor Stinner in branch '3.6': [3.6] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2349) https://github.com/python/cpython/commit/d32a05953130fb5cc2d3c0c9fcb20ad0859353f3 ---

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset d32a05953130fb5cc2d3c0c9fcb20ad0859353f3 by Victor Stinner in branch '3.6': [3.6] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2349) https://github.com/python/cpython/commit/d32a05953130fb5cc2d3c0c9fcb20ad0859353f3 ---

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

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: The test_code is fixed again, so I close the issue. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c472fb6b2744b36c7a0823c20e0d5ac9be3ea623 by Victor Stinner in branch '3.6': bpo-30602: Fix lastarg in os.spawnve() (#2287) (#2357) https://github.com/python/cpython/commit/c472fb6b2744b36c7a0823c20e0d5ac9be3ea623 --

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

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset cea2174ab7cce01c420b2770562be4c91f1f4e35 by Victor Stinner in branch '3.6': bpo-30604: Skip CoExtra tests if ctypes is missing (#2356) (#2358) https://github.com/python/cpython/commit/cea2174ab7cce01c420b2770562be4c91f1f4e35 --

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: Thank you Eryk Sun for the careful reviews! All known issues on os.spawn*() on Windows are now be fixed, so I closed this issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue30740] SSLError when cancelling an SSL connection

2017-06-23 Thread Mark Haase
New submission from Mark Haase: If a task is cancelled while it waiting for SSL negotiation, then an SSLError is raised, but there is no way (as far as I can tell) for the caller to catch it. (The example below is pretty contrived, but in an application I'm working on, the user can cancel down

[issue30741] https://www.pypi-mirrors.org/ error 503

2017-06-23 Thread Luc Zimmermann
New submission from Luc Zimmermann: is that linked with the certificate error on pypi ? you redirect http request to https, but you still listen 80 and not 443 ? -- messages: 296721 nosy: Luc Zimmermann priority: normal severity: normal status: open title: https://www.pypi-mirrors.org/

[issue30741] https://www.pypi-mirrors.org/ error 503

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: http://www.pypi-mirrors.org/ (clear text) works and redirects to https://www.pypi-mirrors.org/ (TLS) which fails with HTTP error 503: 503 Service Unavailable No server is available to handle this request. -- nosy: +haypo __

[issue30741] https://www.pypi-mirrors.org/ error 503

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: See also issue #30739: Could not fetch URL https://pypi.python.org/simple/PyJWT/: connection error: [SSL: CERTIFICATE_VERIFY_FAILED] unknown error (_ssl.c) -- ___ Python tracker

[issue30695] add a nomemory_allocator to the _testcapi module

2017-06-23 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: +2406 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30696] infinite loop in PyRun_InteractiveLoopFlags()

2017-06-23 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: +2407 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30696] infinite loop in PyRun_InteractiveLoopFlags()

2017-06-23 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: -2407 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30695] add a nomemory_allocator to the _testcapi module

2017-06-23 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: -2406 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d352d689775699c289e011e8cec52c23c600b7fa by terryjreedy (csabella) in branch 'master': bpo-24813: IDLE: Add icon to help_about (#2335) https://github.com/python/cpython/commit/d352d689775699c289e011e8cec52c23c600b7fa --

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

2017-06-23 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2408 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30730] Injecting environment variable in subprocess on Windows

2017-06-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30730] Injecting environment variable in subprocess on Windows

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d174d24a5d37d1516b885dc7c82f71ecd5930700 by Serhiy Storchaka in branch 'master': bpo-30730: Prevent environment variables injection in subprocess on Windows. (#2325) https://github.com/python/cpython/commit/d174d24a5d37d1516b885dc7c82f71ecd5930

[issue30730] Injecting environment variable in subprocess on Windows

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

[issue30730] Injecting environment variable in subprocess on Windows

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

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

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1b7474dedcbbd731a362b17abfbd7e5a60b64f63 by terryjreedy in branch '3.6': [3.6] bpo-24813: IDLE: Add icon to help_about (GH-2335) (#2359) https://github.com/python/cpython/commit/1b7474dedcbbd731a362b17abfbd7e5a60b64f63 -- __

[issue30741] https://www.pypi-mirrors.org/ error 503

2017-06-23 Thread Brett Cannon
Brett Cannon added the comment: So is this a bug in Python or a problem with the website? If it's the former then the title is misleading and we should clarify it, and if it's the latter this should be closed as "third party". -- nosy: +brett.cannon ___

[issue30730] Injecting environment variable in subprocess on Windows

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e7135751b8e48af80665e40ac8fa6d0073e5affe by Serhiy Storchaka in branch '3.6': [3.6] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2360) https://github.com/python/cpython/commit/e7135751b8e48af80665e40a

[issue30730] Injecting environment variable in subprocess on Windows

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a7c0264735f46afab13771be4218d8eab0d7dc91 by Serhiy Storchaka in branch '3.5': [3.5] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2361) https://github.com/python/cpython/commit/a7c0264735f46afab13771be

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-23 Thread Brett Cannon
Brett Cannon added the comment: New changeset c38e32a10061a7c6d54e7e53ffabf7af7998f045 by Brett Cannon (Alexandru Ardelean) in branch 'master': bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) https://github.com/python/cpython/commit/c38e32a10061a7c6d54e7e53ffabf7af

[issue30730] Injecting environment variable in subprocess on Windows

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

[issue30730] Injecting environment variable in subprocess on Windows

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

[issue30730] Injecting environment variable in subprocess on Windows

2017-06-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +georg.brandl stage: patch review -> backport needed versions: +Python 3.3, Python 3.4 -Python 2.7 ___ Python tracker ___ _

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-23 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +2413 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-23 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +2414 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30734] 200000 indexes crashes eval and python (without eval)

2017-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: To be clear, as the title and version suggest, the bug is the 2.7 segfault versus the 3.x exception during compile. It is normal for the compiler to have limits and to exit when they are exceeded. I have no idea if the 3.x code can be backported. I added ast

[issue30532] email.policy.SMTP.fold() mangles long headers

2017-06-23 Thread R. David Murray
R. David Murray added the comment: Just as well. I had no time last weekend. I should have time this Sunday, though. -- ___ Python tracker ___

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-23 Thread Brett Cannon
Brett Cannon added the comment: New changeset 9db3ae045dd462a2da2e016c44231de1befd1f87 by Brett Cannon in branch '3.6': [3.6] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) (#2364) https://github.com/python/cpython/commit/9db3ae045dd462a2da2e016c44231de1befd1f87

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-23 Thread Brett Cannon
Brett Cannon added the comment: New changeset 599ff020b308113f3709fd4e623d9f0d08511706 by Brett Cannon in branch '3.5': [3.5] bpo-30645: don't append to an inner loop path in imp.load_package() (GH-2268) (GH-2365) https://github.com/python/cpython/commit/599ff020b308113f3709fd4e623d9f0d0851170

[issue11978] Report correct coverage.py data for tests that invoke subprocesses

2017-06-23 Thread Brett Cannon
Brett Cannon added the comment: Just an FYI that I have never managed to make this work. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue30645] imp.py: load_package() appends to its own loop variable

2017-06-23 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker ___ ___

[issue11978] Report correct coverage.py data for tests that invoke subprocesses

2017-06-23 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue30664] Change unittest's _SubTest to not sort its params when printing test failures

2017-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 48fbe52ac71ea711a4701db909ad1ce2647b09fd by Serhiy Storchaka in branch 'master': bpo-30664: The description of a unittest subtest now preserves the (#2265) https://github.com/python/cpython/commit/48fbe52ac71ea711a4701db909ad1ce2647b09fd -

[issue30664] Change unittest's _SubTest to not sort its params when printing test failures

2017-06-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue30695] add a nomemory_allocator to the _testcapi module

2017-06-23 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: +2415 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30696] infinite loop in PyRun_InteractiveLoopFlags()

2017-06-23 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- pull_requests: +2416 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

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

[issue30711] getaddrinfo invalid port number

2017-06-23 Thread Radek Smejkal
Changes by Radek Smejkal : Removed file: http://bugs.python.org/file46965/getaddrinfo_invalid_port.patch ___ Python tracker ___ ___ Python-bug

[issue30711] getaddrinfo invalid port number

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

[issue30726] [Windows] Warnings in elementtree due to new expat

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

[issue30742] VS2015 support for 2.7 branch

2017-06-23 Thread Dženan Zukić
New submission from Dženan Zukić: In VS2015 timezone and friends have been replace by _timezone (related issue24643). The second problem is missing _PyVerify_fd during linking phase. -- components: Library (Lib) messages: 296738 nosy: Dženan Zukić priority: normal severity: normal statu

[issue30742] VS2015 support for 2.7 branch

2017-06-23 Thread Dženan Zukić
Changes by Dženan Zukić : -- components: +Build -Library (Lib) type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mai

[issue30543] test_timeout fails on AMD64 FreeBSD CURRENT Debug 3.x: ConnectionResetError: [Errno 54] Connection reset by peer

2017-06-23 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.6/builds/266/steps/test/logs/stdio == ERROR: testSend (test.test_timeout.TCPTimeoutTestCase) ---

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

2017-06-23 Thread Alessandro Piccione
New submission from Alessandro Piccione: 1. execute "python -m unittest" 2. Result: 0 test found 3. Change file name from "aaaTest.py" to "test_aaa.py" 4. execute "python -m unittest" 3. Result: Ran 1 tests in 000.0s Module file MUST be named using the prefiux "test_". The page "https://docs.p

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

2017-06-23 Thread Zachary Ware
Zachary Ware added the comment: Does this cover what you're looking for? https://docs.python.org/3/library/unittest.html#cmdoption-unittest-discover-p -- nosy: +zach.ware ___ Python tracker ___

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

2017-06-23 Thread Alessandro Piccione
Alessandro Piccione added the comment: If you refer to the -p ("pattern" parameter) I think not. I have my module named aaaTest.py. I is is not mentioned that discover look for modules named "test_" for which reason I have to use a pattern? If you refer to -s ("start-directory" parameter) same

  1   2   >