[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-01 Thread Michał Górny
Michał Górny added the comment: > If it takes years for users to get to 3.10, we should reevaluate our > release cycle, not whether we aggressively break maintenance releases. I don't really understand how that would help. The problem is that users have major inertia for switching to newer P

[issue43992] Unable to get external dependencies for CPython on Ubuntu Linux 20.04.1

2021-05-01 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I've tweaked some of my settings and was able to get the dependencies but they are out of date. I tried upgrading them but not working. (I'm not new to Ubuntu but I'm also not excellent at Ubuntu. A little bit of explanation would be helpful.) --

[issue37903] IDLE Shell sidebar.

2021-05-01 Thread Tal Einat
Tal Einat added the comment: To those following, please note that the latest PR (GH-25708) adds a "Copy with prompts" context-menu option, to make copying interactive sessions for doc-tests and code examples convenient. -- ___ Python tracker

[issue43993] Update bundled pip to 21.1.1

2021-05-01 Thread Paul Moore
Paul Moore added the comment: New changeset bf99b7151663905fd5e71efe45184dc8fffc3236 by Stéphane Bidoul in branch 'master': bpo-43993: Update vendored pip to 21.1.1 (GH-25761) https://github.com/python/cpython/commit/bf99b7151663905fd5e71efe45184dc8fffc3236 -- nosy: +paul.moore

[issue37892] IDLE Shell: isolate user code input

2021-05-01 Thread Tal Einat
Tal Einat added the comment: > For doctests, one wants code with '>>> ' and '... ' prompts and unmarked > output. Note that with the latest PR, the shell sidebar now adds a "Copy with prompts" context-menu option which does precisely this. -- ___

[issue43871] urllib.parse.urlparse doesn't check port

2021-05-01 Thread Miguel Brito
Change by Miguel Brito : -- keywords: +patch nosy: +miguendes nosy_count: 4.0 -> 5.0 pull_requests: +24464 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25774 ___ Python tracker ___

[issue43871] urllib.parse.urlparse doesn't check port

2021-05-01 Thread Miguel Brito
Miguel Brito added the comment: I also think the validation logic should be ran as early as possible. I gave it a shot and implemented it. I appreciate any reviews: https://github.com/python/cpython/pull/25774 Got some ideas from https://github.com/python/cpython/pull/16780 -- ___

[issue43984] winreg.SetValueEx should check the returned value

2021-05-01 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I'm attaching a PR to fix this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue43984] winreg.SetValueEx should check the returned value

2021-05-01 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- keywords: +patch pull_requests: +24465 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25775 ___ Python tracker _

[issue43981] test_idle is leaking references

2021-05-01 Thread Tal Einat
Tal Einat added the comment: Pablo, many thanks for catching this, analyzing it and finding a fix! Sorry for missing this cleanup in the first place, and moreso for not having being able to look into this when you brought it up. -- ___ Python trac

[issue38530] Offer suggestions on AttributeError and NameError

2021-05-01 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +24466 pull_request: https://github.com/python/cpython/pull/25776 ___ Python tracker ___ __

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-05-01 Thread Miguel Brito
Miguel Brito added the comment: I was reading through the dev guide and past issues and I didn't know it's advisable to give the author of the issue a chance to submit the PR. Sorry about that, you can close mine in this case. -- ___ Python tracke

[issue38530] Offer suggestions on AttributeError and NameError

2021-05-01 Thread Dennis Sweeney
Dennis Sweeney added the comment: PR 25776 is a work in progress for what it might look like to do a few things: - Make case-swaps half the cost of any other edit - Refactor Levenshtein code to not use memory allocator, and to bail early on no match. - Add comments to Levenshtein distance cod

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
New submission from Christian Heimes : It's 2021. TLS 1.0 and 1.1 have been deprecated in RFC 8996. Browsers have disabled TLS 1.0 and 1.1, too. Python should no longer enable TLS 1.1 by default and require strong TLS ciphers with forward secrecy. I'm going to update Python's default cipher

[issue43869] Fix documentation of epoch/time.time

2021-05-01 Thread Miguel Brito
Change by Miguel Brito : -- keywords: +patch nosy: +miguendes nosy_count: 4.0 -> 5.0 pull_requests: +24467 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25777 ___ Python tracker ___

[issue43869] Fix documentation of epoch/time.time

2021-05-01 Thread Miguel Brito
Miguel Brito added the comment: Seen that no one is working on this issue I created an PR to clarify the docs. https://github.com/python/cpython/pull/25777 -- ___ Python tracker

[issue43762] Add audit events for loading of sqlite3 extensions

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24468 pull_request: https://github.com/python/cpython/pull/25778 ___ Python tracker ___

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-05-01 Thread Safihre
Safihre added the comment: It would be very beneficial if this gets added. In our application (usenet client) I have wondered for years why we had to limit ourselves to 16k blocks and have such lower speeds compared to non SSL connections. -- nosy: +Safihre _

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: The PR is still experimental and only applies to one direction. I doubt that it will be ready, reviewed, and approved for feature freeze of 3.10. -- ___ Python tracker __

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: $ openssl ciphers -v '@SECLEVEL=2:ECDH+AESGCM:ECDH+CHACHA20:ECDH+AES:DHE+AES:!aNULL:!eNULL:!aDSS:!SHA1:!AESCCM' TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any Au=any Enc=CHACHA2

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +24469 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25778 ___ Python tracker ___

[issue43974] setup.py should set Py_BUILD_CORE_MODULE as defined macro

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: > I would prefer to limit the usage of the internal C API in extension modules > built as dynamic libraries. See bpo-4: "[C API] Convert a few stdlib > extensions to the limited C API (PEP 384)". Let's make this a coordinated effort in 3.11. I suggest

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-05-01 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Tue, Apr 27, 2021 at 08:31:35AM +, Raymond Hettinger wrote: > Well, that complicated things ;-) I suppose he can revive this if he wants. That was just to note: it wasn't my (=> bad & stupid) idea. Lets hope, he will note, even not being subscribe

