[issue38082] datetime.time object incorrectly shows associated date in strftime() output

2019-09-10 Thread Abhisek Maiti
New submission from Abhisek Maiti : ` from datetime import time t = time(13, 5, 45) ` While `t.year`, `t.month` and `t.day` results into `AttributeError` the following: ` t.strftime('%Y : %B : %d - %H : %M : %S') ` generates: ` 1900 : January : 01 - 13 : 05 : 45 ` This is unexpected behavior s

[issue37936] gitignore file is too broad

2019-09-10 Thread Greg Price
Change by Greg Price : -- pull_requests: +15472 pull_request: https://github.com/python/cpython/pull/15823 ___ Python tracker ___ __

[issue37936] gitignore file is too broad

2019-09-10 Thread Greg Price
Greg Price added the comment: Thanks @zach.ware for the review and merge of GH-15451! That was the "minimal" fix, fixing rules that apply to files we have in the repo now. So `rg` will no longer ignore `PC/pyconfig.h`. :-) I've just sent GH-15823 with the "more thorough" fix on top of that,

[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : * Use the const qualifier for constant C strings. This will save memory for their copy in a modifiable memory. * Intern field and attribute names. This will save time, as comparing interned strings is faster. * Temporary incref a borrowed reference to a l

[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +15473 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15824 ___ Python tracker ___

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

2019-09-10 Thread Александр Семенов
Александр Семенов added the comment: It breaks setuptools.sandbox.DirectorySandbox.__init__() with default param 'exceptions' which includes os.devnull and calls os.path.realpath() on it. So, many distributions crashes. -- ___ Python tracker

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

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset d4391aa5eb4767e19b7b380a836413e7c47f1fb4 by Miss Islington (bot) in branch '3.8': bpo-37383: Updates docs to reflect AsyncMock call_count after await. (GH-15761) https://github.com/python/cpython/commit/d4391aa5eb4767e19b7b380a836413e7c47f1fb4

[issue37662] Document venv.EnvBuilder.upgrade_dependencies()

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb by Miss Islington (bot) in branch '3.8': bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768) https://github.com/python/cpython/commit/74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb --

[issue36511] Add Windows ARM32 buildbot

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: I rejected PR 14244 because there are now many conflicts: the commit f355069a3337711642c3403429afb9faef93f512 should be backported manually to Python 3.8. -- ___ Python tracker

[issue38082] datetime.time object incorrectly shows associated date in strftime() output

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

[issue33418] Memory leaks in functions

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

[issue33418] Memory leaks in functions

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: "f.__doc__ = f" or "f.__module__ = f" don't make any sense. It looks like a bug triggered on purpose. While it's bad, it's not a big deal. The fix (commit 3c452404ae178b742967589a0bb4a5ec768d76e0) is causing way worse issues than the "artificial" memory leak

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

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: Steve: Would you mind to open a separated issue for the multiprocessing bug? multiprocessing is supposed to handle this case. -- ___ Python tracker

[issue36338] urlparse of urllib returns wrong hostname

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: To be clear, the \ in 'http://benign.com\[attacker.com]' is not needed to reproduce the bug: vstinner@apu$ python3 Python 3.7.4 (default, Jul 9 2019, 16:32:37) >>> from urllib.parse import urlparse; >>> print(urlparse('http://demo.com[attacker.com]').host

[issue36338] urlparse of urllib returns wrong hostname

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: Python 3.5 and newer are impacted, but Python 2.7 behaves differently: vstinner@apu$ python2 Python 2.7.16 (default, Apr 30 2019, 15:54:43) >>> from urlparse import urlparse >>> urlparse('http://demo.com[attacker.com]').hostname 'emo.com[attacker.com' --

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset b4fb2c29f34c322855ab6be72b491930cf508f64 by Steve Dower in branch '3.7': bpo-35941: Fix performance regression in SSL certificate code (GH-12610) https://github.com/python/cpython/commit/b4fb2c29f34c322855ab6be72b491930cf508f64 -- __

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

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing since docs are updated. Thank you Lisa. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37597] audit event table breaks PDF sphinx build

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- assignee: -> mdk keywords: +patch pull_requests: +15475 resolution: -> fixed stage: -> patch review status: open -> closed pull_request: https://github.com/python/cpython/pull/15739 ___ Python tracker

[issue37597] audit event table breaks PDF sphinx build

2019-09-10 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25237] Add doc for tkinter commondialog.Dialog and subclasses

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 80428ed4e19b31071433806b4d89465c88e084c6 by Julien Palard (Nikhil) in branch 'master': bpo-25237: Documentation for tkinter modules (GH-1870) https://github.com/python/cpython/commit/80428ed4e19b31071433806b4d89465c88e084c6 -- nosy: +md

