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
Changes by Jimmy Cao :
--
nosy: +jcao219
___
Python tracker
<http://bugs.python.org/issue12523>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Jimmy Retzlaff <[EMAIL PROTECTED]> added the comment:
Works great on 2.6rc1. Thanks!
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3833>
___
_
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
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
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
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 Ł
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
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
Jimmy Girardet added the comment:
replacing python38._pth by python._pth does fix it.
--
___
Python tracker
<https://bugs.python.org/issue41304>
___
___
Pytho
Changes by Jimmy Lai :
--
pull_requests: +3329
___
Python tracker
<http://bugs.python.org/issue30423>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jimmy Lai:
get_event_loop() and _get_running_loop() can be faster.
CaseTimeMeanImprove
No
Changes by Jimmy Lai :
--
type: -> performance
___
Python tracker
<http://bugs.python.org/issue31350>
___
___
Python-bugs-list mailing list
Unsubscrib
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
Changes by Jimmy Lai :
--
pull_requests: +1794
___
Python tracker
<http://bugs.python.org/issue26171>
___
___
Python-bugs-list mailing list
Unsubscribe:
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()).
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
Change by Jimmy Lai :
--
keywords: +patch
pull_requests: +6515
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33505>
___
___
Python-
Change by Jimmy Lai :
--
pull_requests: +6518
___
Python tracker
<https://bugs.python.org/issue33505>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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 (
Change by Jimmy Lai :
--
keywords: +patch
pull_requests: +6552
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33521>
___
___
Python-
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
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
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
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
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
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
30 matches
Mail list logo