New submission from Kumar Aditya :
functools' singledispatch does not support GenericAlias
```py
from functools import singledispatch
@singledispatch
def func(x):
print("any")
@func.register
def _(x: list[str]):
print("list[str]")
func(["a"
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue22239>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 2.0 -> 3.0
pull_requests: +28271
pull_request: https://github.com/python/cpython/pull/30046
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 4.0 -> 5.0
pull_requests: +28287
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30067
___
Python tracker
<https://bugs.p
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 4.0 -> 5.0
pull_requests: +28385
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30168
___
Python tracker
<https://bugs.p
Change by Kumar Aditya :
--
components: Distutils
nosy: dstufft, eric.araujo, kumaraditya303, pablogsal
priority: normal
severity: normal
status: open
title: Update bundled pip to 21.3.1 and setuptools to 59.7.0
versions: Python 3.11
___
Python
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28397
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30178
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
pull_requests: +28416
pull_request: https://github.com/python/cpython/pull/30195
___
Python tracker
<https://bugs.python.org/issue23
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 13.0 -> 14.0
pull_requests: +28418
pull_request: https://github.com/python/cpython/pull/30197
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 8.0 -> 9.0
pull_requests: +28432
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30211
___
Python tracker
New submission from Kumar Aditya :
Issue for tracking improving performance of pathlib module.
--
components: Library (Lib)
messages: 409015
nosy: gvanrossum, kumaraditya303
priority: normal
severity: normal
status: open
title: Optimize pathlib
type: performance
versions: Python 3.11
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28449
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30226
___
Python tracker
<https://bugs.python.org/issu
Kumar Aditya added the comment:
Optimizations include:
- Remove redundant check for functools lru_cache
- Replace attrgetter as it is slower than direct access
--
___
Python tracker
<https://bugs.python.org/issue46
Kumar Aditya added the comment:
Benchmarks for attrgetter is provided in the PR.
--
___
Python tracker
<https://bugs.python.org/issue46148>
___
___
Python-bug
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 4.0 -> 5.0
pull_requests: +28451
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30229
___
Python tracker
<https://bugs.p
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 3.0 -> 4.0
pull_requests: +28452
pull_request: https://github.com/python/cpython/pull/30230
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
versions: -Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue7262>
___
___
Python-bugs-list mailing list
Unsub
Change by Kumar Aditya :
--
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue7262>
___
___
Python-bugs-list mailing list
Unsub
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 5.0 -> 6.0
pull_requests: +28453
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30231
___
Python tracker
<https://bugs.python.org/
Kumar Aditya added the comment:
In Python 3.10 these deprecated aliases where removed from collections module.
To fix it you can change `collections.MutableSet` to
`collections.abc.MutableSet`.
See
https://docs.python.org/3/whatsnew/3.9.html#you-should-check-for-deprecationwarning-in-your
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 2.0 -> 3.0
pull_requests: +28458
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30237
___
Python tracker
<https://bugs.p
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 3.0 -> 4.0
pull_requests: +28459
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30231
___
Python tracker
Kumar Aditya added the comment:
I'll fix them all :)
--
___
Python tracker
<https://bugs.python.org/issue46157>
___
___
Python-bugs-list mailing list
Kumar Aditya added the comment:
I have fixed most of them in the PR which I found correct, rest can be fixed
later on.
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
pull_requests: +28461
pull_request: https://github.com/python/cpython/pull/30239
___
Python tracker
<https://bugs.python.org/issue46
Kumar Aditya added the comment:
Fixed in a new PR @Serhiy
--
___
Python tracker
<https://bugs.python.org/issue46157>
___
___
Python-bugs-list mailing list
Unsub
Change by Kumar Aditya :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue45863>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 5.0 -> 6.0
pull_requests: +28489
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30274
___
Python tracker
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 5.0 -> 6.0
pull_requests: +28502
pull_request: https://github.com/python/cpython/pull/30288
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
pull_requests: +28602
pull_request: https://github.com/python/cpython/pull/30393
___
Python tracker
<https://bugs.python.org/issue46
Kumar Aditya added the comment:
I am withdrawing this for now and since there is already a bpo for vectorcall I
am closing this.
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
resolution: -> postponed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Kumar Aditya added the comment:
The PR introduced a typo in the method signature see
https://github.com/python/cpython/pull/30427#discussion_r779497305
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
pull_requests: +28634
pull_request: https://github.com/python/cpython/pull/30430
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46244>
___
___
Python-bugs-list mailing list
Unsubscribe:
Kumar Aditya added the comment:
functools and contextlib are very common so they should be deep-frozen.
warnings and re would be nice to do.
--
nosy: +gvanrossum, kumaraditya303
___
Python tracker
<https://bugs.python.org/issue45
Kumar Aditya added the comment:
Can you elaborate a bit about "This can have negative affects for performance"
as I think freezing modules has only one downside of increasing binary size ?
> For WASM builds we want to make the wasm binary as small as possible.
If WASM wo
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 7.0 -> 8.0
pull_requests: +28689
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30485
___
Python tracker
<https://bugs.p
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46309>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46223>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: -kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46148>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +kumaraditya303
type: -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5
___
Python tracker
<https://bugs.python.org/issu
Kumar Aditya added the comment:
Python has a token module so you should use any other name for your module.
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46
Kumar Aditya added the comment:
Targeting Python 3.11 as it a performance improvement.
--
nosy: +kumaraditya303, vstinner
versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46315>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
components: +asyncio -Library (Lib)
nosy: +kumaraditya303, yselivanov
___
Python tracker
<https://bugs.python.org/issue46310>
___
___
Change by Kumar Aditya :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue46265>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46318>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 25.0 -> 26.0
pull_requests: +28726
pull_request: https://github.com/python/cpython/pull/30525
___
Python tracker
<https://bugs.python.org/issue1
Kumar Aditya added the comment:
Can this be closed now ?
--
versions: -Python 3.10
___
Python tracker
<https://bugs.python.org/issue46244>
___
___
Python-bug
Kumar Aditya added the comment:
I tested it on 3.10.1 and it didn't segfault on Windows 11 so seems like 3.11
regression.
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/is
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46333>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
components: asyncio
nosy: asvetlov, kumaraditya303, yselivanov
priority: normal
pull_requests: 28727
severity: normal
status: open
title: DeprecationWarning emitted when running asyncio tests
versions: Python 3.11
Change by Kumar Aditya :
--
components: Interpreter Core
nosy: kumaraditya303
priority: normal
severity: normal
status: open
title: Assertion failed in ceval.c
type: crash
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue46374>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Kumar Aditya :
The following code causes Assertion failed on Windows 11
import cProfile
def test():
import sys
import dis
with cProfile.Profile() as p:
test()
Error:
❯ ./python.bat main.py
Running Debug|x64 interpreter...
Assertion failed: frame->f_la
Kumar Aditya added the comment:
Tested commit is 7c770d3350813a82a639fcb3babae0de2b87aaae
--
___
Python tracker
<https://bugs.python.org/issue46374>
___
___
Change by Kumar Aditya :
--
nosy: +Mark.Shannon
___
Python tracker
<https://bugs.python.org/issue46374>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +benjamin.peterson, kumaraditya303, stutzbach
___
Python tracker
<https://bugs.python.org/issue46375>
___
___
Python-bugs-list m
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 3.0 -> 4.0
pull_requests: +28813
pull_request: https://github.com/python/cpython/pull/30611
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue40962>
___
___
Python-bugs-list mailing list
Unsub
Change by Kumar Aditya :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue46395>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
keywords: +patch
nosy: +kumaraditya303
nosy_count: 6.0 -> 7.0
pull_requests: +28830
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30627
___
Python tracker
<https://bugs.p
Change by Kumar Aditya :
--
nosy: +kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46399>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28832
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30629
___
Python tracker
<https://bugs.python.org/issu
Kumar Aditya added the comment:
I would like to work on this.
--
___
Python tracker
<https://bugs.python.org/issue46399>
___
___
Python-bugs-list mailin
Change by Kumar Aditya :
--
pull_requests: +28833
pull_request: https://github.com/python/cpython/pull/30630
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
nosy: +kumaraditya303
nosy_count: 15.0 -> 16.0
pull_requests: +28840
pull_request: https://github.com/python/cpython/pull/30637
___
Python tracker
<https://bugs.python.org/issu
Kumar Aditya added the comment:
These tests seems to be expected to fail on alpine.
See
https://github.com/alpinelinux/aports/blob/b36ed9bba2fdbf49a98dfdc3377c29271525082f/main/python3/APKBUILD#L123
--
nosy: +kumaraditya303
___
Python tracker
Change by Kumar Aditya :
--
nosy: -kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46390>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: -kumaraditya303
___
Python tracker
<https://bugs.python.org/issue46323>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: gvanrossum, kumaraditya303
priority: normal
severity: normal
status: open
title: Merge all deepfrozen files into one
versions: Python 3.11
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28879
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30572
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
nosy: gvanrossum, kumaraditya303
priority: normal
severity: normal
status: open
title: intern strings in deepfrozen modules
versions: Python 3.11
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28882
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30683
___
Python tracker
<https://bugs.python.org/issu
New submission from Kumar Aditya :
Interns strings in deep-frozen modules.
See https://github.com/faster-cpython/ideas/issues/218
--
___
Python tracker
<https://bugs.python.org/issue46
Kumar Aditya added the comment:
See https://github.com/python/cpython/pull/30274 test_asyncio is always failing
with env changed.
--
nosy: +kumaraditya303
status: pending -> open
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
nosy: gvanrossum, kumaraditya303
priority: normal
pull_requests: 28907
severity: normal
status: open
title: Deepfreeze use preallocated small ints
versions: Python 3.11
___
Python tracker
<https://bugs.python.
New submission from Kumar Aditya :
It saves space in the codeobjects created by deepfreeze and reuses already
cached ints so no allocation overhead.
--
___
Python tracker
<https://bugs.python.org/issue46
Kumar Aditya added the comment:
This speeds up comparison of strings by just comparing their pointers so it is
much faster.
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46443>
___
Change by Kumar Aditya :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue45767>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Kumar Aditya :
--
nosy: +ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue46
New submission from Kumar Aditya :
In asyncio, the Generic classes return the class itself in __class_getitem__
instead of GenericAlias, because of this they cannot be introspected as
GenericAlias objects.
Running Debug|x64 interpreter...
Python 3.11.0a4+ (main, Jan 22 2022, 10:00:18) [MSC v
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28962
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30777
___
Python tracker
<https://bugs.python.org/issu
Kumar Aditya added the comment:
The following patch further reduces the reference but not sure if it is correct.
diff --git a/Objects/object.c b/Objects/object.c
index a5ee8eef4a..2ba6d14d5b 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1853,6 +1853,9 @@ static PyTypeObject
Change by Kumar Aditya :
--
nosy: +kumaraditya303, serhiy.storchaka
type: -> behavior
versions: +Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue43079>
___
___
Python-bug
New submission from Kumar Aditya :
By using global singletons for single byte bytes objects in deepfreeze, there
is no need to generate c code for it so it reduces the size of generated c file
and reduces memory use of the objects when they are allocated on the heap as
now they are
Change by Kumar Aditya :
--
keywords: +patch
pull_requests: +28966
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30781
___
Python tracker
<https://bugs.python.org/issu
Change by Kumar Aditya :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue46340>
___
Change by Kumar Aditya :
--
pull_requests: +28970
pull_request: https://github.com/python/cpython/pull/30785
___
Python tracker
<https://bugs.python.org/issue46
Change by Kumar Aditya :
--
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue46469>
___
___
Python-bugs-list mailing list
Unsub
Kumar Aditya added the comment:
> Would it be possible to enhance deepfreeze be produce a list of all
> (immortal) code objects?
It is tricky because the deepfreeze modules are generated by the bootstrap
interpreter in Linux/MacOS and the downloaded python from nuget interpreter on
W
Kumar Aditya added the comment:
Clearing co_quickened is easy, but it would requires changes to the build
system to change the build order on Windows and bootstrap interpreter on
Windows. I manually edited the Windows project files but it requires generating
deepfreeze.c before hand. It
Kumar Aditya added the comment:
bootstrap interpreter on Windows => bootstrap interpreter on Unix
--
___
Python tracker
<https://bugs.python.org/issu
New submission from Kumar Aditya :
Rename DesciptorClassification => DescriptorClassification in specialize.c as
DesciptorClassification has a typo.
--
messages: 411365
nosy: Mark.Shannon, kj, kumaraditya303
priority: normal
severity: normal
status: open
title: Ren
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
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
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
1 - 100 of 227 matches
Mail list logo