[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Mariusz Felisiak
Change by Mariusz Felisiak : -- pull_requests: +25918 pull_request: https://github.com/python/cpython/pull/27385 ___ Python tracker ___

[issue42182] 3.10 Documentation Not Hyperlinking Some Methods

2021-07-26 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch pull_requests: +25917 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27384 ___ Python tracker ___

[issue42182] 3.10 Documentation Not Hyperlinking Some Methods

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: I put the PR up here: https://github.com/python/cpython/pull/27384/files -- ___ Python tracker ___

[issue42128] Structural Pattern Matching (PEP 634)

2021-07-26 Thread Andrei Kulakov
Change by Andrei Kulakov : -- nosy: +andrei.avk nosy_count: 13.0 -> 14.0 pull_requests: +25916 pull_request: https://github.com/python/cpython/pull/27384 ___ Python tracker

[issue44739] Tkinter text horizontal scrollbar is not stationary

2021-07-26 Thread logon_name
Change by logon_name : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-26 Thread ready-research
ready-research added the comment: Node.js is recommending using WHATWG URL API. Which handles all these correctly. We can test the same using https://jsdom.github.io/whatwg-url/ For example test the below and will return the same(correct) for all. https:///www.attacker.com/a/b

[issue39658] Include user scripts folder to PATH on Windows

2021-07-26 Thread Matthew Morrissette Vance
Change by Matthew Morrissette Vance : -- nosy: +yinzara ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40085] Argument parsing option c should accept int between -128 to 255 ?

2021-07-26 Thread Dennis Sweeney
Change by Dennis Sweeney : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42182] 3.10 Documentation Not Hyperlinking Some Methods

2021-07-26 Thread Andrei Kulakov
Change by Andrei Kulakov : -- type: -> behavior versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue42182] 3.10 Documentation Not Hyperlinking Some Methods

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: Something changed between 3.8 and 3.9 so that "bare" references to methods on `object` no longer get linked. So for example, :meth:`__bool__` would get link to object.__bool__ anchor, but in 3.9+, it should be :meth:`~object.__bool__` for the link to be

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-26 Thread ready-research
ready-research added the comment: Some other examples to test this behaviour: urlparse('https:/\/\/\www.attacker.com/a/b') urlparse('https:/\www.attacker.com/a/b') ## Comparing it to other languages/runtimes How do other languages and their runtimes work with URL parsing functions? Here's

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-26 Thread Logan Jones
Logan Jones added the comment: I don't know if urlparse is actually "mishandling" these URLs. Looking over RFC 1808 (https://datatracker.ietf.org/doc/html/rfc1808.html) the BNF (https://datatracker.ietf.org/doc/html/rfc1808.html#section-2.2) seems to support what urlparse is reporting, at

[issue44745] Manual for python 3.9.6 will not let me search

