[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-02-18 Thread Antony Lee
New submission from Antony Lee : In a first Python process, repeatedly create and delete a file: from pathlib import Path while True: Path("foo").touch(); Path("foo").unlink() In another process, repeatedly check for the path's existence: from pathlib import Path while True: print(Path("f

[issue46777] Fix incorrect use of directives in asyncio documentation

2022-02-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +29543 pull_request: https://github.com/python/cpython/pull/31403 ___ Python tracker _

[issue46777] Fix incorrect use of directives in asyncio documentation

2022-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2923d87ca258b9d421e8147b12f0d98295ee3f8e by Serhiy Storchaka in branch 'main': bpo-46777: Fix incorrect use of directives in asyncio documentation (GH-31388) https://github.com/python/cpython/commit/2923d87ca258b9d421e8147b12f0d98295ee3f8e -

[issue46777] Fix incorrect use of directives in asyncio documentation

2022-02-18 Thread miss-islington
miss-islington added the comment: New changeset 6eb34772fda2e46ba9a265e038b6e0f303bd790e by Miss Islington (bot) in branch '3.10': bpo-46777: Fix incorrect use of directives in asyncio documentation (GH-31388) https://github.com/python/cpython/commit/6eb34772fda2e46ba9a265e038b6e0f303bd790e

[issue46780] Allow Fractions to return 1/6 for "0.17", "0.167", "0.1667", etc.

2022-02-18 Thread Mark Dickinson
Mark Dickinson added the comment: Okay, let's close here; as Raymond says, that doesn't prevent further discussion on python-ideas. > The notions are currently too immature to warrant more core developer time. Agreed. It seems that what Lee wants is some kind of blend between the simplest f

[issue46724] Odd Bytecode Generation in 3.10

2022-02-18 Thread Mark Shannon
Mark Shannon added the comment: New changeset c3ce7781e3afe6f2dec5eef8e87fd5a664519ae9 by Saul Shanabrook in branch 'main': bpo-46724: Fix dis support for overflow args (GH-31285) https://github.com/python/cpython/commit/c3ce7781e3afe6f2dec5eef8e87fd5a664519ae9 -- _

[issue46786] embed, source, track, wbr HTML elements not considered empty

2022-02-18 Thread jnns
New submission from jnns : [According to the WHATWG][1], the elements `area`, `base`, `br`, `col`, `embed`, `hr`, `img`, `input`, `link`, `meta`, `param`, `source`, `track`, `wbr` are *void elements* that don't need and therefore shouldn't have a closing tag. The source view of Firefox 96 sh

[issue45184] Add `pop` function to remove context manager from (Async)ExitStack

2022-02-18 Thread Václav Brožík
Change by Václav Brožík : -- nosy: +vbrozik ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue46777] Fix incorrect use of directives in asyncio documentation

2022-02-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: > 6. The loop parameter of Task() was documented as both removed and required > (if there is no current event loop) in 3.10. I think we should drop Task() constructor definition from Task Object docs https://docs.python.org/3/library/asyncio-task.html#task-o

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Alex Grönholm
Alex Grönholm added the comment: I am also uncomfortable using the cancel message to deliver the token/nonce/whatever. If TaskGroup.cancel() is implemented, would it also deliver a cancellation in the parent task like trio and AnyIO do? It should IMHO, because otherwise if the task group is

[issue46709] test_urllib: testInterruptCaught() has a race condition and fails randomly

2022-02-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +29544 pull_request: https://github.com/python/cpython/pull/31404 ___ Python tracker ___ __

[issue46465] Regression caused by CALL_FUNCTION specialization for C function calls (test_urllib fails when run multiple times)

2022-02-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +sobolevn nosy_count: 7.0 -> 8.0 pull_requests: +29545 status: open -> pending pull_request: https://github.com/python/cpython/pull/31404 ___ Python tracker ___

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-02-18 Thread Eryk Sun
Eryk Sun added the comment: Windows filesystems disallow new opens for a file that has its delete disposition set (i.e. the file is marked for deletion). For example, CreateFileW() fails with ERROR_ACCESS_DENIED (5) in this case. A file with its delete disposition set is still visibly linked

[issue45184] Add `pop` function to remove context manager from (Async)ExitStack

