[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread Ned Deily
Ned Deily added the comment: New changeset 8725c83ed5ca8959195ad8326db99d564a921749 by Ned Deily (Jeffrey Kintscher) in branch 'master': bpo-35070: test_getgrouplist may fail on macOS if too many groups (GH-13071) https://github.com/python/cpython/commit/8725c83ed5ca8959195ad8326db99d564a9217

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13904 pull_request: https://github.com/python/cpython/pull/14042 ___ Python tracker ___ __

[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

2019-06-13 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I would argue the sequence doesn't really matter that much for non SWIG > packages I don't think that this is correct. Or at least, it's not obvious to me that this is correct. It's not uncommon for projects to extend distutils in various ways and the pro

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13905 pull_request: https://github.com/python/cpython/pull/14043 ___ Python tracker ___ __

[issue37259] Missing Doc/whatsnew/3.9.rst file

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ned! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Pascal Chambon
New submission from Pascal Chambon : Is there any reasons why assertXXX methods in TestCase are instance methods and not staticmethods/classmethods? Since they (to my knowledge) don't need to access an instance dict, they could be turned into instance-less methods, and thus be usable from oth

[issue37253] PyCompilerFlags got a new cf_feature_version field

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 022ac0a497b668d8b15e34e582a6396ead1a35e1 by Victor Stinner in branch 'master': bpo-37253: Remove PyAST_obj2mod_ex() function (GH-14020) https://github.com/python/cpython/commit/022ac0a497b668d8b15e34e582a6396ead1a35e1 -- _

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset b4c8ef7c67712c6639ee896bf7cb8ca1c204946d by Miss Islington (bot) in branch '3.7': bpo-35070: test_getgrouplist may fail on macOS if too many groups (GH-13071) https://github.com/python/cpython/commit/b4c8ef7c67712c6639ee896bf7cb8ca1c204946d --

[issue37253] PyCompilerFlags got a new cf_feature_version field

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13906 pull_request: https://github.com/python/cpython/pull/14044 ___ Python tracker ___ __

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset c80183e6ca8c0ce834fc6444a71c7f31a3eb05b7 by Miss Islington (bot) in branch '3.8': bpo-35070: test_getgrouplist may fail on macOS if too many groups (GH-13071) https://github.com/python/cpython/commit/c80183e6ca8c0ce834fc6444a71c7f31a3eb05b7 --

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread Ned Deily
Ned Deily added the comment: Merged for release in 3.8.0b2 and 3.7.4. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2019-06-13 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13907 pull_request: https://github.com/python/cpython/pull/14045 ___ Python tracker ___

[issue36689] docs: os.path.commonpath raises ValueError for different drives

2019-06-13 Thread makdon
makdon added the comment: I create a PR according Windson Yang's suggestion. -- keywords: +patch message_count: 4.0 -> 5.0 nosy: +makdon nosy_count: 8.0 -> 9.0 pull_requests: +13908 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14045 _

[issue37253] PyCompilerFlags got a new cf_feature_version field

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset 032bf30643fff49b5595b53f9c1ce5b2cd2df504 by Miss Islington (bot) in branch '3.8': bpo-37253: Remove PyAST_obj2mod_ex() function (GH-14020) https://github.com/python/cpython/commit/032bf30643fff49b5595b53f9c1ce5b2cd2df504 -- __

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread Ned Deily
Ned Deily added the comment: This issue has roamed quite a bit so it is a little bit difficult to tell what problem(s) have been seen here. But, clearly Jeffrey's PR fixes a real and now reproducible problem so I'm declaring victory and have closed this issue now. Thanks everyonw! I am go

[issue33223] test_posix fails ERRNO 0

2019-06-13 Thread Ned Deily
Ned Deily added the comment: See also the discussion and fix merged in Issue35070. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue37263] spawn asyncio subprocesses in a thread pool

2019-06-13 Thread Andrew Svetlov
New submission from Andrew Svetlov : Subprocess starting can be a long blocking operation, see https://github.com/python-trio/trio/issues/1109 for discussion -- messages: 345472 nosy: asvetlov priority: normal severity: normal status: open title: spawn asyncio subprocesses in a thread

[issue26180] multiprocessing.util._afterfork_registry leak in threaded environment

2019-06-13 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Why is it that __init__ is called multiple times? I'm just wondering if we could somehow ensure that __init__ is called only once. -- nosy: +jdemeyer ___ Python tracker ___

[issue37264] Python 3.7.3 win 64bit - unresolved external symbol PyOS_AfterFork_Child

2019-06-13 Thread Massimo Fidanza
New submission from Massimo Fidanza : I need to build mod_wsgi under Windows 10 64bit, but I get a linking error mod_wsgi.obj : error LNK2001: unresolved external symbol PyOS_AfterFork_Child build\lib.win-amd64-3.7\mod_wsgi\server\mod_wsgi.cp37-win_amd64.pyd : fatal error LNK1120: 1 un

[issue37264] Python 3.7.3 win 64bit - unresolved external symbol PyOS_AfterFork_Child

2019-06-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ __

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue19645 which seems to be a slightly related discussion -- nosy: +xtreak ___ Python tracker ___ ___

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Library (Lib) -Tests nosy: +ezio.melotti, michael.foord, rbcollins versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker __

[issue37265] Memory leaks regression caused by: Fix threading._shutdown() race condition

2019-06-13 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/189/builds/60 Examples: test_ssl leaked [3, 3, 3] references, sum=9 test_ssl leaked [3, 3, 3] memory blocks, sum=9 test_decimal leaked [4, 4, 4] references, sum=12 test_decimal leaked [4, 4, 4] memory blocks, sum=1

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13909 pull_request: https://github.com/python/cpython/pull/14047 ___ Python tracker ___ __

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Robert Collins
Robert Collins added the comment: Sorry for the slow reply here; There are API breaks involved in any decoupling that involves the exception raising because of the failureException attribute. Something with signalling that can be adapted by other test suites etc might have merit, but I think

[issue37265] Memory leaks regression caused by: Fix threading._shutdown() race condition

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: Oh. It's a stupid bug: will be fixed by PR 14047. -- ___ Python tracker ___ ___ Python-bugs-list

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Robert Collins
Robert Collins added the comment: I think this is strictly redundant with that other ticket and I'm going to close it. That said, they need access to self.failureException. https://docs.python.org/3/library/unittest.html#unittest.TestCase.failureException -- stage: -> resolved statu

[issue35070] test_getgrouplist may fail on macOS if user in too many groups

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: > clearly Jeffrey's PR fixes a real and now reproducible problem so I'm > declaring victory and have closed this issue now. Thanks everyone! Well done Jeffrey Kintscher! The test was failing randomly for years, I recall many bugs and many people complaining

[issue37262] Make unittest assertions staticmethods/classmethods

2019-06-13 Thread Pascal Chambon
Pascal Chambon added the comment: Indeed I missed this ticket, thanks -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue37231] Optimize calling special methods

