[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: Sounds good, thanks for the explanation Yury. I look forward to the TaskGroups! -- ___ Python tracker ___ ___

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Michael Foord
Change by Michael Foord : -- assignee: -> michael.foord components: +Extension Modules -Library (Lib), Tests resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue38037] reference counter issue in signal module

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix animalize. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue1652] subprocess should have an option to restore SIGPIPE to default action

2019-09-09 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Yury Selivanov
Yury Selivanov added the comment: FWIW I've been using TaskGroups in EdgeDB codebase extensively: https://github.com/edgedb/edgedb/blob/master/edb/common/taskgroup.py (you can use the code, it's Apache 2) The only thing that prevented us from merging them in 3.8 is that we need to formally

[issue37876] Tests for Rot13 codec

2019-09-09 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15439 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15786 ___ Python tracker ___ _

[issue37876] Tests for Rot13 codec

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset b3b48c81f09d1472010937f1331c5a208a2a2d48 by Steve Dower (Zeth) in branch 'master': bpo-37876: Tests for ROT-13 codec (GH-15314) https://github.com/python/cpython/commit/b3b48c81f09d1472010937f1331c5a208a2a2d48 -- nosy: +steve.dower _

[issue36797] Cull more oudated distutils information

2019-09-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset cabcbbe7a518d53cd7dbb915ceccf4970c2d0ea5 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-36797: Fix a dead link in Doc/distutils/apiref (GH-15700) (GH-15704) https://github.com/python/cpython/commit/cabcbbe7a518d53cd7dbb915ceccf4

[issue37876] Tests for Rot13 codec

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker ___ ___

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: Oh nice, I remember talking to you about the MultiError before, it will help simplify some Mock things. Happy to help out if you want more eyes on it. On Mon, Sep 9, 2019 at 3:46 PM Yury Selivanov wrote: > > Yury Selivanov added the comment: > > FWIW I've been

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Yury Selivanov
Yury Selivanov added the comment: > it will help simplify some Mock things. Yeah, we'll need to chat about that so I can use Mock requirements in the PEP. :) -- ___ 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 a2af05a0d3f0da06b8d432f52efa3ecf29038532 by Victor Stinner in branch 'master': bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) https://github.com/python/cpython/commit/a2af05a0d3f0da06b8d432f52efa3ecf29038532 -- ___

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

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

[issue38072] Make grp module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- assignee: dino.viehland components: Extension Modules nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make grp module PEP-384 compatible versions: Python 3.9 ___ Python tracker

[issue38072] Make grp module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15441 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15788 ___ Python tracker ___ __

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

2019-09-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15442 pull_request: https://github.com/python/cpython/pull/15789 ___ Python tracker ___ __

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3bd4bed78a0b068e28bcf2242d33aed227c2532c by Michael Foord (Miss Islington (bot)) in branch '3.8': bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (GH-9082) (#15781) https://github.com/python/cpython/commit/3bd4bed78a0b068

[issue38060] precedence (relational, logical operator)not working with single value

2019-09-09 Thread Tim Peters
Tim Peters added the comment: @sangeetamchauhan, the reply you got in the image you attached was in error - kind of. Section "6.16. Operator precedence" defines Python's operator precedence: https://docs.python.org/3/reference/expressions.html#index-92 """ The following table summarizes th

[issue38073] Make pwd module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15443 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15790 ___ Python tracker ___ __

[issue38073] Make pwd module PEP-384 compatible

2019-09-09 Thread Dino Viehland
New submission from Dino Viehland : Make the pwd module PEP-384 compatible -- assignee: dino.viehland components: Extension Modules messages: 351495 nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make pwd module PEP-384 compatible versions: Python 3

[issue20490] Show clear error message on circular import

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset 65366bc8bdc4716ebc361e622590b45a6e5aef07 by Steve Dower (Anthony Sottile) in branch 'master': bpo-20490: Improve circular import error message (GH-15308) https://github.com/python/cpython/commit/65366bc8bdc4716ebc361e622590b45a6e5aef07 --

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset b7bf632d4ebacfeffc8770a7848c690fa2a90a62 by Miss Islington (bot) in branch '3.7': bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666) https://github.com/python/cpython/commit/b7bf632d4ebacfeffc8770a7848c690fa2a90a62 -- nos

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

2019-09-09 Thread TK
Change by TK : -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailm

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 0d4396c04cba5ac2b66fdaa23c01db84b1b54227 by Miss Islington (bot) in branch '3.8': bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666) https://github.com/python/cpython/commit/0d4396c04cba5ac2b66fdaa23c01db84b1b54227 -- __