2022-02-18 Thread Václav Brožík
Václav Brožík added the comment: There was an interesting discussion about this problem in 2015-12: https://mail.python.org/archives/list/python-id...@python.org/thread/Y3SLBJHJHAMBEZJWRXEJ5LE5JBVNE7XS/ (https://groups.google.com/g/python-ideas/c/l2FcErYbjfo - for the case the link above rots)

[issue46786] embed, source, track, wbr HTML elements not considered empty

2022-02-18 Thread jnns
Change by jnns : -- keywords: +patch pull_requests: +29546 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31406 ___ Python tracker ___ ___

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Guido, the third case: The third edge case is: explicit cancel() happened *after* the timeout (but still in the same iteration)? timeout current-iteration (calls .cancel() after timeout) next-iteration ||

[issue46709] test_urllib: testInterruptCaught() has a race condition and fails randomly

2022-02-18 Thread Mark Shannon
Mark Shannon added the comment: New changeset e2c28616ce6c3cdb1013c415125220a0b86b86a1 by Nikita Sobolev in branch 'main': bpo-46709: check eval breaker in specialized `CALL` opcodes (GH-31404) https://github.com/python/cpython/commit/e2c28616ce6c3cdb1013c415125220a0b86b86a1 -- nosy

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Tin Tvrtković
Tin Tvrtković added the comment: Sure, I'll be glad to work with Andrew on getting something presentable. Going through the discussion in the issue: * it seems like folks don't think move_on is useful enough to be in the stdlib, I understand that point. Users can always catch the timeout erro

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Alex Grönholm
Alex Grönholm added the comment: I propose the following, backwards compatible solution: Add a new keyword argument to Task.cancel(): "scope: object = None". The behavior would be as follows: the scope is saved, and included in the raised CancelledError. If Task.cancel() is called again, but w

[issue46780] Allow Fractions to return 1/6 for "0.17", "0.167", "0.1667", etc.

2022-02-18 Thread Lee Newberg
Lee Newberg added the comment: > Please watch the tone. It is borderline abusive and dismissive. I apologize for the adverse impact there. I will be more careful. > Also, my expectation for Fraction("0.0015") would be to give Fraction(3, > 2000), the same as would be given by Fraction(Decim

[issue46780] Allow Fractions to return 1/6 for "0.17", "0.167", "0.1667", etc.

2022-02-18 Thread Lee Newberg
Lee Newberg added the comment: In case there are others who are unsure about "python-ideas" ... I believe the discussion page https://discuss.python.org/c/ideas is what was meant. -- ___ Python tracker

[issue45559] pprint tests do not test pprint.pprint()

2022-02-18 Thread Haz
Haz added the comment: Hi! Any chance I could take this on if it hasn't already been actioned please? I assume the scope is to test all the pprint options? Thanks! -- nosy: +hp310780 ___ Python tracker ___

[issue46787] ProcessPoolExecutor exception memory leak

2022-02-18 Thread Vladimir Vinogradenko
New submission from Vladimir Vinogradenko : If an exception occurs in ProcessPoolExecutor work item, all the exception frame local variables are not garbage collected (or are garbage collected too lately) because they are referenced by the exception's traceback. Attached file is a test case.

[issue45559] pprint tests do not test pprint.pprint()

2022-02-18 Thread Eric V. Smith
Eric V. Smith added the comment: Sure, have a go at it! Any testing of pprint.pprint() would be an improvement, but ideally all options should be tested. It would probably be worthwhile to restructure the tests to run both pformat and pprint tests from the same logic, so that we only need t

[issue46787] ProcessPoolExecutor exception memory leak

2022-02-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +29548 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31408 ___ Python tracker _

[issue46780] Allow Fractions to return 1/6 for "0.17", "0.167", "0.1667", etc.

2022-02-18 Thread Mark Dickinson
Mark Dickinson added the comment: Re python-ideas: there's a mailing list: https://mail.python.org/archives/list/python-id...@python.org/ But the https://discuss.python.org/c/ideas/ category also works for this. -- ___ Python tracker

[issue46780] Allow Fractions to return 1/6 for "0.17", "0.167", "0.1667", etc.

2022-02-18 Thread Mark Dickinson
Mark Dickinson added the comment: > I gave the code example in order to make that clear. Yep, that didn't help: reverse engineering the intended behaviour from a complicated piece of code isn't easy. An up-front description of the intended behaviour would be better. --

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: > the third case the behavior is wrong, the `.cancel()` should win over the > timeout. Otherwise using the context manager becomes too risky in real-world > situations. Please elaborate. The first code that calls `.cancel()` wins, doesn't matter what is the

[issue39298] add BLAKE3 to hashlib

2022-02-18 Thread Larry Hastings
Larry Hastings added the comment: Just checking--I can liberally pull code from https://github.com/BLAKE3-team/BLAKE3 yes? -- ___ Python tracker ___ _

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: > * `async with` vs `with`: if Andrew thinks `async with` is easier to teach > and less error-prone, It has to be 'async with' like most asyncio apis to avoid user confusion. -- ___ Python tracker

[issue46752] Introduce task groups to asyncio and change task cancellation semantics

2022-02-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +29550 pull_request: https://github.com/python/cpython/pull/31409 ___ Python tracker ___ __

[issue46780] Allow Fractions to return 1/6 for "0.17", "0.167", "0.1667", etc.

2022-02-18 Thread Lee Newberg
Lee Newberg added the comment: I have started a discussion at https://discuss.python.org/t/allow-fractions-fraction-to-return-1-6-for-0-17-0-167-0-1667-etc . Your feedback there would be much appreciated. -- ___ Python tracker

[issue46788] regrtest fails to start on missing performance counter names

2022-02-18 Thread Jeremy Kloth
New submission from Jeremy Kloth : When attempting to run the test harness, I receive the following: Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Public\Devel\cpython\main\Lib\test\__main__.py", line 2, in main()

[issue46788] regrtest fails to start on missing performance counter names

2022-02-18 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue46789] Restore caching of externals on Windows buildbots

