[issue46486] Rename DesciptorClassification => DescriptorClassification in specialize.c

2022-01-23 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29017 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30830 ___ Python tracker <https://bugs.python.org/issu

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-23 Thread Kumar Aditya
Kumar Aditya added the comment: FYI, I updated the build files and got it working on Windows and clears around ~60 memory blocks. See the latest commit in branch. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-23 Thread Kumar Aditya
Kumar Aditya added the comment: > Be careful, Python must remain usable after Py_Finalize(): it's legit to call > Py_Initialize() again and execute new Python code. Example executing the same > code 4 times, each time Py_Initialize() and Py_Finalize() are called: ./Progr

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-23 Thread Kumar Aditya
Kumar Aditya added the comment: > Kumar, I'm not sure I follow your concerns about the bootstrap working > differently on Windows than on Unix. Is the problem that on Unix the > bootstrap interpreter is linked without deepfreeze.c so there is no > definit

[issue41682] [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure

2022-01-24 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 13.0 -> 14.0 pull_requests: +29027 pull_request: https://github.com/python/cpython/pull/30845 ___ Python tracker <https://bugs.python.org/issu

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-24 Thread Kumar Aditya
Kumar Aditya added the comment: > @Kumar do you want to tackle this? I don't like this approach as it is opposite to what we did to reduce the size of deep-frozen modules to merge them in one file and this approach requires to split

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-24 Thread Kumar Aditya
Kumar Aditya added the comment: > Aha. Maybe for now, the memory of immortal code objects can be deallocated in > pymain_free(). It's the last function called before Python exit the process. It seems like a viable option for now to only clear them when python is not embe

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-24 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29034 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30853 ___ Python tracker <https://bugs.python.org/issu

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-24 Thread Kumar Aditya
Kumar Aditya added the comment: Created PR https://github.com/python/cpython/pull/30853 -- ___ Python tracker <https://bugs.python.org/issue46476> ___ ___ Pytho

[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit

2022-01-24 Thread Kumar Aditya
Kumar Aditya added the comment: In the end I was able to restore the codeobjects before they were quickened so it works for both embedded and python command now. See the latest commits and it is also ready for review now. -- ___ Python tracker

[issue46510] Update Python2-style exception handling

2022-01-25 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 1.0 -> 2.0 pull_requests: +29061 pull_request: https://github.com/python/cpython/pull/30881 ___ Python tracker <https://bugs.python.org/issu

[issue46516] Use existing unbound_local_error label in DELETE_FAST opcode

2022-01-25 Thread Kumar Aditya
New submission from Kumar Aditya : There was already a unbound_local_error label defined so use it in DELETE_FAST opcode too. -- components: Interpreter Core messages: 411579 nosy: Mark.Shannon, kj, kumaraditya303 priority: normal pull_requests: 29063 severity: normal status: open

[issue46510] Update Python2-style exception handling

2022-01-25 Thread Kumar Aditya
Kumar Aditya added the comment: > It's not my intention here to go on a search-and-destroy mission to remove > all calls to sys.exc_info(), that would cause unnecessary code churn. I am > reviewing them to see where the call the sys.exc_info is close to other > legacy pro

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-01-26 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29100 pull_request: https://github.com/python/cpython/pull/30921 ___ Python tracker <https://bugs.python.org/issue45

[issue46524] test_peg_generator takes 8 minutes on Windows

2022-01-26 Thread Kumar Aditya
Kumar Aditya added the comment: Would it be possible to skip these tests when no changes to the parser related code are made to speed up tests? -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46

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

2022-01-27 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46541> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-27 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29155 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30976 ___ Python tracker <https://bugs.python.org/issu

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-27 Thread Kumar Aditya
Kumar Aditya added the comment: I created a PR https://github.com/python/cpython/pull/30976 which adjusts _Py_RefTotal and refcnt of immortal codeobjects to account for Py_INCREF/Py_DECREF on codeobjects. With that patch refcnt is 8 and increases by 8 with each initialization of Python

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-27 Thread Kumar Aditya
Kumar Aditya added the comment: Christian's solution seems better to me so I'll close my PR. Christian would you like to create a PR for it ? -- ___ Python tracker <https://bugs.python.o

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29164 pull_request: https://github.com/python/cpython/pull/30985 ___ Python tracker <https://bugs.python.org/issue46

[issue46449] Deep-freezed modules create inconsistency in sys.gettotalrefcount() (_Py_Reftotal)

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29166 pull_request: https://github.com/python/cpython/pull/30987 ___ Python tracker <https://bugs.python.org/issue46

[issue46524] test_peg_generator takes 8 minutes on Windows

2022-01-28 Thread Kumar Aditya
Kumar Aditya added the comment: Another solution would be to shard the tests on windows i.e. run tests on two different jobs concurrently, edgedb does this. See https://github.com/edgedb/edgedb/actions/runs/1746736086 -- ___ Python tracker

[issue46429] Merge all deepfrozen files into one

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Kumar Aditya
Kumar Aditya added the comment: I was reading typeobject.c and noticed that creating a super object currently requires creating a frame object which is created lazily and is slow and it would work with the InterpreterFrame as well so I created a PR for this optimization and now it does not

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29184 pull_request: https://github.com/python/cpython/pull/31002 ___ Python tracker <https://bugs.python.org/issue46

[issue26552] Failing ensure_future still creates a Task

2022-01-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29185 pull_request: https://github.com/python/cpython/pull/31003 ___ Python tracker <https://bugs.python.org/issue26

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-01-28 Thread Kumar Aditya
Kumar Aditya added the comment: Oh, I didn't see your PR and commented as it was not mentioned in this bpo. Would you like to split the PR or continue with yours, either way is fine? -- ___ Python tracker <https://bugs.python.org/is

[issue46524] test_peg_generator takes 8 minutes on Windows

2022-01-30 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29196 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31017 ___ Python tracker <https://bugs.python.org/issu

[issue46597] Remove Python 3.3 compatibility code from overlapped.c

2022-02-01 Thread Kumar Aditya
New submission from Kumar Aditya : Remove Python 3.3 compatibility code from overlapped.c. https://github.com/python/cpython/blob/108e66b6d23efd0fc2966163ead9434b328c5f17/Modules/overlapped.c#L27 -- components: asyncio messages: 412245 nosy: asvetlov, kumaraditya303, yselivanov

[issue46597] Remove Python 3.3 compatibility code from overlapped.c

2022-02-01 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29230 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31049 ___ Python tracker <https://bugs.python.org/issu

[issue40077] Convert static types to heap types: use PyType_FromSpec()

2022-02-01 Thread Kumar Aditya
Kumar Aditya added the comment: On Windows PC/winreg.c has PyHKEY_Type static type which isn't cleared at exit too. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/is

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

2022-02-02 Thread Kumar Aditya
New submission from Kumar Aditya : This reduces the size of the data segment by 300 KB of the executable because if the modules are deep-frozen then the marshalled frozen data just wastes space. This was inspired by comment by @gvanrossum in #29118 (comment). Note: There is a new option

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

2022-02-02 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29259 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31074 ___ Python tracker <https://bugs.python.org/issu

[issue46597] Remove Python 3.3 compatibility code from overlapped.c

2022-02-02 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2022-02-04 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29310 pull_request: https://github.com/python/cpython/pull/31131 ___ Python tracker <https://bugs.python.org/issue46

[issue46430] intern strings in deepfrozen modules

2022-02-10 Thread Kumar Aditya
Kumar Aditya added the comment: I consider this done so closing it as improving the error handling of interning it out of scope of this issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pytho

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

2022-02-10 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46712] Share global string identifiers in deepfreeze

2022-02-10 Thread Kumar Aditya
New submission from Kumar Aditya : Since bpo-46541, the global strings are statically allocated so they can now be referenced by deep-frozen modules just like any other singleton. Sharing identifiers with deepfreeze will reduce the duplicated strings hence it would save space. See https

[issue46712] Share global string identifiers in deepfreeze

2022-02-10 Thread Kumar Aditya
Kumar Aditya added the comment: I have refactored generate_global_objects.py, and now instead of hard-coding every identifier manually, it now scans *.c files extracts the identifiers used in it and then generate the header file. This has multiple advantages: - No need to manually add

[issue46712] Share global string identifiers in deepfreeze

2022-02-10 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29427 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31261 ___ Python tracker <https://bugs.python.org/issu

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

2022-02-10 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29428 pull_request: https://github.com/python/cpython/pull/31261 ___ Python tracker <https://bugs.python.org/issue46

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

2022-02-11 Thread Kumar Aditya
Kumar Aditya added the comment: Same issue as https://bugs.python.org/issue46465, PR https://github.com/python/cpython/pull/30826 fixes this. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46

[issue43216] Removal of @asyncio.coroutine in Python 3.11

2022-02-11 Thread Kumar Aditya
Kumar Aditya added the comment: Can this be closed now? -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue43216> ___ ___ Python-bug

[issue44011] Borrow asyncio ssl implementation from uvloop

2022-02-11 Thread Kumar Aditya
Kumar Aditya added the comment: Since it was reverted as it was beta period, Can this be committed again as 3.11 is in alpha currently? @asvetlov -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue44

[issue44011] Borrow asyncio ssl implementation from uvloop

2022-02-11 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29438 pull_request: https://github.com/python/cpython/pull/31275 ___ Python tracker <https://bugs.python.org/issue44

[issue44011] Borrow asyncio ssl implementation from uvloop

2022-02-11 Thread Kumar Aditya
Kumar Aditya added the comment: I created a draft PR by rebasing the old implementation of 3.10 for 3.11 so we can investigate the build-bots failure and fix them so this can be committed for 3.11. See https://github.com/python/cpython/pull/31275

[issue44011] Borrow asyncio ssl implementation from uvloop

2022-02-11 Thread Kumar Aditya
Change by Kumar Aditya : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker <https://bugs.python.org/issue44011> ___ ___ Python-bugs-list mailin

[issue46119] Update bundled pip to 21.3.1 and setuptools to 59.7.0

2022-02-11 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46430] intern strings in deepfrozen modules