[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-09-09 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 3cbc23aa229bc5ec04845053df78eae5f54e0497 by T. Wouters (Greg Price) in branch 'master': bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15302) https://github.com/python/cpython/commit/3cbc23aa229bc5ec04845053df78eae5f54e0497

[issue20490] Show clear error message on circular import

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15444 pull_request: https://github.com/python/cpython/pull/15791 ___ Python tracker ___ _

[issue37185] use os.memfd_create in multiprocessing.shared_memory?

2019-09-09 Thread Christian Heimes
Christian Heimes added the comment: You are corret, Davin. The concept of memory fd is a new Linux Kernel feature. It's not available on older Linux Kernels or on non-Linux OS. To share memory fd segments between processes, the processes have to exchange or inherit the file descriptor someho

[issue38074] Make zlib PEP-384 compatible

2019-09-09 Thread Dino Viehland
New submission from Dino Viehland : Make zlib PEP-384 compatible -- components: Extension Modules messages: 351501 nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make zlib PEP-384 compatible versions: Python 3.9

[issue38007] Regression: name of PyType_Spec::slots conflicts with Qt macro

2019-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: (You might also argue that Qt should be the ones fixing their namespacing.) -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue38074] Make zlib PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15445 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15792 ___ Python tracker ___ __

[issue28569] mock.attach_mock should work with any return value of patch()

2019-09-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am closing this in favor of issue21478 as the original report is now fixed. Thanks. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed superseder: -> mock calls don't propagate to parent (autospec) ___

[issue20490] Show clear error message on circular import

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch, Anthony! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37662] Document venv.EnvBuilder.upgrade_dependencies()

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

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset d91d4de31745fc1ed4c7e6c208917827c9c472b6 by Victor Stinner in branch 'master': bpo-38070: visit_decref() calls _PyObject_IsFreed() (GH-15782) https://github.com/python/cpython/commit/d91d4de31745fc1ed4c7e6c208917827c9c472b6 -- ___

[issue38070] visit_decref(): add an assertion to check that the object is not freed

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

[issue37662] Document venv.EnvBuilder.upgrade_dependencies()

2019-09-09 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue36279] os.wait3() leaks some uninitialized stack when no processes exist

2019-09-09 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 682107cf458578ee6bd92b7cc6862113034a4fad by T. Wouters (Zackery Spytz) in branch 'master': bpo-36279: Ensure os.wait3() rusage is initialized (GH-15111) https://github.com/python/cpython/commit/682107cf458578ee6bd92b7cc6862113034a4fad

[issue37794] Replace /Ox with /O2

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Given the potential compatibility impact (small chance of third-party extensions relying on function aliasing), I'd like to see an update to Docs/whatsnew/3.9.rst as well. Also the suggested change to the NEWS entry is good. I don't think this one should pass

[issue35803] Test and document that `dir=...` in tempfile may be PathLike

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: New changeset 370138ba9c29595df773cc057d17ea26fb6f21bd by Zachary Ware (Anthony Sottile) in branch 'master': bpo-35803: Document and test dir=PathLike for tempfile (GH-11644) https://github.com/python/cpython/commit/370138ba9c29595df773cc057d17ea26fb6f21bd --

[issue35803] Test and document that `dir=...` in tempfile may be PathLike

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

[issue35803] Test and document that `dir=...` in tempfile may be PathLike

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

[issue35803] Test and document that `dir=...` in tempfile may be PathLike

2019-09-09 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.9 ___ Python tracker ___ __

[issue38075] Make random module PEP-384 compatible

2019-09-09 Thread Dino Viehland
New submission from Dino Viehland : Make random module PEP-384 compatible -- assignee: dino.viehland components: Extension Modules messages: 351509 nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make random module PEP-384 compatible versions: Python

[issue38075] Make random module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15450 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15798 ___ Python tracker ___ __

[issue30122] Added missing archive programs.

2019-09-09 Thread Julien Palard
Julien Palard added the comment: This FAQ entry has been deleted. -- nosy: +mdk resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue36338] urlparse of urllib returns wrong hostname

2019-09-09 Thread Christian Heimes
Change by Christian Heimes : -- priority: normal -> high versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue36338] urlparse of urllib returns wrong hostname