2021-07-26 Thread Dennis Sweeney
Dennis Sweeney added the comment: I replicated the issue: downloading the "Windows Help File" (python396.chm) from the release page https://www.python.org/downloads/release/python-396/ , opening it, and entering a search term (e.g., "tuple") into the search tab resulted in a message box

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: Ah, I missed that and totally misinterrpreted other comments. Confirmation bias at work: I saw the code I expected to see, not the code that was actually there :-( All good, I agree that it is a bug in the class, not in the language. Sorry for the noise.

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2021-07-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: This feature (or one very like it) has been requested again, this time with an "i" prefix: https://discuss.python.org/t/indented-multi-line-string-literals/9846/1 -- ___ Python tracker

[issue44719] Incorrect callable object crashes Python 3.11.0a0

2021-07-26 Thread Dennis Sweeney
Dennis Sweeney added the comment: Indeed, I got no crash on main after GH-27313. I also got no crash on 3.10 after GH-23568. Its backport to 3.9 (GH-24501) would have fixed this, but broke the stable ABI and was reverted. This was related to bpo-42500. I'm closing this "fixed". Feel free

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Brandt Bucher
Brandt Bucher added the comment: > All the examples that are said to go into an infinite loop work fine in 3.9. > [...] At the very least, the examples shouldn't swallow the IndexError and go > into an infinite loop. Note that the original example posted did not include a "raise IndexError"

[issue34013] Inconsistent SyntaxError for print

2021-07-26 Thread Irit Katriel
Irit Katriel added the comment: This case has changed recently, and not for the better: >>> print f(3) File "", line 1 print f(3) ^^ SyntaxError: invalid syntax. Perhaps you forgot a comma? -- ___ Python tracker

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: How is this not a regression? And a very serious one by the sound of it. All the examples that are said to go into an infinite loop work fine in 3.9. (Obviously I can't check the match statement example in 3.9.) If the Sequence Protocol really has been

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6fc1efa4546ad94a904239fd5efb84e02894eb31 by Miss Islington (bot) in branch '3.10': bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)

[issue34410] itertools.tee not thread-safe; can segfault interpreter when wrapped iterator releases GIL

2021-07-26 Thread Irit Katriel
Irit Katriel added the comment: The script (3.py) now gives the RuntimeError (as of 3.9) so I think the discussion about back port is over and there is nothing more to do on this issue. If nobody objects I will close this. -- status: open -> pending

[issue42182] 3.10 Documentation Not Hyperlinking Some Methods

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: In this case, it appears that ref with tilde and object makes it work in both 3.10 and 3.11, but with just bare method specified, it doesn't create link in both -- so it may be good to try updating it to have tilde and a ref to obj: Once an iterator's

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 11749e2dc20ad6a76e9a39e948853e89b2b4bbed by Mariusz Felisiak in branch 'main': bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) https://github.com/python/cpython/commit/11749e2dc20ad6a76e9a39e948853e89b2b4bbed --

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25915 pull_request: https://github.com/python/cpython/pull/27380 ___ Python tracker

[issue44745] Manual for python 3.9.6 will not let me search

2021-07-26 Thread Matthew Zielinski
New submission from Matthew Zielinski : The Manual for python 3.9.6 always says there are no entries. I searched things it definitely had, like modules, but it said there were no topics found. -- components: Library (Lib) files: Python Error.png messages: 398261 nosy: matthman2019

[issue44515] contextlib test incompatibility with non-refcounted GC

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Nick! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44515] contextlib test incompatibility with non-refcounted GC

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0ea5e0d792a85b435ef299319dcd52e59f535cb1 by Miss Islington (bot) in branch '3.10': bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910) (GH-27379) https://github.com/python/cpython/commit/0ea5e0d792a85b435ef299319dcd52e59f535cb1

[issue42182] 3.10 Documentation Not Hyperlinking Some Methods

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: The same thing happens in 3.11. I've also confirmed the markup is exactly the same. -- nosy: +andrei.avk ___ Python tracker ___

[issue22239] asyncio: nested event loop

2021-07-26 Thread Yury Selivanov
Yury Selivanov added the comment: > nest-asyncio library (https://github.com/erdewit/nest_asyncio) Seeing that the community actively wants to have support for nested loops I'm slowly changing my opinion on this. Guido, maybe we should allow nested asyncio loops disabled by default?

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44515] contextlib test incompatibility with non-refcounted GC

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25914 pull_request: https://github.com/python/cpython/pull/27379 ___ Python tracker

[issue44515] contextlib test incompatibility with non-refcounted GC

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a2c45e5bcf9d3dfff9f2699dbc161489897616b5 by Nick Coghlan in branch 'main': bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910) https://github.com/python/cpython/commit/a2c45e5bcf9d3dfff9f2699dbc161489897616b5 -- nosy:

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Mariusz Felisiak
Change by Mariusz Felisiak : -- keywords: +patch pull_requests: +25913 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27378 ___ Python tracker

[issue44739] Tkinter text horizontal scrollbar is not stationary

2021-07-26 Thread E. Paine
E. Paine added the comment: Thank you for reporting this issue. I have personally found this problem to be annoying and it is also noted in msg377227. I did a brief bit of research but couldn't find an existing ticket on https://core.tcl-lang.org/tk/ticket so please feel free to report it

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-26 Thread Logan Jones
Change by Logan Jones : -- nosy: +loganasherjones ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28356] [easy doc] Document os.rename() behavior on Windows when src and dst are on different filesystems

2021-07-26 Thread Ryan Ozawa
Change by Ryan Ozawa : -- pull_requests: +25912 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27376 ___ Python tracker ___