2022-02-23 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29670 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31549 ___ Python tracker <https://bugs.python.org/issu

[issue46430] intern strings in deepfrozen modules

2022-02-23 Thread Kumar Aditya
Kumar Aditya added the comment: I have created a PR to fix the memory leak, See https://github.com/python/cpython/pull/31549 -- ___ Python tracker <https://bugs.python.org/issue46

[issue46430] intern strings in deepfrozen modules

2022-02-24 Thread Kumar Aditya
Kumar Aditya added the comment: > Okay, let's change the error handling. @Kumar, can you handle that? How it should be handled? Currently PyUnicode_InternInPlace ignores any errors and does not return it. It would be backwards-incompatible to change that, moreover as I explained i

[issue46712] Share global string identifiers in deepfreeze

2022-02-25 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29718 pull_request: https://github.com/python/cpython/pull/31596 ___ Python tracker <https://bugs.python.org/issue46

[issue46430] intern strings in deepfrozen modules

2022-02-25 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29719 pull_request: https://github.com/python/cpython/pull/31596 ___ Python tracker <https://bugs.python.org/issue46

[issue44011] Borrow asyncio ssl implementation from uvloop

2022-02-25 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29720 pull_request: https://github.com/python/cpython/pull/31597 ___ Python tracker <https://bugs.python.org/issue44