2019-09-09 Thread Christian Heimes
Christian Heimes added the comment: The guidelines https://url.spec.whatwg.org/#host-parsing make a lot of sense to me. Python should refuse hostnames with "[" unless * the hostname starts with "[" * the hostname ends with "]" * the string between [] is a valid IPv6 address (full or shortened

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset 09090d04ef8d2f4c94157b852d3d530a51e13d22 by Steve Dower (Orivej Desh) in branch 'master': bpo-37649: Fix exec_prefix check (GH-14897) https://github.com/python/cpython/commit/09090d04ef8d2f4c94157b852d3d530a51e13d22 -- nosy: +steve.dower

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-09-09 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15452 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15801 ___ Python tracker ___ _

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

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

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Thanks! Great catch -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue35941] ssl.enum_certificates() regression

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset 915cd3f0696cb8a7206754a8fc34d4cd865a1b4a by Steve Dower (Christian Heimes) in branch 'master': bpo-35941: Fix performance regression in new code (GH-12610) https://github.com/python/cpython/commit/915cd3f0696cb8a7206754a8fc34d4cd865a1b4a

[issue38000] importlib can not handle module file names with periods

2019-09-09 Thread Brett Cannon
Brett Cannon added the comment: This works as expected as nothing is inherently injected into your global namespace in any of the other code that you are executing. Otherwise the fact that the imported module is not being put into sys.modules also doesn't help if you're trying to get access

[issue35941] ssl.enum_certificates() regression

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15454 pull_request: https://github.com/python/cpython/pull/15803 ___ Python tracker ___ _

[issue37876] Tests for Rot13 codec

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset b6ef8f2beb90678a4a54218d6169040afbbf9fe1 by Miss Islington (bot) in branch '3.8': bpo-37876: Tests for ROT-13 codec (GH-15314) https://github.com/python/cpython/commit/b6ef8f2beb90678a4a54218d6169040afbbf9fe1 -- nosy: +miss-islington

[issue35941] ssl.enum_certificates() regression

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15455 pull_request: https://github.com/python/cpython/pull/15804 ___ Python tracker ___ _

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: Well, the kill timeout doesn't seem to be working, at least completely: https://buildbot.python.org/all/#/builders/40/builds/3012 The worker process has been killed (line 562), but regrtest is still waiting. -- ___

[issue37683] Use importlib.resources in venv

2019-09-09 Thread Brett Cannon
Brett Cannon added the comment: Since no one has ever asked for this I won't worry about it. This was mostly to start using the proper API for reading data out of a package, but it isn't critical. -- resolution: -> rejected stage: -> resolved status: open -> closed ___

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

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 78d15faf6c522619098e94be3e7f6d88a9e61123 by Miss Islington (bot) in branch '3.8': bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) https://github.com/python/cpython/commit/78d15faf6c522619098e94be3e7f6d88a9e61123 -- n

[issue18576] Document test.support.script_helper

2019-09-09 Thread Julien Palard
Julien Palard added the comment: All those functions has already been documented. -- dependencies: -Make test.script_helper more comprehensive, and use it in the test suite nosy: +mdk resolution: -> out of date stage: patch review -> resolved status: open -> closed

[issue37840] bytearray_getitem() handles negative index incorrectly

2019-09-09 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 92709a263e9cec0bc646ccc1ea051fc528800d8d by T. Wouters (Sergey Fedoseev) in branch 'master': bpo-37840: Fix handling of negative indices in bytearray_getitem() (GH-15250) https://github.com/python/cpython/commit/92709a263e9cec0bc646ccc1ea051fc52

[issue37995] Multiline ast.dump()

2019-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 850573b836d5b82d1a1ebe75a635aaa0a3dff997 by Serhiy Storchaka in branch 'master': bpo-37995: Add an option to ast.dump() to produce a multiline output. (GH-15631) https://github.com/python/cpython/commit/850573b836d5b82d1a1ebe75a635aaa0a3dff997

[issue38076] Make struct module PEP-384 compatible

2019-09-09 Thread Dino Viehland
New submission from Dino Viehland : Make struct module PEP-384 compatible -- assignee: dino.viehland components: Extension Modules messages: 351524 nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make struct module PEP-384 compatible versions: Python

[issue38076] Make struct module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15456 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15805 ___ Python tracker ___ __

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

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

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 64c6ac74e254d31f93fcc74bf02b3daa7d3e3f25 by Benjamin Peterson (Greg Price) in branch 'master': bpo-36502: Update link to UAX #44, the Unicode doc on the UCD. (GH-15301) https://github.com/python/cpython/commit/64c6ac74e254d31f93fcc74bf02b3daa

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

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