2019-06-13 Thread Inada Naoki
Inada Naoki added the comment: New changeset b4b814b3988abf69f07f8492d82e855c51b2a75d by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-37231: optimize calls of special methods (GH-13973) https://github.com/python/cpython/commit/b4b814b3988abf69f07f8492d82e855c51b2a75d -- nosy

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Pascal Chambon
Pascal Chambon added the comment: (Redirected here from https://bugs.python.org/issue37262) I haven't dug the assertThat() idea, but why not make, as a first step, turn assertion methods in TestCase to staticmethods/classmethods, instead of instance methods? Since they (to my knowledge) don

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Michael Foord
Michael Foord added the comment: Has anyone seen any real world use cases for failureException? It's a real hindrance to a whole bunch of changes sounds decoupling. On the other hand something like assertThat could catch a custom exception from the matchers (subclass of AssertionError) and

[issue37266] Daemon threads must be forbidden in subinterpreters

2019-06-13 Thread STINNER Victor
New submission from STINNER Victor : Py_EndInterpreter() calls threading._shutdown() which waits for non-daemon threads spawned in the subinterpreters. Problem: daemon threads continue to run after threading._shutdown(), but they rely on an interpreter which is being finalized and then delete

[issue28009] core logic of uuid.getnode() is broken for netstat

2019-06-13 Thread Michael Felt
Michael Felt added the comment: I have modified - _NODE_GETTERS_WIN32 = [_windll_getnode, _netbios_getnode, _ipconfig_getnode] _NODE_GETTERS_UNIX = [_unix_getnode, _ifconfig_getnode, _ip_getnode, _arp_getnode, _lanscan_getnode, _netstat_getnode] to: +683 # _OS_GETTE

[issue28009] core logic of uuid.getnode() is broken for netstat

2019-06-13 Thread Michael Felt
Change by Michael Felt : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21872] LZMA library sometimes fails to decompress a file

2019-06-13 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +13910 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14048 ___ Python tracker ___ __

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Pascal Chambon
Pascal Chambon added the comment: I don't get it, why would failureException block anything ? The unittest.TestCase API must remain the same anyway, but it could become just a wrapper towards external assertions. For example : class TestCase: assertEqual = wrap(assertions.assert_equal)