[issue43815] documentation for types.new_class() mention misleading default for exec_body

2021-05-01 Thread Shreyash Sharma
Change by Shreyash Sharma : -- keywords: +patch nosy: +shreyneil nosy_count: 2.0 -> 3.0 pull_requests: +24470 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25779 ___ Python tracker

[issue37903] IDLE Shell sidebar.

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is also a 'copy only code' option. Like 'copy', these two new options require a selection. They appear on the context menu when right-clicking either on the sidebar or within the selection. Like the format region commands, these new options operate

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: No apology needed. I don't know what has been added to the devguide, but most OPs never submit a PR unless they either do so or say they will when opening an issue. In any case, a week is more than a chance. --

[issue43952] Multiprocessing UNIX socket connection: client freeze if authkey is an empty byte string

2021-05-01 Thread Miguel Brito
Miguel Brito added the comment: I tried debugging this and from what I can see it's because there's an if that checks if the authkey is not None in the Client constructor: https://github.com/python/cpython/blob/v3.9.4/Lib/multiprocessing/connection.py#L512 ``` if authkey is not None:

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido, Integer as synonym for Integral was your idea, or at least your endorsement prompted me to file the issue. Other core devs don't think the change is worth the trouble; I don't much care. Speak up if you want to revive it. -- nosy: +gvanross

[issue43971] documentation: no spacing around default args in annotated function

2021-05-01 Thread Julien Palard
Julien Palard added the comment: Thanks Mohamed for the issue and Terry for fixing it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue28708] Low FD_SETSIZE limit on Windows

2021-05-01 Thread Molly Eskam
Molly Eskam added the comment: That's a ton of content on a single page. https://offshorededi.com/ -- nosy: +MollyEskam ___ Python tracker ___

[issue28708] Low FD_SETSIZE limit on Windows

