[issue43528] "connect_read_pipe" raises errors on Windows for STDIN

2022-04-07 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> ProactorEventLoop doesn't support stdin/stdout nor files with connect_read_pipe/connect_write_pipe ___ Python tra

[issue43588] [Subinterpreters]: use static variable under building Python with --with-experimental-isolated-subinterpreters cause crash.

2022-04-07 Thread Kumar Aditya
Kumar Aditya added the comment: Most of the static variables were removed by GH-31366 so I closed those PRs as they were outdated, however some static variable still exist. -- nosy: +kumaraditya ___ Python tracker <https://bugs.python.

[issue24837] await process.wait() does not work with a new_event_loop

2022-03-30 Thread Kumar Aditya
Kumar Aditya added the comment: @asvetlov This is bug no longer exists, on main branch this is the output and it does not hangs: DEBUG:asyncio:Using selector: EpollSelector True -- nosy: +asvetlov, kumaraditya ___ Python tracker <ht

[issue46429] Merge all deepfrozen files into one

2022-03-30 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed status: open -> closed ___ Python tracker <https://bugs.python.org/issue46429> ___ ___ Python-bugs-list

[issue47127] Specialize call for c functions with METH_FASTCALL|METH_KEYWORDS

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

[issue46712] Share global string identifiers in deepfreeze

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

[issue47127] Specialize call for c functions with METH_FASTCALL|METH_KEYWORDS

2022-03-26 Thread Kumar Aditya
New submission from Kumar Aditya : Specialize call for c functions with METH_FASTCALL|METH_KEYWORDS flags. It is the second largest PRECALL specialization failure as per the stats. See https://github.com/faster-cpython/ideas/blob/main/stats.md#specialization-attempts-10

[issue47062] Implement asyncio.Runner context manager

2022-03-25 Thread Kumar Aditya
Kumar Aditya added the comment: With this change, Github Actions fails first time and it passes in the second rerun of running asyncio tests. See https://github.com/python/cpython/runs/5682275663?check_suite_focus=true and main branch. -- nosy: +kumaraditya303

[issue46429] Merge all deepfrozen files into one

2022-03-25 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: fixed -> status: closed -> open ___ Python tracker <https://bugs.python.org/issue46429> ___ ___ Python-bugs-list

[issue46429] Merge all deepfrozen files into one

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

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

2022-03-23 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +30160 pull_request: https://github.com/python/cpython/pull/32073 ___ Python tracker <https://bugs.python.org/issue43

[issue47012] Speed up iteration of bytes and bytearray

2022-03-23 Thread Kumar Aditya
Change by Kumar Aditya : -- components: +Interpreter Core resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2022-03-23 Thread Kumar Aditya
Kumar Aditya added the comment: @asvetlov Do you have any insight for this issue? -- ___ Python tracker <https://bugs.python.org/issue43884> ___ ___ Python-bug

[issue47076] test_asyncio: test_get_cancelled() fails randomly on x86-64 macOS 3.x

2022-03-21 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 3.0 -> 4.0 pull_requests: +30108 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32020 ___ Python tracker <https://bugs.p

[issue47010] Implement zero copy writes in SelectorSocketTransport in asyncio

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

[issue47012] Speed up iteration of bytes and bytearray

2022-03-14 Thread Kumar Aditya
New submission from Kumar Aditya : Benchmark and results are attached in the PR. -- messages: 415129 nosy: gvanrossum, kumaraditya303 priority: normal pull_requests: 29965 severity: normal status: open title: Speed up iteration of bytes and bytearray type: performance versions: Python

[issue47010] Implement zero copy writes in SelectorSocketTransport in asyncio

2022-03-14 Thread Kumar Aditya
New submission from Kumar Aditya : Currently, _SelectorSocketTransport transport creates a copy of the data before sending which in case of large amount of data, can create multiple giga bytes copies of data before sending. Script demonstrating current behavior

[issue46944] Use FASTCALL calling convention in generator.throw

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

[issue46953] use FASTCALL for __import__ builtin

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

[issue46993] Speed up bytearray creation from list and tuple

2022-03-12 Thread Kumar Aditya
New submission from Kumar Aditya : The attached PR speeds up bytearray creation from list and tuple. Benchmark (uses pyperf): - import pyperf runner = pyperf.Runner() runner.timeit(name="bench bytearray", stmt=&quo

[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

[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:

[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

[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

[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

[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

[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.

[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

[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-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

[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> ___ ___

[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

[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

[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

[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:

[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:

[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
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

[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:

[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

[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

[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

[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

[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

[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

[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

[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.

[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:

[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

[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

[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

[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 : -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/issue46877> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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

[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.

[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

[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:

[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

[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

[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

[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

[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

[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-

[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

[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

[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

[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-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 in ht

[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-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

[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

[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

[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 : -- 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: 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

[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

[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

[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

[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

[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
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

[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

[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-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

[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-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

[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

[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/issue40

[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

[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

[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

[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/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
Change by Kumar Aditya : -- pull_requests: +29184 pull_request: https://github.com/python/cpython/pull/31002 ___ Python tracker <https://bugs.python.org/issue46

[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

[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

[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

[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

[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

  1   2   3   >