[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Davin Potts
Davin Potts added the comment: Initial review of the test failure suggests a likely flaw in the mechanism used by the resource tracker. I will continue investigating more tomorrow. -- ___ Python tracker __

[issue34293] DOC: Makefile inherits a Sphinx 1.5 bug regarding PAPER envvar

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: New changeset b5381f669718aa19690f42f3b8bd88f03045b9d2 by Zachary Ware (Jean-François B) in branch 'master': bpo-34293: Fix PDF documentation paper size (GH-8585) https://github.com/python/cpython/commit/b5381f669718aa19690f42f3b8bd88f03045b9d2 -- nosy

[issue34293] DOC: Makefile inherits a Sphinx 1.5 bug regarding PAPER envvar

2019-09-09 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +15464 pull_request: https://github.com/python/cpython/pull/15816 ___ Python tracker ___

[issue34293] DOC: Makefile inherits a Sphinx 1.5 bug regarding PAPER envvar

2019-09-09 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +15465 pull_request: https://github.com/python/cpython/pull/15817 ___ Python tracker ___

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-09-09 Thread Michael Burt
Michael Burt added the comment: This is still a problem when shutil gets a errno.ENOSYS I hit this bug on Microsoft Azure when I mount an Azure File (managed NFS) into an AKS cluster (managed Kubernetes offering) and try to copy a file from the NFS over to the local disk on the node using sh

[issue34293] DOC: Makefile inherits a Sphinx 1.5 bug regarding PAPER envvar

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: Thank you for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker _

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is the failure for reference: == ERROR: test_shared_memory_basics (test.test_multiprocessing_spawn.WithProcessesTestSharedMemory) -

[issue34293] DOC: Makefile inherits a Sphinx 1.5 bug regarding PAPER envvar

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: New changeset 99df5e837334b62c29c979bb0806f525778a4f3e by Zachary Ware in branch '3.8': [3.8] bpo-34293: Fix PDF documentation paper size (GH-8585) (GH-15816) https://github.com/python/cpython/commit/99df5e837334b62c29c979bb0806f525778a4f3e -- __

[issue34293] DOC: Makefile inherits a Sphinx 1.5 bug regarding PAPER envvar

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: New changeset 12228ce41de1b8fcfb3f1ba0a86d98a232815e85 by Zachary Ware in branch '3.7': [3.7] bpo-34293: Fix PDF documentation paper size (GH-8585) (GH-15817) https://github.com/python/cpython/commit/12228ce41de1b8fcfb3f1ba0a86d98a232815e85 -- __

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Correction, is PR 15662 the one that introduced the recession (the one in this issue) not the previous one I linked. Apologies for that. -- ___ Python tracker __

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23669330b7d0d5ad1a9aac40315ba4c2e765f9dd by Victor Stinner in branch '3.7': bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) (GH-15789) https://github.com/python/cpython/commit/23669330b7d0d5ad1a9aac40315ba4c2e765f9dd ---

[issue38078] IDLE: Don't run internal code in user namespace.

2019-09-09 Thread Terry J. Reedy
New submission from Terry J. Reedy : #38077 fixed the bug of internal runcommand code not deleting 'argv' from the user namespace. This issue is about not running code there. When a subprocess is running, pyshell.ModifiedInterpreter.runcommand runs python code created by IDLE in locals == __

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that 'argv' (bound to sys.argv) appears for all three versions after running an editor file, but not when Shell is started normally, without a file. The immediate culprit is the runcommand code in runscript, lines 156-168. As part of the patch

[issue38015] inline function generates slightly inefficient machine code

2019-09-09 Thread Ma Lin
Ma Lin added the comment: PR 15710 has been merged into the master, but the merge message is not shown here. Commit: https://github.com/python/cpython/commit/6b519985d23bd0f0bd072b5d5d5f2c60a81a19f2 Maybe this issue can be closed. -- resolution: -> fixed stage: patch review -> reso

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +15466 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15818 ___ Python tracker ___ _