2021-05-01 Thread Molly Eskam
Molly Eskam added the comment: Is FD_SETSIZE configurable at runtime? https://webcare360.com/ -- ___ Python tracker ___ ___ Python-

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24471 pull_request: https://github.com/python/cpython/pull/25780 ___ Python tracker ___

[issue28708] Low FD_SETSIZE limit on Windows

2021-05-01 Thread Nathaniel Smith
Change by Nathaniel Smith : -- Removed message: https://bugs.python.org/msg392594 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue28708] Low FD_SETSIZE limit on Windows

2021-05-01 Thread Nathaniel Smith
Change by Nathaniel Smith : -- Removed message: https://bugs.python.org/msg392595 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue28708] Low FD_SETSIZE limit on Windows

2021-05-01 Thread Nathaniel Smith
Change by Nathaniel Smith : -- Removed message: https://bugs.python.org/msg390813 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue43733] PEP 597: netrc uses locale encoding.

2021-05-01 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +24472 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25781 ___ Python tracker ___

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset f82fd77717b58c97a16c05e25c72388b35860459 by Christian Heimes in branch 'master': bpo-43989: Temporarily disable warnings in ssltests (GH-25780) https://github.com/python/cpython/commit/f82fd77717b58c97a16c05e25c72388b35860459 -- ___

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: Ethan, I have added a temporary workaround. Please revert f82fd77717b58c97a16c05e25c72388b35860459 when you fix the issue. Thanks! -- priority: deferred blocker -> high ___ Python tracker

[issue29657] os.symlink: FileExistsError shows wrong message

2021-05-01 Thread Yonatan Goldschmidt
Yonatan Goldschmidt added the comment: Just reached this issue independently (spent a few minutes debugging an error message like "FileExistsError: [Errno 17] File exists: 'a' -> 'b'", where 'a' didn't exist...) I agree with Rich on this - for me, the source of confusion was that the way Py

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread robertohueso
robertohueso added the comment: I opened PR 25769, I think it's the correct fix but I'm a new contributor, so not 100% sure. Please, review when you have time :) -- ___ Python tracker __

[issue43993] Update bundled pip to 21.1.1

2021-05-01 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- pull_requests: +24473 pull_request: https://github.com/python/cpython/pull/25782 ___ Python tracker ___ __

[issue43993] Update bundled pip to 21.1.1

2021-05-01 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- pull_requests: +24474 pull_request: https://github.com/python/cpython/pull/25783 ___ Python tracker ___ __

[issue36656] Add race-free os.link and os.symlink wrapper / helper

2021-05-01 Thread Yonatan Goldschmidt
Change by Yonatan Goldschmidt : -- nosy: +Yonatan Goldschmidt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31356] Add context manager to temporarily disable GC

2021-05-01 Thread Yonatan Goldschmidt
Change by Yonatan Goldschmidt : -- nosy: +Yonatan Goldschmidt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43993] Update bundled pip to 21.1.1

2021-05-01 Thread Paul Moore
Paul Moore added the comment: New changeset af1e06c62f3958082c4b409e771f291d12479b3d by Stéphane Bidoul in branch '3.9': [3.9] bpo-43993: Update vendored pip to 21.1.1 (GH-25761). (GH-25782) https://github.com/python/cpython/commit/af1e06c62f3958082c4b409e771f291d12479b3d -- ___

[issue43993] Update bundled pip to 21.1.1

2021-05-01 Thread Paul Moore
Paul Moore added the comment: New changeset 6034c4aa58fe7257d39b53c77944393700c66396 by Stéphane Bidoul in branch '3.8': [3.8] bpo-43993: Update vendored pip to 21.1.1 (GH-25761). (GH-25783) https://github.com/python/cpython/commit/6034c4aa58fe7257d39b53c77944393700c66396 -- ___

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems

2021-05-01 Thread Ned Batchelder
Ned Batchelder added the comment: I just spent an hour debugging this problem. I don't understand the intricacies of how setup.py is looking for files, but more and more people will have Catalina and the issue this presents. I can confirm that Andrew's suggestion works. Can we get this app

[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
New submission from Eric V. Smith : Originally reported in https://github.com/ericvsmith/dataclasses/issues/154 import pickle from dataclasses import dataclass @dataclass(frozen=True, slots=True) class ExampleDataclass: foo: str bar: int assert ExampleDataclass.__slots__ == ("foo",

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-05-01 Thread Ned Batchelder
Ned Batchelder added the comment: I'm trying to see if these changes affect coverage.py, but pytest 6.2.3 fails with: === CPython 3.10.0a7+ (rev 558df90109) with Python tracer (.tox/anypy/bin/python) === ImportError while loading conftest '/Users/nedbatchelder/coverage/trunk/tests/conftest.

[issue43993] Update bundled pip to 21.1.1

2021-05-01 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems

2021-05-01 Thread Ned Batchelder
Change by Ned Batchelder : -- keywords: +patch pull_requests: +24475 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25785 ___ Python tracker __

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-05-01 Thread Anthony Sottile
Anthony Sottile added the comment: ah yeah that's the `asname` ast change -- if you use the unreleased main branch it has a fix for that -- ___ Python tracker ___ ___

[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +24477 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25786 ___ Python tracker ___ __

[issue44000] Current PY_VERSION 3.10.0a7+ does not conform to PEP 440

2021-05-01 Thread Cyril Jouve
New submission from Cyril Jouve : It was changed from 3.10.0a7 to 3.10.0a7+ in https://github.com/python/cpython/commit/04eecf7fac8bb8d7a19d14cf2009088046956ab5 According to https://www.python.org/dev/peps/pep-0440/#public-version-identifiers, it should be something like 3.10.0a7.post1 or w

[issue44000] Current PY_VERSION 3.10.0a7+ does not conform to PEP 440

2021-05-01 Thread Ned Deily
Change by Ned Deily : -- nosy: +lukasz.langa, ned.deily, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue44001] typing.Literal: args must be hashable, not immutable

2021-05-01 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : After the changes from bpo-42345, the Literal documentation claims that "Literal objects will now raise a TypeError exception during equality comparisons if one of their parameters are not immutable." But in fact it's *unhashable* types that raise an error

[issue44000] Current PY_VERSION 3.10.0a7+ does not conform to PEP 440

2021-05-01 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: PEP 440 applies to Python packages, not to CPython itself. The "+" convention has been used in CPython for a long time, and changing it without a strong justification seems risky. -- nosy: +Jelle Zijlstra -lukasz.langa, ned.deily, pablogsal

[issue44000] Current PY_VERSION 3.10.0a7+ does not conform to PEP 440

2021-05-01 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- nosy: +lukasz.langa, ned.deily, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43972] Simple HTTP Request Handler in http.server does not set a content-length and does not close connections on 301s