[issue28009] core logic of uuid.getnode() needs refresh

2019-06-13 Thread Michael Felt
Michael Felt added the comment: p.s. - changed the title: way back when I first started on this I was mainly concerned that the _netstat_getnode() routine was broken for AIX. During the research and follow-up discussions it has become clear that it is more than just an AIX issue. There are m

[issue18299] Change script_helper to use universal_newlines=True in _assert_python

2019-06-13 Thread hai shi
hai shi added the comment: spawn_python in script_helper is good enough, so this bug looks like cloud be closed. -- ___ Python tracker ___ ___

[issue37258] Logging cache not cleared properly when setting level

2019-06-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: A unittest patch for this issue. This occurs in master and 3.8 too. diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 50148dc2f2..30fd9ee37a 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -4172,6 +4172,27

[issue21872] LZMA library sometimes fails to decompress a file

2019-06-13 Thread Ma Lin
Ma Lin added the comment: I wrote a review guide in PR 14048. -- versions: +Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue37266] Daemon threads must be forbidden in subinterpreters

2019-06-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6f75c873752a16a7ad8f35855b1e29f59d048e84 by Victor Stinner in branch 'master': tbpo-36402: Fix threading.Thread._stop() (GH-14047) https://github.com/python/cpython/commit/6f75c873752a16a7ad8f35855b1e29f59d048e84 -- __

[issue37266] Daemon threads must be forbidden in subinterpreters

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13911 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14049 ___ Python tracker ___ _

[issue37265] Memory leaks regression caused by: Fix threading._shutdown() race condition

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: commit 6f75c873752a16a7ad8f35855b1e29f59d048e84 (HEAD -> master, upstream/master) Author: Victor Stinner Date: Thu Jun 13 12:06:24 2019 +0200 tbpo-36402: Fix threading.Thread._stop() (GH-14047) Remove the _tstate_lock from _shutdown_locks, don

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13912 pull_request: https://github.com/python/cpython/pull/14050 ___ Python tracker ___ __

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-13 Thread Zackery Spytz
New submission from Zackery Spytz : In PR 13739, Eryk Sun mentioned that the Windows implementation of os.dup() returns an inheritable fd when handling a character file. A comment in _Py_dup() makes it seem as though this is due to a belief that handles for character files cannot be made non-

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-13 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +13913 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14051 ___ Python tracker ___ __

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13914 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14052 ___ Python tracker ___ _

[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

2019-06-13 Thread Jeroen van den Hout
Jeroen van den Hout added the comment: > Adding a separate build step for SWIG (then the order would be build_swig, > build_py, build_ext) would be safer and IMHO also more logical. I like this suggestion and contemplated it. However SWIG interface files are defined in Extension instances, w

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Michael Foord
Michael Foord added the comment: Suppose failureException is set to TypeError on that TestCase class, how would your assertEquals signal failure to the test runner? -- ___ Python tracker ___

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Michael Foord
Michael Foord added the comment: Hmm, it could be done by __init_subclass__ potentially. -- ___ Python tracker ___ ___ Python-bugs-

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Michael Foord
Michael Foord added the comment: Or even making the assert methods into custom descriptors. -- ___ Python tracker ___ ___ Python-bu

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Robert Collins
Robert Collins added the comment: Right now that attribute could be set by each test separately, or even varied within a test. TBH I'm not sure that the attribute really should be supported; perhaps thinking about breaking the API is worth doing. But - what are we solving for here. The OP h

[issue20443] __code__. co_filename should always be an absolute path

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13915 pull_request: https://github.com/python/cpython/pull/14053 ___ Python tracker ___ __

[issue19645] decouple unittest assertions from the TestCase class

2019-06-13 Thread Pascal Chambon
Pascal Chambon added the comment: "Suppose failureException is set to TypeError on that TestCase class, how would your assertEquals signal failure to the test runner?" failureException is an artefact from unittest.TestCase. It's only supposed to be used in a TestCase context, with an unittes

[issue20443] __code__. co_filename should always be an absolute path

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: PR 14053 is a different approach than PR 13527: compute the absolute path to the script filename in PyConfig_Read() just after parsing the command line. -- nosy: +vstinner ___ Python tracker

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset e40a97a721d46307dfdc2b0322028ccded6eb571 by Victor Stinner in branch '3.8': [3.8] bpo-36402: Fix threading._shutdown() race condition (GH-13948) (GH-14050) https://github.com/python/cpython/commit/e40a97a721d46307dfdc2b0322028ccded6eb571 -

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13916 pull_request: https://github.com/python/cpython/pull/14054 ___ Python tracker ___ __

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 63ab4ba07b492448844940c347787ba30735b7f2 by Victor Stinner in branch 'master': bpo-37210: Fix pure Python pickle when _pickle is unavailable (GH-14016) https://github.com/python/cpython/commit/63ab4ba07b492448844940c347787ba30735b7f2 -

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-13 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +13917 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/14055 ___ Python tracker _

[issue18299] Change script_helper to use universal_newlines=True in _assert_python

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue37268] Deprecate the parser module

