[issue36876] Global C variables are a problem.

2019-10-18 Thread Eric Snow
Eric Snow added the comment: New changeset e4c431ecf50def40eb93c3969c1e4eeaf7bf32f1 by Eric Snow in branch 'master': bpo-36876: Re-organize the c-analyzer tool code. (gh-16841) https://github.com/python/cpython/commit/e4c431ecf50def40eb93c3969c1e4eeaf7bf32f1 --

[issue36752] test multiprocessing: test_rapid_restart() crash on AIX

2019-10-18 Thread Michael Felt
Michael Felt added the comment: Please let me be much more specific. This specific bot failure is from when I ran the bot using XLC as a compiler. Because I could not solve it on my own, and did not get any hints in time (see issue35828) Since my work schedule intensified I switched the bot

[issue38520] There is no proper way to know if a process is the main one

2019-10-18 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38502] regrtest: use process groups

2019-10-18 Thread David Bolen
David Bolen added the comment: I can recreate this manually by running regrtest.py against test_pty. Crashes with any "-j#" option, but fine when run sequentially. Removing the process group change avoids the crash. With the process group change in place, the trigger point appears to be

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

2019-10-18 Thread Michel Desmoulin
Michel Desmoulin added the comment: Isn't that change breaking compat ? I'm assuming many scripts in the wild sys.argv[0] and play with it assuming it's relative. I would expect such a change to be behind a flag or a __future__ import. -- nosy: +Michel Desmoulin

[issue38523] ignore_dangling_symlinks in shutil.copytree does not apply recursively

2019-10-18 Thread Rob nelson
New submission from Rob nelson : The ignore_dangling_symlinks attribute in shutil.copytree is not passed down recursively, resulting in dangling symlinks located anywhere other than the root of the source tree to raise an error. The line causing the error for 3.9:

[issue38502] regrtest: use process groups

2019-10-18 Thread David Bolen
David Bolen added the comment: I don't know for sure that this is the cause but both 3.x builds following this commit on my bolen-ubuntu worker (Ubuntu 18.04.3) have had test_pty crash in the first attempt, with the retry succeeding. For example

[issue38522] Py_USING_MEMORY_DEBUGGER is referenced in docs but not present in code

2019-10-18 Thread Sümer Cip
Change by Sümer Cip : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38522] Py_USING_MEMORY_DEBUGGER is referenced in docs but not present in code

2019-10-18 Thread Sümer Cip
New submission from Sümer Cip : Hi all, While trying to debug Python C extension via valgrind, I was reading the document Misc/README.valgrind and it seems there are some parts not being uptodate. There is comments comments like following: Uncomment Py_USING_MEMORY_DEBUGGER in

[issue38521] Error in NormalDist.__eq__

2019-10-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38521] Error in NormalDist.__eq__

2019-10-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 652a1cb0e11eb7cf0040acaf121492d2a99768d9 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-38521: Fix error in NormalDist.__eq__() (GH-16840) (GH-16842)

[issue38521] Error in NormalDist.__eq__

2019-10-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +16394 pull_request: https://github.com/python/cpython/pull/16842 ___ Python tracker ___

[issue38521] Error in NormalDist.__eq__

2019-10-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 5eabec022b9a10734fcf58faad02c4d233592f64 by Raymond Hettinger in branch 'master': bpo-38521: Fix error in NormalDist.__eq__() (GH-16840) https://github.com/python/cpython/commit/5eabec022b9a10734fcf58faad02c4d233592f64 --

[issue36876] Global C variables are a problem.

2019-10-18 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +16393 pull_request: https://github.com/python/cpython/pull/16841 ___ Python tracker ___

[issue38521] Error in NormalDist.__eq__

2019-10-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +16392 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16840 ___ Python tracker

[issue38521] Error in NormalDist.__eq__

