[issue20970] [doc] contradictory documentation for prog option of argparse

2022-02-26 Thread Stanley
Change by Stanley : -- keywords: +patch nosy: +slateny nosy_count: 6.0 -> 7.0 pull_requests: +29725 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31602 ___ Python tracker

[issue46869] platform.release() and sys returns wrong version on Windows 11

2022-02-26 Thread Eryk Sun
Eryk Sun added the comment: platform.release() returns platform.uname().release, which comes from platform.win32_ver() in Windows [1]. The issue with Windows 11 is being discussed in bpo-45382, but no PR has been submitted yet to resolve the issue. > >>>

[issue40124] Clearer assertion error

2022-02-26 Thread Maximilian Hils
Maximilian Hils added the comment: I'm pretty sure this issue is a duplicate of bpo-issue29930. -- nosy: +mhils versions: +Python 3.10 ___ Python tracker ___

[issue28824] os.environ should preserve the case of the OS keys ?

2022-02-26 Thread Eryk Sun
Eryk Sun added the comment: > I think there should be a public class like this. I wrote a basic implementation of _CaseInsensitiveString under the assumption that it's hidden behind the __getitem__(), __setitem__(), and __delitem__() methods of the _Environ class. I don't want to complicate

[issue29251] [doc] Class __dict__ is only a mapping proxy

2022-02-26 Thread Stanley
Stanley added the comment: >From what I can see, the original patch changed ... and the *dict* dictionary is the namespace containing definitions for class body and is copied to a standard dictionary to become the __dict__ attribute into this ... and the *dict* dictionary is copied to the

[issue46871] BaseManager.register no longer supports lambda callable 3.8.12+

2022-02-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: Works for me in Python 3.10.0 on Linux. After running your code, I get shared_dict is a DictProxy: >>> shared_dict >>> list(shared_dict.items()) [('number', 0), ('text', 'Hello World')] and shared_lock an AcquirerProxy object. Please double-check that

[issue46868] Improve performance of math.prod with bignums (and functools.reduce?)

2022-02-26 Thread Tim Peters
Tim Peters added the comment: I don't know that there's a good use case for this. For floating addition, tree-based summation can greatly reduce total roundoff error, but that's not true of floating multiplication. The advantage for prod(range(2, 50001)) doesn't really stem from turning it

[issue46871] BaseManager.register no longer supports lambda callable 3.8.12+

2022-02-26 Thread Kyle Smith
New submission from Kyle Smith : The below code works on versions 3.5.2 to 3.8.10. Higher versions tested, such as 3.9.12 and 3.10.2 result in the error: "AttributeError: Can't pickle local object". from multiprocessing import Lock from multiprocessing.managers import AcquirerProxy,

[issue46864] Deprecate ob_shash in BytesObject

2022-02-26 Thread Inada Naoki
Inada Naoki added the comment: When removed shash: ``` ## small key $ ./python -m pyperf timeit --compare-to ../cpython/python -s 'd={b"foo":1, b"bar":2, b"buzz":3}' -- 'b"key" in d' /home/inada-n/work/python/cpython/python: . 23.2 ns +- 1.7 ns

[issue46845] dict: Use smaller entry for Unicode-key only dict.

2022-02-26 Thread Inada Naoki
Inada Naoki added the comment: I added _PyDict_FromItems() to the PR. It checks that all keys are Unicode or not before creating dict. _PyDict_NewPresized() just returns general-purpose dict. But it isn't used from CPython core. It is just kept for compatibility (for Cython). ``` $ ./python

[issue46864] Deprecate ob_shash in BytesObject

2022-02-26 Thread Inada Naoki
Inada Naoki added the comment: > But some programs can still work with encoded bytes instead of strings. In > particular os.environ and os.environb are implemented as dict of bytes on > non-Windows. This change doesn't affect to os.environ. os.environ[key] does

[issue46870] Improper Input Validation in urlparse

2022-02-26 Thread Pocas
Pocas added the comment: >>> print(urlparse('https:\\google.com')) ParseResult(scheme='https', netloc='', path='\\google.com', params='', query='', fragment='') >>> print(urlparse('https://google.com@localhost')) ParseResult(scheme='https', netloc='google.com@localhost', path='', params='',

[issue46870] Improper Input Validation in urlparse

2022-02-26 Thread Pocas
Change by Pocas : -- type: performance -> security ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46870] Improper Input Validation in urlparse