[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2021-07-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Geoffrey Thomas: I agree that including crypt.h only where required is better. Can you file new bug with patch? Benjamin Peterson: I suspect that with crypt.h not included in _cryptmodule.c, crypt() was treated by compiler as implicitly

[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-07-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43443] Should shelve support dict union?

2021-07-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 ___ Python tracker ___

[issue43443] Should shelve support dict union?

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7482fff297727bb5faf64cc92c73561ccf48feda by Miss Islington (bot) in branch '3.9': bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27370)

[issue43443] Should shelve support dict union?

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 563e05743c8f31366db7ef35a00e396c9f442b17 by Miss Islington (bot) in branch '3.10': bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27369)

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4a5457d5d48e6563ec481daad245ff3d6ef13503 by Miss Islington (bot) in branch '3.10': bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) (GH-27368)

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 85ac81499ec5fb156a57408bcd95b06de4531488 by Miss Islington (bot) in branch '3.9': bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (GH-27367)

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 256d97c8a3151ec7caba6c06bf2a1e682008c304 by Miss Islington (bot) in branch '3.10': bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (#27366) https://github.com/python/cpython/commit/256d97c8a3151ec7caba6c06bf2a1e682008c304

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Brandt Bucher
Brandt Bucher added the comment: I agree, Pablo. The only thing that makes me pause is that, depending on the pattern, *sometimes* we use iteration and *sometimes* we use indexing. That might be sort of surprising to classes like Seq if you change patterns or major Python versions and this

[issue44732] Rename types.Union to types.UnionType

2021-07-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44732] Rename types.Union to types.UnionType

2021-07-26 Thread miss-islington
miss-islington added the comment: New changeset 8a37e8cf45105fbb592c31ebd30501bbdea5ab81 by Miss Islington (bot) in branch '3.10': bpo-44732: Rename types.Union to types.UnionType (GH-27342) https://github.com/python/cpython/commit/8a37e8cf45105fbb592c31ebd30501bbdea5ab81 --

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: In general I would propose to close this as "not a bug" -- ___ Python tracker ___ ___

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I don't think there is anything technically wrong here. The Seq class is relying on the legacy version of the iterator protocol, which specifies that you need to raise IndexError there to stop the iteration. For instance, this version works: import

[issue44733] Feature request: maxtasksperchild for ProcessPoolExecutor

2021-07-26 Thread Logan Jones
Change by Logan Jones : -- keywords: +patch pull_requests: +25911 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27373 ___ Python tracker ___

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Brandt Bucher
Brandt Bucher added the comment: (Raising the priority to "high" because any decision on this should ideally be made before the 3.10 RCs.) Hm, interesting. This is because we use UNPACK_EX for these patterns, so the destructuring is basically the same as if you had written: [x, *w, y] =

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +25909 pull_request: https://github.com/python/cpython/pull/27371 ___ Python tracker

[issue44453] Documented return type of sysconfig.get_path() is wrong

2021-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +25910 pull_request: https://github.com/python/cpython/pull/27372 ___ Python tracker ___

[issue44733] Feature request: maxtasksperchild for ProcessPoolExecutor

2021-07-26 Thread Ram Rachum
Ram Rachum added the comment: Awesome. You can link to experimental code here. Even if it were not accepted to Python, it could be useful for me and for other people who might see this issue. -- ___ Python tracker

[issue43443] Should shelve support dict union?

2021-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +25908 pull_request: https://github.com/python/cpython/pull/27370 ___ Python tracker ___

[issue43443] Should shelve support dict union?

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c97c2a050cf753003012ae3f08e035326b8f6167 by Serhiy Storchaka in branch 'main': bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) https://github.com/python/cpython/commit/c97c2a050cf753003012ae3f08e035326b8f6167 --

[issue43443] Should shelve support dict union?

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25907 pull_request: https://github.com/python/cpython/pull/27369 ___ Python tracker

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +25906 pull_request: https://github.com/python/cpython/pull/27368 ___ Python tracker ___

[issue44733] Feature request: maxtasksperchild for ProcessPoolExecutor