2019-10-18 Thread Raymond Hettinger
New submission from Raymond Hettinger : The equality comparison has a typo that wasn't caught by the tests. -- assignee: rhettinger components: Library (Lib) messages: 354919 nosy: rhettinger priority: normal severity: normal status: open title: Error in NormalDist.__eq__ type:

[issue38520] There is no proper way to know if a process is the main one

2019-10-18 Thread Adrien
New submission from Adrien : Hi. I noticed that there exists the function "threading.main_thread()", but there is no equivalent for the "multiprocessing" module. Is there a reason for this absence? These StackOverflow questions are related to this problem: -

[issue38433] 2.7.17rc1 tcl/tk version regression on Windows

2019-10-18 Thread Steve Dower
Steve Dower added the comment: Strange, I definitely cleaned up the externals before building 2.7.17rc1, so not sure how it ended up with the previous one. I'll double-check later today on my build machine, but there shouldn't have to be any code changes to deal with this. --

[issue38433] 2.7.17rc1 tcl/tk version regression on Windows

2019-10-18 Thread Zachary Ware
Zachary Ware added the comment: Since 8.5.19 is the version specified in the build config, that really ought to be the version we ship. I would guess that it just didn't get rebuilt when Steve built the installer for 2.7.17rc1; should just be a matter of making sure it does for the real

[issue38457] __package__ is None in __init__.py until an import is used

2019-10-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38519] Internal include files missing on Windows

2019-10-18 Thread Steve Dower
Steve Dower added the comment: If someone wants to fix this before I do, the change goes in PC/layout/main.py to remove the filter for directories named "internal" - we shouldn't need a filter there at all now that we include everything in the distro. --

[issue38457] __package__ is None in __init__.py until an import is used

2019-10-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38457] __package__ is None in __init__.py until an import is used

2019-10-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38519] Internal include files missing on Windows

2019-10-18 Thread Steve Dower
New submission from Steve Dower : The include/internal directory is not being included in the packages published to nuget.org or the Microsoft Store. This prevents some advanced users from being able to compile against these packages. -- assignee: steve.dower components: Windows

[issue38465] The type of ob_exports in PyByteArrayObject become Py_ssize_t.

2019-10-18 Thread hai shi
hai shi added the comment: Thanks, Serhiy, you are right. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38433] 2.7.17rc1 tcl/tk version regression on Windows

2019-10-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: Unless this actually regresses functionality, it doesn't seem like this needs to block the release. -- ___ Python tracker ___

[issue38433] 2.7.17rc1 tcl/tk version regression on Windows

2019-10-18 Thread Ned Deily
Ned Deily added the comment: What's the status of this release blocker? Is there something that needs to be done for 2.7.17final which is imminent? -- nosy: +ned.deily ___ Python tracker

[issue38418] Audit event for os.system is incorrect

2019-10-18 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-18 Thread Steve Dower
Steve Dower added the comment: > Why this ABI is exported at all? Great question for (probably) Yury, but it is exported and so we're stuck with it for 3.8 at least :( -- ___ Python tracker

[issue38418] Audit event for os.system is incorrect

2019-10-18 Thread miss-islington
miss-islington added the comment: New changeset 5fb81420d5ad64a900940e908b546cf40f2d6807 by Miss Islington (bot) in branch '3.8': bpo-38418: Fixes audit event for os.system to be named 'os.system' (GH-16670) https://github.com/python/cpython/commit/5fb81420d5ad64a900940e908b546cf40f2d6807

[issue28937] str.split(): allow removing empty strings (when sep is not None)