2022-02-26 Thread Pocas
New submission from Pocas : If http:@localhost url is entered as an argument value of the urlpasre() function, the parser cannot parse it properly. Since http:@localhost is a valid URL, the character after the @ character must be parsed as a hostname. Python 3.9.10 (main, Jan 15 2022,

[issue46852] Remove the float.__setformat__() method

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5a1c637ec6264790d3cfeef46815c62c32b510f3 by Victor Stinner in branch 'main': bpo-46852: Restore test_getformat() test (GH-31601) https://github.com/python/cpython/commit/5a1c637ec6264790d3cfeef46815c62c32b510f3 --

[issue46857] Python leaks one reference at exit on Windows

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: Ah, with PYTHONDUMPREFS=1 (and without -I), I get a negative ref count: $ PYTHONDUMPREFS=1 ./python -X showrefcount -c pass [-10 refs, 0 blocks] I don't plan to investigate this issue. I'm not using PYTHONDUMPREFS=1 anymore. --

[issue46869] platform.release() and sys returns wrong version on Windows 11

2022-02-26 Thread Evernow
New submission from Evernow : Hello. On Windows 11 the platform module returns Windows 10 instead of Windows 11, same for the sys module. Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for

[issue46868] Improve performance of math.prod with bignums (and functools.reduce?)

2022-02-26 Thread Ned Deily
Change by Ned Deily : -- nosy: +mark.dickinson, rhettinger, tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46857] Python leaks one reference at exit on Windows

2022-02-26 Thread Jeremy Kloth
Jeremy Kloth added the comment: Did you also modify initconfig.c? That part is required as the usual processing of the environment variable PYTHONDUMPREFS needed to enable tracing output is ignored with -I -- ___ Python tracker

[issue46430] intern strings in deepfrozen modules

2022-02-26 Thread Guido van Rossum
Guido van Rossum added the comment: > PEP 587 introduced PyStatus to Python startup code which let the > Py_Initialize() caller to decide how to handle errors ;-) For example, you > can open a graphical popup rather than killing the process with SIGABRT > (Py_FatalError() behavior) which

[issue46868] Improve performance of math.prod with bignums (and functools.reduce?)

2022-02-26 Thread benrg
New submission from benrg : math.prod is slow at multiplying arbitrary-precision numbers. E.g., compare the run time of factorial(5) to prod(range(2, 50001)). factorial has some special-case optimizations, but the bulk of the difference is due to prod evaluating an expression tree of

[issue46857] Python leaks one reference at exit on Windows

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: I just built Python with --with-trace-refs. On Linux, it works as expected: $ ./python -I -X showrefcount -c pass [0 refs, 0 blocks] -- ___ Python tracker

[issue46857] Python leaks one reference at exit on Windows

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: > Initially, I modified Py_INCREF to dump the object (addr & tp_name) on > initial inc (ob_refcnt == 1) and Py_DECREF to dump on final dec > (ob_refcnt == 0). Then filter that list (~65K) to find objects not > dealloc'ed. Given those names (~200), cross-check

[issue46867] difference of work

2022-02-26 Thread grifonice99
Change by grifonice99 : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46857] Python leaks one reference at exit on Windows

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset ad56919c5ed54523f866e6605a2573ab7b7d5235 by Victor Stinner in branch 'main': bpo-46857: Fix refleak in OSError INIT_ALIAS() (GH-31594) https://github.com/python/cpython/commit/ad56919c5ed54523f866e6605a2573ab7b7d5235 --

[issue46608] Exclude marshalled-frozen data if deep-freezing to save 300 KB space

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: https://docs.python.org/dev/whatsnew/3.11.html#c-api-changes documents the addition of the "is_package" member to the _frozen structure, but it doesn't mention the new "get_code" member. Can it be also documented? -- nosy: +vstinner

[issue46748] Python.h includes stdbool.h

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset e182c660b63bc23420fb9f0593d77a3fa3b7f1c7 by Kumar Aditya in branch 'main': bpo-46748: Fix ctypes test_frozentable() (GH-31600) https://github.com/python/cpython/commit/e182c660b63bc23420fb9f0593d77a3fa3b7f1c7 --

[issue46430] intern strings in deepfrozen modules

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: > The other functions you are calling *do* return errors. You should not ignore > those. If any errors are reported the caller can decide what to do (e.g. call > Py_FatalError(). PEP 587 introduced PyStatus to Python startup code which let the

[issue46430] intern strings in deepfrozen modules

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: commit 0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b Author: Kumar Aditya <59607654+kumaraditya...@users.noreply.github.com> Date: Sat Feb 26 22:05:03 2022 +0530 Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596) --

[issue46867] difference of work

2022-02-26 Thread grifonice99
New submission from grifonice99 : I was developing a ThreadPool with priority on windows, once done all the tests on windows I moved to linux and once I moved it didn't work anymore, because in the thread_start function there is the self that doesn't "update", thing that it does on windows

[issue46606] Large C stack usage of os.getgroups() and os.setgroups()

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: > NGROUPS_MAX is 65536 and sizeof(gid_t) is 4 on Ubuntu 20.04, so grouplist is > 262144bytes. Oops, that's a lot! Nicely spotted! Yeah, it's perfectly fine to allocate a temporary array on the heap memory. There is no need to micro-optimize this function.

[issue46606] Large C stack usage of os.getgroups() and os.setgroups()

2022-02-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset e02c47528b31f513d5f5d6eb91b8c9714134cea2 by Victor Stinner in branch 'main': bpo-46606: os.getgroups() doesn't overallocate (GH-31569) https://github.com/python/cpython/commit/e02c47528b31f513d5f5d6eb91b8c9714134cea2 --

[issue46852] Remove the float.__setformat__() method

2022-02-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29724 pull_request: https://github.com/python/cpython/pull/31601 ___ Python tracker ___

[issue28824] os.environ should preserve the case of the OS keys ?

2022-02-26 Thread benrg
benrg added the comment: This issue should be marked dependent on issue 43702 or issue 46862, since fixing it could break third-party code unless they're fixed first. > Given 'nt.environ' is available without case remapping, I think that's the > best workaround. Right now, it's not a good

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

2022-02-26 Thread Brett Cannon
Brett Cannon added the comment: For me it took `docker run -v (pwd):/src quay.io/tiran/cpython_autoconf` (on fish and didn't run `docker pull` ahead of time). @tiran are you okay if we document your image and how to run it at

[issue46849] Memory problems detected using Valgrind

2022-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Posting a thousand line message makes following a discussion extremely difficult. Move it into an attachment, if you did not do that already, and delete the message by 'editing' it. As I said, I cannot otherwise respond to this. --

[issue13821] [doc] misleading return from isidentifier

2022-02-26 Thread Stanley
Stanley added the comment: For clarification then, would it be accurate to add a sentence like this in the documentation? "Note that isidentifier() still returns True even if the string may not be normalized." -- nosy: +slateny ___ Python

[issue46430] intern strings in deepfrozen modules

2022-02-26 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42760] inspect.iscoroutine returns False for asynchronous generator methods

2022-02-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of https://bugs.python.org/issue37190 -- nosy: +xtreak ___ Python tracker ___

[issue46777] Fix incorrect use of directives in asyncio documentation

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

[issue46661] Duplicate deprecation warnings in docs for asyncio

2022-02-26 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Marking as duplicate. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fix incorrect use of directives in asyncio documentation ___ Python tracker

[issue46847] functools.update_wrapper doesn't understand partial objects and annotations

2022-02-26 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46748] Python.h includes stdbool.h

2022-02-26 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 5.0 -> 6.0 pull_requests: +29723 pull_request: https://github.com/python/cpython/pull/31600 ___ Python tracker

[issue46833] Windows installer is unclear and has redundant settings

2022-02-26 Thread Éric Araujo
Change by Éric Araujo : Removed file: https://bugs.python.org/file50645/タイピング練習 (日本語編)|Benesseの大学・短期大学・専門学校の受験、進学情報.pdf ___ Python tracker ___

[issue46833] Windows installer is unclear and has redundant settings

2022-02-26 Thread Éric Araujo
Change by Éric Araujo : -- Removed message: https://bugs.python.org/msg414082 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42760] inspect.iscoroutine returns False for asynchronous generator methods

2022-02-26 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45159] data_received called on protocol after call to pause_reading on ssl transport

2022-02-26 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.11 -Python 3.10 ___ Python tracker ___

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-26 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Awesome! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46855] printing a string with strange characters loops forever

2022-02-26 Thread Éric Araujo
Éric Araujo added the comment: Note that the original issue seems to be that you had bytes but pasted it as a unicode string. This works: >>> b = b'Betrag gr\xc3\xb6\xc3\x9fer als Betrag der Original-Transaktion' >>> s = b.decode('utf-8') >>> print(s) Betrag größer als Betrag der