[issue37825] IDLE doc improvements

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 5 Delete use of 'extension' referring to converted features. "If you don’t like the ACW popping up unbidden, simply make the delay longer or disable the extension." Remove ' or ...' -- ___ Python tracker

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c59295a1ca304f37ca136dd7efca9e560db27d28 by Terry Jan Reedy in branch 'master': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/c59295a1ca304f37ca136dd7efca9e560db27d28 --

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15467 pull_request: https://github.com/python/cpython/pull/15819 ___ Python tracker ___ __

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15468 pull_request: https://github.com/python/cpython/pull/15820 ___ Python tracker ___ __

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-09-09 Thread Ashwin Ramaswami
Ashwin Ramaswami added the comment: Why not deprecate them? -- nosy: +epicfaace ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 29bde48ade5dbd5d88cfe309653014c84bebb89c by Miss Islington (bot) in branch '3.8': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/29bde48ade5dbd5d88cfe309653014c84bebb89c

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 64947dc81a94692fa8ed21c2199a19a0188150ad by Miss Islington (bot) in branch '3.7': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/64947dc81a94692fa8ed21c2199a19a0188150ad

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Vinay Sharma
Change by Vinay Sharma : -- pull_requests: +15469 pull_request: https://github.com/python/cpython/pull/15821 ___ Python tracker ___

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Vinay Sharma
Vinay Sharma added the comment: Hi I have opened another PR: https://github.com/python/cpython/pull/15821 This should fix test failures in FreeBSD. FreeBSD requires a leading slash in shared memory names. That's why it was throwing the below error: ===

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Vedran Čačić
Vedran Čačić added the comment: I just want to express my delight, Terry, about your desire to solve the root of the problem instead of just fixing a particular instance. (This is not the first time I witnessed that.) It's a big part of the reason why I love Python so much. -- nosy:

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Vinay Sharma
Vinay Sharma added the comment: Also, I haven't made a NEWS entry since it's just a short bug fix -- ___ Python tracker ___ ___ Pyt

[issue37445] Some FormatMessageW() calls use FORMAT_MESSAGE_FROM_SYSTEM without FORMAT_MESSAGE_IGNORE_INSERTS

2019-09-09 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +15470 pull_request: https://github.com/python/cpython/pull/15822 ___ Python tracker ___ ___

[issue38079] _PyObject_VAR_SIZE should avoid arithmetic overflow

2019-09-09 Thread Greg Price
New submission from Greg Price : Currently `_PyObject_VAR_SIZE` effectively has a precondition that it must not be passed arguments which would overflow in its arithmetic. If that's violated, it overflows... which is undefined behavior already, and in fact the likely next thing that happens i

[issue38079] _PyObject_VAR_SIZE should avoid arithmetic overflow

2019-09-09 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +15471 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14838 ___ Python tracker ___

[issue38075] Make random module PEP-384 compatible

2019-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have the same questions. The new code looks more complex and cumbersome. What is the benefit of all these changes? I see you have created many similar issues. Would be nice to discuss first on the Python-Dev list what they do and why they are needed. --

[issue38079] _PyObject_VAR_SIZE should avoid arithmetic overflow

2019-09-09 Thread Greg Price
Greg Price added the comment: (The tracker just linked GH-14838 to this issue because I mentioned it in a comment there, but it's not for this issue -- it's that recent fix for an 11-year-old bug in a callsite's overflow check.) -- ___ Python trac

[issue38080] 2to3 urllib fixer: missing fix for urllib.getproxies

2019-09-09 Thread 徐靖
New submission from 徐靖 : urllib.getproxies can be converted to urllib.request.getproxies, and their documentation looks the same. but in fix_urllib.py and my real test, it is ignored. I do not know why 2to3 does nothing. Is it a bug? -- components: 2to3 (2.x to 3.x conversion tool) mes

[issue38081] Different behavior of in 3.7 and 3.8 os.path.realpath('nul')

2019-09-09 Thread Александр Семенов
New submission from Александр Семенов : Windows 10: ``` C:\Users\User\Downloads>py -3.7 -c "import os.path;os.path.realpath('nul')" C:\Users\User\Downloads>py -3.8 -c "import os.path;os.path.realpath('nul')" Traceback (most recent call last): File "", line 1, in File "C:\Python38\lib\ntpath

[issue38055] Starting multiprocessing.Process raises FileNotFoundError unexpectedly

2019-09-09 Thread Donny Brown
Change by Donny Brown : -- title: Starting multiprocessing.Process causes FileNotFoundError -> Starting multiprocessing.Process raises FileNotFoundError unexpectedly type: -> behavior ___ Python tracker ___

[issue38081] Different behavior of in 3.7 and 3.8 os.path.realpath('nul')

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

[issue38081] Different behavior of in 3.7 and 3.8 os.path.realpath('nul')

2019-09-09 Thread Александр Семенов
Александр Семенов added the comment: 1) Python 3.8.0b4 (tags/v3.8.0b4:d93605d, Aug 29 2019, 23:21:28) [MSC v.1916 64 bit (AMD64)] on win32 2) Looks like identical with https://bugs.python.org/issue1311 -- ___ Python tracker

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-09 Thread Александр Семенов
Change by Александр Семенов : -- title: Different behavior of in 3.7 and 3.8 os.path.realpath('nul') -> Different behavior of os.path.realpath('nul') in 3.7 and 3.8 ___ Python tracker

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2fc1160a80733f4c5c88796319154b3f59e98e4b by Pablo Galindo (Vinay Sharma) in branch 'master': bpo-38018: Fix test for multiprocessing.shared_memory in BSD systems (GH-15821) https://github.com/python/cpython/commit/2fc1160a80733f4c5c887963

<    1   2   3   4