[issue37199] Test suite fails when Ipv6 is unavailable

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

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14296 pull_request: https://github.com/python/cpython/pull/14479 ___ Python tracker ___

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 5cbbbd73a6acb6f96f5d6646aa7498d3dfb1706d by Gregory P. Smith (Ammar Askar) in branch 'master': bpo-29505: Add more fuzzing for re.compile, re.load and csv.reader (GH-14255)

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14295 pull_request: https://github.com/python/cpython/pull/14478 ___ Python tracker ___

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-29 Thread Steve Dower
Steve Dower added the comment: > I'm not sure of the purpose of sys._base_executable. Maybe open a separated > issue to make the attribute public? I'm not sure if multiprocessing (for > example) should use it, or if sys.executble should be used. Yeah, it's a bit more complex. Sometimes it's

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-29 Thread Tim Peters
Tim Peters added the comment: I haven't used protobuf, but it's _generally_ true that crashes that occur for the first time in the presence of C or C++ extension modules are due to subtle (or not so subtle) mistakes in using the sometimes-delicate Python C API. So it's too soon to play

[issue37369] Issue with pip in venv on Powershell in Windows

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

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread miss-islington
miss-islington added the comment: New changeset bc60c47169d1cb33f6fbe1ed64c09a536e82e1c3 by Miss Islington (bot) in branch '2.7': [2.7] bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) (GH-14475)

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread miss-islington
miss-islington added the comment: New changeset 3e133c401a51f08404b68f11d921f0b406283741 by Miss Islington (bot) in branch '3.8': bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) https://github.com/python/cpython/commit/3e133c401a51f08404b68f11d921f0b406283741 --

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread miss-islington
miss-islington added the comment: New changeset e2e41cd114ae761fbfee4e7c6539f5df5c8c7116 by Miss Islington (bot) in branch '3.7': bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) https://github.com/python/cpython/commit/e2e41cd114ae761fbfee4e7c6539f5df5c8c7116 --

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-29 Thread Timothy Lusk
Timothy Lusk added the comment: I'll admit I don't know enough about Python c extensions to make that call, but the fact that it wasn't crashing in the protobuf extension itself during the import but instead during the next garbage collection made me believe it was a Python bug. Maybe

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14293 pull_request: https://github.com/python/cpython/pull/14476 ___ Python tracker ___

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14294 pull_request: https://github.com/python/cpython/pull/14477 ___ Python tracker ___

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset eb97b9211e7c99841d6cae8c63893b3525d5a401 by Gregory P. Smith (tmblweed) in branch 'master': bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) https://github.com/python/cpython/commit/eb97b9211e7c99841d6cae8c63893b3525d5a401

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14292 pull_request: https://github.com/python/cpython/pull/14475 ___ Python tracker ___

[issue36167] DOC: Incorrect capitalization in Programming FAQ

2019-06-29 Thread Avinash Sajjanshetty
Avinash Sajjanshetty added the comment: I would like to send a PR for this -- nosy: +avi ___ Python tracker ___ ___

[issue37448] obmalloc: radix tree for tracking arena address ranges

2019-06-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37448] obmalloc: radix tree for tracking arena address ranges

2019-06-29 Thread Tim Peters
Change by Tim Peters : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2019-06-29 Thread Brett Cannon
New submission from Brett Cannon : ensurepip is using pkgutil.get_data() which isn't as clean as importlib.resources for reading data from within a package. -- components: Library (Lib) messages: 346907 nosy: brett.cannon priority: normal severity: normal stage: needs patch status:

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread Ned Deily
Ned Deily added the comment: New changeset a1093e4dee9dd05cf3a844349c94fed52c4ebd89 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-37437: Pass -Wno-unreachable-code when compiling expat. (GH-14470) (GH-14472)

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 66c42f8bbcf5fa261a0d944ce8fbca9220abd11d by Benjamin Peterson in branch '3.8': [3.8] bpo-37437: Pass -Wno-unreachable-code when compiling expat. (GH-14473) https://github.com/python/cpython/commit/66c42f8bbcf5fa261a0d944ce8fbca9220abd11d

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread miss-islington
miss-islington added the comment: New changeset ffa419ad004de96395a655f6b8d1a58b7c73372e by Miss Islington (bot) in branch '3.7': bpo-37437: Pass -Wno-unreachable-code when compiling expat. (GH-14470) https://github.com/python/cpython/commit/ffa419ad004de96395a655f6b8d1a58b7c73372e

[issue37448] obmalloc: radix tree for tracking arena address ranges

2019-06-29 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +14291 pull_request: https://github.com/python/cpython/pull/14474 ___ Python tracker ___

[issue37448] obmalloc: radix tree for tracking arena address ranges