2022-02-18 Thread Jeremy Kloth
New submission from Jeremy Kloth : A recent change to the buildmaster config effectively disabled the caching of the externals for Windows buildbots: https://github.com/python/buildmaster-config/pull/255 If the caching is desired, a simple change to the buildmaster config is needed (define

[issue46789] Restore caching of externals on Windows buildbots

2022-02-18 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +pablogsal, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue46752] Introduce task groups to asyncio and change task cancellation semantics

2022-02-18 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +29551 pull_request: https://github.com/python/cpython/pull/31411 ___ Python tracker ___

[issue46329] Split up the CALL_NO_KW and CALL_KW instructions.

2022-02-18 Thread Mark Shannon
Mark Shannon added the comment: New changeset cf345e945f48f54785799390c2e92c5310847bd4 by Mark Shannon in branch 'main': bpo-46329: Change calling sequence (again) (GH-31373) https://github.com/python/cpython/commit/cf345e945f48f54785799390c2e92c5310847bd4 -- __

[issue46790] Normalize handling of negative timeouts in subprocess.py

2022-02-18 Thread Jeremy Kloth
New submission from Jeremy Kloth : As a follow on to bpo-46716, the various timeout parameters currently deal with negative values differently in POSIX and Windows. On POSIX, a negative value is treated the same as 0; check completion and raise TimeoutExpired is still running. On Windows, th

[issue46790] Normalize handling of negative timeouts in subprocess.py

2022-02-18 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +eryksun, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue46790] Normalize handling of negative timeouts in subprocess.py

2022-02-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: Oh, I forgot to add that I'm in favor of following the threading.py behavior of allowing <=0 to mean "non-blocking" (i.e., just check). This would probably also benefit from a documentation update to clarify. -- __

[issue46789] Restore caching of externals on Windows buildbots

2022-02-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: I personally would like to see caching restored so as to keep the duration of buildbot runs as low as possible. The repeated fetching effectively doubles compilation time for my Win11 builder. -- ___ Python tracker

[issue46791] Allow os.remove to defer to rmdir

2022-02-18 Thread Dan Snider
New submission from Dan Snider : It appears sometime recently-ish that POSIX updated remove to the following: #include int remove(const char *path); If path does not name a directory, remove(path) shall be equivalent to  unlink(path). If path names a directory, remove(path) shall be eq

[issue46736] Generate HTML 5 with SimpleHTTPRequestHandler.list_directory

2022-02-18 Thread Éric Araujo
Éric Araujo added the comment: Would you like to make a pull request? -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-l

[issue46725] Unpacking without parentheses is allowed since 3.9

2022-02-18 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue46748] Python.h includes stdbool.h

2022-02-18 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue46725] Unpacking without parentheses is allowed since 3.9

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Allowing no parentheses is also consistent with the following: for x in 1,2,3: print(x) -- nosy: +terry.reedy -jwilk ___ Python tracker ___

[issue46792] Indentation now preserved with ruamel.yaml.round_trip_dump

2022-02-18 Thread Harshini
New submission from Harshini : I observed that the indentation is not preserved when I load and dump a YAML file using round_trip_dump from ruamel.yaml. For example, I have an input file with the data: Inventory: - name: Apples count: 10 vendors: - - vendor_name: xyz box

[issue46792] Indentation now preserved with ruamel.yaml.round_trip_dump

2022-02-18 Thread Eric V. Smith
Eric V. Smith added the comment: This looks like an issue with ruamel.yaml, which is a third party package. You should report it to them. Good luck! -- nosy: +eric.smith ___ Python tracker

[issue46792] Indentation now preserved with ruamel.yaml.round_trip_dump

2022-02-18 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue46792] Indentation not preserved with ruamel.yaml.round_trip_dump

2022-02-18 Thread Eric V. Smith
Change by Eric V. Smith : -- title: Indentation now preserved with ruamel.yaml.round_trip_dump -> Indentation not preserved with ruamel.yaml.round_trip_dump ___ Python tracker ___

[issue35897] Support list as argument to .startswith()

2022-02-18 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue34990] year 2038 problem in compileall.py

2022-02-18 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue20923] [doc] Explain ConfigParser 'valid section name' and .SECTCRE

2022-02-18 Thread Vidhya
Change by Vidhya : -- pull_requests: +29552 pull_request: https://github.com/python/cpython/pull/31413 ___ Python tracker ___ ___ Py

[issue46391] Library multiprocess leaks named resources.

2022-02-18 Thread Andrzej Ratajczak
Andrzej Ratajczak added the comment: Also hitting this problem. Would be grateful for fixing it, since there is already PR created -- nosy: +BarkingBad ___ Python tracker ___

[issue46732] None.__bool__ docstring is wrong

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is no object.__bool__. None.__bool__.__doc__ appears to be an accidental copy of bool/int/float/complex.__bool__.__doc__. It should just be 'False'. -- nosy: +terry.reedy title: object.__bool__ docstring is wrong -> None.__bool__ docstring is

[issue46733] pathlib.Path methods can raise NotImplementedError

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think pathlib should be raising TypeError, ValueError, or something else as appropriate. Or not raising in situations Eryk indicated. x/0 *could* be +- float('inf'), but we don't raise NotImplementedError for it. -- nosy: +terry.reedy __

[issue46725] Unpacking without parentheses is allowed since 3.9

2022-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: Adding jwilk back (a bpo interaction with browser form caching makes this happen frequently). -- nosy: +jwilk ___ Python tracker ___ _

[issue46735] gettext.translations crashes when locale is unset

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: As 'crash', as used here, is when python exits abnormally *without* an exception traceback. The traceback in the linked report is: Traceback (most recent call last): File "video2x.py", line 53, in from upscaler import AVAILABLE_DRIVERS File "/home/m

[issue46740] Improve Telnetlib's throughput

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Even if deprecated, it will be around for at least 2 versions. A patch now might be worthwhile, but I don't know who would review it. -- nosy: +terry.reedy ___ Python tracker

[issue35897] Support list as argument to .startswith()

2022-02-18 Thread Fred
Fred added the comment: > For subtle reasons, that would make us worse off. Tuple of constants get > precomputed but lists of constants have to be rebuilt. So if a list is 20 times slower than a tuple, I can still do billions of computations in a second on a Raspberry Pi, so does it matter?

[issue33601] [doc] Py_UTF8Mode is not documented

2022-02-18 Thread Vidhya
Vidhya added the comment: [Entry level contributor seeking guidance]The PR on this issue looks closed. I worked on this and attaching the updated html file. I will open a pull request if this is not yet resolved. -- nosy: +vidhya.friend Added file: https://bugs.python.org/file50630/i

[issue46702] Specialize UNPACK_SEQUENCE

2022-02-18 Thread Brandt Bucher
Brandt Bucher added the comment: Closing as UNPACK_SEQUENCE_TWO_TUPLE__STORE_FAST__STORE_FAST results in lots of hits, but no performance improvement. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue46793] expose expat XML billion laughs attack mitigation APIs

2022-02-18 Thread Gregory P. Smith
New submission from Gregory P. Smith : Quoting from https://github.com/python/cpython/pull/31397#issuecomment-1044796561 """ XML_SetBillionLaughsAttackProtectionActivationThreshold XML_SetBillionLaughsAttackProtectionMaximumAmplification I still hope that someone can make those two^^ accessi

[issue46760] test_dis should test the dis module, not everything else

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: With IDLE, I have issues with trying to test IDLE code without retesting tkinter, as well as deciding on the proper units of behavior to test. Some suggestions: 1. Add a docstring to the module with guidelines, after review from a couple of others. For inst

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread miss-islington
miss-islington added the comment: New changeset 6312c1052c0186b4596fc45c42fd3ade9f8f5911 by Yilei "Dolee" Yang in branch 'main': bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) https://github.com/python/cpython/commit/6312c1052c0186b4596fc45c42fd3ade9f8f5911 ---

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +29553 pull_request: https://github.com/python/cpython/pull/31416 ___ Python tracker ___ __

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +29554 pull_request: https://github.com/python/cpython/pull/31417 ___ Python tracker ___ __

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +29555 pull_request: https://github.com/python/cpython/pull/31418 ___ Python tracker ___ __

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +29556 pull_request: https://github.com/python/cpython/pull/31419 ___ Python tracker ___ __

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread miss-islington
miss-islington added the comment: New changeset 9aca412db8343702d9199c31ba73519e6f8823b5 by Miss Islington (bot) in branch '3.9': bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) https://github.com/python/cpython/commit/9aca412db8343702d9199c31ba73519e6f8823b5 --

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +29557 pull_request: https://github.com/python/cpython/pull/31420 ___ Python tracker ___

[issue46794] Please update bundled libexpat to 2.4.5 with security fixes (5 CVEs)

2022-02-18 Thread sping
New submission from sping : Thank you! https://github.com/libexpat/libexpat/blob/97a4840578693a346e79302909b67d97492e1880/expat/Changes#L6-L35 -- components: XML messages: 413517 nosy: sping priority: normal severity: normal status: open title: Please update bundled libexpat to 2.4.5 w

[issue46782] Docs error for 3.10

2022-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The conversions from 0o777 to 511 in 3.10 and 3.11 but not in 3.9 are these: https://docs.python.org/3/library/pathlib.html#pathlib.Path.mkdir Path.mkdir(mode=511, parents=False, exist_ok=False) https://docs.python.org/3/library/os.html#os.mkdir os.mkdir(

[issue46200] Discourage logging f-strings due to security considerations

2022-02-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: A new system of logging APIs has been on several of our (core dev and otherwise) minds ever since f-strings were introduced. For this specific issue, agreed that documentation is key. The old logging APIs cannot change. And practically preventing passing

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset e05e3d20d309603010f2c1194e612f894ad8a985 by Gregory P. Smith in branch '3.10': [3.10] bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31420) https://github.com/python/cpython/commit/e05e3d20d309603010f2c1194e612f8

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: PRs for 3.7 and 3.8 remain up to release blockers. -- components: +Build resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker _

[issue46784] Duplicated symbols when linking embedded Python with libexpat

2022-02-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: err "release managers" same thing right? ;) -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue46793] expose expat XML billion laughs attack mitigation APIs

2022-02-18 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue46571] Strange `@typing.no_type_check` behavior for class variables

2022-02-18 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 395029b0bd343648b4da8044c7509672ea768775 by Nikita Sobolev in branch 'main': bpo-46571: improve `typing.no_type_check` to skip foreign objects (GH-31042) https://github.com/python/cpython/commit/395029b0bd343648b4da8044c7509672ea768775 ---

[issue46603] `typing._strip_annotations` is not fully covered

2022-02-18 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 25c0b9d243b64ccd2eeab483089eaf7e4b4d5834 by Nikita Sobolev in branch 'main': bpo-46603: improve coverage of `typing._strip_annotations` (GH-31063) https://github.com/python/cpython/commit/25c0b9d243b64ccd2eeab483089eaf7e4b4d5834 -- nos

[issue46603] `typing._strip_annotations` is not fully covered