2021-07-26 Thread Logan Jones
Logan Jones added the comment: I think I have a solution for this, but I'm pretty new to contributing. Still writing up some tests. -- ___ Python tracker ___

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6c1b57d958e2b0d5bcf0f2315b5044838e11638f by Yurii Karabas in branch 'main': bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) https://github.com/python/cpython/commit/6c1b57d958e2b0d5bcf0f2315b5044838e11638f --

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +25905 pull_request: https://github.com/python/cpython/pull/27367 ___ Python tracker ___

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25904 pull_request: https://github.com/python/cpython/pull/27366 ___ Python tracker

[issue44698] Undefined behaviour in Objects/complexobject.c's complex_pow

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1d582bbc969e05896addf97844ddf17ce9830e5e by T. Wouters in branch 'main': bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) https://github.com/python/cpython/commit/1d582bbc969e05896addf97844ddf17ce9830e5e -- nosy:

[issue44732] Rename types.Union to types.UnionType

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2b8ad9e6c5f0a66e9ca2d15f85336d8a3eefefb0 by Hasan in branch 'main': bpo-44732: Rename types.Union to types.UnionType (#27342) https://github.com/python/cpython/commit/2b8ad9e6c5f0a66e9ca2d15f85336d8a3eefefb0 -- nosy: +lukasz.langa

[issue44732] Rename types.Union to types.UnionType

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +25903 pull_request: https://github.com/python/cpython/pull/27365 ___ Python tracker

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨  ✨ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7b2185b8e495daed30b50fe89f3ada0dc0129b62 by Miss Islington (bot) in branch '3.9': bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27362) https://github.com/python/cpython/commit/7b2185b8e495daed30b50fe89f3ada0dc0129b62 --

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 16a174f7bac481ff6f859179b30a74d867747137 by Miss Islington (bot) in branch '3.10': bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27361) https://github.com/python/cpython/commit/16a174f7bac481ff6f859179b30a74d867747137 --

[issue44697] Memory leak when asyncio.open_connection raise

2021-07-26 Thread Kyle Stanley
Kyle Stanley added the comment: Thank you Arteem, that should help indicate where the memory leak is present. -- ___ Python tracker ___

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +25902 pull_request: https://github.com/python/cpython/pull/27362 ___ Python tracker ___

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25901 pull_request: https://github.com/python/cpython/pull/27361 ___ Python tracker

[issue44734] turtle: tests for Vec2D.__abs__ are too strict

2021-07-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3f135c073a53793ec68902f6b513934ddff47235 by Logan Jones in branch 'main': bpo-44734: Fix precision in turtle tests (GH-27343) https://github.com/python/cpython/commit/3f135c073a53793ec68902f6b513934ddff47235 -- nosy: +lukasz.langa

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-26 Thread ready-research
New submission from ready-research : `urlparse` mishandles certain uses of extra slash or backslash(such as https:/// , https:/, https:\) and interprets the URI as a relative path. A userland logic implementation that bases its decision on the urlparse() function may introduce a security

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: I agree not backporting is most likely fine; just want to add that the issue here is that it allows you to enter command for an invalid breakpoint, creating a strong impression both that bpoint is valid and that command will be active. --

[issue44037] Broad performance regression from 3.10a7 to 3.10b2 with python.org macOS binaries

2021-07-26 Thread Ondrej Novak
Change by Ondrej Novak : -- nosy: +andrenvk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44682] Pdb commands allows to add commands to invalid breakpoint

2021-07-26 Thread Irit Katriel
Irit Katriel added the comment: Silently ignoring errors is not exactly a bug, and this change might break some scripts. So I think we should not backport it. -- nosy: +iritkatriel versions: -Python 3.10, Python 3.9 ___ Python tracker

[issue44743] asyncio DatagramProtocol stops calling callbacks after OSError

2021-07-26 Thread Julian_Orteil
New submission from Julian_Orteil : After working through the Transports and Protocols documentation of asyncio, I decided to stress test the DatagramProtocol as an application I'm developing needs to act as a UDP server. One of my tests drops the client before the server responds which

[issue44742] smtplib: less confusing behaviour when giving incorrect multiple recipients list

2021-07-26 Thread Célestin Matte
New submission from Célestin Matte : When giving recipients in a string format ("email1, email2") to sendmail(), an email is sent to the first email in the list only. This is not a bug since the documentation indicates that sendmail() takes either a list of addresses, or a single address in a

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Dong-hee Na
Dong-hee Na added the comment: @felixxm Please submit the PR :) -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list

