[issue44859] Improve some sqlite3 errors

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 4674fd4e938eb4a29ccd5b12c15455bd2a41c335 by Erlend Egeberg Aasland in branch 'main': bpo-44859: Raise more accurate exceptions in `sqlite3` (GH-27695) https://github.com/python/cpython/commit/4674fd4e938eb4a29ccd5b12c15455bd2a41c335

[issue47040] Remove an invalid versionchanged in doc

2022-03-16 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch pull_requests: +30046 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31955 ___ Python tracker ___

[issue47041] requests module parse url failed

2022-03-16 Thread yonghao hu
New submission from yonghao hu : Run the following code or report an error, and the URL is a normal URL: ''' python3 -c "import requests;requests.get('http://183.246.199.100:8321')" ''' Error code: ''' requests.exceptions.InvalidURL: Failed to parse:

[issue47040] Remove an invalid versionchanged in doc

2022-03-16 Thread Ma Lin
New submission from Ma Lin : Since CPython 3.0.0, the checksums are always truncated to `unsigned int`: https://github.com/python/cpython/blob/v3.0/Modules/zlibmodule.c#L930 https://github.com/python/cpython/blob/v3.0/Modules/zlibmodule.c#L950 -- assignee: docs@python components:

[issue43224] Add support for PEP 646

2022-03-16 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- pull_requests: +30045 pull_request: https://github.com/python/cpython/pull/31954 ___ Python tracker ___

[issue46480] Implement typing.assert_type

2022-03-16 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46480] Implement typing.assert_type

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 96568e995d840c66edb25b6b9d85e4dcccf5a936 by Jelle Zijlstra in branch 'main': bpo-46480: add typing.assert_type (GH-30843) https://github.com/python/cpython/commit/96568e995d840c66edb25b6b9d85e4dcccf5a936 --

[issue22859] unittest.TestProgram.usageExit no longer invoked

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: It is now marked deprecated, to be removed in 3.13. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22859] unittest.TestProgram.usageExit no longer invoked

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 7c353b7594545fb9403b3123a17ad06cadc2f73d by Carlos Damazio in branch 'main': bpo-22859: deprecate unittest.main.TestProgram.usageExit (GH-30293) https://github.com/python/cpython/commit/7c353b7594545fb9403b3123a17ad06cadc2f73d --

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
miss-islington added the comment: New changeset ba76f901923d80ad9b24bb1636aa751d55e0c768 by Miss Islington (bot) in branch '3.10': bpo-47038: Increase a test timeout for slow CI machines (GH-31951) https://github.com/python/cpython/commit/ba76f901923d80ad9b24bb1636aa751d55e0c768 --

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
miss-islington added the comment: New changeset 4e9bb27eaeb8bedcec6f25f4345824b50fc25337 by Miss Islington (bot) in branch '3.9': bpo-47038: Increase a test timeout for slow CI machines (GH-31951) https://github.com/python/cpython/commit/4e9bb27eaeb8bedcec6f25f4345824b50fc25337 --

[issue47039] Normalize asyncio future and task repr()

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47039] Normalize asyncio future and task repr()

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 30b5d41fabad04f9f34d603f1ce2249452c18c71 by Andrew Svetlov in branch 'main': bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950) https://github.com/python/cpython/commit/30b5d41fabad04f9f34d603f1ce2249452c18c71

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +30044 pull_request: https://github.com/python/cpython/pull/31953 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +30043 pull_request: https://github.com/python/cpython/pull/31952 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a7c54148322781cb0f332d440a3454d550ef6414 by Andrew Svetlov in branch 'main': bpo-47038: Increase a test timeout for slow CI machines (GH-31951) https://github.com/python/cpython/commit/a7c54148322781cb0f332d440a3454d550ef6414 --

[issue45116] Performance regression 3.10b1: inlining issue in the big _PyEval_EvalFrameDefault() function with Visual Studio (MSC)

2022-03-16 Thread Guido van Rossum
Guido van Rossum added the comment: I can't yet confirm a regression in 3.11 (the main branch, currently) compared to 3.10. See my adventures in https://github.com/faster-cpython/ideas/discussions/315. -- ___ Python tracker

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +30042 pull_request: https://github.com/python/cpython/pull/31951 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 36f62c55759c4246f969f60f7470ba756f77b268 by Miss Islington (bot) in branch '3.10': bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946) (#31948)

[issue24080] asyncio.Event.wait() Task was destroyed but it is pending

2022-03-16 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2022-03-16 Thread Irit Katriel
Irit Katriel added the comment: cgi/cgitb are deprecated as per PEP 594, so there won't be further enhancements to them. -- nosy: +iritkatriel resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue47039] Normalize asyncio future and task repr()

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30041 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31950 ___ Python tracker ___

[issue47039] Normalize asyncio future and task repr()

2022-03-16 Thread Andrew Svetlov
New submission from Andrew Svetlov : Return `...` in the case of recursive representation. Now the only result is replaced with `...`, all other future properties are still printed. It doesn't follow `repr()` for other stdlib objects. -- components: asyncio messages: 415375 nosy:

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
miss-islington added the comment: New changeset 0412e3ae03a694af1e27d4af61ca503a6513394d by Miss Islington (bot) in branch '3.9': bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946)

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +30040 pull_request: https://github.com/python/cpython/pull/31949 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +30039 pull_request: https://github.com/python/cpython/pull/31948 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a by Andrew Svetlov in branch 'main': bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946)

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-16 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30038 pull_request: https://github.com/python/cpython/pull/31947 ___ Python tracker ___

[issue47037] Build problems on Windows

2022-03-16 Thread Eryk Sun
Eryk Sun added the comment: > Ouch, is Python crashes because of an unsupported strftime call? It's not a crash. It's a CRT error report dialog, which is enabled by default for the _CRT_ASSERT and _CRT_ERROR macros in debug builds. This dialog can be helpful when debugging interactively. It

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +30037 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31946 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: test_cancel_blocking_wait_for() / test_cancel_wait_for() is not converted still. -- resolution: fixed -> stage: resolved -> status: closed -> open ___ Python tracker

[issue47037] Build problems on Windows

2022-03-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re the 3.9/3.10 warnings: I have not intentionally touched my C install in years. I don't know what Windows' updates do (most recently yesterday) . I presume vcruntime140.dll is on my C: ssd, which has shown no problems. Debug runs w/o -j0 normally take

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3244659521798417810100904f39ae5dabe60a7f by Andrew Svetlov in branch '3.9': [3.9] bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942). (GH-31944)

[issue47037] Build problems on Windows

2022-03-16 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30036 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31945 ___ Python tracker

[issue47037] Build problems on Windows

2022-03-16 Thread Tim Peters
Tim Peters added the comment: Christian, yes, but only in a debug build. See Eryk Sun's message a bit above: the machinery to prevent this is already present, but isn't getting called early enough. -- ___ Python tracker

[issue47037] Build problems on Windows

2022-03-16 Thread Christian Heimes
Christian Heimes added the comment: Ouch, is Python crashes because of an unsupported strftime call? -- nosy: +christian.heimes ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4186dd662cf22613b21af948163978af4243a8d6 by Miss Islington (bot) in branch '3.10': bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942) (GH-31943)

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +30035 pull_request: https://github.com/python/cpython/pull/31944 ___ Python tracker ___

[issue47037] Build problems on Windows

2022-03-16 Thread Dennis Sweeney
Dennis Sweeney added the comment: indeed, bisected to 2cf7f865f099db11cc6903b334d9c376610313e8 is the first bad commit commit 2cf7f865f099db11cc6903b334d9c376610313e8 Author: Christian Heimes Date: Tue Mar 15 11:41:04 2022 +0200 bpo-46587: Skip tests if strftime does not support glibc

[issue47037] Build problems on Windows

2022-03-16 Thread Eryk Sun
Eryk Sun added the comment: bpo-46587 added top-level code to "Lib/test/support/__init__.py" to check whether time.strftime("%4Y") works. Since "Lib/test/libregrtest/setup.py" imports the support module, that code executes before suppress_msvcrt_asserts() is called by setup_tests().

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +30034 pull_request: https://github.com/python/cpython/pull/31943 ___ Python tracker

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset dd0082c627713634c7fd88ad33d18b5cc9f4a7b8 by Andrew Svetlov in branch 'main': bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942) https://github.com/python/cpython/commit/dd0082c627713634c7fd88ad33d18b5cc9f4a7b8

[issue47037] Build problems on Windows

2022-03-16 Thread Tim Peters
Tim Peters added the comment: BTW, the frequency of this new failure mode appears to be vastly increased if running the debug tests with "-j0". For example, the box popping up is reliably the very first sign of life if I run this from the PCBuild directory: rt -q -d -j0 --

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30033 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31942 ___ Python tracker ___

[issue47038] Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
New submission from Andrew Svetlov : It simplifies future maintenance. -- components: Tests, asyncio messages: 415359 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase versions: Python 3.10,

[issue47037] Build problems on Windows

2022-03-16 Thread Tim Peters
Tim Peters added the comment: Actually, I see this ('Debug Assertion Failed!' in the same spot) every time I try to run the test suite with a debug build, starting yesterday. Didn't have time to track it down. It _appeared_ to an obscure consequence of this commit: """ $ git log

[issue47037] Build problems on Windows

2022-03-16 Thread Steve Dower
Steve Dower added the comment: This sounds more like recent installation changes on your machine. Have you updated Visual Studio or something like that? Perhaps the debug UCRT has gone missing. I'm not aware of any recent compilation changes that would cause this. --

[issue45150] Add a file_digest() function in hashlib

2022-03-16 Thread Aur Saraf
Aur Saraf added the comment: I don't think HMAC of a file is a common enough use case to support, but I have absolutely no problem conceding this point, the cost of supporting it is very low. I/O in C is a world of pain in general. In the specific case of `io.RawIOBase` objects

[issue45979] Fix Tkinter tests with old Tk

2022-03-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +30032 pull_request: https://github.com/python/cpython/pull/31939 ___ Python tracker ___

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-16 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +30031 pull_request: https://github.com/python/cpython/pull/31941 ___ Python tracker ___

[issue45979] Fix Tkinter tests with old Tk

2022-03-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +30030 pull_request: https://github.com/python/cpython/pull/31940 ___ Python tracker

[issue47037] Build problems on Windows

2022-03-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.11 apparently builds without error, and 'python' and 'python -m idlelib' appears to start normally, but there is a new problem. python -m test raises OS box with 'Debug Assertion Failed!', program python_d.exe, File

[issue47036] Nested list in Dict, multiprocessing manager

2022-03-16 Thread munky
Change by munky : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46817] Add a line-start table to the code object.

2022-03-16 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45979] Fix Tkinter tests with old Tk

2022-03-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dbbe4d2d0075fa0e95b069fb4780d79aae3514c7 by Serhiy Storchaka in branch 'main': bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938) https://github.com/python/cpython/commit/dbbe4d2d0075fa0e95b069fb4780d79aae3514c7 --

[issue30080] Add the --duplicate option for timeit

2022-03-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47036] Nested list in Dict, multiprocessing manager

2022-03-16 Thread munky
New submission from munky : Sorry for this post but I found an unusual behaviour. from multiprocessing import Manager manager = Manager() managerdict = manager.dict() managerdict["first"]= {"stat" : [0,1]} managerdict["first"]["stat"][0] += 1 managerdict["first"]["stat"][1] += 1

[issue38435] Start the deprecation cycle for subprocess preexec_fn

2022-03-16 Thread Mark Mentovai
Mark Mentovai added the comment: Another use case for preexec_fn: establishing a new controlling terminal, typically in conjunction with start_new_session=True. A preexec_fn may do something like os.close(os.open(os.ttyname(sys.stdin.fileno(), os.O_RDWR))) with discussion at

[issue45979] Fix Tkinter tests with old Tk

2022-03-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +30029 pull_request: https://github.com/python/cpython/pull/31938 ___ Python tracker ___

[issue47029] Fix a BrokenPipeError when a multiprocessing.Queue is garbage collected

2022-03-16 Thread Géry
Géry added the comment: I forgot to include the output of the above program: ``` Traceback (most recent call last): File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/queues.py", line 251, in _feed send_bytes(obj) File

[issue47034] pickle not working correctly when custom field is directly initialized by constructors

2022-03-16 Thread Eric V. Smith
Eric V. Smith added the comment: You're probably doing something like: parent.i = 3 instead of: parent.child.field = 0.6 In the first one, you're setting an instance attribute on parent, on the second, you're modifying an attribute of the class attribute. In any event, there's no bug

[issue46769] Improve documentation for `typing.TypeVar`

2022-03-16 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 81b425d4dc43b60dd11a3e9abc5c84a4b8b384db by Alex Waygood in branch 'main': bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712) https://github.com/python/cpython/commit/81b425d4dc43b60dd11a3e9abc5c84a4b8b384db --

[issue47034] pickle not working correctly when custom field is directly initialized by constructors

2022-03-16 Thread jeffersonqin
jeffersonqin <1247006...@qq.com> added the comment: Thanks! This fully answers my question. Sorry, but I've got another question regards to your answer. It is that when I deal with other fields in class Parent similar to child, with the only difference is that their types are builtin types

[issue47035] Rewrite asyncio queue tests with IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47035] Rewrite asyncio queue tests with IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: -Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46890] getpath problems with framework build

2022-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: venv requiring site isn't really a problem, although it is a bit weird that sys.prefix changes when using the -S flag. -- ___ Python tracker

[issue47034] pickle not working correctly when custom field is directly initialized by constructors

2022-03-16 Thread Eric V. Smith
Eric V. Smith added the comment: child is not an attribute of a Parent instance, but rather of the Parent class. So it's not going to be saved when you dump "parent", which is an instance of Parent. I'm not sure what you're doing when you create a Parent.__init__ method, but presumably

[issue46939] Specialize calls for Python classes

2022-03-16 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +30028 pull_request: https://github.com/python/cpython/pull/31936 ___ Python tracker ___ ___

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2022-03-16 Thread PySimpleGUI
PySimpleGUI added the comment: We've been able to verify this is a problem on Windows, Mac and Linux using the code that Jason posted earlier. Here's a video of the behavior on Linux. The problem you'll see is that button click events stop being generated. I'm hoping this is a symptom of

[issue47035] Rewrite asyncio queue tests with IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30027 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31935 ___ Python tracker ___

[issue46890] getpath problems with framework build

2022-03-16 Thread Eryk Sun
Eryk Sun added the comment: > This means that "python -S" doesn't work with a virtual environment. Does that matter? I've only used a virtual environment to override or extend the system site packages. Is there a reason to use one without site packages? -- nosy: +eryksun

[issue47035] Rewrite asyncio queue tests with IsolatedAsyncioTestCase

2022-03-16 Thread Andrew Svetlov
New submission from Andrew Svetlov : It can help with future maintenance a lot. Current tests are cumbersome. -- components: asyncio messages: 415342 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Rewrite asyncio queue tests with

[issue47034] pickle not working correctly when custom field is directly initialized by constructors

2022-03-16 Thread jeffersonqin
New submission from jeffersonqin <1247006...@qq.com>: For the following code piece: ``` import pickle class Child: def __init__(self, field): self.field = field class Parent: child = Child(0.5) if __name__ == '__main__': i = input() if i ==

[issue47025] bytes do not work on sys.path

2022-03-16 Thread Thomas Grainger
Thomas Grainger added the comment: > I'd advocate for not supporting bytes paths and instead updating the > documentation to require strings. I've got PR GH-31934 started to do this -- message_count: 8.0 -> 9.0 pull_requests: +30026 pull_request:

[issue46329] Split up the CALL_NO_KW and CALL_KW instructions.

2022-03-16 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +30025 pull_request: https://github.com/python/cpython/pull/31933 ___ Python tracker ___

[issue2604] doctest.DocTestCase fails when run repeatedly

2022-03-16 Thread Daniël van Noord
Daniël van Noord added the comment: I have created a PR that combines the patch here with the patch from issue9736. -- nosy: +danielnoord ___ Python tracker ___

[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2022-03-16 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 4.0 -> 5.0 pull_requests: +30024 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31932 ___ Python tracker

[issue2604] doctest.DocTestCase fails when run repeatedly

2022-03-16 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 5.0 -> 6.0 pull_requests: +30023 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31932 ___ Python tracker

[issue35212] Expressions with format specifiers in f-strings give wrong code position in AST

2022-03-16 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Incorrect exception highlighting for fstring format ___ Python tracker

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-16 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue47032] CI does not detect launcher installer build failure

2022-03-16 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-16 Thread Maximilian Hils
Maximilian Hils added the comment: Thank you for the super quick turnaround. My heart goes out to you and everyone else in Ukraine. -- ___ Python tracker ___

[issue35212] Expressions with format specifiers in f-strings give wrong code position in AST

2022-03-16 Thread Daniël van Noord
Daniël van Noord added the comment: This was fixed by https://github.com/python/cpython/pull/27729. On 3.10: ```console >>> ast.parse("f'{a}'").body[0].value.values[0].value.col_offset 3 >>> ast.parse("f'{a:b}'").body[0].value.values[0].value.col_offset 3 ``` The other issue also no longer

[issue45150] Add a file_digest() function in hashlib

2022-03-16 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30021 pull_request: https://github.com/python/cpython/pull/31930 ___ Python tracker ___

[issue45150] Add a file_digest() function in hashlib

2022-03-16 Thread Christian Heimes
Christian Heimes added the comment: Before we continue hacking on an implementation, let's discuss some API design. - Multiple functions or multiple dispatch (name, fileobj) are confusing to users. Let's keep it simple and only implement one function that operates on file objects. - The

[issue46890] getpath problems with framework build

2022-03-16 Thread Steve Dower
Steve Dower added the comment: > I just noticed the same. Is this intentional? Honestly, no idea. I just copied how it was designed before, and had nothing to do with the original venv implementation. At a guess, I think virtualenv did everything with a patched site.py, so when it was

[issue46890] getpath problems with framework build

2022-03-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: > However, it's the site.py module that actually updates sys.prefix for the > venv. So you may just be inspecting at the wrong point? Or possibly it's in a > codepath that doesn't run on macOS because *previously* it was being set > correctly in getpath

[issue31327] [doc] Add example of platform-specific support for negative timestamps to the time doc

2022-03-16 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45382] platform() is not able to detect windows 11

2022-03-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0b0609d0d1a2f231c94bab2177095dd9a46fc137 by Miss Islington (bot) in branch '3.9': [3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891) (GH-30894) https://github.com/python/cpython/commit/0b0609d0d1a2f231c94bab2177095dd9a46fc137

[issue31327] [doc] Add example of platform-specific support for negative timestamps to the time doc

2022-03-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4d8e08b21ce5d2cc08da82cf9f3ca50d9617cbdc by Miss Islington (bot) in branch '3.8': bpo-31327: Update time documentation to reflect possible errors (GH-31460) (GH-31827)

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2b97cfdce8df9d0d455f65a22b1e0d34a29dc200 by Miss Islington (bot) in branch '3.8': bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (GH-31924)

[issue26545] [doc] os.walk is limited by python's recursion limit

2022-03-16 Thread Irit Katriel
Irit Katriel added the comment: I agree with Stanley. The documentation for os is clear that recursion is used and the documentation for RecursionError links to getrecursionlimit(). This seems sufficient. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status:

[issue25804] Make Profile.print_stats support sorting by mutiple values

2022-03-16 Thread Daniël van Noord
Daniël van Noord added the comment: @wdv4758h, do you think you will be able to resubmit the patch to Github? This would probably still be a useful addition and some review has already been done. If not, I could pick up the patch and re-submit, but I don't want to take credit for your work

[issue46507] enabling cProfile to profile code given as an argument "à la" timeit

2022-03-16 Thread Daniël van Noord
Daniël van Noord added the comment: There were some comments on the (now closed) PR associated to this report. One was about requiring a new flag to tell cProfile to consider the code in question code instead of a file path. `-c` was proposed, I presume abbreviating `--code`. Is this indeed

[issue34861] Improve cProfile standard output

2022-03-16 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +30020 pull_request: https://github.com/python/cpython/pull/31929 ___ Python tracker ___