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
___
Pytho
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.
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
Change by Kumar Aditya :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46429>
___
___
Python-bugs-list
Change by Kumar Aditya :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue47127>
___
Change by Kumar Aditya :
--
pull_requests: +30230
pull_request: https://github.com/python/cpython/pull/32152
___
Python tracker
<https://bugs.python.org/issue46
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
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
Change by Kumar Aditya :
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/issue46429>
___
___
Python-bugs-list
Change by Kumar Aditya :
--
pull_requests: +30185
pull_request: https://github.com/python/cpython/pull/32107
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
pull_requests: +30160
pull_request: https://github.com/python/cpython/pull/32073
___
Python tracker
<https://bugs.python.org/issue43
Change by Kumar Aditya :
--
components: +Interpreter Core
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Kumar Aditya added the comment:
@asvetlov Do you have any insight for this issue?
--
___
Python tracker
<https://bugs.python.org/issue43884>
___
___
Python-bug
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
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
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
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
Change by Kumar Aditya :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
type: -> performance
___
Python tracker
<https://bugs.python
Change by Kumar Aditya :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46953>
___
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
Change by Kumar Aditya :
--
nosy: +gvanrossum, kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46892>
___
___
Python-bugs-list mailing list
Unsub
Change by Kumar Aditya :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue46968>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> performance
___
Python tracker
<https://bugs.python
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
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
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
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.
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
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
New submission from Kumar Aditya :
Use FASTCALL for __import__ builtin.
Benchmark:
--
import pyperf
runner = pyperf.Runner()
runner.timeit(name="bench __import__",
stmt="__im
Change by Kumar Aditya :
--
resolution: -> fixed
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue46374>
___
___
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
Change by Kumar Aditya :
--
versions: +Python 3.11 -Python 3.10
___
Python tracker
<https://bugs.python.org/issue46341>
___
___
Python-bugs-list mailin
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
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue43447>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +corona10
___
Python tracker
<https://bugs.python.org/issue46937>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Kumar Aditya :
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue30556>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Kumar Aditya added the comment:
@vstinner it is broken on main branch also.
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46
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
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
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.
Change by Kumar Aditya :
--
nosy: +eric.snow, vstinner
___
Python tracker
<https://bugs.python.org/issue46832>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Kumar Aditya :
--
pull_requests: +29738
pull_request: https://github.com/python/cpython/pull/31613
___
Python tracker
<https://bugs.python.org/issue46
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
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46877>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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.
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
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue42760>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Kumar Aditya :
--
pull_requests: +29722
pull_request: https://github.com/python/cpython/pull/31599
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
type: -> enhancement
versions: +Python 3.11 -Python 3.10
___
Python tracker
<https://bugs.python.org/issue37179>
___
___
Python-
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
Change by Kumar Aditya :
--
pull_requests: +29720
pull_request: https://github.com/python/cpython/pull/31597
___
Python tracker
<https://bugs.python.org/issue44
Change by Kumar Aditya :
--
pull_requests: +29719
pull_request: https://github.com/python/cpython/pull/31596
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
pull_requests: +29718
pull_request: https://github.com/python/cpython/pull/31596
___
Python tracker
<https://bugs.python.org/issue46
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
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
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
Change by Kumar Aditya :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Kumar Aditya :
--
versions: +Python 3.11 -Python 3.10
___
Python tracker
<https://bugs.python.org/issue44011>
___
___
Python-bugs-list mailin
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
Change by Kumar Aditya :
--
pull_requests: +29438
pull_request: https://github.com/python/cpython/pull/31275
___
Python tracker
<https://bugs.python.org/issue44
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
Kumar Aditya added the comment:
Can this be closed now?
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue43216>
___
___
Python-bug
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
Change by Kumar Aditya :
--
pull_requests: +29428
pull_request: https://github.com/python/cpython/pull/31261
___
Python tracker
<https://bugs.python.org/issue46
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
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
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
Change by Kumar Aditya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Kumar Aditya :
--
pull_requests: +29310
pull_request: https://github.com/python/cpython/pull/31131
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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
Change by Kumar Aditya :
--
pull_requests: +29185
pull_request: https://github.com/python/cpython/pull/31003
___
Python tracker
<https://bugs.python.org/issue26
Change by Kumar Aditya :
--
pull_requests: +29184
pull_request: https://github.com/python/cpython/pull/31002
___
Python tracker
<https://bugs.python.org/issue46
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
Change by Kumar Aditya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Kumar Aditya :
--
pull_requests: +29166
pull_request: https://github.com/python/cpython/pull/30987
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
pull_requests: +29164
pull_request: https://github.com/python/cpython/pull/30985
___
Python tracker
<https://bugs.python.org/issue46
1 - 100 of 227 matches
Mail list logo