Change by Zhiming Wang :
--
keywords: +patch
pull_requests: +21617
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22643
___
Python tracker
<https://bugs.python.org/issu
Change by Zhiming Wang :
--
nosy: +zmwangx
nosy_count: 5.0 -> 6.0
pull_requests: +21618
pull_request: https://github.com/python/cpython/pull/22643
___
Python tracker
<https://bugs.python.org/issu
New submission from Zhiming Wang :
Since profile/cProfile CLI interface prints a sorted list of stats, using head
to limit output to the most relevant entries should be a fairly natural thing
to do. Unfortunately, BrokenPipeError isn't caught, causing quite a bit of
pollution to the output
New submission from Zhiming Wang :
I noticed that on Windows, socket operations like recv appear to always block
SIGINT until it's done, so if a recv hangs, Ctrl+C cannot interrupt the
program. (I'm a *nix developer investigating a behavioral problem of my program
on Windows, so please
Change by Zhiming Wang :
--
nosy: +zmwangx
___
Python tracker
<https://bugs.python.org/issue33618>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Zhiming Wang :
--
keywords: +patch
pull_requests: +9946
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35308>
___
___
Py
Change by Zhiming Wang :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue35308>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Zhiming Wang :
This is a regression in Python 3.7:
$ BROWSER=w3m python3.6 -c 'import sys; import webbrowser;
print(sys.version); print(webbrowser.get()); print(webbrowser._tryorder)'
3.6.7 (default, Nov 24 2018, 09:47:01)
[GCC 4.2.1 Compatible Apple LLVM
Change by Zhiming Wang :
--
keywords: +patch
pull_requests: +9362
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35035>
___
___
Py
New submission from Zhiming Wang :
Documentation for PSL module email.utils is named email.util.rst. See
<https://docs.python.org/3/library/email.util.html>.
This seems to violate the principle of least surprise. (I have a command line
tool to open documentation for any PSL module,
Zhiming Wang <zmwa...@gmail.com> added the comment:
Yeah, Apple LLVM versions are a major headache. I resorted to feature
detection, using C++ coroutines support as the clang 5 distinguisher[1]:
$ cat /tmp/test/stub.cc
#include
int main() {
return 0;
}
$
/Applications/Xco
Zhiming Wang <zmwa...@gmail.com> added the comment:
Turns out python 2.7.10 doesn't suffer from the performance issue even when
compiled with stock clang 4.x, and upon further investigation, I tracked down
the commit that introduced the regression:
Zhiming Wang <zmwa...@gmail.com> added the comment:
My benchmarks above do contain py37 (master) stats.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Zhiming Wang <zmwa...@gmail.com>:
Python 2.7 could be significantly slower (5x in some cases) when compiled with
clang 3.x or 4.x, compared to clang 5.x. This is quite a problem on macOS,
since the latest clang from Apple (which comes with Xcode 9.2) is based on LLV
Change by Zhiming Wang <zmwa...@gmail.com>:
--
keywords: +patch
pull_requests: +3803
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
New submission from Zhiming Wang <zmwa...@gmail.com>:
Currently (up to 3.7.0a1) archives generated by the zipapp module are
uncompressed, which are unnecessarily large for large projects. It's easy to
add deflate compression support, and Python loads compressed archives just fine.
I a
Changes by Zhiming Wang <zmwa...@gmail.com>:
--
pull_requests: +3245
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31281>
___
_
New submission from Zhiming Wang:
Consider
import fileinput
import pathlib
with fileinput.input(files=(pathlib.Path('in.txt'),), inplace=True) as fp:
for line in fp:
print(line, end='')
which results in
Traceback (most recent call last):
File
18 matches
Mail list logo