[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 25122b2cf9b55f67572dd454b6809e1f62f78f39 by Miss Islington (bot) in branch '3.10': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/25122b2cf9b55f67572dd454b6809e1f62f78f39 -- _

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 43bab0537ceb6e2ca3597f8f3a3c79733b897434 by Miss Islington (bot) in branch '3.9': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/43bab0537ceb6e2ca3597f8f3a3c79733b897434 -- __

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks both of you for the fix and clean patch. I wonder if doctest should have picked up these, but this would be another issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue44908] recommend httpx as well as requests in http.client/urllib.request docs

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with linking anything is that it inspires requests like this. We don't hand out links like candy. I think the intent was to maybe link one package if in some sense the standard alternative. I don't know the protocol for adding more. Likely som

[issue44911] Leaked tasks cause IsolatedAsyncioTestCase to throw an exception

2021-08-13 Thread Bar Harel
New submission from Bar Harel : Writing a test that leaks a running asyncio task will cause IsolatedAsyncioTestCase to crash while attempting to cancel. Seems like the loop argument wasn't removed from the usage of asyncio.gather() in IsolatedAsyncioTestCase._tearDownAsyncioLoop Pushing a fi

[issue44911] Leaked tasks cause IsolatedAsyncioTestCase to throw an exception

2021-08-13 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch pull_requests: +26241 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27765 ___ Python tracker ___ __

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, I tried myself, and setting PYTHONHASHSEED didn't make the failures deterministic. -- ___ Python tracker ___ __

[issue44863] Allow TypedDict to inherit from Generics

2021-08-13 Thread Guido van Rossum
Guido van Rossum added the comment: See also https://github.com/python/mypy/issues/3863 -- ___ Python tracker ___ ___ Python-bugs-l

[issue44892] [configparser] Module configparser fails when the file contains a "%" inside a commentary

2021-08-13 Thread Diego Ramirez
Diego Ramirez added the comment: I would like to give a better explanation of the issue (maybe the previous explanation was unclear). A user reported to Pip that, when he used a "setup.cfg" file, the configparser module crashed (as I said above). The file contained a percentage character (%)

[issue39039] zlib.error with tarfile.open

2021-08-13 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch nosy: +jack__d nosy_count: 3.0 -> 4.0 pull_requests: +26242 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27766 ___ Python tracker _

[issue44800] Code readability: rename InterpreterFrame to `_Py_framedata`

2021-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: PR has been updated with a new API proposal prompted by Mark's review comments on the original proposal. * Rename "pycore_frame.h" to "pycore_framedata.h" * Rename the _interpreter_frame struct to _Py_execution_frame * Rename the type from InterpreterFrame to _

[issue44800] Code readability: rename InterpreterFrame to `_Py_framedata`

2021-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: >From a naming convention perspective, the code comments and NEWS entry in the >PR now refer to "full frame objects" (``PyFrameObject``) and "frame data >storage structs" (``_Py_framedata``) to avoid giving the misleading impression >that introspection and exe

[issue44912] doc: macOS supports os.fsync(fd)

2021-08-13 Thread Ma Lin
New submission from Ma Lin : The doc of os.fsync() said: Availability: Unix, Windows. https://docs.python.org/3.11/library/os.html#os.fsync But it seems that macOS supports fsync. (I'm not a macOS user) -- assignee: docs@python components: Documentation, macOS messages: 399583 nosy

[issue44912] doc: macOS supports os.fsync(fd)

2021-08-13 Thread Ma Lin
Ma Lin added the comment: Unix includes macOS. Very sorry, close as invalid. -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue40899] Document exceptions raised by importlib.import

2021-08-13 Thread meowmeowcat
Change by meowmeowcat : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

<    1   2