2019-06-29 Thread Neil Schemenauer
Change by Neil Schemenauer : Added file: https://bugs.python.org/file48446/obmalloc_overhead.py ___ Python tracker ___ ___ Python-bugs-list

[issue37448] obmalloc: radix tree for tracking arena address ranges

2019-06-29 Thread Neil Schemenauer
Change by Neil Schemenauer : Added file: https://bugs.python.org/file48445/pyperf_radix_compare.txt ___ Python tracker ___ ___

[issue37448] obmalloc: radix tree for tracking arena address ranges

2019-06-29 Thread Neil Schemenauer
New submission from Neil Schemenauer : This patch implements an alternative version of obmalloc's address_in_range(). It uses a radix tree to map the areas of memory covered by obmalloc arenas. pymalloc_free() uses address_in_range() to determine if a block of memory is controlled by

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +14290 pull_request: https://github.com/python/cpython/pull/14473 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 95da310078a9364bae9ab3f2ad9c71e34306a70c by Benjamin Peterson in branch 'master': bpo-37437: Pass -Wno-unreachable-code when compiling expat. (GH-14470) https://github.com/python/cpython/commit/95da310078a9364bae9ab3f2ad9c71e34306a70c

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14289 pull_request: https://github.com/python/cpython/pull/14472 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14288 pull_request: https://github.com/python/cpython/pull/14471 ___ Python tracker ___

[issue37437] update vendorized expat to 2.2.7

2019-06-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +14287 pull_request: https://github.com/python/cpython/pull/14470 ___ Python tracker ___

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread sushma
Change by sushma : -- keywords: +patch pull_requests: +14286 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14469 ___ Python tracker ___

[issue34556] Add --upgrade-deps to venv module

2019-06-29 Thread Vinay Sajip
Vinay Sajip added the comment: > Is there any way other than discussing with the release manager to have this > considered? I don't believe so. -- ___ Python tracker ___

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-29 Thread Steve Dower
Steve Dower added the comment: New changeset 323e743d4879f1cd861d0b252775797fb7938755 by Steve Dower in branch '3.8': bpo-37369: Fix initialization of sys members when launched via an app container (GH-14467) https://github.com/python/cpython/commit/323e743d4879f1cd861d0b252775797fb7938755

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-29 Thread Steve Dower
Steve Dower added the comment: New changeset ac14632c756fec561e4b868b8793334bd7b22241 by Steve Dower in branch 'master': bpo-37369: Fixes crash when reporting fatal error (GH-14468) https://github.com/python/cpython/commit/ac14632c756fec561e4b868b8793334bd7b22241 --

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-29 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14285 pull_request: https://github.com/python/cpython/pull/14468 ___ Python tracker ___

[issue36168] DOC: Fix capitalization in string.rst

2019-06-29 Thread Readul Hasan Chayan
Readul Hasan Chayan added the comment: If no one has any problem I would like to work on this. This will be my first contribution if it happens. -- nosy: +Readul Hasan Chayan ___ Python tracker

[issue36167] DOC: Incorrect capitalization in Programming FAQ

2019-06-29 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Mariatta noted at https://mail.python.org/archives/list/core-mentors...@python.org/message/KFIGNAGJKWQXCXG72VGIGGA3OCKUHOFC/ that these issues are not reserved and are now available for first-time contributors. -- nosy: +lys.nikolaou

[issue36168] DOC: Fix capitalization in string.rst

2019-06-29 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Mariatta noted at https://mail.python.org/archives/list/core-mentors...@python.org/message/KFIGNAGJKWQXCXG72VGIGGA3OCKUHOFC/ that these issues are not reserved and are now available for first-time contributors. -- nosy: +lys.nikolaou

[issue37440] httplib should enable post-handshake authentication for TLS 1.3

2019-06-29 Thread Ned Deily
Ned Deily added the comment: Blocking 3.7.4 final pending resolution -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37440] httplib should enable post-handshake authentication for TLS 1.3

2019-06-29 Thread Ned Deily
Change by Ned Deily : -- nosy: +benjamin.peterson, lukasz.langa priority: deferred blocker -> release blocker ___ Python tracker ___

[issue37374] Minidom does not have to escape quote inside text segments

2019-06-29 Thread Daniel Hilst Selli
Daniel Hilst Selli added the comment: Not really, I don't have a use case here. I'm just warning that this would break user code that relies on old behavior. Anyway is possible to add new behavior without changing the old one. A parameter would make this possible, for example. This is only

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2019-06-29 Thread Avinash Sajjanshetty
Avinash Sajjanshetty added the comment: I was looking for an easy patch to submit. I can take an attempt at this? -- nosy: +avi ___ Python tracker ___

[issue37374] Minidom does not have to escape quote inside text segments