2019-06-13 Thread STINNER Victor
New submission from STINNER Victor : The parser module should be deprecated as soon as possible according to Pablo Galindo Salgo and Guido van Rossum: * https://mail.python.org/pipermail/python-dev/2019-May/157464.html * https://bugs.python.org/issue37253#msg345398 I propose to deprecate it in

[issue37253] PyCompilerFlags got a new cf_feature_version field

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: > It's fine to document the current state. I don't think you should spend any > time *changing* the API to "future-proof" it. Ok. > I am hoping that larger changes to the compiler implementation will happen > before Python 4, which will make the whole API m

[issue37268] Deprecate the parser module

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: I searched for "import parser" in GitHub code search, but I failed to find any project using the Python stdlib parser module. I only found copies of the CPython code source which has on "import parser" in Lib/test/test_parser.py. --

[issue37268] Deprecate the parser module

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: Pablo: Are you interested to implement this change? -- nosy: +pablogsal ___ Python tracker ___ __

[issue37253] PyCompilerFlags got a new cf_feature_version field

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6eb2878e42152e9c45d7ee5e6f889532d753e67c by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-36402: Fix threading._shutdown() race condition (GH-13948) (GH-14050) (GH-14054) https://github.com/python/cpython/commit/6eb2878e42152e9c45d

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: The bpo-18808 "Thread.join returns before PyThreadState is destroyed" was not fixed in Python 2.7: threading.Thread has no _tstate_lock attribute. I'm not comfortable to backport bpo-18808 "feature" or "bugfix" to Python 2.7, not to backport this change. Py

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: I pushed my change to 3.8 and master branches. I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset cbda40db7b604b377acfd3f04e19407ca33748a7 by Miss Islington (bot) in branch '3.8': bpo-37210: Fix pure Python pickle when _pickle is unavailable (GH-14016) https://github.com/python/cpython/commit/cbda40db7b604b377acfd3f04e19407ca33748a7 --

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: Ok, the root issue (threading._shutdown() race condition) has been fixed in Python 3.7, 3.8 and master branches. I close the issue. Thanks for the reviews! -- components: +Library (Lib) -Tests resolution: -> fixed stage: patch review -> resolved stat

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: If you care of inherited handles on Windows, please have a look at: * https://github.com/python/cpython/pull/7827 from https://bugs.python.org/issue18174 * https://github.com/python/cpython/pull/7966 from https://bugs.python.org/issue33966 ref: https://pyth

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6d22cc8e90ccb1e1965b1a4bc79456e2cc1e5a3e by Victor Stinner in branch 'master': bpo-37261: Fix support.catch_unraisable_exception() (GH-14052) https://github.com/python/cpython/commit/6d22cc8e90ccb1e1965b1a4bc79456e2cc1e5a3e -- ___

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13918 pull_request: https://github.com/python/cpython/pull/14056 ___ Python tracker ___ __

[issue36779] time.tzname returns empty string on Windows if default codepage is a Unicode codepage

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0a9baec16c17d261377fb8a31a57d8c397e25af6 by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-36779: time.tzname returns empty string on Windows if default cod… (GH-13073) (GH-14032) https://github.com/python/cpython/commit/0a9baec16c17

[issue36779] time.tzname returns empty string on Windows if default codepage is a Unicode codepage

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13919 pull_request: https://github.com/python/cpython/pull/14057 ___ Python tracker ___ __

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset b4f5b212535e75503fc33513676837089037bb48 by Miss Islington (bot) in branch '3.8': bpo-37261: Fix support.catch_unraisable_exception() (GH-14052) https://github.com/python/cpython/commit/b4f5b212535e75503fc33513676837089037bb48 -- nosy:

[issue36779] time.tzname returns empty string on Windows if default codepage is a Unicode codepage

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset 6a433f5ae63de72a85d20b05ff826c6f72d529b7 by Miss Islington (bot) in branch '3.7': bpo-36779: time.tzname returns empty string on Windows if default cod… (GH-13073) https://github.com/python/cpython/commit/6a433f5ae63de72a85d20b05ff826c6f72d529b7

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: I tested manually "./python -m test test_io -m CBufferedRWPairTest -R 3:3": it failed before the fix, it now pass on 3.8 and master with the fix. I close the issue. Enjoy resurrected objects... -- resolution: -> fixed stage: patch review -> resolve

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset 95492032c48fef20b9c7076a23fe7e46927a4688 by Miss Islington (bot) (Makdon) in branch 'master': bpo-6689: os.path.commonpath raises ValueError for different drives isn't documented (GH-14045) https://github.com/python/cpython/commit/95492032c48fe

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13920 pull_request: https://github.com/python/cpython/pull/14058 ___ Python tracker ___ ___

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset ec3839a215a68cf35ff1f90cb6823f67a5abdce3 by Miss Islington (bot) in branch '3.8': bpo-6689: os.path.commonpath raises ValueError for different drives isn't documented (GH-14045) https://github.com/python/cpython/commit/ec3839a215a68cf35ff1f90cb

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13921 pull_request: https://github.com/python/cpython/pull/14059 ___ Python tracker ___ __

[issue20443] __code__. co_filename should always be an absolute path

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: One of the side effect of my PR 14053 is that tracebacks are more verbose: the filename is now absolute rather than relative. Currently: $ python3 x.py Traceback (most recent call last): File "x.py", line 4, in func() File "x.py", line 2, in func

[issue37268] Deprecate the parser module

2019-06-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yep, will make a PR soon. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-06-13 Thread Steve Dower
Steve Dower added the comment: I think Vinay gets to make the call, but I also agree that some sort of error handling by default makes sense for logging. Especially now that it's (about to be) easier to override the default. FWIW, I'd leave the default arguments as None and just coerce it as

[issue26180] multiprocessing.util._afterfork_registry leak in threaded environment

2019-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: With master and Windows 10, the output looks like (0, 61333912, ): (1, 63524512, . at 0x03CA2940>): (2, 60787504, . at 0x03CA2760>): ProcessLocalSet() (5, 63524512, . at 0x03CA2C60>): ... <8 more lines like the two with ForkAwareLocal.__init__> I am

[issue37241] Item Count Error in Shelf

2019-06-13 Thread Jesse Bacon
Jesse Bacon added the comment: I was using anaconda distribution on OSX. It failed for 3.6 and 3.7. I pulled off anaconda and compiled from source and the script executed correctly regardless of whether or not "--enable-optimizations" was set. Anaconda claims to be geared towards scientis

[issue37241] Item Count Error in Shelf

2019-06-13 Thread Jesse Bacon
Change by Jesse Bacon : -- resolution: -> third party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13922 pull_request: https://github.com/python/cpython/pull/14060 ___ Python tracker ___ __

[issue37264] Python 3.7.3 win 64bit - unresolved external symbol PyOS_AfterFork_Child

2019-06-13 Thread Steve Dower
Steve Dower added the comment: Windows does not have fork, and so the fork functionality is not built into it (PyOS_AfterFork() is empty). You will need to report this to mod_wsgi to be able to build without fork support. -- resolution: -> third party stage: -> resolved status: op

[issue36763] Implementation of the PEP 587

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: Two interesting TODO. sysmodule.c: get_xoptions() /* PEP432 TODO: we can reach this if xoptions is NULL in the main * interpreter config. When that happens, we need to properly set * the `xoptions` reference in the main interpreter c

[issue37241] Item Count Error in Shelf

2019-06-13 Thread SilentGhost
Change by SilentGhost : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue36763] Implementation of the PEP 587

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: _PySys_ReadPreInitOptions() code should be moved somewhere closer to PyConfig_Read(). -- ___ Python tracker ___

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3498c642f4e83f3d8e2214654c0fa8e0d51cebe5 by Pablo Galindo in branch 'master': bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969) https://github.com/python/cpython/commit/3498c642f4e83f3d8e2214654c0fa8e0

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +13923 pull_request: https://github.com/python/cpython/pull/14063 ___ Python tracker ___ __

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-13 Thread STINNER Victor
STINNER Victor added the comment: > The optimization is skipped if lnotab contains 255. It was very uncommon in > older versions (only when the function contains very large expressions, > larger than hundreds of lines or bytecode instructions), but in 3.8 this > situation is common. Do you

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-13 Thread miss-islington
miss-islington added the comment: New changeset 5282b3b1d2e0bdf13899b1616aea20a6e3c4e13e by Miss Islington (bot) in branch '3.8': bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969) https://github.com/python/cpython/commit/5282b3b1d2e0bdf13899b1616aea20a6e3c

[issue37213] Peeephole optimizer does not optimize functions with multiline expressions

2019-06-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Should we backport this to 3.7 as well? -- ___ Python tracker ___ ___ Python-bugs-list mai

  1   2   >