[issue44741] Pattern Matching - star subpattern with a subject derived from collections.abc.Sequence

2021-07-26 Thread Pierre Quentel
New submission from Pierre Quentel : This code match range(42): case [x, *w, y]: z = 0 sets w to a list with 40 items : the length of the subject, minus the number of non-star subpatterns. But this code (adapted from test_patma_186) enters an infinite loop

[issue40106] multiprocessor spawn

2021-07-26 Thread Ondrej Novak
Change by Ondrej Novak : -- nosy: +andrenvk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Eric V. Smith
Eric V. Smith added the comment: That seems reasonable to me. -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list

[issue32937] Multiprocessing worker functions not terminating with a large number of processes and a manager

2021-07-26 Thread Andrei Kulakov
Andrei Kulakov added the comment: I have confirmed the reproducer posted by Ronald also works for me, on 3.11 compiled from dev branch, also with cpu count == 8; on the new M1 silicon (that shouldn't matter though). I agree this can be closed. -- nosy: +andrei.avk status: pending

[issue27035] Cannot set exit code in atexit callback

2021-07-26 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.10, Python 3.11 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue44740] Lowercase "Internet" and "web" in docs

2021-07-26 Thread Mariusz Felisiak
New submission from Mariusz Felisiak : AP lowercased "internet" and "web" in all instances – web page, the web, web browser, etc. on June 1, 2016: https://twitter.com/APStylebook/status/716384777406922753 https://twitter.com/APStylebook/status/716279539052191746?s=20 I'd be happy to provide a

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2021-07-26 Thread Thomas Wouters
Thomas Wouters added the comment: This was fixed back in 2018, in fact. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44739] XScrollbar is not stationary

2021-07-26 Thread logon_name
New submission from logon_name : Hello! When I was working on Tkinter GUI, I made a Text with two Scrollbars. But when I created many lines, filled the last line with letters, and then dragged the YScrollbar upwards, the XScrollbar could not be dragged. Moreover, when dragging down to the

[issue44590] Create frame objects lazily when needed

2021-07-26 Thread Mark Shannon
Mark Shannon added the comment: New changeset ae0a2b756255629140efcbe57fc2e714f0267aa3 by Mark Shannon in branch 'main': bpo-44590: Lazily allocate frame objects (GH-27077) https://github.com/python/cpython/commit/ae0a2b756255629140efcbe57fc2e714f0267aa3 --

[issue44697] Memory leak when asyncio.open_connection raise

2021-07-26 Thread Artem
Artem added the comment: Checked on 3.9.6 - still leaking. Strange stuff, but if I write except OSError as e: del self instead of except OSError as e: pass leak is disappearing. -- versions: +Python 3.9 -Python 3.6 ___ Python tracker

[issue44738] io_uring as a new backend to selectors and asyncio

2021-07-26 Thread Joongi Kim
Joongi Kim added the comment: As in the previous discussion, instead of tackling stdlib right away, it would be nice to evaluate the approach using 3rd-party libs, such as trio and/or async-tokio, or maybe a new library. I have a strong feeling that we need to improve the async file I/O.

[issue44738] io_uring as a new backend to selectors and asyncio

2021-07-26 Thread Joongi Kim
Joongi Kim added the comment: Ah, yes, but one year has passed so it may be another chance to discuss its adoption, as new advances like tokio_uring became available. -- ___ Python tracker

[issue44738] io_uring as a new backend to selectors and asyncio

2021-07-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: I think this is a dupe of issue41271? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44738] io_uring as a new backend to selectors and asyncio

2021-07-26 Thread Joongi Kim
New submission from Joongi Kim : This is a rough early idea suggestion on adding io_uring as an alternative I/O multiplexing mechanism in Python (maybe selectors and asyncio). io_uring is a relatively new I/O mechanism introduced in Linux kernel 5.1 or later. https://lwn.net/Articles/776703/

[issue25549] call sum on list of timedelta throws TypeError

2021-07-26 Thread sedrubal
sedrubal added the comment: What is the reason for this start parameter? Why will sum not just use the first entry of the input sequence? I think at least a error message that points programmers into the right direction was very helpful. -- nosy: +sedrubal