[issue36417] unicode.isdecimal bug in online Python 2 documentation

2019-04-10 Thread zheng
Change by zheng : -- keywords: +patch pull_requests: +12684 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue36417> ___ _

[issue36417] unicode.isdecimal bug in online Python 2 documentation

2019-04-10 Thread zheng
zheng added the comment: I propose we copy over the exact changes made to the Python 3 documentation. I looked through the code mentioned in the other thread. Namely, `Objects/unicodeobject.c` and `Tools/unicode/makeunicodedata.py`. The implementation is identical between python 2 and

[issue45779] multiprocessing initializer error with CPython 3.9.6 on Apple Silicon

2021-11-10 Thread Zhang Zheng
New submission from Zhang Zheng : Hi, I have encountered an error when working with concurrent.futures.ProcessPoolExecutor API, with CPython 3.9.6 on Apple Silicon, the error can not be reproduced with CPython 3.9.6 Linux/X86 build, so I think this might be related to the arch. I have

[issue45779] multiprocessing initializer error with CPython 3.9.6 on Apple Silicon

2021-11-10 Thread Zhang Zheng
Zhang Zheng added the comment: Hi, I have encountered an error when working with concurrent.futures.ProcessPoolExecutor API, with CPython 3.9.6 on Apple Silicon, the error can not be reproduced with CPython 3.9.6 Linux/X86 build, so I think this might be related to the arch. I have created

[issue39764] PyAsyncGenObject causes task.get_stack() raising AttributeError

2020-02-26 Thread Lidi Zheng
New submission from Lidi Zheng : This issue exists since 3.6. The implementation of get stack on Task is looking for two attribute [1]: "cr_frame" for coroutines, "gi_frame" for generators (legacy coroutines). However, PyAsyncGenObject provides none of them but "ag_f

[issue42077] Some Absolute domain name not work in urllib

2020-10-18 Thread Zheng SHAO
New submission from Zheng SHAO : ``` import ssl import urllib.request url_string = "https://kubernetes.default.svc.cluster.local./api/"; ctx = ssl._create_unverified_context() with urllib.request.urlopen(url_string, context=ctx) as f: f.read() ``` In running this sample code

[issue42077] Some absolute domain name not work in urllib

2020-10-18 Thread Zheng SHAO
Change by Zheng SHAO : -- title: Some Absolute domain name not work in urllib -> Some absolute domain name not work in urllib ___ Python tracker <https://bugs.python.org/issu

[issue42227] Unexpected sharing of list/set/dict between instances of the same class, when the list/set/dict is a default parameter value of the constructor

2020-10-31 Thread Kaiyu Zheng
New submission from Kaiyu Zheng : In the following toy example, with Python 3.7.4 class Foo: def __init__(self, a=set()): self.a = a foo1 = Foo() foo2 = Foo() foo1.a.add(1) print(foo2.a) This shows {1}. This means that modifying the .a field of foo1 changed that of foo2. I was

[issue17848] issue about compile with clang and build a shared lib

2013-04-26 Thread leon zheng
New submission from leon zheng: build with prefix point to a arbitrary path, can't find the dynamic lib, and libffi upstream bug: ./configure --prefix=xxx --enable-shared --enable-ipv6 --with-threads CC=clang -- components: Build files: mywork.pitch messages: 187838 nosy: matrixs

[issue41951] python-3.6.8.exe /uninstall /quiet fails woth Exit code: 0x643

2020-10-05 Thread XIAO AN ZHENG
New submission from XIAO AN ZHENG : The issue is caused by uninstalling Python 3.8.2 which wrongly detected  core_JustForMe even API only installed Python for All users : [1E18:1B64][2020-09-30T11:16:11]i101: Detected package: core_AllUsers, state: Present, cached: Complete [1E18:1B64][2020-09

[issue41951] python-3.6.8.exe /uninstall /quiet fails woth Exit code: 0x643

2020-10-05 Thread XIAO AN ZHENG
XIAO AN ZHENG added the comment: The issue is happening very randomly, and caused by uninstalling Python 3.8.2 which wrongly detected core_JustForMe even it was only installed Python for All users : [1E18:1B64][2020-09-30T11:16:11]i101: Detected package: core_AllUsers, state: Present

[issue41951] python-3.8.2.exe /uninstall /quiet fails woth Exit code: 0x643

2020-10-05 Thread XIAO AN ZHENG
Change by XIAO AN ZHENG : -- title: python-3.6.8.exe /uninstall /quiet fails woth Exit code: 0x643 -> python-3.8.2.exe /uninstall /quiet fails woth Exit code: 0x643 ___ Python tracker <https://bugs.python.org/issu

[issue41951] python-3.8.2.exe /uninstall /quiet fails with Exit code: 0x643

2020-10-06 Thread XIAO AN ZHENG
XIAO AN ZHENG added the comment: This happens in windows 2019 server running Powershell under SYSTEM account: &"..\thirdparty\python-3.8.2.exe" /uninstall /quiet -- title: python-3.8.2.exe /uninstall /quiet fails woth Exit code: 0x643 -> python-3.8.2.exe /uninstall