[issue45533] loop.sock_connect doesn't resolve the address parameter on Windows

2022-02-26 Thread Kumar Aditya
Kumar Aditya added the comment: Can you provide a minimal reproducer otherwise it is hard to know if there is any bug. -- nosy: +kumaraditya303 ___ Python tracker ___

[issue45159] data_received called on protocol after call to pause_reading on ssl transport

2022-02-26 Thread Kumar Aditya
Kumar Aditya added the comment: Since https://bugs.python.org/issue44011 is fixed, this can be closed now. -- nosy: +kumaraditya303 ___ Python tracker ___

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Adam
Adam added the comment: Yes agreed, it may well be a Pyenv issue. Interestingly we can demonstrate that the global OpenSSL crypto policies is respected with the 3.9.10 version, through adjusting the policy. The ssl error occurs with the default policy setting and is resolved with the legacy

[issue46661] Duplicate deprecation warnings in docs for asyncio

2022-02-26 Thread Kumar Aditya
Kumar Aditya added the comment: This was fixed in https://github.com/python/cpython/pull/31388, so this can be closed now. -- nosy: +kumaraditya303 ___ Python tracker ___

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-26 Thread Kumar Aditya
Kumar Aditya added the comment: @asvetlov I tested it on main branch and indeed it is fixed on main branch with https://bugs.python.org/issue44011. -- ___ Python tracker ___

[issue44011] Borrow asyncio ssl implementation from uvloop

2022-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 41ddcd3f40f8171a396e57b841a74fcc83884eab by Kumar Aditya in branch 'main': bpo-44011: Document ssl_shutdown_timeout added by revisited asyncio SSL implementation (GH-31597)

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Christian Heimes
Christian Heimes added the comment: This is a pyenv issue, not a Python issue. Custom builds of OpenSSL typically do not and cannot use global settings like crypto policies. They are missing distro downstream patches and use different config files. --

[issue46849] Memory problems detected using Valgrind

2022-02-26 Thread tongxiaoge
tongxiaoge added the comment: I also installed Python3.7.9、Python3. 8.5 tested and found no problems. -- ___ Python tracker ___ ___

[issue46849] Memory problems detected using Valgrind

2022-02-26 Thread tongxiaoge
tongxiaoge added the comment: The latest version is also problematic (Python 3.11.0a5). The above is the output stack information. Here are the steps to reproduce: 1. iotop -b -n 10 & 2. valgrind --leak-check=full /usr/sbin/iotop -b -n 5 > iotop_ test -- Added file:

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Adam
Adam added the comment: I found the Python build recipes and Pyenv does appear to install OpenSSL from source. The only difference I can see, aside from the Python version, is an update on the OpenSSL versions; openssl-1.1.1l (3.9.10) to openssl-1.1.1k (3.10.2). The OpenSSL release notes do

[issue46864] Deprecate ob_shash in BytesObject

2022-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is a legacy of Python 2. Attributes and variable names are Unicode strings in Python 3, so the main reason of this optimization is no longer relevant. But some programs can still work with encoded bytes instead of strings. In particular

[issue46866] bytes class extension with slices

2022-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it is consistent with all of builtin types. If you want to return a different type, override __getitem__(). -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2022-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b57dbe5d1be925b99f16fe5893e339f92fc05888 by Thomas Grainger in branch 'main': bpo-38415: Remove redundant AsyncContextDecorator.__call__ override from _AsyncGeneratorContextManager (GH-30233)

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Adam
Adam added the comment: Thanks for the quick reply. On both Ubuntu and Centos, I’m installing Python using Pyenv, testing with 3.9.10 and 3.10.2. Pyenv provides a verbose install flag, I can rebuild the Python versions and review the build commands, if helpful? I’m testing with clean Linux

[issue46866] bytes class extension with slices

2022-02-26 Thread Sec
New submission from Sec : When trying to extend the builtin bytes class, slices fall back to the builtin class. ``` class my_bytes(bytes): def dummy(self): print("dummy called") x=my_bytes.fromhex("c0de c0de") print(x.__class__) print(x[1:].__class__) ``` x.__class__ returns as

[issue46845] dict: Use smaller entry for Unicode-key only dict.