2019-06-29 Thread Mitar
Mitar added the comment: Sure, but is old behavior useful in any use case? Every bugfix changes old behavior in an irreversible way. So in which use case you want the old behavior? Can you elaborate here? -- ___ Python tracker

[issue7202] "python setup.py cmd --verbose" does not set verbosity

2019-06-29 Thread Avinash Sajjanshetty
Avinash Sajjanshetty added the comment: I would like to take this up task and propose a patch. However, I am not able to reproduce this issue on my machine (3.7.1). Does the issue seem to be fixed? Here is what I tried: 1. python setup.py --verbose build I got the verbose build, as

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-29 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14284 pull_request: https://github.com/python/cpython/pull/14467 ___ Python tracker ___

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-29 Thread Steve Dower
Steve Dower added the comment: New changeset 9048c49322a5229ff99610aba35913ffa295ebb7 by Steve Dower in branch 'master': bpo-37369: Fix initialization of sys members when launched via an app container (GH-14428)

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-06-29 Thread Ruslan Kuprieiev
Ruslan Kuprieiev added the comment: The `_active` code is pretty old and has not changed since 2.7, so it makes sense to backport it for now(also, should be very trivial to do that). To me, it doesn't seem dangerous to backport that, but I would love to hear what Eryk and others think :)

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-29 Thread aeros167
aeros167 added the comment: Created a new PR replacing the deprecated method "random.choose" with "random.choice" in "test_pkg_import.py" (https://github.com/python/cpython/pull/14466). -- ___ Python tracker

[issue37430] range is not a built-in function

2019-06-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Then it appears the indexing could also be improved. -- ___ Python tracker ___ ___

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-29 Thread aeros167
Change by aeros167 : -- pull_requests: +14283 pull_request: https://github.com/python/cpython/pull/14466 ___ Python tracker ___ ___

[issue37409] relative import without parent succeeds with builtins.__import__

2019-06-29 Thread Ben Lewis
Change by Ben Lewis : -- keywords: +patch pull_requests: +14282 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/14465 ___ Python tracker

[issue37447] Nested For Loop in Python not working as Expected after cnt=2136

2019-06-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @pradnyan The break statement [0] only exits the for loop where it's present in this the one where y is involved so the outer loop involving x will continue to execute. So after every attempt where y = 0 the cnt value succeeds and breaks out of

[issue37446] Undefined behavior in Python/hamt.c

2019-06-29 Thread Michele Angrisano
Michele Angrisano added the comment: I don't get that output on 3.8.0a4+. I'm on OSX. Anyway, I think that 1 should be cast with unsigned. What do you think? -- nosy: +mangrisano ___ Python tracker

[issue37447] Nested For Loop in Python not working as Expected after cnt=2136

2019-06-29 Thread Pradnyan
New submission from Pradnyan : I have come across very strange Python bug in nested for loops: See below nested for loop with range function and its not working as expected. It worked fine until cnt=2136 and start giving unexpected output after that. As per logic y value should get

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-29 Thread aeros167
aeros167 added the comment: > Thanks for the PR, aeros167! BTW, if you want to open a new issue and > modernize the tests to use importlib directly that would be great! Sounds good, I'll definitely look into doing that after finishing up this issue. Was waiting the previous PR to be merged

[issue36656] Please add race-free os.link and os.symlink wrapper / helper

2019-06-29 Thread Tom Hale
Tom Hale added the comment: I've created a PR here: https://github.com/python/cpython/pull/14464 Only shutil.symlink is currently implemented. Feedback sought from Windows users. @Michael.Felt please note that `overwrite=False` is the default. @taleinat I hope that the new implementation

[issue36656] Please add race-free os.link and os.symlink wrapper / helper

2019-06-29 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14280 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14464 ___ Python tracker ___

[issue37428] SSLContext.post_handshake_auth implicitly enables cert validation

2019-06-29 Thread Ned Deily
Ned Deily added the comment: Christian, do you have an estimate for when these issues will be resolved? We are holding 3.7.4 right now. -- nosy: +benjamin.peterson, lukasz.langa priority: deferred blocker -> release blocker ___ Python tracker

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm gonna reject this one, sorry Jeffrey. Reasons given in https://bugs.python.org/issue36422#msg346878 also apply here. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___

[issue36422] tempfile.TemporaryDirectory() removes entire directory tree even if it's a mount-point

2019-06-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > in case a filesystem has been mounted on the temporary directory, this can > lead to the entire filesystem being removed -1 That is expected behavior and the use case looks pretty unusual. Such a new parameter wouldn't even be supported by other

[issue37357] mbox From line wrongly detected

2019-06-29 Thread Eric V. Smith
Change by Eric V. Smith : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list