[issue35102] Struct pack()

2018-10-29 Thread jimmy
New submission from jimmy : The result of variable "a" should be b'30\x11\x00\x00' not b'0\x11\x00\x00' . >>> import struct >>> a = struct.pack(">> print(a) b'0\x11\x00\x00' >>> -- messages: 328794

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2011-07-09 Thread Jimmy Cao
Changes by Jimmy Cao : -- nosy: +jcao219 ___ Python tracker <http://bugs.python.org/issue12523> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2008-09-10 Thread Jimmy Retzlaff
New submission from Jimmy Retzlaff <[EMAIL PROTECTED]>: I'm seeing the same symptoms that are described in issue 1543 with the 2.6b3 MSIs. Namely, when you run one of the MSIs (either 32-bit or 64-bit) then the other will refuse to install. This is on XP Pro x64 SP2. python-3.0b3.msi

[issue3833] python-2.6b3.msi and python-2.6b3.amd64.msi can't both be installed on one machine

2008-09-13 Thread Jimmy Retzlaff
Jimmy Retzlaff <[EMAIL PROTECTED]> added the comment: Works great on 2.6rc1. Thanks! ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3833> ___ _

[issue45426] PANDAS INSTALLATION PIP FAILED ON WINDOWS 11

2021-10-10 Thread Jimmy Alexander
New submission from Jimmy Alexander : Generating code Finished generating code building 'pandas._libs.parsers' extension C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /D

[issue45426] PANDAS INSTALLATION PIP FAILED ON WINDOWS 11

2021-10-10 Thread Jimmy Alexander
Jimmy Alexander added the comment: C:\Users\ufx>pip install pandas Collecting pandas Using cached pandas-1.3.3.tar.gz (4.7 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\ufx\AppData\Local\Programs\Python\P

[issue45426] PANDAS INSTALLATION PIP FAILED ON WINDOWS 11

2021-10-10 Thread Jimmy Alexander
Jimmy Alexander added the comment: descarga la version 3.10 se supone es estable pero al momento de instalar PANDAS usando PIP en el CMD de windows 11 FALLA y empieza a buscar otras vesiones de menores de pandas para intentar instalar via pip pero todas fallan! -- type

[issue33337] Provide a supported Concrete Syntax Tree implementation in the standard library

2020-03-13 Thread Jimmy Lai
Jimmy Lai added the comment: Just found Guido mentioned LibCST. Here is a quick overview: 1. LibCST is an open source Python concrete syntax tree parser. It provides a CST looks like and feel like AST. 2. It's built by Instagram for linter and refactoring tools (exact use cases what Ł

[issue41304] python 38 embed ignore python38._pth file

2020-07-15 Thread Jimmy Girardet
New submission from Jimmy Girardet : Hi, With python embed unziped in `38` directory(python 3.8.4): ``` # python38._pth python38.zip . ..\\app # Uncomment to run site.main() automatically #import site ``` ``` PS C:\Users\jimmy\rien\embed> .\38\python.exe -c "import sys;print(sys.path

[issue41304] python 38 embed ignore python38._pth file on windows

2020-07-15 Thread Jimmy Girardet
Change by Jimmy Girardet : -- title: python 38 embed ignore python38._pth file -> python 38 embed ignore python38._pth file on windows ___ Python tracker <https://bugs.python.org/issu

[issue41304] python 38 embed ignore python38._pth file on windows

2020-07-15 Thread Jimmy Girardet
Jimmy Girardet added the comment: replacing python38._pth by python._pth does fix it. -- ___ Python tracker <https://bugs.python.org/issue41304> ___ ___ Pytho

[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-09-04 Thread Jimmy Lai
Changes by Jimmy Lai : -- pull_requests: +3329 ___ Python tracker <http://bugs.python.org/issue30423> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31350] Optimize get_event_loop and _get_running_loop

2017-09-05 Thread Jimmy Lai
New submission from Jimmy Lai: get_event_loop() and _get_running_loop() can be faster. CaseTimeMeanImprove No

[issue31350] Optimize get_event_loop and _get_running_loop

2017-09-05 Thread Jimmy Lai
Changes by Jimmy Lai : -- type: -> performance ___ Python tracker <http://bugs.python.org/issue31350> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31350] asyncio: Optimize get_event_loop and _get_running_loop

2017-09-05 Thread Jimmy Lai
Jimmy Lai added the comment: Benchmark script: Run 10 times to get mean and stdev import asyncio import time async def async_get_loop(): start_time = time.time() for _ in range(500): asyncio.get_event_loop() return time.time() - start_time loop

[issue26171] heap overflow in zipimporter module

2017-05-21 Thread Jimmy Lai
Changes by Jimmy Lai : -- pull_requests: +1794 ___ Python tracker <http://bugs.python.org/issue26171> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-05-21 Thread Jimmy Lai
New submission from Jimmy Lai: Problem: "RuntimeError: Event loop stopped before Future completed." throws when calling run_until_complete(). We investigate and find out some orphan futures stay in the event loop before we run another run_until_complete(another_async_func()).

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-14 Thread Jimmy Lai
New submission from Jimmy Lai : `ensure_future` converts the input as future if it's not already a future. The condition is the following: if futures.isfuture(coro_or_future): ... elif coroutines.iscoroutine(coro_or_future): ... elif inspect.isawaitable(coro_or_future): ... In

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-14 Thread Jimmy Lai
Change by Jimmy Lai : -- keywords: +patch pull_requests: +6515 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33505> ___ ___ Python-

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-14 Thread Jimmy Lai
Change by Jimmy Lai : -- pull_requests: +6518 ___ Python tracker <https://bugs.python.org/issue33505> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33505] Optimize asyncio.ensure_future by reordering if conditions

2018-05-15 Thread Jimmy Lai
Jimmy Lai added the comment: Benchmark result: ./python.exe -m perf compare_to ensure_future_original.json ensure_future_optimized.json Mean +- std dev: [ensure_future_original] 57.4 ms +- 4.0 ms -> [ensure_future_optimized] 49.3 ms +- 4.5 ms: 1.17x faster (-14%) -- Added file: ht

[issue33521] Optimize asyncio.isfuture by providing C implementation

2018-05-15 Thread Jimmy Lai
New submission from Jimmy Lai : asyncio.isfuture called whenever ensure_future is called. Providing C implementation to make it fast. -- components: asyncio messages: 316670 nosy: asvetlov, jimmylai, yselivanov priority: normal severity: normal status: open title: Optimize

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-15 Thread Jimmy Lai
Jimmy Lai added the comment: $./python.exe isfuture_benchmark.py -o isfuture_optimized.json $ ./python.exe -m perf compare_to isfuture_original.json isfuture_optimized.json Mean +- std dev: [isfuture_original] 7.16 ms +- 0.23 ms -> [isfuture_optimized] 5.41 ms +- 0.25 ms: 1.32x faster (

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-15 Thread Jimmy Lai
Change by Jimmy Lai : -- keywords: +patch pull_requests: +6552 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33521> ___ ___ Python-

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-19 Thread Jimmy Lai
Jimmy Lai added the comment: @vstinner Thanks for the new benchmark, it provides more detailed wins: It's 1.64x faster for future object and 1.23x faster for non-future object. $ ./python.exe -m perf compare_to isfuture_original_2.json isfuture_optimized_2.json future: Mean +- st

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-19 Thread Jimmy Lai
Jimmy Lai added the comment: @pitrou This change is part of optimization for asyncio.gather(). gather -> ensure_future -> isfuture/iscoroutine/isawaitable We need C implementation for all those function to make gather really efficient for large scale application (e.g. Instagram) Gat

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-19 Thread Jimmy Lai
Jimmy Lai added the comment: @pitrou We'll measure the wins of gather when we implement it in C. Before that, we need to get all helpers ready in C. -- ___ Python tracker <https://bugs.python.org/is

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-25 Thread Jimmy Lai
Jimmy Lai added the comment: @vstinner In general, we would like to make all asyncio common functions efficient with C implementation because CPython asyncio overhead is very expensive. In our application, overall it costs about 10% global CPU instructions after we used UVLoop (it's

[issue19947] Inspect module broken

2013-12-10 Thread Jimmy Merrild Krag
New submission from Jimmy Merrild Krag: I have been having issues like the below all day: C:\JMK\CurrentWork\CPH-3516>python airport_code_downloader.py Traceback (most recent call last): File "airport_code_downloader.py", line 4, in import inspect File "C:\Pytho

[issue19947] Inspect module broken

2013-12-10 Thread Jimmy Merrild Krag
Jimmy Merrild Krag added the comment: Just figured that out my self. Holy mother of ¤%#&%/! I'm stupid! -- resolution: -> rejected status: pending -> closed ___ Python tracker <http://bugs.pyt