Xiang Zhang added the comment:
New changeset 72e1b61da0920c5607481304879e039b63e2a3d5 by Xiang Zhang in branch
'3.6':
bpo-29990: Fix range checking in GB18030 decoder (#1495) (#1507)
https://github.com/python/cpython/commit/72e1b61da0920c5607481304879e03
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
New changeset 4e7457b85316e6591a4f0c3a4d0807bfdf7a2bea by Xiang Zhang in branch
'2.7':
bpo-29990: Fix range checking in GB18030 decoder (#1509)
https://github.com/python/cpython/commit/4e7457b85316e6591a4f0c3a4d0807
Xiang Zhang added the comment:
Thanks Ma Lin for finding the problem! Don't know why you close the PR but
anyway, we solve it finally.
--
___
Python tracker
<http://bugs.python.org/is
Changes by Xiang Zhang :
--
nosy: +davin
___
Python tracker
<http://bugs.python.org/issue30301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
nosy: +xiang.zhang
___
Python tracker
<http://bugs.python.org/issue30024>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
I know, but this is not a bug. So I only want to backport it to 3.6.
--
versions: -Python 3.5
___
Python tracker
<http://bugs.python.org/issue30
Xiang Zhang added the comment:
So now we have to run make if we want to trigger the profile procedure since
other make commands like make test won't trigger the procedure by itself, right?
--
___
Python tracker
<http://bugs.python.org/is
Xiang Zhang added the comment:
> I don't think that the patch changes the behaviour of "make": it only
> changes the behaviour of "make install" and "make test" (and a few
> others).
I don't mean "make" is changed. I mean the latter.
Xiang Zhang added the comment:
New changeset 2ddf5a19c3a06978edff2c8ba0aaf5df3528204a by Xiang Zhang in branch
'master':
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480)
https://github.com/python/cpython/commit/2ddf5a19c3a06978edff2c8ba0aaf5
Changes by Xiang Zhang :
--
pull_requests: +1629
___
Python tracker
<http://bugs.python.org/issue30281>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1628
___
Python tracker
<http://bugs.python.org/issue30281>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1630
___
Python tracker
<http://bugs.python.org/issue30281>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 98b49a00d413972965044fd355be3b8482caa07c by Xiang Zhang in branch
'3.6':
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480) (#1529)
https://github.com/python/cpython/commit/98b49a00d413972965044fd355be3b
Xiang Zhang added the comment:
New changeset 639e295650a51894412c9d976958792010d3bcf8 by Xiang Zhang in branch
'3.5':
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1530) (#1480)
https://github.com/python/cpython/commit/639e295650a51894412c9d97695879
Xiang Zhang added the comment:
New changeset 05469fa1c05acf55bdca05db21822ecdd7f6487a by Xiang Zhang in branch
'2.7':
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1531) (#1480)
https://github.com/python/cpython/commit/05469fa1c05acf55bdca05db21822e
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
IIUC, the meaning of executor.map() is to run the tasks concurrently. So you
have to loop the iterable ahead to submit all the tasks. If you make it a
generator comprehension, you are actually submitting a task and then getting
the result. So you are executing
Xiang Zhang added the comment:
> Any update on this reviewing, patching, and then backporting to 2.7?
concurrent package was added in 3.2. How backport to 2.7? Nosy myself.
--
nosy: +xiang.zhang
versions: +Python 3.7
___
Python tracker
&l
Xiang Zhang added the comment:
I can't reproduce the failure in anyway. :-( Could you do some investigation
and give more info?
--
___
Python tracker
<http://bugs.python.org/is
New submission from Xiang Zhang:
Studying how trashcan works I get puzzled about why increasing
trash_delete_nesting in _PyTrash_thread_destroy_chain. I asked Antoine
privately (thought he was the author). Antoine told me the reason and
suggested add a comment here to help understand
Changes by Xiang Zhang :
--
pull_requests: +1644
___
Python tracker
<http://bugs.python.org/issue30341>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1652
___
Python tracker
<http://bugs.python.org/issue30003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
stage: -> patch review
title: Remove hz codec -> Fix handling escape characters in HZ codec
versions: +Python 2.7, Python 3.5, Python 3.6
___
Python tracker
<http://bugs.python.org/i
Changes by Xiang Zhang :
--
nosy: +rhettinger, xiang.zhang
___
Python tracker
<http://bugs.python.org/issue30352>
___
___
Python-bugs-list mailing list
Unsub
Xiang Zhang added the comment:
New changeset a66f9c6bb134561a24374f10e8c35417d356ce14 by Xiang Zhang in branch
'master':
bpo-30341: Improve _PyTrash_thread_destroy_chain() a little bit (#1545)
https://github.com/python/cpython/commit/a66f9c6bb134561a24374f10e8c354
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
Looks same as #29804.
--
nosy: +vinay.sajip, xiang.zhang
___
Python tracker
<http://bugs.python.org/issue30353>
___
___
Python-bug
Xiang Zhang added the comment:
Why? Unicode identifiers are not allowed in 2.x. I don't think lib2to3 is able
or responsible to parse invalid syntax source codes.
--
nosy: +xiang.zhang
___
Python tracker
<http://bugs.python.org/is
New submission from Xiang Zhang:
In obmalloc, __attribute__((no_address_safety_analysis)) is used to disable
address sanitizer. But this attribute is now deprecated in both clang and GCC.
Related links:
https://clang.llvm.org/docs/AddressSanitizer.html#disabling-instrumentation-with-attribute
New submission from Nan Zhang:
up vote
0
down vote
favorite
I am trying to build CPython3.6 from GitHub statically with the Documentation
below:
https://wiki.python.org/moin/BuildStatically
Changed *shared* to *static*
And only uncommented the module "testcapimodule" in Modules/
Xiang Zhang added the comment:
New changeset 96f502856796f9310fed7161dc540201a4afc1ee by Xiang Zhang in branch
'master':
bpo-30224: remove outdated checks in struct (#1374)
https://github.com/python/cpython/commit/96f502856796f9310fed7161dc5402
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
New changeset 7c278a5eeb656c2b48a85bbd761ce165f1751bb6 by Xiang Zhang in branch
'master':
bpo-30110: fix resource leak in test_asyncio.test_events (#1413)
https://github.com/python/cpython/commit/7c278a5eeb656c2b48a85bbd761ce1
Changes by Xiang Zhang :
--
pull_requests: +1677
___
Python tracker
<http://bugs.python.org/issue30110>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1678
___
Python tracker
<http://bugs.python.org/issue30110>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 981096f98b9c131594b0ac85ad01b63cbd11aa0a by Xiang Zhang in branch
'master':
bpo-30242: resolve some undefined behaviours in struct (#1418)
https://github.com/python/cpython/commit/981096f98b9c131594b0ac85ad01b6
Changes by Xiang Zhang :
--
pull_requests: +1679
___
Python tracker
<http://bugs.python.org/issue30242>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1680
___
Python tracker
<http://bugs.python.org/issue30242>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1681
___
Python tracker
<http://bugs.python.org/issue30242>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 0ce1f7e02d4102e8a459d1855d689c8e4613a327 by Xiang Zhang in branch
'3.6':
bpo-30110: fix resource leak in test_asyncio.test_events (#1413) (#1584)
https://github.com/python/cpython/commit/0ce1f7e02d4102e8a459d1855d689c
Xiang Zhang added the comment:
New changeset 51ab4ada8fc99c24d434a533693375169c097006 by Xiang Zhang in branch
'3.5':
bpo-30110: fix resource leak in test_asyncio.test_events (#1413) (#1585)
https://github.com/python/cpython/commit/51ab4ada8fc99c24d434a533693375
Xiang Zhang added the comment:
New changeset dd2a09cf98845b1460f0e049ad0ffeeb5c6c6476 by Xiang Zhang in branch
'3.5':
bpo-30242: resolve some undefined behaviours in struct (#1418) (#1587)
https://github.com/python/cpython/commit/dd2a09cf98845b1460f0e049ad0ffe
Xiang Zhang added the comment:
New changeset aad1caf55f7fadb00ee097a1465bece4e128d8ef by Xiang Zhang in branch
'3.6':
bpo-30242: resolve some undefined behaviours in struct (#1418) (#1586)
https://github.com/python/cpython/commit/aad1caf55f7fadb00ee097a1465bec
Xiang Zhang added the comment:
New changeset 982a17e02d99dcf6e4dff93110cff5ecc59247f5 by Xiang Zhang in branch
'2.7':
bpo-30242: resolve some undefined behaviours in struct (#1418) (#1588)
https://github.com/python/cpython/commit/982a17e02d99dcf6e4dff93110cff5
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue30110>
___
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
Would you mind converting this patch to a Github PR John?
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issu
Xiang Zhang added the comment:
Related commit is bdb1cf1ca56db25b33fb15dd91eef2cc32cd8973. A simple reproduce
snippet:
import multiprocessing as mp
def foo(q):
q.put('hello')
assert not q.empty()
if __name__ == '__main__':
mp.set_start_method('spawn
Changes by Xiang Zhang :
--
pull_requests: +1692
___
Python tracker
<http://bugs.python.org/issue30301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
resolution: -> not a bug
___
Python tracker
<http://bugs.python.org/issue30195>
___
___
Python-bugs-list mailing list
Unsubscrib
Xiang Zhang added the comment:
Thanks for your reply Serhiy. Test added. :-)
--
___
Python tracker
<http://bugs.python.org/issue30301>
___
___
Python-bugs-list m
Changes by Xiang Zhang :
--
nosy: +xiang.zhang
___
Python tracker
<http://bugs.python.org/issue23267>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 6f75bc003ab4d5294b0291289ae03f7a8d305f46 by Xiang Zhang in branch
'master':
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601)
https://github.com/python/cpython/commit/6f75bc003ab4d5294b0291289ae03f
Changes by Xiang Zhang :
--
pull_requests: +1718
___
Python tracker
<http://bugs.python.org/issue30301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1719
___
Python tracker
<http://bugs.python.org/issue30301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 9081b36f330964faa4dee3af03228d2ca7c71835 by Xiang Zhang in branch
'3.5':
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1627)
https://github.com/python/cpython/commit/9081b36f330964faa4dee3af03228d
Xiang Zhang added the comment:
New changeset 43d4c0329e2348540a3a16ac61b3032f04eefd34 by Xiang Zhang in branch
'3.6':
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1628)
https://github.com/python/cpython/commit/43d4c0329e2348540a3a16ac61b303
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
New submission from Xiang Zhang:
Running test_threading throws a warning now.
./python -m test test_threading
Run tests sequentially
0:00:00 load avg: 0.22 [1/1] test_threading
Warning -- threading_cleanup() failed to cleanup 0 threads after 2 sec (count:
0, dangling: 21)
1 test OK.
Total
Xiang Zhang added the comment:
Since Martin and Gregory support it, Ellison if you'd like you could make a PR
for it. But code change alone is not enough. You need also adding corresponding
tests and docs.
--
___
Python tracker
Xiang Zhang added the comment:
See the doc:
https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network.hosts.
For hosts() method, network address and broadcast address are excluded from the
result. So it's right IPv4Address('192.168.0.0') and
IPv4Address('192
Changes by Xiang Zhang :
--
pull_requests: +1771
___
Python tracker
<http://bugs.python.org/issue30378>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
nosy: +vinay.sajip, xiang.zhang
___
Python tracker
<http://bugs.python.org/issue30378>
___
___
Python-bugs-list mailing list
Unsub
Xiang Zhang added the comment:
Joel, our patch system has moved to GitHub. Mind to turn your patch into a PR?
--
nosy: +xiang.zhang
stage: -> patch review
type: enhancement -> behavior
versions: +Python 2.7, Python 3.5, Python 3.7
___
Python t
Changes by Xiang Zhang :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue30412>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
nosy: +davin, xiang.zhang
___
Python tracker
<http://bugs.python.org/issue30414>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 89a5e03244370f41ce9bed5cea38e0dd620edb73 by Xiang Zhang in branch
'master':
bpo-30003: Fix handling escape characters in HZ codec (#1556)
https://github.com/python/cpython/commit/89a5e03244370f41ce9bed5cea38e0
Changes by Xiang Zhang :
--
pull_requests: +1807
___
Python tracker
<http://bugs.python.org/issue30003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1808
___
Python tracker
<http://bugs.python.org/issue30003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1809
___
Python tracker
<http://bugs.python.org/issue30003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset 65440f8278351e16350be716dff61f5f786f7060 by Xiang Zhang in branch
'3.5':
bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1718)
https://github.com/python/cpython/commit/65440f8278351e16350be716dff61f
Xiang Zhang added the comment:
New changeset 54af41d42eebbe4c6afe6b34ebb0fb550de1e7ba by Xiang Zhang in branch
'3.6':
bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1719)
https://github.com/python/cpython/commit/54af41d42eebbe4c6afe6b34ebb0fb
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
New changeset 6e1b832a6c0c8f32962a196ab631ccc17471d32b by Xiang Zhang in branch
'2.7':
bpo-30003: Fix handling escape characters in HZ codec (#1720) (#1556)
https://github.com/python/cpython/commit/6e1b832a6c0c8f32962a196ab631cc
Xiang Zhang added the comment:
"192.168.0.0" is the network address of "192.168.0.0/23" while "192.168.1.0"
not. :-)
--
___
Python tracker
<
Xiang Zhang added the comment:
New changeset 9e98cd0383d9e7f06c0537038a32459bf5efa97a by Xiang Zhang (Joel
Hillacre) in branch 'master':
bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700)
https://github.com/python/cpython/commit/9e98cd0383d9e7f06c0537038a3245
Xiang Zhang added the comment:
New changeset 779e7c933e777270897b1e35fa9e5b12eee12af9 by Xiang Zhang (Stéphane
Wirtel) in branch '2.7':
bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1788)
https://github.com/python/cpython/commit/779e7c933e777270897b1e35fa9e5b
Xiang Zhang added the comment:
New changeset ebbefae14039aa86d4c8a7cfab8f2b5a3ef0d241 by Xiang Zhang (Stéphane
Wirtel) in branch '3.5':
bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1789)
https://github.com/python/cpython/commit/ebbefae14039aa86d4c8a7cfab8f2b
Xiang Zhang added the comment:
New changeset c3454f0e79b35fb81b0426cfac4b801d4495b8ea by Xiang Zhang (Stéphane
Wirtel) in branch '3.6':
bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1790)
https://github.com/python/cpython/commit/c3454f0e79b35fb81b0426cfac4b80
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
Interestingly I could only reproduce the failure on 3.6 but not master.
--
nosy: +xiang.zhang
___
Python tracker
<http://bugs.python.org/issue30
Xiang Zhang added the comment:
New changeset 0b4b57df964f1ba427684556b8e5f05852454e0d by Xiang Zhang in branch
'master':
bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses
(#1676)
https://github.com/python/cpython/commit/0b4b57df964f1ba427684556b
Changes by Xiang Zhang :
--
pull_requests: +1981
___
Python tracker
<http://bugs.python.org/issue30378>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1982
___
Python tracker
<http://bugs.python.org/issue30378>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Xiang Zhang :
--
pull_requests: +1983
___
Python tracker
<http://bugs.python.org/issue30378>
___
___
Python-bugs-list mailing list
Unsubscribe:
Xiang Zhang added the comment:
New changeset e20d22671996712eac416dd7bda79b5344d81164 by Xiang Zhang in branch
'3.5':
bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses
(#1676) (#1902)
https://github.com/python/cpython/commit/e20d22671996712eac416dd7b
Xiang Zhang added the comment:
New changeset 95b4da2be4aeb74ee46ddece71f2075b32915c60 by Xiang Zhang in branch
'3.6':
bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses
(#1676) (#1903)
https://github.com/python/cpython/commit/95b4da2be4aeb74ee46ddece7
Xiang Zhang added the comment:
New changeset 3ef3bcbe38e1913119c3022ca470d06908eeda3c by Xiang Zhang in branch
'2.7':
bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses
(#1904) (#1676)
https://github.com/python/cpython/commit/3ef3bcbe38e1913119c3022ca
Xiang Zhang added the comment:
Thanks calcheng for your report and Vinay for the review.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
versions: +Python 2.7, Python 3.6, Python 3.7
___
Python tracker
<http://bug
Xiang Zhang added the comment:
Hi Jiri, thanks for your PR. But at least we need a corresponding test and an
entry in Misc/NEWS to complete the patch. Also, if your name is not in
Misc/ACKS, please add it. :-)
--
nosy: +xiang.zhang
___
Python
Xiang Zhang added the comment:
New changeset aead53b6ee27915de248b07de509529174aaad21 by Xiang Zhang (Johan
Liu) in branch 'master':
bpo-30245: Fix possible overflow when organize struct.pack_into error message
(#1682)
https://github.com/python/cpyt
Changes by Xiang Zhang :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Xiang Zhang added the comment:
Looking at the code and the previous issue #22928, CRLF immediately followed by
a tab or space (obs-fold: CRLF 1*( SP / HTAB )) is a valid part of a header
value so the regex deliberately ignore them.
So it looks right to me the url given doesn't raise the
Xiang Zhang added the comment:
Actually the docs says "This attribute is available when using the buffered I/O
classes from the io module", which means it's not always available since it
depends on an inner field set or not.
It's just like Python code:
>>> class
Xiang Zhang added the comment:
Looking at the code and doc it seems it's by design. But it's good or not
remains in question. The related discussion about the more general problem
behind this issue is
https://groups.google.com/d/msg/python-ideas/Kou5cYGjGQ8/oXEixwgiDwAJ. T
Xiang Zhang added the comment:
We have moved our code hosting to GitHub, would you mind turn your patch into a
GitHub PR first Wonsup?
--
___
Python tracker
<http://bugs.python.org/issue29
Changes by Zhang Wenbo :
--
nosy: +Zhang Wenbo
___
Python tracker
<http://bugs.python.org/issue27240>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zhang Wenbo added the comment:
I think I find a case which can reproduct this bug:
the UnstructuredTokenList has a ValueTerminal which is long enough(its encoded
word is longer than policy.maxlen ) and not at the beginning.
For examples, the following subjects can cause this bug:
- 'Re:
New submission from JP Zhang :
Github repo for reproducing: https://github.com/zjplab/gc-mc-pytorch/tree/bug,
test.py.
In the presence of my custom data_loader, it will error as unrecognized
argument. But without importing it(comment it out) everything is just fine.
--
components
401 - 500 of 1760 matches
Mail list logo