[issue36869] Avoid warning of unused variables

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: PR 13182 has been merged, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[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:

[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

[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

[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

[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)

[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:

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

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: Hi, Steve. I've created a backport for 2.7 (PR 15822). Please take a look. -- ___ Python tracker ___

[issue36869] Avoid warning of unused variables

2019-09-10 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35381] posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types

2019-09-10 Thread Eddie Elizondo
Change by Eddie Elizondo : -- pull_requests: +15533 pull_request: https://github.com/python/cpython/pull/15892 ___ Python tracker ___

[issue29171] blake2: Remove unused function to avoid undefined references

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that this was fixed as part of bpo-37055 / b27cbec801e17a13d7fef49116a8fc279930d2b1. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue25753] Reference leaks in test_smtplib

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: I cannot reproduce these leaks. I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[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)

[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

[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 ___

[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 ___ ___

[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 ___

[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 ___

[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 ___

[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

[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)

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Anthony Sottile, steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 122bbf7f8ac2cef4368e3601af593a027dc62ccf by Julien Palard (Miss Islington (bot)) in branch '3.7': bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) (GH-15845)

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

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: async_case passes loop parameter to the queue used to collect tests and this causes below DeprecationWarning with last change over deprecation in queues and locks API. ./python.exe -m unittest Lib.unittest.test.test_async_case

[issue38090] test_ctypes is leaking references

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

[issue38090] test_ctypes is leaking references

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

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Thanks Pablo! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 5cf8155bbd2c65572295b26e96c221763b3322f0 by Julien Palard (Miss Islington (bot)) in branch '3.8': bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) (GH-15846)

[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 --

[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 ___

[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

[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 ___

[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 ___

[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 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)

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +15499 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15850 ___ Python tracker ___

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

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset c43f26eca35f22707a52fb8f3fbfc9340639b58d by Miss Islington (bot) in branch '3.8': closes bpo-25461: Update os.walk() docstring to match the online docs. (GH-11836)

[issue37913] Document that __length_hint__ may return NotImplemented

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15507 pull_request: https://github.com/python/cpython/pull/15860 ___ Python tracker ___

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

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

[issue38095] Multi-threaded circular import fails with _DeadlockError when using importlib

2019-09-10 Thread Ronan Lamy
New submission from Ronan Lamy : The IMPORT_NAME bytecode has a fast path calling PyImport_ImportModuleLevelObject() that behaves differently from importlib. In particular, test_circular_imports() in test_threaded_import.py fails due to a _DeadlockError if you replace some import statements

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Windows is definitely affected, and you can run the repro in my first post to check other platforms. -- ___ Python tracker ___

[issue38047] multiarch headers are added when cross compiling

2019-09-10 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

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

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

2019-09-10 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 7d952ded6813c896ea3f4234bb8db5247dcb5484 by Stefan Behnel (Gordon P. Hemsley) in branch 'master': bpo-32424: Deprecate xml.etree.ElementTree.Element.copy() in favor of copy.copy() (GH-12995)

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

2019-09-10 Thread Stefan Behnel
Stefan Behnel added the comment: Let's just deprecate it directly (in Py3.9, I guess), given that it was never documented. -- ___ Python tracker ___

[issue36876] Global C variables are a problem.

2019-09-10 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +15518 pull_request: https://github.com/python/cpython/pull/15877 ___ Python tracker ___

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: > Windows is definitely affected, and you can run the repro in my first post to > check other platforms. Oh right, I can also reproduce the issue on Linux. But I don't understand why test_multiprocessing_spawn works on all platforms, but only fails on

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

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 494b61aeec8e583755c8ff3a147a58657353bbc3 by Victor Stinner in branch '3.7': [3.7] bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) (GH-15874) https://github.com/python/cpython/commit/494b61aeec8e583755c8ff3a147a58657353bbc3

[issue38089] Make macOS tests optional on Azure Pipelines

2019-09-10 Thread Zachary Ware
Zachary Ware added the comment: New changeset 801f925998cc393260f36f5ac77369fef2373ad1 by Zachary Ware (Steve Dower) in branch 'master': bpo-38089: Move Azure Pipelines to latest VM versions and make macOS tests optional (GH-15851)

[issue38089] Make macOS tests optional on Azure Pipelines

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

[issue38089] Make macOS tests optional on Azure Pipelines

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

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

2019-09-10 Thread Sangeeta M Chauhan
Sangeeta M Chauhan added the comment: Sir, I was expecting that the precedence should be given to relational operator ( 7>"str") and according to that instead of printing 9 it should give error. On Mon, Sep 9, 2019 at 8:38 PM Tim Peters wrote: > > Tim Peters added the comment: > >

[issue28237] In xml.etree.ElementTree bytes tag or attributes raises on serialization

2019-09-10 Thread Stefan Behnel
Stefan Behnel added the comment: Arguably, writing out "b'x'" as attribute name instead of raising an exception isn't ideal. However, OTOH, I think it's reasonable to accept anything that is serialisable as a string, not just strings. That makes it difficult to draw a line. In any case,

[issue33418] Memory leaks in functions

2019-09-10 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > It looks like a bug triggered on purpose. Absolutely. It's one of the many small issues that I found while working on PEP 590 and related things. -- ___ Python tracker

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

2019-09-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: Answered in https://github.com/python/cpython/pull/15889 -- ___ Python tracker ___ ___

[issue38043] small cleanups in Unicode normalization code

2019-09-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is mostly harmless but I'm concerned that we're encouraging a new Python developer to: * churn code in mostly minor ways, irrelevant to users * altering code long known to be stable, increasing the risk of introducing new bugs or performance

[issue32972] unittest.TestCase coroutine support

2019-09-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks! The test case re-creates a loop per test for the sake of test isolation (scheduled activities from test_a() don't interleave with test_b()). Unfortunately, on the class level level (setUpClass()/tearDownClass()) the loop doesn't exits. There are

[issue5714] http.server._url_collapse_path should live elsewhere

2019-09-10 Thread Tahia K
Change by Tahia K : -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11664] Add patch method to unittest.TestCase

2019-09-10 Thread Tahia K
Change by Tahia K : -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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)

[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 ___

[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 ___

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +15497 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15848 ___ Python tracker

[issue38054] enhance pdb.set_trace() to run when the specified condition is true

2019-09-10 Thread Alexander Ulyanov
Alexander Ulyanov added the comment: Perhaps it's a matter of preference. I found it convenient, since passing in a boolean expression allows me to get rid of extra if-blocks thus reducing lines of code and increasing debugging speed. I wanted to share my idea with the community - but

[issue38066] Hide internal asyncio.Stream methods

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

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Yeah, very strange that. I can only assume that it's launching the venv redirector directly, rather than the real sys.executable, and we aren't ever calling set_executable() with the real one anymore. Dropping this into Lib/multiprocessing/spawn.py should

[issue36781] Optimize sum() for bools

2019-09-10 Thread Dino Viehland
Dino Viehland added the comment: Sorry, it seemed like a perfectly reasonable change when I was looking at the PR! -- ___ Python tracker ___

[issue38087] test_ntpath must account for casing changes

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

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset 206e4c3d3547b024935ea9655f960061dffbb80f by Steve Dower in branch '3.8': bpo-38087: Fix case sensitivity in test_pathlib and test_ntpath (GH-15850) https://github.com/python/cpython/commit/206e4c3d3547b024935ea9655f960061dffbb80f --

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

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is it okay to have _asyncio_internal keyword with default value as False and the places where it's used internally in stdlib like AsyncMock (Condition), async_case (Queue) and other tests we can pass in True? I have a patch if that would be a good

[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 ___

[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 ___

[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)

[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:

[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

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-10 Thread Pierre Glaser
New submission from Pierre Glaser : If I am not mistaken, when creating a new process on Python3.7 and later on Windows, if using a virtualenv, Python now uses a launcher. The launcher is being notified that it must create a virtual-environment Python (and not a system Python) program using

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset a511c7a4961a684db1f8d0ed438822d87d7d3dcf by Steve Dower (Pablo Galindo) in branch 'master': bpo-38090: Fix reference leak in ceval.c (GH-15848) https://github.com/python/cpython/commit/a511c7a4961a684db1f8d0ed438822d87d7d3dcf --

[issue36781] Optimize sum() for bools

2019-09-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I was going to withdraw this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37913] Document that __length_hint__ may return NotImplemented

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset 009ef2955d91e04f62a7159a1c7ddaddbfedc3b6 by Steve Dower (Jeroen Demeyer) in branch 'master': bpo-37913: document that __length_hint__ can return NotImplemented (GH-15383)

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset 0d7e6a6d2d9e564d670efb6e3705598846de188d by Steve Dower in branch '3.7': bpo-38087: Fix case sensitivity in test_pathlib and test_ntpath (GH-15850) https://github.com/python/cpython/commit/0d7e6a6d2d9e564d670efb6e3705598846de188d --

[issue16079] list duplicate test names with patchcheck

2019-09-10 Thread Ned Deily
Ned Deily added the comment: The open proposed PR for this issue has been languishing unreviewed for several months now. Since the proposal is really a request to change our development process, I'm nosying Brett and Ɓukasz (3.9 RM). In any case, if we would decide to add this to our CI, I

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset 45bc3928e232603a97451dea3106d824b0f7a392 by Steve Dower (Miss Islington (bot)) in branch '3.8': bpo-38090: Fix reference leak in ceval.c (GH-15848) https://github.com/python/cpython/commit/45bc3928e232603a97451dea3106d824b0f7a392 --

[issue37913] Document that __length_hint__ may return NotImplemented

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset ed99bb9ca68b37cfaec3629afa67d70289f3ffc7 by Steve Dower in branch '3.8': bpo-37913: document that __length_hint__ can return NotImplemented (GH-15383) https://github.com/python/cpython/commit/ed99bb9ca68b37cfaec3629afa67d70289f3ffc7 --

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

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: I reverted the change which added func_clear() to get more time to investigate this bug: New changeset ccaea525885e41c5f1e566bb68698847faaa82ca by T. Wouters (Victor Stinner) in branch '3.8': Revert "bpo-33418: Add tp_clear for function object (GH-8058)"

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

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset 2ed0ac6bf17d599bc246c513c32710c154e50a64 by Steve Dower (Miss Islington (bot)) in branch '3.8': bpo-38088: Fixes distutils not finding vcruntime140.dll with only v142 toolset installed (GH-15849)

  1   2   3   >