2022-02-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +29558 pull_request: https://github.com/python/cpython/pull/31423 ___ Python tracker _

[issue46603] `typing._strip_annotations` is not fully covered

2022-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +29559 pull_request: https://github.com/python/cpython/pull/31424 ___ Python tracker ___ __

[issue46603] `typing._strip_annotations` is not fully covered

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

[issue46571] Strange `@typing.no_type_check` behavior for class variables

2022-02-18 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the fix Nikita! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46685] Add additional tests for new features in `typing.py`

2022-02-18 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 32e3e0bea613711a8f19003445eebcb05fb75acc by Nikita Sobolev in branch 'main': bpo-46685: improve test coverage of `Self` and `Never` in `typing` (GH-31222) https://github.com/python/cpython/commit/32e3e0bea613711a8f19003445eebcb05fb75acc --

[issue46685] Add additional tests for new features in `typing.py`

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

[issue46603] `typing._strip_annotations` is not fully covered

2022-02-18 Thread miss-islington
miss-islington added the comment: New changeset 103f3ca80616958b4e608e9176b9c12cfc80f68b by Miss Islington (bot) in branch '3.10': bpo-46603: improve coverage of `typing._strip_annotations` (GH-31063) https://github.com/python/cpython/commit/103f3ca80616958b4e608e9176b9c12cfc80f68b

[issue46754] Improve Python Language Reference based on [Köhl 2020]

2022-02-18 Thread Alex Waygood
Change by Alex Waygood : -- keywords: +patch nosy: +AlexWaygood nosy_count: 1.0 -> 2.0 pull_requests: +29560 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29479 ___ Python tracker _

[issue46754] Improve Python Language Reference based on [Köhl 2020]

2022-02-18 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: -29560 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue46754] Improve Python Language Reference based on [Köhl 2020]

2022-02-18 Thread Alex Waygood
Change by Alex Waygood : -- keywords: -patch nosy: -AlexWaygood stage: patch review -> ___ Python tracker ___ ___ Python-bugs-lis

[issue24053] Define EXIT_SUCCESS and EXIT_FAILURE constants in sys

2022-02-18 Thread Golubev Alexander
Golubev Alexander added the comment: Any reasons the PR still not merged? -- nosy: +Fat-Zer ___ Python tracker ___ ___ Python-bugs-

[issue46771] Add some form of cancel scopes

2022-02-18 Thread Tin Tvrtković
Change by Tin Tvrtković : -- pull_requests: +29561 pull_request: https://github.com/python/cpython/pull/31415 ___ Python tracker ___

[issue46400] Please update bundled libexpat to 2.4.4 with security fixes (CVE-2021-45960)

2022-02-18 Thread Ned Deily
Ned Deily added the comment: expat 2.4.5 was released today (Issue46794). -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bug

[issue45390] asyncio.Task doesn't propagate CancelledError() exception correctly.

2022-02-18 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue46615] Use-after-free by mutating set during set operations

2022-02-18 Thread Dennis Sweeney
Dennis Sweeney added the comment: It does look like there are some pickle situations that crash. Attached is a randomized crasher. I haven't done too much careful reasoning about it, but adding INCREFs everywhere seems to fix most of the issues. -- Added file: https://bugs.python.org

[issue46066] Deprecate keyword args syntax for TypedDict definition

2022-02-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This change has introduced deprecation warning in tests PYTHONWARNINGS=always ./python -Wall -X dev -m test.test_typing .

[issue46730] Please consider mentioning property without setter when an attribute can't be set

2022-02-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The test introduces a deprecation warning. It might be fixed by using raw string like the msg_format used in other test. ./python -Wall -m py_compile Lib/test/test_property.py Lib/test/test_property.py:345: DeprecationWarning: invalid escape sequen

[issue46782] Docs error for 3.10

2022-02-18 Thread sjndlnv brjkbn
sjndlnv brjkbn added the comment: I found out that this issue can be fixed by set ``autodoc_preserve_defaults`` to True [(From sphinx-doc)](https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_preserve_defaults) On the other hand. I test ``Path.mkdir(mode=511)``

[issue46730] Please consider mentioning property without setter when an attribute can't be set

2022-02-18 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +29562 pull_request: https://github.com/python/cpython/pull/31427 ___ Python tracker ___ __

  1   2   >