[issue38060] precedence (relational, logical operator)not working with single value

2019-09-09 Thread Tim Peters
Tim Peters added the comment: BTW, the docs also spell out that "and" and "or" ALWAYS evaluate their left operand before their right operand, and don't evaluate the right operand at all if the result of evaluating the left operand is true (for "or") or false (for "and"). So, e.g., res

[issue37245] Azure Pipeline 3.8 CI: multiple tests hung and timed out on macOS 10.13

2019-09-09 Thread Steve Dower
Steve Dower added the comment: I suspect this code is a repro - it certainly locks up the host process reliably enough. Perhaps if we unblock multiprocessing in the context of a crashed worker then it'll show what the underlying errors are? import os from multiprocessing import Pool def f

[issue20490] Show clear error message on circular import

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset 2d5594fac21a81a06f82c3605318dfa96e72398f by Steve Dower in branch '3.8': bpo-20490: Improve circular import error message (GH-15308) https://github.com/python/cpython/commit/2d5594fac21a81a06f82c3605318dfa96e72398f -- ___

[issue7940] re.finditer and re.findall should support negative end positions

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: Ezio requested further opinions, so here's mine. I don't think the current behavior makes sense; I doubt anyone actually expects a negative index to be squashed to 0, especially for endpos. I'm not certain that allowing negative indexes is really necessary,

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Davin Potts
Davin Potts added the comment: New changeset d14e39c8d9a9b525c7dcd83b2a260e2707fa85c1 by Davin Potts (Vinay Sharma) in branch 'master': bpo-38018: Increase code coverage for multiprocessing.shared_memory (GH-15662) https://github.com/python/cpython/commit/d14e39c8d9a9b525c7dcd83b2a260e2707fa8

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +15459 pull_request: https://github.com/python/cpython/pull/15808 ___ Python tracker ___ ___

[issue37857] Setting logger.level directly has no effect due to caching in 3.7+

2019-09-09 Thread Zane Bitter
Zane Bitter added the comment: > It feels wrong to do this as a band-aid to help out people who didn't do the > right thing. I mean... are we here to punish people for making mistakes by sending them to schroedinbug purgatory, or are we here to help them upgrade to the latest Python without

[issue37383] call count in not registered in AsyncMock till the coroutine is awaited

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: New changeset b9f65f01fd761da7799f36d29b54518399d3458e by Lisa Roach in branch 'master': bpo-37383: Updates docs to reflect AsyncMock call_count after await. (#15761) https://github.com/python/cpython/commit/b9f65f01fd761da7799f36d29b54518399d3458e --

[issue7940] re.finditer and re.findall should support negative end positions

2019-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that changing the current behavior is a breaking change. For example someone can use `pattern.findall(text, curpos-50, curpos+50)` to search in the range ±50 characters from the current position. If negative positions change meaning, this will break a

[issue37683] Use importlib.resources in venv

2019-09-09 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: See also this ticket: https://gitlab.com/python-devs/importlib_resources/issues/58 We've basically agreed that you should be able to load resources from subdirectories that aren't packages. It turns out to be not a simple change in importlib.resources, bu

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 58d61efd4cdece3b026868a66d829001198d29b1 by Benjamin Peterson in branch '2.7': [2.7] bpo-36502: Update link to UAX GH-44, the Unicode doc on the UCD. (GH-15808) https://github.com/python/cpython/commit/58d61efd4cdece3b026868a66d829001198d29b

[issue37383] call count in not registered in AsyncMock till the coroutine is awaited

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

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 5731172bb1e958b1d80b18eaf88d3f2f93cfccdd by Miss Islington (bot) in branch '3.8': bpo-38070: visit_decref() calls _PyObject_IsFreed() (GH-15782) https://github.com/python/cpython/commit/5731172bb1e958b1d80b18eaf88d3f2f93cfccdd -- nosy:

[issue35803] Test and document that `dir=...` in tempfile may be PathLike

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset eadf6b8787e979920c4fb6845797c33d270d2729 by Miss Islington (bot) in branch '3.8': bpo-35803: Document and test dir=PathLike for tempfile (GH-11644) https://github.com/python/cpython/commit/eadf6b8787e979920c4fb6845797c33d270d2729 -- no

[issue35803] Test and document that `dir=...` in tempfile may be PathLike

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset b4591ad33a727873c0a07d084211295bf4f5b892 by Miss Islington (bot) in branch '3.7': bpo-35803: Document and test dir=PathLike for tempfile (GH-11644) https://github.com/python/cpython/commit/b4591ad33a727873c0a07d084211295bf4f5b892 -- _

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset e83296314583ba9c7952d6539c63aae803a197ae by Miss Islington (bot) in branch '3.8': bpo-37649: Fix exec_prefix check (GH-14897) https://github.com/python/cpython/commit/e83296314583ba9c7952d6539c63aae803a197ae -- nosy: +miss-islington _

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

2019-09-09 Thread TK
Change by TK : -- pull_requests: +15461 pull_request: https://github.com/python/cpython/pull/15811 ___ Python tracker ___ ___ Python

[issue37649] calculate_init fails to check that EXEC_PREFIX was decoded

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 328cfde754c6b30c1249c5b9c12ab6b8faab551e by Miss Islington (bot) in branch '3.7': bpo-37649: Fix exec_prefix check (GH-14897) https://github.com/python/cpython/commit/328cfde754c6b30c1249c5b9c12ab6b8faab551e -- ___

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

2019-09-09 Thread TK
TK added the comment: Hi everybody, I just submitted a PR for this issue. It's my first contribution to the cPython project so please let me know if I need to change anything. -- ___ Python tracker ___

[issue38018] Increase Code Coverage for multiprocessing.shared_memory

2019-09-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR15552 introduced a regression in FreeBSD buildbots: https://buildbot.python.org/all/#/builders/168/builds/1417 Could you take a look? -- nosy: +pablogsal ___ Python tracker

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 0a86da87da82c4a28d7ec91eb54c0b9ca40bbea7 by Miss Islington (bot) in branch '3.7': bpo-36502: Update link to UAX GH-44, the Unicode doc on the UCD. (GH-15301) https://github.com/python/cpython/commit/0a86da87da82c4a28d7ec91eb54c0b9ca40bbea7 ---

[issue36502] str.isspace() for U+00A0 and U+202F differs from document

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset c1c04cbc24c11cd7a47579af3faffee05a16acd7 by Miss Islington (bot) in branch '3.8': bpo-36502: Update link to UAX GH-44, the Unicode doc on the UCD. (GH-15301) https://github.com/python/cpython/commit/c1c04cbc24c11cd7a47579af3faffee05a16acd7 ---

[issue37997] Segfault when using pickle with exceptions and dynamic class inheritance

2019-09-09 Thread Gabriel C
Gabriel C added the comment: Some further investigation suggests this may have nothing to do with pickle at all. Consider the following short example: ``` def CreateDynamicClass(basetype): class DynamicClassImpl(basetype): def __init__(self): super(DynamicClassImpl, se

[issue38075] Make random module PEP-384 compatible

2019-09-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm curious what this does for us. _randommodule.c isn't public. Internally, we get to use our full ABI, not just the stable public ABI. I'm unclear on why this needs to change at all. Is code like this deemed broken in some way? -- nosy: +rhe

[issue38066] Hide internal asyncio.Stream methods

2019-09-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done. The only API from transport that users really need is get_extra_info() which is exposed as a stream method already. -- ___ Python tracker

[issue38049] Add command-line interface for the ast module

2019-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 832e8640086ac4fa547c055a72929879cc5a963a by Serhiy Storchaka in branch 'master': bpo-38049: Add command-line interface for the ast module. (GH-15724) https://github.com/python/cpython/commit/832e8640086ac4fa547c055a72929879cc5a963a -

[issue36990] test_asyncio.test_create_connection_ipv6_scope fails(in mock test?)

2019-09-09 Thread Carl Jacobsen
Change by Carl Jacobsen : -- nosy: +CarlRJ ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue37995] Multiline ast.dump()

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

[issue38049] Add command-line interface for the ast module

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

[issue1615158] POSIX capabilities support

2019-09-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +15463 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15815 ___ Python tracker ___ ___

[issue36511] Add Windows ARM32 buildbot

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: New changeset 55d12ce8b8d397dd4e376bb0d1c27b3cced0ef50 by Zachary Ware (Paul Monson) in branch 'master': bpo-36511: clean up python process before deploy on ARM Windows buildbots (GH-14431) https://github.com/python/cpython/commit/55d12ce8b8d397dd4e376bb0d1c27

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Raymond Hettinger
New submission from Raymond Hettinger : Reproducer: 1) Turn-on IDLE 2) Create an empty file called: tmp.py 3) Press F5 to run the empty file 4) In the output shell window, type dir() which gives >>> dir() ['__annotations__', '__builtins__', '__doc__', '__file__', '__loader__', '__name__', '__

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

<    1   2   3   4   >