[issue25237] Add doc for tkinter commondialog.Dialog and subclasses

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

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread Steve Dower
New submission from Steve Dower : Imitation repro: import os from multiprocessing import Pool def f(x): os._exit(0) return "success" if __name__ == '__main__': with Pool(1) as p: print(p.map(f, [1])) Obviously a process may crash for various other reasons besides os._exi

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

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Filed as issue38084 I recommend not investigating this issue any further until that one is resolved. -- ___ Python tracker ___

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset fdd17abc51e363ab19d248375d717512b8b26966 by Steve Dower in branch '3.8': bpo-35941: Fix performance regression in SSL certificate code (GH-12610) https://github.com/python/cpython/commit/fdd17abc51e363ab19d248375d717512b8b26966 -- __

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

2019-09-10 Thread Vinay Sajip
Vinay Sajip added the comment: > are we here to punish people No, that's not what I'm saying. But it's not a priority to support situations where people don't follow published APIs and still expect things to work the way they would like. I would prefer people to use setLevel(), as it helps t

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Steve Dower
Steve Dower added the comment: That's 3.7 and later dealt with. Apparently this needs a backport to 2.7 still, so I'll leave the bug open. -- stage: patch review -> backport needed versions: -Python 3.7, Python 3.8 ___ Python tracker

[issue38085] Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results

2019-09-10 Thread xitop
New submission from xitop : An exception in __init__subclass__ leads under certain circumstances to wrong isinstance() and issubclass() results. The exception probably leaves Python internal data in inconsistent state. Here is a demonstration program from Stack Overflow: --- begin -- from ab

[issue38043] small cleanups in Unicode normalization code

2019-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 1ad0c776cb640be9f19c8019bbf34bb4aba312ad by Benjamin Peterson (Greg Price) in branch 'master': bpo-38043: Move unicodedata.normalize tests into test_unicodedata. (GH-15712) https://github.com/python/cpython/commit/1ad0c776cb640be9f19c8019bbf3

[issue38082] datetime.time object incorrectly shows associated date in strftime() output

