[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

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

[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

[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

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

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

2022-03-20 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

[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

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

[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

[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

[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

[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

[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-30 Thread Kumar Aditya
Change by Kumar Aditya : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue47127> ___

[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

[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

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

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

[issue25066] Better repr for multiprocessing.synchronize objects

2021-11-24 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 7.0 -> 8.0 pull_requests: +27986 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29749 ___ Python tracker

[issue45019] Freezing modules has manual steps but could be automated.

2021-11-25 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 6.0 -> 7.0 pull_requests: +28009 pull_request: https://github.com/python/cpython/pull/29772 ___ Python tracker <https://bugs.python.org/issu

[issue45653] Freeze the encodings module.

2021-11-25 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 3.0 -> 4.0 pull_requests: +28024 pull_request: https://github.com/python/cpython/pull/29788 ___ Python tracker <https://bugs.python.org/issu

[issue45653] Freeze the encodings module.

2021-11-27 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +28047 pull_request: https://github.com/python/cpython/pull/29814 ___ Python tracker <https://bugs.python.org/issue45

[issue23819] test_asyncio fails when run under -O

2021-11-30 Thread Kumar Aditya
Kumar Aditya added the comment: I would like to tackle this, I'll work on this from next week. -- nosy: +kumaraditya303 ___ Python tracker <https://bugs.python.org/is

[issue45816] Python does not support standalone MSVC v143 (VS 2022) Build Tools

2021-11-30 Thread Kumar Aditya
Kumar Aditya added the comment: I have installed VS 2022 with v143 of MSVC. I get this error when compiling ```console C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.ta rgets(436,5): error MSB8020: The build tools for Visual Studio 2019

[issue45816] Python does not support standalone MSVC v143 (VS 2022) Build Tools

2021-11-30 Thread Kumar Aditya
Kumar Aditya added the comment: Thanks Steve, installing v142 is indeed my current workaround but would be great to support v143 as it is the latest version. On Tue, Nov 30, 2021, 21:09 Steve Dower wrote: > > Steve Dower added the comment: > > An easy workaround for people

[issue23819] test_asyncio fails when run under -O

2021-12-02 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +28118 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29894 ___ Python tracker <https://bugs.python.org/issu

[issue45654] Freeze the runpy module.

2021-12-03 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 2.0 -> 3.0 pull_requests: +28127 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29903 ___ Python tracker

[issue27062] `inspect` doesn't have `__all__`

2021-12-09 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 2.0 -> 3.0 pull_requests: +28227 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30003 ___ Python tracker <https://bugs.p

[issue46016] fcntl module add F_DUP2FD_CLOEXEC

2021-12-09 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 4.0 -> 5.0 pull_requests: +28230 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30006 ___ Python tracker

[issue30304] TestCase.assertMultiLineEqual only registered for Unicode strings in 2.7

2017-07-24 Thread Aditya Hase
Changes by Aditya Hase : -- pull_requests: +2891 ___ Python tracker <http://bugs.python.org/issue30304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30304] TestCase.assertMultiLineEqual only registered for Unicode strings in 2.7

2017-07-24 Thread Aditya Hase
Aditya Hase added the comment: Hi, I'm new to python development community. I've created a GitHub PR that fixes this issue. -- nosy: +adityahase ___ Python tracker <http://bugs.python.o

[issue30304] TestCase.assertMultiLineEqual only registered for Unicode strings in 2.7

2017-07-24 Thread Aditya Hase
Changes by Aditya Hase : -- pull_requests: +2893 ___ Python tracker <http://bugs.python.org/issue30304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30304] TestCase.assertMultiLineEqual only registered for Unicode strings in 2.7

2017-07-24 Thread Aditya Hase
Aditya Hase added the comment: I've fixed that. -- versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.org/issue30304> ___ ___

[issue22062] Fix pathlib.Path.(r)glob doc glitches.

2017-07-24 Thread Aditya Hase
Aditya Hase added the comment: Should I create a Github PR with given patch? If so, how do I give credit to the original author? -- nosy: +adityahase ___ Python tracker <http://bugs.python.org/issue22

[issue36200] display index on Index

2019-03-05 Thread Aditya Shankar
Change by Aditya Shankar : -- nosy: Aditya Shankar priority: normal severity: normal status: open title: display index on Index ___ Python tracker <https://bugs.python.org/issue36

[issue36200] display index on IndexError

2019-03-05 Thread Aditya Shankar
Change by Aditya Shankar : -- components: +Interpreter Core title: display index on Index -> display index on IndexError type: -> enhancement versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/i

[issue36200] display index on IndexError

2019-03-05 Thread Aditya Shankar
New submission from Aditya Shankar : considering a list of 5 elements, if the 6th element is asked, the Interpreter would raise IndexError: list index out of range, I think It'd be better if it actually said what the invalid index is Improvement benefits: *quicker debugging of faulty p

[issue36200] display index on IndexError

2019-03-05 Thread Aditya Shankar
Aditya Shankar added the comment: closed as this is a duplicate for https://bugs.python.org/issue18162 -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue36628] Enhancement: i-Strings

2019-04-14 Thread Aditya Shankar
New submission from Aditya Shankar : Problem: multiline strings are a pain to represent (other than of-course in docstrings), representing a multiline string inside a function looks something like this - def foo(): # some code ... ... # some code text = """

[issue36628] Enhancement: i-Strings

2019-04-14 Thread Aditya Shankar
Change by Aditya Shankar : -- resolution: postponed -> duplicate ___ Python tracker <https://bugs.python.org/issue36628> ___ ___ Python-bugs-list mai

[issue36715] Dictionary initialization

2019-04-24 Thread Aditya Sane
New submission from Aditya Sane : When initializing a dictionary with dict.fromkeys, if an object is used as initial value, then the value is taken by reference instead of by value. This results in incorrect behavior since Python doesn't have "by reference" or pointers by de

[issue15315] Can't build Python extension with mingw32 on Windows

2013-06-14 Thread Aditya Atluri
Aditya Atluri added the comment: I have found a hack for the issue. First, install Microsoft Visual C++ 2010 Redistributable Package. Second, copy the msvcr100.dll to C:\Python33\libs. Reason: During compilation, the directory for linking is C:\Python44\libs. Both -lpython and -lmsvcr100 are

[issue18210] Problem creating extension in python3.3 with mingw32

2013-06-14 Thread Aditya Atluri
New submission from Aditya Atluri: I am trying to build c extensions in windows using mingw32. The file hello.c works fine with 2.7 but, errors are poping up in 3.3. Attachments: [1] log.txt : The errors [2] hello.c : The C file [3] setup.py: The setup file The command I used in cmd is

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2012-10-07 Thread Aditya Kedia
Aditya Kedia added the comment: Right.. Looks good. -- nosy: +TheAdityaKedia ___ Python tracker <http://bugs.python.org/issue13498> ___ ___ Python-bugs-list mailin

[issue26188] Provide more helpful error message when `await` is called inside non-`async` method

2016-01-24 Thread aditya gupta
Changes by aditya gupta : -- nosy: +aditya gupta ___ Python tracker <http://bugs.python.org/issue26188> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32133] documentation: numbers module nitpick

2021-05-14 Thread Bhaskara Aditya Sriram
Bhaskara Aditya Sriram added the comment: I would like work on this, but I'm very new to fixing bugs. Could someone please help me on how to proceed with this bug. Thank You in advance -- nosy: +adityasriram.b ___ Python tracker &

<    1   2   3