2019-10-18 Thread Philippe Cloutier
Philippe Cloutier added the comment: I assume the "workaround" suggested by Raymond in msg282966 is supposed to read... filter(None, str.split(sep) ... rather than filter(None, sep.split(input)). -- ___ Python tracker

[issue28937] str.split(): allow removing empty strings (when sep is not None)

2019-10-18 Thread Philippe Cloutier
Philippe Cloutier added the comment: I understood the current (only) behavior, but coming from a PHP background, I really didn't expect it. Thank you for this request, I would definitely like the ability to get behavior matching PHP's explode(). -- nosy: +Philippe Cloutier title:

[issue754016] urlparse goes wrong with IP:port without scheme

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 by Senthil Kumaran in branch '3.8': [3.8] bpo-27657: Fix urlparse() with numeric paths (GH-661) (#16839) https://github.com/python/cpython/commit/0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 --

[issue27657] urlparse fails if the path is numeric

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 by Senthil Kumaran in branch '3.8': [3.8] bpo-27657: Fix urlparse() with numeric paths (GH-661) (#16839) https://github.com/python/cpython/commit/0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 --

[issue22891] code removal from urllib.parse.urlsplit()

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 by Senthil Kumaran in branch '3.8': [3.8] bpo-27657: Fix urlparse() with numeric paths (GH-661) (#16839) https://github.com/python/cpython/commit/0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 --

[issue16932] urlparse fails at parsing "www.python.org:80/"

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 by Senthil Kumaran in branch '3.8': [3.8] bpo-27657: Fix urlparse() with numeric paths (GH-661) (#16839) https://github.com/python/cpython/commit/0f3187c1ce3b3ace60f6c1691dfa3d4e744f0384 --

[issue38518] Pickle protocol 5 is not documented in the data-stream-format section for the pickle docs

2019-10-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the finding, Karthikeyan! :) -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Pickle protocol v 5 needs to be documented ___ Python tracker

[issue38518] Pickle protocol 5 is not documented in the data-stream-format section for the pickle docs

2019-10-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess it will be fixed with https://github.com/python/cpython/pull/16639 -- nosy: +xtreak ___ Python tracker ___

[issue38502] regrtest: use process groups

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: I will wait at least one day to see how buildbots like this change before backporting it to 3.7 and 3.8. -- ___ Python tracker ___

[issue16932] urlparse fails at parsing "www.python.org:80/"

2019-10-18 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +16390 pull_request: https://github.com/python/cpython/pull/16839 ___ Python tracker ___

[issue22891] code removal from urllib.parse.urlsplit()

2019-10-18 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +16391 pull_request: https://github.com/python/cpython/pull/16839 ___ Python tracker ___

[issue754016] urlparse goes wrong with IP:port without scheme

2019-10-18 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +16389 pull_request: https://github.com/python/cpython/pull/16839 ___ Python tracker ___

[issue27657] urlparse fails if the path is numeric

2019-10-18 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +16388 pull_request: https://github.com/python/cpython/pull/16839 ___ Python tracker ___

[issue38502] regrtest: use process groups

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset ecb035cd14c11521276343397151929a94018a22 by Victor Stinner in branch 'master': bpo-38502: regrtest uses process groups if available (GH-16829) https://github.com/python/cpython/commit/ecb035cd14c11521276343397151929a94018a22 --

[issue38517] functools.cached_property should support partial functions and partialmethod's

2019-10-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16386 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16838 ___ Python tracker ___

[issue38518] Pickle protocol 5 is not documented in the data-stream-format section for the pickle docs

2019-10-18 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The Data Stream format section of the pickle docs (https://docs.python.org/3/library/pickle.html#data-stream-format) fails to document protocol 5 in the list of protocols. -- assignee: docs@python components: Documentation messages: 354898

[issue38517] functools.cached_property should support partial functions and partialmethod's

2019-10-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +carljm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16932] urlparse fails at parsing "www.python.org:80/"

2019-10-18 Thread miss-islington
miss-islington added the comment: New changeset 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f by Miss Islington (bot) in branch '3.7': bpo-27657: Fix urlparse() with numeric paths (GH-661) https://github.com/python/cpython/commit/82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f -- nosy:

[issue22891] code removal from urllib.parse.urlsplit()

2019-10-18 Thread miss-islington
miss-islington added the comment: New changeset 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f by Miss Islington (bot) in branch '3.7': bpo-27657: Fix urlparse() with numeric paths (GH-661) https://github.com/python/cpython/commit/82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f -- nosy:

[issue754016] urlparse goes wrong with IP:port without scheme

2019-10-18 Thread miss-islington
miss-islington added the comment: New changeset 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f by Miss Islington (bot) in branch '3.7': bpo-27657: Fix urlparse() with numeric paths (GH-661) https://github.com/python/cpython/commit/82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f -- nosy:

[issue27657] urlparse fails if the path is numeric

2019-10-18 Thread miss-islington
miss-islington added the comment: New changeset 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f by Miss Islington (bot) in branch '3.7': bpo-27657: Fix urlparse() with numeric paths (GH-661) https://github.com/python/cpython/commit/82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f -- nosy:

[issue38517] functools.cached_property should support partial functions and partialmethod's

2019-10-18 Thread Ricardo Branco
New submission from Ricardo Branco : functools.cached_property should support partial functions and partialmethod's This way one can create cached_property's dynamically. -- components: Library (Lib) messages: 354893 nosy: Ricardo Branco priority: normal severity: normal status: open

[issue38307] Provide Class' end line in pyclbr module

2019-10-18 Thread Steven D'Aprano
Change by Steven D'Aprano : -- title: Provide Class' end line in readmodule module -> Provide Class' end line in pyclbr module ___ Python tracker ___

[issue22891] code removal from urllib.parse.urlsplit()

2019-10-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +16385 pull_request: https://github.com/python/cpython/pull/16837 ___ Python tracker ___

[issue16932] urlparse fails at parsing "www.python.org:80/"

2019-10-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +16384 pull_request: https://github.com/python/cpython/pull/16837 ___ Python tracker ___

[issue754016] urlparse goes wrong with IP:port without scheme

2019-10-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +16383 pull_request: https://github.com/python/cpython/pull/16837 ___ Python tracker ___

[issue22891] code removal from urllib.parse.urlsplit()

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 5a88d50ff013a64fbdb25b877c87644a9034c969 by Senthil Kumaran (Tim Graham) in branch 'master': bpo-27657: Fix urlparse() with numeric paths (#661) https://github.com/python/cpython/commit/5a88d50ff013a64fbdb25b877c87644a9034c969 --

[issue27657] urlparse fails if the path is numeric

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 5a88d50ff013a64fbdb25b877c87644a9034c969 by Senthil Kumaran (Tim Graham) in branch 'master': bpo-27657: Fix urlparse() with numeric paths (#661) https://github.com/python/cpython/commit/5a88d50ff013a64fbdb25b877c87644a9034c969 --

[issue754016] urlparse goes wrong with IP:port without scheme

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 5a88d50ff013a64fbdb25b877c87644a9034c969 by Senthil Kumaran (Tim Graham) in branch 'master': bpo-27657: Fix urlparse() with numeric paths (#661) https://github.com/python/cpython/commit/5a88d50ff013a64fbdb25b877c87644a9034c969 --

[issue16932] urlparse fails at parsing "www.python.org:80/"

2019-10-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 5a88d50ff013a64fbdb25b877c87644a9034c969 by Senthil Kumaran (Tim Graham) in branch 'master': bpo-27657: Fix urlparse() with numeric paths (#661) https://github.com/python/cpython/commit/5a88d50ff013a64fbdb25b877c87644a9034c969 --

[issue38510] build python with --enable-shared with static linked python against libpython*.a

2019-10-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: > I think such kind of questions should be asked on Python-Dev. This issue is not really a concrete actionable issue. It sounds more like a general discussion about Python implementations. I agree with Serhiy that it should be moved to python-dev. And it

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread Dong-hee Na
Dong-hee Na added the comment: > Even the 2.7 stdlib and tests are not completely compatible with Jython. Maybe most of the alternative interpreters will meet this issue. AFAIK, Dropbox pyston project also met same issue. (https://blog.pyston.org/) If the master branch code is Python 2.x, I

[issue38516] PEP 3132 -- Extended Iterable Unpacking inconsistent assignment of * variable

2019-10-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: Why would they give the same result when the code is different? #1 assign c, d, e and everything left over goes into b *b, c, d, e, = [1, 2, 3, 4] #2 assign c, d and everything left over goes into b *b, c, d, = [1, 2, 3, 4] #3 assign c

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread Dong-hee Na
Dong-hee Na added the comment: > I think that everybody would like to see more working implementations of > Python: I definitely agree with it :) > I'm not sure of which kind of changes do you have in mind. > Such contribution is very welcomed :-) I know some of the projects which

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think such kind of questions should be asked on Python-Dev. Even the 2.7 stdlib and tests are not completely compatible with Jython. -- ___ Python tracker

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: > But is the policy of CPython to care about alternative interpreter > implementation? I think that everybody would like to see more working implementations of Python:

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread Dong-hee Na
Dong-hee Na added the comment: > How official is that? https://github.com/jythontools/jython jeff5 is now maintaining Jython2 but I can not find Jython3 under development. > Does it cost any maintenance burden? If not, you have your answer :-) Yes, it currently not burdens for maintenance.

[issue38516] PEP 3132 -- Extended Iterable Unpacking inconsistent assignment of * variable

2019-10-18 Thread Michael Jaquier
New submission from Michael Jaquier : x = [1,2,3] Case (1) *b, = x *b == [1, 2, 3] Case(2) *b, _ = x b = [1,2] Is it not more logical for this to give consistent values regardless. i.e., *b, = [1,2,3] ; b == [1,2] *b, _ = [1,3,2] ; b == [1,2] ; _ == [3] -- components:

[issue38515] regrtest main process timed out after 5 min on AMD64 FreeBSD CURRENT Shared 3.8

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: > running a FreeBSD build world (-j8)concurrently which is what was creating > additional load, though I've done this before and it hasn't caused timeouts. Maybe you should turn off the buidbot job while upgrading the system? Or try to tune process

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread تاشيرات مساند
تاشيرات مساند added the comment: #!/usr/bin/env python import multiprocessing, sys, trace from functools import partial num_list = ['p1', 'p2', 'p3', 'p4'] def foo(name): print(name+'\n') return name def save(result, shared): print('a\n') shared.results[result] = 1 def mm():

[issue38515] regrtest main process timed out after 5 min on AMD64 FreeBSD CURRENT Shared 3.8

2019-10-18 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Victor The guest running the worker was: - running a FreeBSD build world (-j8)concurrently which is what was creating additional load, though I've done this before and it hasn't caused timeouts. - suspended/resumed (virtualbox save/restore) which may have

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread تاشيرات مساند
Change by تاشيرات مساند : -- nosy: +تاشيرات مساند ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread تاشيرات مساند
Change by تاشيرات مساند : -- components: +Windows -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker

[issue24260] TabError behavior doesn't match documentation

2019-10-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: > Currently, Jython3 stops development since 2017. How official is that? > Or is there any reason to maintain those codes? Does it cost any maintenance burden? If not, you have your answer :-) -- ___ Python

[issue37224] test__xxsubinterpreters fails randomly

2019-10-18 Thread STINNER Victor
STINNER Victor added the comment: The race condition can be reproduced on Linux using a lot of parallel test worker processes. For example, I reproduce it on my laptop (8 CPUs) using: $ ./python -m test test__xxsubinterpreters -F -j30 ... 0:00:26 load avg: 17.86 [ 24] test__xxsubinterpreters

[issue38515] regrtest main process timed out after 5 min on AMD64 FreeBSD CURRENT Shared 3.8

2019-10-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +koobs, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38515] regrtest main process timed out after 5 min on AMD64 FreeBSD CURRENT Shared 3.8

2019-10-18 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/212/builds/322 => see the traceback below. I'm not sure that it's an issue with Python. It seems like the system was way too loaded: system load around 13.29 for 2 CPUs. I know that this buildbot worker is super

[issue38514] pathlib's mkdir documentation improvement

2019-10-18 Thread Jérôme Laurens
New submission from Jérôme Laurens : There are some inconsistencies in the actual documentation of path lib's mkdir doc. Here is the 3.7 version, annotated and followed by a change proposal Path.mkdir(mode=0o777, parents=False, exist_ok=False) Create a new directory at this given path. If

[issue38512] bug of the v3.7 API document demo case code

2019-10-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: What is this a screen shot of? What error occurs? The picture doesn't show any errors that I can see. Please COPY and PASTE the code you are running, as text, and the FULL EXCEPTION (the traceback and error message), if there is one. We cannot guess what

[issue38513] Should we maintain Jython related code?

2019-10-18 Thread Dong-hee Na
New submission from Dong-hee Na : I can read some of Jython related code on the master branch. ASFIK, this codes are the legacy of Jython2. Currently, Jython3 stops development since 2017. https://github.com/jython/jython3 Can we get rid of the Jython related code? Or is there any reason to

[issue38512] bug of the v3.7 API document demo case code

2019-10-18 Thread zr22122
Change by zr22122 <2212239...@qq.com>: -- title: bug of the v3.8 api demo case -> bug of the v3.7 API document demo case code ___ Python tracker ___

[issue38512] bug of the v3.8 api demo case

2019-10-18 Thread zr22122
New submission from zr22122 <2212239...@qq.com>: There exists a bug in the python 3.7 API document, as the picture shows below. When run this code in my python3.7.3 windows7 os, error occurs. -- components: Regular Expressions files: 2.png messages: 354871 nosy: ezio.melotti,

[issue32758] Stack overflow when parse long expression to AST

2019-10-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32758] Stack overflow when parse long expression to AST

2019-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dedb99acdb5bbc179872235f975248133d3fb440 by Serhiy Storchaka (Ashley Whetter) in branch '2.7': bpo-32758: Warn that ast.parse() and ast.literal_eval() can segfault the interpreter (GH-5960) (GH-16565)

[issue32758] Stack overflow when parse long expression to AST

2019-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8eb27cc35489848596d9fb4b1c91fac00ae75d21 by Serhiy Storchaka (Ashley Whetter) in branch '2.7': bpo-32758: Warn that compile() can crash when compiling to an AST object (GH-6043) (GH-16566)

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why this ABI is exported at all? These functions are only used in the sys module, why they are defined in ceval.c instead of be static functions in sysmodule.c? -- nosy: +serhiy.storchaka ___ Python tracker

[issue38418] Audit event for os.system is incorrect

2019-10-18 Thread miss-islington
miss-islington added the comment: New changeset fbe3c76c7ce1eec887d332d801d3784212cc0f73 by Miss Islington (bot) (Steve Dower) in branch 'master': bpo-38418: Fixes audit event for os.system to be named 'os.system' (GH-16670)

[issue38418] Audit event for os.system is incorrect

2019-10-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +16381 pull_request: https://github.com/python/cpython/pull/16836 ___ Python tracker ___

[issue38465] The type of ob_exports in PyByteArrayObject become Py_ssize_t.

2019-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also array and mmap. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue38347] pathfix.py does not find Python scripts that have '-' in its filename

2019-10-18 Thread Rüdiger Plüm
Rüdiger Plüm added the comment: Thanks for the information. I opened a support request. -- ___ Python tracker ___ ___

[issue38511] Multiprocessing does not work properly when using the trace module.

2019-10-18 Thread minjeong kim
New submission from minjeong kim <98...@naver.com>: normal result : $ python test.py {'p1': 1, 'p2': 1, 'p3': 1, 'p4': 1} run with tracing : $ python -mtrace --trackcalls test.py {} It seems that the foo and save functions that multiprocess should call are not called. -- components: