[issue37141] Allow multiple separators in Stream.readuntil

2019-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: please do -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue38137] hashopenssl fails to compile on MacOS

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 9a4963b932a087b78596cca0b8394ac898faa490 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-38137: Re-add OpenSSL 1.0.2 compat (GH-16051) https://github.com/python/cpython/commit/9a4963b932a087b78596cca0b8394ac898faa490 ---

[issue21872] LZMA library sometimes fails to decompress a file

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 4ffd05d7ec47cfd0d7fc95dce851633be9663255 by Gregory P. Smith (animalize) in branch 'master': bpo-21872: fix lzma library decompresses data incompletely (GH-14048) https://github.com/python/cpython/commit/4ffd05d7ec47cfd0d7fc95dce851633be966325

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37941] python -m and runpy.run_module set different __name__ by default

2019-09-12 Thread Julian Berman
Julian Berman added the comment: That all makes sense, I understand that in the general case you can't really promise someone that if you mutate global state in-process that the runpy module has any way of preventing that. Except IMO, the module gives exactly the impression you're saying is bad

[issue38051] time.strftime handling %z/%Z badly

2019-09-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue36960] Make datetime docs more user-friendly

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

[issue35620] asyncio test failure on appveyor

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue21872] LZMA library sometimes fails to decompress a file

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

[issue21872] LZMA library sometimes fails to decompress a file

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

[issue38138] test_importleak is leaking references

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

[issue38139] [BUG] datetime.strptime could not handle timezone

2019-09-12 Thread Paul Ganssle
Paul Ganssle added the comment: Hi Yixing, thank you for your bug report. This issue has already been reported, and the discussion is in issue #22377. In the short term I believe the solution will be to document the current behavior. In the long term there are some solutions, though I imagin

[issue38139] [BUG] datetime.strptime could not handle timezone

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be same as issue22377 where UTC, GMT and value time.tzname in the machine are the supported values. -- nosy: +xtreak ___ Python tracker

[issue38137] hashopenssl fails to compile on MacOS

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +15675 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16051 ___ Python tracker ___

[issue22377] %Z in strptime doesn't match EST and others

2019-09-12 Thread Paul Ganssle
Change by Paul Ganssle : -- stage: -> needs patch versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue36991] zipfile: AttributeError on extract

2019-09-12 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15674 pull_request: https://github.com/python/cpython/pull/16052 ___ Python tracker ___ _

[issue38138] test_importleak is leaking references

2019-09-12 Thread Dino Viehland
Change by Dino Viehland : -- assignee: -> dino.viehland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue36991] zipfile: AttributeError on extract

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 2f1b857562b0f1601c9019db74c29b7d7e21ac9f by Gregory P. Smith (Berker Peksag) in branch 'master': bpo-36991: Fix incorrect exception escaping ZipFile.extract() (GH-13632) https://github.com/python/cpython/commit/2f1b857562b0f1601c9019db74c29b7d

[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: automated backport of the gdb/libpython change fails on 3.6, if this is needed there (I haven't looked into the code on that branch), it's a tiny change to apply. i'll leave that to the 3.6 RM to decide if at all. -- resolution: -> fixed stage: p

[issue38134] Remove copy of fast PBKDF2 algorithm

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15673 pull_request: https://github.com/python/cpython/pull/16051 ___ Python tracker ___

[issue33459] Fix "tuple display" mention in Expressions

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

[issue38118] Valgrind warnings when running tokenize.py

2019-09-12 Thread STINNER Victor
STINNER Victor added the comment: ==30746== Conditional jump or move depends on uninitialised value(s) ==30746==at 0x4DC8FF: PyState_AddModule (pystate.c:707) Oh, this issue looks like a duplicate of bpo-38124 which has just been fixed by: New changeset 39de95b746c990e6a2fe9af5fad01747f58

[issue36991] zipfile: AttributeError on extract

2019-09-12 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith versions: +Python 3.9 ___ Python tracker ___ __

[issue38135] Depth first search in compile.c creates wrong BB order for certain CFG.

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 99b54d68172ad64ba3d0fdc0137f0df88c28ea2b by Gregory P. Smith (T. Wouters) in branch 'master': Revert "Fix depth-first-search computation in compile.c (GH-16042)" (GH-16050) https://github.com/python/cpython/commit/99b54d68172ad64ba3d0fdc0137f0

[issue38139] [BUG] datetime.strptime could not handle timezone

2019-09-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue38139] [BUG] datetime.strptime could not handle timezone

2019-09-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue38136] Remove AsyncMock.assert_awaited_*

2019-09-12 Thread Lisa Roach
Lisa Roach added the comment: Going to try to recap an in-person conversation: There are some cases where calls are made separate from when they are awaited, for example: >>> call = foo() >>> await call This would be 1 call and 1 await: Call List Await List - -- [f

[issue38140] Py_tp_dictoffset / Py_tp_finalize are unsettable in stable API

2019-09-12 Thread Dino Viehland
New submission from Dino Viehland : This makes it impossible to port certain types to the stable ABI and remove statics from the interpreter. -- assignee: dino.viehland components: Interpreter Core messages: 352167 nosy: dino.viehland, eric.snow priority: normal severity: normal status

[issue38138] test_importleak is leaking references

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Using test.bisect_cmd gets me to below test case test_importlib leaked [1, 1, 1] references, sum=3 test_importlib failed == Tests result: FAILURE == 1 test failed: test_importlib Total duration: 3 sec 582 ms Tests result: FAILURE ran 1 tests/

[issue38138] test_importleak is leaking references

2019-09-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting points to commit 5b172c27f760dc5437e37dd8f1540eb76440e9a7 Author: Dino Viehland Date: Wed Sep 11 08:47:17 2019 -0700 bpo-38113: Update Python/ast.c to PEP-384 (GH-15975) Removes statics for better subinterpreter support and move

[issue38132] Simplify hashlib implementation

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 0d7cb5bb291d8645824581ae570a394e3d221e5e by Miss Islington (bot) in branch '3.8': bpo-38132: Check EVP_DigestUpdate for error (GH-16041) https://github.com/python/cpython/commit/0d7cb5bb291d8645824581ae570a394e3d221e5e -- nosy: +miss-i

[issue36270] DOC: Add link to sys.exc_info for "Reference Manual"

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

[issue38139] [BUG] datetime.strptime could not handle timezone

2019-09-12 Thread Yixing Jiang
New submission from Yixing Jiang : datetime.datetime.strptime throws out an error for me, to reproduce, use the following block: ``` >>> import datetime >>> import pytz >>> d2 = datetime.datetime(2019, 9, 11, 18, 35, 17, 334000, >>> tzinfo=pytz.timezone('CET')) >>> d2.strftime('%Y%m%d%H%M%S%f

[issue38135] Depth first search in compile.c creates wrong BB order for certain CFG.

2019-09-12 Thread Thomas Wouters
Change by Thomas Wouters : -- pull_requests: +15672 pull_request: https://github.com/python/cpython/pull/16050 ___ Python tracker ___ __

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

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

[issue37630] Investigate replacing SHA3 code with OpenSSL

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +15671 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16049 ___ Python tracker ___

[issue38138] test_importleak is leaking references

2019-09-12 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : ❯ ./python.exe -m test test_importlib -R 3:3 Run tests sequentially 0:00:00 load avg: 1.45 [1/1] test_importlib beginning 6 repetitions 123456 .. test_importlib leaked [20, 20, 20] references, sum=60 test_importlib failed == Tests result: FAILURE =

[issue38137] hashopenssl fails to compile on MacOS

2019-09-12 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : I get this when compiling CPython master Users/pgalindo3/github/cpython/Modules/_hashopenssl.c:89:19: error: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration] retval->ctx = EVP_MD_CTX_ne

[issue38132] Simplify hashlib implementation

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

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 8c74574e0aaf1a00719fbc9acbdc27a3923520aa by Stéphane Wirtel (Christian Heimes) in branch 'master': bpo-38132: Check EVP_DigestUpdate for error (GH-16041) https://github.com/python/cpython/commit/8c74574e0aaf1a00719fbc9acbdc27a3923520aa ---

[issue37879] Segfaults in C heap type subclasses

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

[issue38106] Race in PyThread_release_lock - can lead to memory corruption and deadlock

2019-09-12 Thread Kirill Smelkov
Kirill Smelkov added the comment: Ok, I did https://github.com/python/cpython/pull/16047. -- ___ Python tracker ___ ___ Python-bugs

[issue37480] add ptpython to list of alternate interpreters

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In this case, maybe you could change the name of the PR and of this issue. Thank you -- nosy: +matrixise ___ Python tracker ___

[issue38106] Race in PyThread_release_lock - can lead to memory corruption and deadlock

2019-09-12 Thread Kirill Smelkov
Change by Kirill Smelkov : -- keywords: +patch pull_requests: +15669 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16047 ___ Python tracker ___ _

[issue37363] Additional PEP578 hooks

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @Christian, I have merged your PR for the audit events, but I have not closed this issue, I suppose there will be other PRs for this issue. -- nosy: +matrixise ___ Python tracker

[issue37363] Additional PEP578 hooks

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 2f01cf61874aa42eebe49d51d4881792d9c4 by Miss Islington (bot) in branch '3.8': bpo-37363: Document internal audit events (GH-14663) https://github.com/python/cpython/commit/2f01cf61874aa42eebe49d51d4881792d9c4 -- __

[issue38136] Remove AsyncMock.assert_awaited_*

2019-09-12 Thread Michael Foord
Michael Foord added the comment: I'm particularly concerned that we have call_count "sane" for AsyncMock and avoid adding "await_count" if possible. I think we've decided on that. I'm more agnostic on the assert_await* methods. I agree they're a nice API. I don't mind those staying but I als

[issue37363] Additional PEP578 hooks

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset ed4b3216e59df4806e5ef63b3357fc577a9443d7 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-37363: Document internal audit events (GH-14663) https://github.com/python/cpython/commit/ed4b3216e59df4806e5ef63b3357fc577a9443d7

[issue37363] Additional PEP578 hooks

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

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2019-09-12 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +15667 pull_request: https://github.com/python/cpython/pull/16045 ___ Python tracker ___ ___

[issue23019] pyexpat.errors wrongly bound to message strings instead of message codes

2019-09-12 Thread Tahia K
Tahia K added the comment: Hi guys, Is this issue still free to pick up? -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-l

[issue35620] asyncio test failure on appveyor

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: asyncio tests are stable now and I couldn't find related reports. I guess it's fixed in one of the commits and also AppVeyor is not used anymore. I guess this can be closed as outdated. -- nosy: +xtreak

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 67b90a079c39066aa9d51690fe5678c36ccbc258 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-38132: Simplify _hashopenssl code (GH-16023) (#16040) https://github.com/python/cpython/commit/67b90a079c39066aa9d51690fe5678c36ccbc258 ---

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 345bfc990f5f3e873774051d43136b06bfed82cb by Miss Islington (bot) in branch '3.8': bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033) https://github.com/python/cpython/commit/345bfc990f5f3e873774051d43136b06bfed82cb --

[issue35325] imp.find_module() return value documentation discrepancy

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

[issue38115] Invalid bytecode offsets in co_lnotab

2019-09-12 Thread Thomas Wouters
Thomas Wouters added the comment: As mentioned in the PR (GH-15970), I don't think we should fix this bug. We can, but it involves replacing PyCode_Optimize() (which is public but undocumented, with confusing refcount effects) with a stub, and very careful surgery on the code of the peephole

[issue9216] FIPS support for hashlib

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15666 pull_request: https://github.com/python/cpython/pull/16044 ___ Python tracker ___ _

[issue37935] Improve performance of pathlib.scandir()

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

[issue37935] Improve performance of pathlib.scandir()

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset f9dc2ad89032201427ed5f08061c703794627ad9 by Gregory P. Smith (Serhiy Storchaka) in branch 'master': bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (GH-15956) https://github.com/python/cpython/commit/f9dc2ad89032201427ed5f08

[issue38135] Depth first search in compile.c creates wrong BB order for certain CFG.

2019-09-12 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +15664 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16042 ___ Python tracker ___ ___

[issue38136] Remove AsyncMock.assert_awaited_*

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: IMO it gives a good segregation between other mocks and AsyncMock that using assert_awaited_* makes it explicit and to cause less confusion over whether this is an awaitable or a synchronous mock. I would favor in keeping the API. I also found it t

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15663 pull_request: https://github.com/python/cpython/pull/16041 ___ Python tracker ___

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a488879cbaf4b8b52699cadccf73bb4c271bcb29 by Andrew Svetlov in branch 'master': bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033) https://github.com/python/cpython/commit/a488879cbaf4b8b52699cadccf73bb4c271bcb29 -

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

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

[issue38132] Simplify hashlib implementation

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 5a4f82f457049b5b07b6fba4ca42bc1ecf597976 by Stéphane Wirtel (Christian Heimes) in branch 'master': bpo-38132: Simplify _hashopenssl code (GH-16023) https://github.com/python/cpython/commit/5a4f82f457049b5b07b6fba4ca42bc1ecf597976 -- no

[issue38132] Simplify hashlib implementation

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

[issue38136] Remove AsyncMock.assert_awaited_*

2019-09-12 Thread Lisa Roach
New submission from Lisa Roach : After some discussion about call_count vs await_count, I believe call_count should be counting when things are *awaited* (await foo()), not when they are *called* (foo()). I think people expect "calling" to execute the code and give them a return_value, whic

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread Steve Dower
Steve Dower added the comment: Ah, good catch, I didn't notice that. Because those are special cases, we should strip it off the version string. One day when we implement PEP 514 properly then they'll come back (and we'll probably drop the -64 suffix for consistency with the PEP). -

[issue26868] Document PyModule_AddObject's behavior on error

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset c8d1338441114fbc504625bc66607e7996018a5d by Miss Islington (bot) in branch '3.7': bpo-26868: Fix example usage of PyModule_AddObject. (GH-15725) https://github.com/python/cpython/commit/c8d1338441114fbc504625bc66607e7996018a5d --

[issue35325] imp.find_module() return value documentation discrepancy

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 14afe203d6937069c66b7e9c4a9fc0db49b32c19 by Miss Islington (bot) in branch '3.8': bpo-35325: Doc: imp.find_module() return value documentation discrepancy (GH-11040) https://github.com/python/cpython/commit/14afe203d6937069c66b7e9c4a9fc0db49b32

[issue26868] Document PyModule_AddObject's behavior on error

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 535863e3f599a6ad829204d83f144c91e44de443 by Miss Islington (bot) in branch '3.8': bpo-26868: Fix example usage of PyModule_AddObject. (GH-15725) https://github.com/python/cpython/commit/535863e3f599a6ad829204d83f144c91e44de443 -- nosy:

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread Eryk Sun
Eryk Sun added the comment: > -3.7-32-32 C:\Python37_x86\python.exe > -3.6-32-32 C:\Python36_x86\python.exe > -3.5-32-32 C:\Python35_x86\python.exe MAX_VERSION_SIZE was increased, so the INSTALLED_PYTHON version string is now the full registry key name with the "-32" suffix. If th

[issue38134] Remove copy of fast PBKDF2 algorithm

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

[issue35325] imp.find_module() return value documentation discrepancy

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 01b47c94ca8ef89c5ac5fda0ab1074e73234a738 by Miss Islington (bot) in branch '3.7': bpo-35325: Doc: imp.find_module() return value documentation discrepancy (GH-11040) https://github.com/python/cpython/commit/01b47c94ca8ef89c5ac5fda0ab1074e73234a

[issue38134] Remove copy of fast PBKDF2 algorithm

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 80e33655a264d75f9a6ffedfc60697c30f92bdfe by Miss Islington (bot) in branch '3.8': bpo-38134: Remove PKBDF2_HMAC_fast from _hashopenssl (GH-16028) https://github.com/python/cpython/commit/80e33655a264d75f9a6ffedfc60697c30f92bdfe -- nosy

[issue26868] Document PyModule_AddObject's behavior on error

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 224b8aaa7e8f67f748e8b7b6a4a77a25f6554651 by Stéphane Wirtel (Brandt Bucher) in branch 'master': bpo-26868: Fix example usage of PyModule_AddObject. (#15725) https://github.com/python/cpython/commit/224b8aaa7e8f67f748e8b7b6a4a77a25f6554651

[issue26868] Document PyModule_AddObject's behavior on error

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

[issue26868] Document PyModule_AddObject's behavior on error

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

[issue35325] imp.find_module() return value documentation discrepancy

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

[issue35325] imp.find_module() return value documentation discrepancy

2019-09-12 Thread Julien Palard
Julien Palard added the comment: New changeset 967b84c913c7b09ae2fc86272cb9373415e2beaf by Julien Palard (Windson yang) in branch 'master': bpo-35325: Doc: imp.find_module() return value documentation discrepancy (GH-11040) https://github.com/python/cpython/commit/967b84c913c7b09ae2fc86272cb

[issue35325] imp.find_module() return value documentation discrepancy

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

[issue38008] ContextManager and AsyncContextManager protocols can't be subclassed

2019-09-12 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- components: +Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker

[issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

2019-09-12 Thread Inada Naoki
Inada Naoki added the comment: $ ./python -m pyperf timeit --compare-to ./python-master 'dict()' python-master: . 89.9 ns +- 1.2 ns python: . 72.5 ns +- 1.6 ns Mean +- std dev: [python-master] 89.9 ns +- 1.2 ns -> [python] 72.5 ns +- 1.6 ns: 1.24x faste

[issue38134] Remove copy of fast PBKDF2 algorithm

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

[issue38134] Remove copy of fast PBKDF2 algorithm

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 64117e059b79236c7345bc9afc1cc707162411de by Gregory P. Smith (Christian Heimes) in branch 'master': bpo-38134: Remove PKBDF2_HMAC_fast from _hashopenssl (GH-16028) https://github.com/python/cpython/commit/64117e059b79236c7345bc9afc1cc707162411

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +15655 pull_request: https://github.com/python/cpython/pull/16033 ___ Python tracker ___ __

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. This looks like a valid change to me as I can see from the docstring it says it can be None but in the source code there is an explicit check that if self._local._loop which is returned is None then raise a RuntimeError. I wo

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 648494b44aad273590382c8db5a9d1a6c96ee67a by Miss Islington (bot) in branch '3.8': bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456) https://github.com/python/cpython/commit/648494b44aad273590382c8db5a9d1a6c96ee67a --

[issue35685] Add samples on patch.dict of the use of decorator and in class

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

[issue36191] pubkeys.txt contains bogus keys

2019-09-12 Thread Ned Deily
Ned Deily added the comment: (See later discussion and resolution in Issue37967.) -- nosy: +ned.deily ___ Python tracker ___ ___ Py

[issue36675] Doctest directives and comments missing from code samples

2019-09-12 Thread miss-islington
miss-islington added the comment: New changeset 94a684734f669eab02b5c915394b749ccf936449 by Miss Islington (bot) in branch '3.8': bpo-36675: Remove obsolete code. (GH-16024) https://github.com/python/cpython/commit/94a684734f669eab02b5c915394b749ccf936449 -- nosy: +miss-islington _

[issue35685] Add samples on patch.dict of the use of decorator and in class

2019-09-12 Thread Julien Palard
Julien Palard added the comment: New changeset 31a82e25b6044a5b5ee25246bad3eb7b873cf5ec by Julien Palard (Emmanuel Arias) in branch 'master': bpo-35685: Add examples of unittest.mock.patch.dict usage (GH-11456) https://github.com/python/cpython/commit/31a82e25b6044a5b5ee25246bad3eb7b873cf5ec

[issue35685] Add samples on patch.dict of the use of decorator and in class

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

[issue37669] Make mock_open return per-file content

2019-09-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Given that the enhancement can only land on 3.9 I guess it will be a good recipe on returning mock_open data for per file to be added to the unittest examples page. -- ___ Python tracker

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-09-12 Thread Michael Foord
Michael Foord added the comment: The previous behaviour was unspecified and clearly due to missing functionality, so the advantages of fixing it outweigh any potential compatibility issues. But I'd see it as a feature enhancement for 3.9. -- ___ P

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-09-12 Thread Michael Foord
Michael Foord added the comment: As discussed with Karthik, I think this is a nice feature enhancement for the wraps functionality and worth fixing. It has the great advantage that the fix is nice and isolated and simple. -- ___ Python tracker

[issue32008] Example suggest to use a TLSv1 socket

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi, I have merged the PR of Christian for master, 3.8 & 3.7 Thank you so much, -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.6 ___ Python tracker

[issue32008] Example suggest to use a TLSv1 socket

2019-09-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 1fc84b64f9f740f2dc089da1d061dfdd5b438d3c by Stéphane Wirtel in branch '3.8': [3.8] bpo-32008: Prefer client or TLSv1_2 in examples (GH-5797) (GH-16027) https://github.com/python/cpython/commit/1fc84b64f9f740f2dc089da1d061dfdd5b438d3c -

[issue38133] py.exe cannot locate Store package

2019-09-12 Thread Steve Dower
Steve Dower added the comment: Sample output after this change (some paths elided): Installed Pythons found by ...\py.exe Launcher for Windows (venv) C:\...\env\Scripts\python.exe * -3.8-64python3.8.exe -3.7-32-32 C:\Python37_x86\python.exe -3.7-64C:\Python37_x6

[issue36675] Doctest directives and comments missing from code samples

2019-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 2c910c1e732c9a3ec4c67a7c43d789d6c729304a by Gregory P. Smith (Julien Palard) in branch 'master': bpo-36675: Remove obsolete code. (GH-16024) https://github.com/python/cpython/commit/2c910c1e732c9a3ec4c67a7c43d789d6c729304a -- nosy: +

<    1   2   3   >