2021-05-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Stephen, Could you give a brief demo of using curl to see the problematic behavior. I have testing with a version python and saw that without content length, the curl was behaving properly. ``` $mkdir foo $#add index.html to directory foo $python -m htt

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: I think there's still a flaw in the fixes implemented in 3.10 and 3.9 so far. We're closer, but probably not quite good enough yet. why? We aren't stripping the newlines+tab early enough. I think we need to do the stripping *right after* the _coerce_args

[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43994] change representation of match as / capture as `Name(..., ctx=Store())`

2021-05-01 Thread Guido van Rossum
Guido van Rossum added the comment: Honestly if someone manages to get a PR in I won’t be a spoilsport. So make me +0.-- --Guido (mobile) -- ___ Python tracker ___

[issue44000] Current PY_VERSION 3.10.0a7+ does not conform to PEP 440

2021-05-01 Thread Cyril Jouve
Cyril Jouve added the comment: sure, I'll raise the issue with poetry then. -- stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue44002] Use functools.lru_cache in urllib.parse instead of 1996 custom caching

2021-05-01 Thread Gregory P. Smith
New submission from Gregory P. Smith : `urllib.parse` has custom caching code for both `urlsplit()` and `quote()`. From 1996. https://github.com/python/cpython/commit/3fd32ecd9232fcb041b9f1f7a19a1e7e65cf11a0 https://github.com/python/cpython/commit/74495409861b357d9925937d6576229c74e2550d wi

[issue37903] IDLE Shell sidebar.

2021-05-01 Thread Tal Einat
Tal Einat added the comment: The "copy only code" feature has been removed for now. It can't currently be properly implemented, due to code input not being marked different than user input in between REPL commands, e.g. in response to an input() call. With that, the PR is currently free of

[issue43815] documentation for types.new_class() mention misleading default for exec_body

2021-05-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24478 pull_request: https://github.com/python/cpython/pull/25789 ___ Python tracker _

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset e983252b516edb15d4338b0a47631b59ef1e2536 by Christian Heimes in branch 'master': bpo-43998: Default to TLS 1.2 and increase cipher suite security (GH-25778) https://github.com/python/cpython/commit/e983252b516edb15d4338b0a47631b59ef1e2536 --

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: Thanks Roberto! I leave the review to Ethan. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2021-05-01 Thread Luke Granger-Brown
Luke Granger-Brown added the comment: Still seems to be a problem with everything up to Py3.11. -- nosy: +lukegb versions: +Python 3.10, Python 3.11, Python 3.8, Python 3.9 ___ Python tracker ___

[issue44002] Use functools.lru_cache in urllib.parse instead of 1996 custom caching

2021-05-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: While you're cleaning up the module, take a look at the Quoter class. It overrides __init__ and __missing__, so Quoter is not using any of the defaultdict features at all. I'm thinking it could just inherit from dict. -- nosy: +rhettinger _

[issue44002] Use functools.lru_cache in urllib.parse instead of 1996 custom caching

2021-05-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: Yeah, the Quoter class seems a little odd... Past notes of some the caching performance around the character quoting for quote() can be found in https://bugs.python.org/issue1285086 circa 2005-2010. -- nosy: -rhettinger __

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24479 pull_request: https://github.com/python/cpython/pull/25790 ___ Python tracker ___

[issue43957] [Enum] update __contains__ to return True for valid values

2021-05-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 9a42d5069a4c2a531076abfb198d2be26b57216c by Pablo Galindo in branch 'master': bpo-43957: Add a missins space to the new format enum warning (#25770) https://github.com/python/cpython/commit/9a42d5069a4c2a531076abfb198d2be26b57216c -

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > See https://meta.discourse.org/t/what-is-a-wiki-post/30801 Gotcha, will try to do that as soon as possible -- ___ Python tracker __

[issue44003] functools.lru_cache omits __defaults__ attribute from wrapped function

2021-05-01 Thread Gregory P. Smith
New submission from Gregory P. Smith : When the C implementation of functools.lru_cache was added in bpo/issue14373, it appears to have omitted setting `.__defaults__` on its wrapped function. ``` Python 3.10.0a7+ (heads/master-dirty:823fbf4e0e, May 1 2021, 11:10:30) [Clang 12.0.0 (clang-12

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24480 pull_request: https://github.com/python/cpython/pull/25791 ___ Python tracker ___

[issue43815] documentation for types.new_class() mention misleading default for exec_body

2021-05-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +24481 pull_request: https://github.com/python/cpython/pull/25788 ___ Python tracker ___ __

[issue43815] documentation for types.new_class() mention misleading default for exec_body

2021-05-01 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks, shreyneil! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37903] IDLE Shell sidebar.

2021-05-01 Thread Guido van Rossum
Guido van Rossum added the comment: Also, presumably most users don’t right click and look for options. They just drag a selection and hit ^C (or cmd-C).-- --Guido (mobile) -- ___ Python tracker _

[issue512981] readline /dev/tty problem

2021-05-01 Thread Pierre
Pierre added the comment: I suggest to reopen this issue as there was a regression with python3. import sys sys.stdin = open("/dev/tty", "r") import readline print(input()) Write some text and press left. Expected: the cursor goes left. Actual: prints '^[[D' as is readline had not been import

[issue44003] functools.lru_cache omits __defaults__ attribute from wrapped function

2021-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Where does functools.update_wrapper() set __defaults__? -- ___ Python tracker ___ ___ Python-bu

[issue44004] test_nntplib is failing in all buildbots

2021-05-01 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : test test_nntplib crashed -- Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 282, in _runtest_inner refleak = _runtest_inner2(ns, test_name) File

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24482 pull_request: https://github.com/python/cpython/pull/25792 ___ Python tracker ___

[issue43998] Increase security of TLS settings in 3.10

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset a5669b3c627e64c9196d9bb58b733eb723d34e99 by Christian Heimes in branch 'master': bpo-43998: Fix testing without ssl module (GH-25790) https://github.com/python/cpython/commit/a5669b3c627e64c9196d9bb58b733eb723d34e99 -- _

[issue44004] test_nntplib is failing in all buildbots

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: Should be fixed by a5669b3c627e64c9196d9bb58b733eb723d34e99 -- ___ Python tracker ___ ___ Pytho

[issue44004] test_nntplib is failing in all buildbots

2021-05-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Should be fixed by a5669b3c627e64c9196d9bb58b733eb723d34e99 Does this mean that all the RHEL7 buildbots are not testing the SSL module? -- ___ Python tracker _

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have transformed https://discuss.python.org/t/list-of-built-in-types-converted-to-heap-types/8403 into a wiki. Tell me if you need some alterations of something is missing. -- ___ Python tracker

[issue43957] [Enum] update __contains__ to return True for valid values

2021-05-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ethan can we close this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Ethan Furman
Ethan Furman added the comment: New changeset 55e5c680dde39c934bf162965820787272ce95f9 by Roberto Hueso in branch 'master': bpo-43989: Add signal format specifier for unix_events (GH-25769) https://github.com/python/cpython/commit/55e5c680dde39c934bf162965820787272ce95f9 -- ___

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +24483 pull_request: https://github.com/python/cpython/pull/25793 ___ Python tracker ___

[issue43957] [Enum] update __contains__ to return True for valid values

2021-05-01 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset ddbef71a2c166a5d5dd168e26493973053a953d6 by Christian Heimes in branch 'master': bpo-43916: Rewrite new hashlib tests, fix typo (GH-25791) https://github.com/python/cpython/commit/ddbef71a2c166a5d5dd168e26493973053a953d6 --

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread miss-islington
miss-islington added the comment: New changeset 1ae05fdf2d0a4cf12e355ad74c437cbfa89c9b93 by Ethan Furman in branch 'master': Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793) https://github.com/python/cpython/commit/1ae05fdf2d0a4cf12e355ad74c437cbfa89c9b93

[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA

2021-05-01 Thread Eric V. Smith
Eric V. Smith added the comment: Sorry, ZackerySpytz. I saw PR 25742 first and reviewed and merged it before I saw that you have an earlier PR on this issue. -- nosy: +eric.smith ___ Python tracker

[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA

2021-05-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +24484 pull_request: https://github.com/python/cpython/pull/25794 ___ Python tracker _

[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA

2021-05-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +24485 pull_request: https://github.com/python/cpython/pull/25795 ___ Python tracker ___ __

[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA

2021-05-01 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: What's the plan for heap type exceptions? PyErr_NewException() and PyErr_NewExceptionWithDoc() doesn't accept flags. -- ___ Python tracker ___

[issue43989] Enum deprecation breaks SSL tests

2021-05-01 Thread Christian Heimes
Christian Heimes added the comment: Thanks Ethan and Roberto! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

  1   2   >