[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 <https://bugs.python.org/issue37

[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 <https://bugs.python.org/issue37179> ___ ___ Python-

[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 <https://bugs.python.org/issue46

[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 <https://bugs.python.org/issue46

[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 <https://bugs.python.org/issue46

[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 <https://bugs.python.org/issue45

[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 <https://bugs.python.org/issue45

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

2022-02-26 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue42760> ___ ___ 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 <https://bugs.python.org/issu

[issue30698] asyncio sslproto do not shutdown ssl layer cleanly

2022-02-27 Thread Kumar Aditya
Kumar Aditya added the comment: Since https://bugs.python.org/issue44011 is fixed now, this can be closed. @asvetlov -- nosy: +kumaraditya303 versions: +Python 3.11 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.

[issue43884] Cannot cleanly kill a subprocess using high-level asyncio APIs

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- versions: +Python 3.11 -Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43884> ___ ___ Python-bugs-list mailin

[issue43884] Cannot cleanly kill a subprocess using high-level asyncio APIs

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 5.0 -> 6.0 pull_requests: +29734 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31611 ___ Python tracker <https://bugs.p

[issue46877] [doc] unittest.doModuleCleanups() does not exist

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46877> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46877] [doc] unittest.doModuleCleanups() does not exist

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29737 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31611 ___ Python tracker <https://bugs.python.org/issu

[issue46877] [doc] unittest.doModuleCleanups() does not exist

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +29738 pull_request: https://github.com/python/cpython/pull/31613 ___ Python tracker <https://bugs.python.org/issue46

[issue46881] Statically allocate and initialize the latin1 characters.

2022-02-28 Thread Kumar Aditya
New submission from Kumar Aditya : Statically allocate and initialize the latin1 characters. This *should* make iterating over a ascii strings faster as it avoids an atomic read in PyInterpreterState_GET() to get unicode state in get_latin1_char, makes get_latin1_char branchless and can be

[issue46881] Statically allocate and initialize the latin1 characters.

2022-02-28 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29741 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31616 ___ Python tracker <https://bugs.python.org/issu

[issue46832] unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found

2022-03-03 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +eric.snow, vstinner ___ Python tracker <https://bugs.python.org/issue46832> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45062] test_asyncio: test_huge_content_recvinto() failed on PPC64LE RHEL8 Refleaks 3.9

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: @vstinner This issue has not been happening on the CI recently so can this be marked as pending or even close it and reopen when it does fail? -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.

[issue39758] StreamWriter.wait_closed() can hang indefinitely.

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: On main branch with rewritten SSL implementation GH-31275 bpo-44011, this raises TimeoutError: opened close started Traceback (most recent call last): File "/workspaces/cp

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: The original issue is fixed on main branch with bpo-44011 GH-31275, It now only raises warnings but no exceptions: --- (env) @kumaraditya303 ➜ /workspaces/cpython (latin1 ✗) $ python main.py /workspaces

[issue46832] unicodeobject.c doesn't compile when defined EXPERIMENTAL_ISOLATED_SUBINTERPRETERS, variable "interned" not found

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: @vstinner it is broken on main branch also. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46

[issue37368] test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: This is outdated as the last failure was almost a year ago. This should be closed or at least marked pending @vstinner. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue37

[issue45065] test_asyncio failed (env changed) on s390x RHEL8 Refleaks 3.10: RuntimeError('Event loop is closed') in _SSLProtocolTransport.__del__

2022-03-03 Thread Kumar Aditya
Kumar Aditya added the comment: asyncio ssl implementation has been rewritten with bpo-44011: This is outdated now and should be closed @vstinner. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue45

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2022-03-04 Thread Kumar Aditya
Kumar Aditya added the comment: Since bpo-issue44011 is fixed, this can be closed now @asvetlov. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue29

[issue36098] asyncio: ssl client-server with "slow" read

2022-03-04 Thread Kumar Aditya
Kumar Aditya added the comment: This has been fixed with bpo-44011 on main branch. Output on main branch: -- /workspaces/cpython/main.py:42: DeprecationWarning: There is no current event loop loop

[issue30556] asyncio.wait very slow with FIRST_COMPLETED

2022-03-04 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +asvetlov ___ Python tracker <https://bugs.python.org/issue30556> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46937] convert remaining functions to AC in _weakref

2022-03-06 Thread Kumar Aditya
New submission from Kumar Aditya : Convert remaining functions to AC in _weakref so that they use the FASTCALL calling convection. -- messages: 414609 nosy: kumaraditya303 priority: normal severity: normal status: open title: convert remaining functions to AC in _weakref versions

[issue46937] convert remaining functions to AC in _weakref

2022-03-06 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29825 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31705 ___ Python tracker <https://bugs.python.org/issu

[issue46937] convert remaining functions to AC in _weakref

2022-03-06 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +corona10 ___ Python tracker <https://bugs.python.org/issue46937> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43447] Generate vectorcall code to parse arguments using Argument Clinic

2022-03-06 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue43447> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46341] duplicate paragraphs - asyncio Coroutines and Tasks file

2022-03-07 Thread Kumar Aditya
New submission from Kumar Aditya : This has been fixed in GH-31388. This can be closed now. -- nosy: +AlexWaygood, kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46

[issue46341] duplicate paragraphs - asyncio Coroutines and Tasks file

2022-03-07 Thread Kumar Aditya
Change by Kumar Aditya : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker <https://bugs.python.org/issue46341> ___ ___ Python-bugs-list mailin

[issue46944] Use FASTCALL calling convention in generator.throw

2022-03-07 Thread Kumar Aditya
New submission from Kumar Aditya : Use FASTCALL calling convention in generator.throw to avoid creating a temporary tuple to pass arguments to the function. -- components: Interpreter Core messages: 414660 nosy: Mark.Shannon, kumaraditya303 priority: normal pull_requests: 29839

[issue46374] Assertion failed in ceval.c

2022-03-07 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue46374> ___ ___

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Aditya Bhargava
Aditya Bhargava added the comment: Another patch. This contains all the patches from Brian Curtin's issue8218_v3.diff patch along with more edits, including an -> in teh -> the wordspushedtogether spaced out unnecessary _a_ words _is_ taken out -- nosy: +abhargava Added

[issue46953] use FASTCALL for __import__ builtin

2022-03-07 Thread Kumar Aditya
New submission from Kumar Aditya : Use FASTCALL for __import__ builtin. Benchmark: -- import pyperf runner = pyperf.Runner() runner.timeit(name="bench __import__", stmt="__im

[issue46953] use FASTCALL for __import__ builtin

2022-03-08 Thread Kumar Aditya
Kumar Aditya added the comment: The PR uses argument clinic and not hand written parsing code, which in turn is faster. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46953] use FASTCALL for __import__ builtin

2022-03-08 Thread Kumar Aditya
Kumar Aditya added the comment: Occurrence of __import__ calls in stdlib: grep __import__ Lib/*/*.py | wc -l 28 It is common to import directly via __import__ outside the stdlib too. -- ___ Python tracker <https://bugs.python.org/issue46

[issue39951] Ignore specific errors when closing ssl connections

2022-03-09 Thread Kumar Aditya
Kumar Aditya added the comment: @asvetlov This has been fixed on main branch with bpo-44011. This can be closed now. -- nosy: +kumaraditya303 versions: +Python 3.11 -Python 3.10, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.

[issue33886] SSL on aiomysql hangs on reconnection

2022-03-09 Thread Kumar Aditya
Kumar Aditya added the comment: The main branch has rewritten ssl implementation with bpo-44011. This is outdated now and does not has a reproducer. This can be closed @asvetlov. -- nosy: +kumaraditya303 ___ Python tracker <ht

[issue30740] SSLError when cancelling an SSL connection

2022-03-09 Thread Kumar Aditya
Kumar Aditya added the comment: This is fixed on main branch with bpo-44011 and does not raises exception. This can be closed now @asvetlov. -- nosy: +asvetlov, kumaraditya303 versions: +Python 3.11 -Python 3.6 ___ Python tracker <ht

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2022-03-09 Thread Kumar Aditya
Kumar Aditya added the comment: @asvetlov Anything left to do here or can this be closed ? -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue37

[issue46881] Statically allocate and initialize the latin1 characters.

2022-03-09 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> performance ___ Python tracker <https://bugs.python

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-09 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue46968> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46892] Async Call-Stack Reconstruction

2022-03-11 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +gvanrossum, kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46892> ___ ___ Python-bugs-list mailing list Unsub

<    1   2   3   >