2019-09-10 Thread Paul Ganssle
Paul Ganssle added the comment: Hi Abhisek, This is actually the expected / intended behavior, and it is documented under "strptime() and strftime() behavior": https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior (which is linked to by the time.strftime documentation:

[issue37725] "make clean" should remove PGO task data

2019-09-10 Thread Dino Viehland
Dino Viehland added the comment: New changeset c6bbcd258302b4b9b3d4f3c39bb5f7ff0120ec67 by Dino Viehland (Neil Schemenauer) in branch 'master': bpo-37725: have "make clean" remove PGO task data (#15033) https://github.com/python/cpython/commit/c6bbcd258302b4b9b3d4f3c39bb5f7ff0120ec67 --

[issue37683] Use importlib.resources in venv

2019-09-10 Thread Vinay Sajip
Vinay Sajip added the comment: > 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, but contributions are welcome! In case anyone is interested, I've already done this

[issue33418] Memory leaks in functions

2019-09-10 Thread Inada Naoki
Inada Naoki added the comment: I'm OK to revert it in 3.8. But I am worrying about func.func_closure. Can it create cyclic reference in real life applications? -- ___ Python tracker __

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread Lisa Roach
Change by Lisa Roach : -- pull_requests: +15476 pull_request: https://github.com/python/cpython/pull/15830 ___ Python tracker ___ __

[issue33418] Memory leaks in functions

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset ccaea525885e41c5f1e566bb68698847faaa82ca by T. Wouters (Victor Stinner) in branch '3.8': Revert "bpo-33418: Add tp_clear for function object (GH-8058)" (GH-15826) https://github.com/python/cpython/commit/ccaea525885e41c5f1e566bb68698847faaa82ca

[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 43c9731334470573209464b7f67914d386457efc by T. Wouters (Serhiy Storchaka) in branch 'master': bpo-38083: Minor improvements in asdl_c.py and Python-ast.c. (GH-15824) https://github.com/python/cpython/commit/43c9731334470573209464b7f67914d386457e

[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: This doesn't feel like a change that's worth backporting to 3.8 at this point. Do you agree? Is there anything left to do for this bug? -- ___ Python tracker __

[issue38076] Make struct module PEP-384 compatible

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 4f384af067d05b16a554bfd976934fca9f87a1cf by T. Wouters (Dino Viehland) in branch 'master': bpo-38076: Make struct module PEP-384 compatible (#15805) https://github.com/python/cpython/commit/4f384af067d05b16a554bfd976934fca9f87a1cf -- n

[issue30587] Mock with spec object does not ensure method call signatures

2019-09-10 Thread Michael Foord
Michael Foord added the comment: I'd like spec to have signature validation. I don't think the use case for "attribute validation only" (current spec behaviour) is very strong and I'd rather not add new keywords. The mock API is already too complex. I'll take the existing PR and modify it to

[issue38074] Make zlib PEP-384 compatible

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset a1ffad07195b8b976f8c371a92028240946d4e76 by T. Wouters (Dino Viehland) in branch 'master': bpo-38074: Make zlib extension module PEP-384 compatible (GH-15792) https://github.com/python/cpython/commit/a1ffad07195b8b976f8c371a92028240946d4e76 --

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

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

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

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

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-09-10 Thread Lisa Roach
Lisa Roach added the comment: I think this is a great addition! Ezio and I were chatting about trying to add an example where the child mocks are also AsyncMocks, since by default they will be MagicMocks. Adding him to nosy. -- nosy: +ezio.melotti ___

[issue38071] Make termios PEP-384 compatible

2019-09-10 Thread Thomas Wouters
New submission from Thomas Wouters : New changeset bd0c7a12d9e28ce74bfc16244d7694aca906838c by T. Wouters (Dino Viehland) in branch 'master': bpo-38071: Make termios PEP-384 compatible (GH-15785) https://github.com/python/cpython/commit/bd0c7a12d9e28ce74bfc16244d7694aca906838c -- nos

[issue38072] Make grp module PEP-384 compatible

2019-09-10 Thread Thomas Wouters
New submission from Thomas Wouters : New changeset 40a5313edfc18173d136bb5e19495880934b7d83 by T. Wouters (Dino Viehland) in branch 'master': bpo-38072: PEP-384 grpmodule (GH-15788) https://github.com/python/cpython/commit/40a5313edfc18173d136bb5e19495880934b7d83 -- nosy: +twouters

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset c8dfa7333d6317d7cd8c5c7366023f5a668e3f91 by Miss Islington (bot) (Xtreak) in branch 'master': bpo-37052: Add examples for mocking async iterators and context managers (GH-14660) https://github.com/python/cpython/commit/c8dfa7333d6317d7cd8c5c736

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

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

[issue38068] clean up configure logic for gettimeofday

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset f1c19031fd5f4cf6faad539e30796b42954527db by T. Wouters (Benjamin Peterson) in branch 'master': bpo-38068: Clean up gettimeofday configure logic. (GH-15775) https://github.com/python/cpython/commit/f1c19031fd5f4cf6faad539e30796b42954527db -

[issue36971] Add subsections in C API "Common Object Structures" page

2019-09-10 Thread Dino Viehland
Dino Viehland added the comment: New changeset 9669931e5e76cf4b6ae6d3d66e699b5fd6ffe931 by Dino Viehland (Jeroen Demeyer) in branch 'master': bpo-36971: add subsections in C API "Common Object Structures" page (#13446) https://github.com/python/cpython/commit/9669931e5e76cf4b6ae6d3d66e699b5fd

[issue30587] Mock with spec object does not ensure method call signatures

2019-09-10 Thread Michael Foord
Michael Foord added the comment: This will affect spec and spec_set. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

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

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 537877d85d1c27d2c2f5189e39da64a7a0c413d3 by Miss Islington (bot) (Emmanuel Arias) in branch 'master': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [locks] (GH-13920) https://github.com/python/cpython/commit/537877d85

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

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

[issue38069] Make _posixsubprocess PEP-384 compatible

2019-09-10 Thread miss-islington
New submission from miss-islington : New changeset 5a7d2e11aaea2dd32878dc5c6b1aae8caf56cb44 by Miss Islington (bot) (Dino Viehland) in branch 'master': bpo-38069: Convert _posixsubprocess to PEP-384 (GH-15780) https://github.com/python/cpython/commit/5a7d2e11aaea2dd32878dc5c6b1aae8caf56cb44

[issue38069] Make _posixsubprocess PEP-384 compatible

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

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset ab74e52f768be5048faf2a11e78822533afebcb7 by Miss Islington (bot) in branch '3.8': bpo-37052: Add examples for mocking async iterators and context managers (GH-14660) https://github.com/python/cpython/commit/ab74e52f768be5048faf2a11e78822533afeb

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

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

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

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

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread Lisa Roach
Lisa Roach added the comment: New changeset f1a297acb60b88917712450ebd3cfa707e6efd6b by Lisa Roach in branch 'master': bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830) https://github.com/python/cpython/commit/f1a297acb60b88917712450ebd3cfa707e6efd6b -- _

[issue38074] Make zlib PEP-384 compatible

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

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ _

[issue38071] Make termios PEP-384 compatible

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

[issue38072] Make grp module PEP-384 compatible

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

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread Lisa Roach
Change by Lisa Roach : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue38076] Make struct module PEP-384 compatible

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

[issue37499] test_gdb.test_pycfunction should use dedicated test functions

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset f958377b67c36a98d4df67b94c01eb29e3104f61 by Miss Islington (bot) (Petr Viktorin) in branch 'master': bpo-37499: Test various C calling conventions (GH-15776) https://github.com/python/cpython/commit/f958377b67c36a98d4df67b94c01eb29e3104f61 ---

[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 57ea33560662e0f20a3b0334bb20065771edf4da by T. Wouters (Jeroen Demeyer) in branch 'master': bpo-37619: update_one_slot() should not ignore wrapper descriptors for wrong type (GH-14836) https://github.com/python/cpython/commit/57ea33560662e0f20a

[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

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

[issue38075] Make random module PEP-384 compatible

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

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

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset bb8fc8bd309419c159b632068dff73c3c76d478c by Miss Islington (bot) in branch '3.8': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [locks] (GH-13920) https://github.com/python/cpython/commit/bb8fc8bd309419c159b632068dff73

[issue38073] Make pwd module PEP-384 compatible

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue38075] Make random module PEP-384 compatible

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes resolution: fixed -> stage: resolved -> patch review status: closed -> open ___ Python tracker ___

[issue38086] Synchronize importlib.metadata with importlib_metadata 0.21

2019-09-10 Thread Jason R. Coombs
New submission from Jason R. Coombs : Importlib_metadata 0.21 has been released (technically releasing at this moment). This issue serves as an anchor to incorporate those changes (https://gitlab.com/python-devs/importlib_metadata/blob/4b86813ecf7e40e6d553976e3f5604f90d475fb4/importlib_metadat

[issue22273] abort when passing certain structs by value using ctypes

2019-09-10 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +15484 pull_request: https://github.com/python/cpython/pull/15839 ___ Python tracker ___ _

[issue16575] ctypes: unions as arguments

2019-09-10 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +15485 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15839 ___ Python tracker _

[issue16576] ctypes: structure with bitfields as argument

2019-09-10 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +15486 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15839 ___ Python tracker ___ _

[issue38086] Synchronize importlib.metadata with importlib_metadata 0.21

2019-09-10 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +15487 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15840 ___ Python tracker _

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

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

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

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 9008be303a89bfab8c3314c6a42330b5523adc8b by Miss Islington (bot) (Emmanuel Arias) in branch 'master': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [queue] (GH-13950) https://github.com/python/cpython/commit/9008be303a

[issue38075] Make random module PEP-384 compatible

2019-09-10 Thread Dino Viehland
Dino Viehland added the comment: There's several different reasons why these changes are beneficial. It'll help make the modules more compatible with PEP 554 in the future, enable more code re-use across Python VMs, reduce code maintenance going forward, and may also help with performance o

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I will open a separate PR as discussed around mocking a class with an async method which is patched with AsyncMock. Meanwhile a method that returns a coroutine is patched with a MagicMock and needs to be explicitly mocked with an AsyncMock as new i

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

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

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2019-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 734f1202a50641eb2c4bfbcd5b75247c1dc99a8f by Benjamin Peterson (Bernt Røskar Brenna) in branch 'master': closes bpo-25461: Update os.walk() docstring to match the online docs. (GH-11836) https://github.com/python/cpython/commit/734f1202a50641e

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

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

[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset eb1bc48c74f4f8af88b5276729f9652201e46324 by T. Wouters (Miss Islington (bot)) in branch '3.8': bpo-37619: update_one_slot() should not ignore wrapper descriptors for wrong type (GH-15838) https://github.com/python/cpython/commit/eb1bc48c74f4f8a

[issue38066] Hide internal asyncio.Stream methods

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 12c122ae958a55c9874ed4c7d7805ceb084411d7 by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-38066: Hide internal Stream methods (GH-15762) https://github.com/python/cpython/commit/12c122ae958a55c9874ed4c7d7805ceb084411d7

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

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 55daf1a56163e0673654712bb92ce47a9b6f7be3 by Miss Islington (bot) in branch '3.8': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [queue] (GH-13950) https://github.com/python/cpython/commit/55daf1a56163e0673654712bb92ce4

[issue38073] Make pwd module PEP-384 compatible

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset b7f8e52433b656a6a524229fd7a65e4682a43729 by Miss Islington (bot) (Dino Viehland) in branch 'master': bpo-38073: Make pwd module PEP-384 compatible (GH-15790) https://github.com/python/cpython/commit/b7f8e52433b656a6a524229fd7a65e4682a43729 ---

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 9a94093189417a6b59d6c80cc5544630c8aa by Julien Palard (Arun Persaud) in branch 'master': bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) https://github.com/python/cpython/commit/9a94093189417a6

[issue14143] test_ntpath failure on Windows

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___ _

[issue21018] [patch] added missing documentation about escaping characters for configparser

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

[issue21018] [patch] added missing documentation about escaping characters for configparser

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

[issue17667] Windows: build with "build_pgo.bat -2" fails to optimize python.dll

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
Julien Palard added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38066] Hide internal asyncio.Stream methods

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

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
New submission from Steve Dower : Tests in test_ntpath that go via the actual file system (e.g. via realpath()) need to allow for the case of the path potentially changing. -- assignee: steve.dower components: Windows messages: 351636 nosy: paul.moore, steve.dower, tim.golden, zach.war

[issue38088] distutils cannot locate vcruntime140.dll with only VS 2019 installed

2019-09-10 Thread Steve Dower
New submission from Steve Dower : Because we are only looking for the VC141 redistributable, if we only have VC142 available then we won't find it. We should expand the glob() call to allow VC14?\vcruntime140.dll. -- assignee: steve.dower components: Distutils, Windows messages: 35163

[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: I don't think this should be backported to 3.7 at this point; if you disagree feel free to reopen the bug. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38089] Make macOS tests optional on Azure Pipelines

2019-09-10 Thread Steve Dower
New submission from Steve Dower : Avoid blocking PRs because of random macOS failures (such as in issue37245). Also reduce the timeout. -- assignee: steve.dower components: Build messages: 351639 nosy: steve.dower priority: normal pull_requests: 15496 severity: normal status: open titl

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : test_ctypes leaked [22, 22, 22] references, sum=66 3 tests failed again: test_ctypes test_import test_importlib https://buildbot.python.org/all/#/builders/1/builds/710 -- components: Tests messages: 351640 nosy: pablogsal priority: norma

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting points to commit 65366bc8bdc4716ebc361e622590b45a6e5aef07 -- ___ Python tracker ___

[issue20490] Show clear error message on circular import

2019-09-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This PR introduced a reference leak tracked in: https://bugs.python.org/issue38090 -- nosy: +pablogsal ___ Python tracker ___ ___

  1   2   3   >