2022-02-26 Thread Inada Naoki
Inada Naoki added the comment: In most case, first PyDict_SetItem decides which format should be used. But _PyDict_NewPresized() can be a problem. It creates a hash table before inserting the first key, when 5 < (expected size) < 87382. In CPython code base, _PyDict_NewPresized() is called

[issue46859] NameError: free variable 'outer' referenced before assignment in enclosing scope

2022-02-26 Thread Norman Fung
Norman Fung added the comment: I think this will work, i need to test further but it seems to work on python 3.8.5. I think the prev fix didnt really fix it. And the core of the problem was " _done_callback" fired before "outer" was defined by " _GatheringFuture" . Have a look at "Look here"

[issue46863] Python 3.10 OpenSSL Configuration Issues

2022-02-26 Thread Christian Heimes
Christian Heimes added the comment: How did you build Python 3.10? Neither CentOS 8 nor Ubuntu 20.04 come with Python 3.10. Does your build of Python use system's OpenSSL build? -- assignee: christian.heimes -> ___ Python tracker

[issue46865] *() Invalid Syntax: iterable unpacking of empty tuple

2022-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See the grammar. https://docs.python.org/3/reference/expressions.html#conditional-expressions conditional_expression ::= or_test ["if" or_test "else" expression] expression ::= conditional_expression | lambda_expr `*()` is not an

[issue46865] *() Invalid Syntax: iterable unpacking of empty tuple

2022-02-26 Thread Robert Spralja
Robert Spralja added the comment: I understand that it's invalid synatax, but not why. On Sat, 26 Feb 2022 at 10:07, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > It is an invalid syntax. Write foo(*((stri,) if stri else ())). > > -- > nosy: +serhiy.storchaka

[issue46865] *() Invalid Syntax: iterable unpacking of empty tuple

2022-02-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is an invalid syntax. Write foo(*((stri,) if stri else ())). -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue46865] *() Invalid Syntax: iterable unpacking of empty tuple

2022-02-26 Thread Robert Spralja
New submission from Robert Spralja : ` >>> def foo(num=1): ... return num ... >>> foo(*(bool,) is bool else *()) File "", line 1 foo(*(bool,) is bool else *()) ^ SyntaxError: invalid syntax >>> foo(*(bool,) if bool else *()) File "", line 1 foo(*(bool,)

[issue46541] Replace _Py_IDENTIFIER() with statically initialized objects.

2022-02-26 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29722 pull_request: https://github.com/python/cpython/pull/31599 ___ Python tracker ___

[issue28824] os.environ should preserve the case of the OS keys ?

2022-02-26 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46859] NameError: free variable 'outer' referenced before assignment in enclosing scope

2022-02-26 Thread Norman Fung
Norman Fung added the comment: I tried hacking tasks.py (After revert back to Python 3.8.5), it didn't work: Error disappeared, but essentially the program execution freezed. def _done_callback(fut): ... more ... try: outer except NameError: outer = None if

[issue46864] Deprecate ob_shash in BytesObject

2022-02-26 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +29721 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31598 ___ Python tracker ___

[issue46864] Deprecate ob_shash in BytesObject

2022-02-26 Thread Inada Naoki
New submission from Inada Naoki : Code objects have more and more bytes attributes for now. To reduce the RAM by code, I want to remove ob_shash (cached hash value) from bytes object. Sets and dicts have own hash cache. Unless checking same bytes object against dicts/sets many times, this

[issue46833] Windows installer is unclear and has redundant settings

2022-02-26 Thread 各務優汰
各務優汰 added the comment: bっっっhbhyh -- nosy: +h30-04213 Added file: https://bugs.python.org/file50645/タイピング練習 (日本語編)|Benesseの大学・短期大学・専門学校の受験、進学情報.pdf ___ Python tracker ___

[issue46833] Windows installer is unclear and has redundant settings

2022-02-26 Thread Christian Buhtz
Christian Buhtz added the comment: Dear Steve, thanks for your feedback. I did not understand all details of your design decisions but I am OK with that. Variant A is fine for me, too. The important to points of A for me are 1) that the checkboxes on page 1 are moved up directly under the

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2022-02-26 Thread Kumar Aditya
Change by Kumar Aditya : -- type: -> enhancement versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list

[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

2022-02-26 Thread Kumar Aditya
Kumar Aditya added the comment: This has been fixed in the main branch since https://github.com/python/cpython/pull/31275, this can be closed now. -- nosy: +kumaraditya303 ___ Python tracker