[issue32705] Current Android does not have posix_spawn

2018-01-28 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- keywords: +patch pull_requests: +5247 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32705> ___ ___ Py

[issue28914] selectmodule build fails

2018-01-29 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: As a side note, EPOLL_CLOEXEC is also missing on Android if *both* of the following conditions hold: 1. The build target is Android API < 21 (issue 32654) 2. Android NDK r15 or newer is used The second condition is related to a workaround in NDK [1]. For

[issue32705] Current Android does not have posix_spawn

2018-01-29 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: With https://github.com/python/cpython/pull/5418 merged, I guess this issue can be closed? -- ___ Python tracker <https://bugs.python.org/issue32

[issue32689] shutil.move raises AttributeError if first argument is a pathlib.Path object and destination is a directory

2018-01-31 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue32689> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32642] add support for path-like objects in sys.path

2018-02-09 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: > what file(s) is/are the sys.path code located in? If I understand it correctly, sys.path is handled in importlib._bootstrap_external.PathFinder.find_spec(). I can patch PathFinder for handling path-like objects: https://github.com/yan12125/cpython/com

[issue12345] Add math.tau

2018-02-23 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue12345> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33618] Support TLS 1.3

2018-05-23 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue33618> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33619] libffi detection via pkg-config is broken

2018-05-23 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : The cause is that ./configure contains unexpanded m4 macro PKG_PROG_PKG_CONFIG: https://github.com/python/cpython/blob/3055c94/configure#L9909 For unknown reasons, after GH-6850 the PKG_PROG_PKG_CONFIG macro is removed from aclocal.m4, and thus the macro

[issue33619] libffi detection via pkg-config is broken

2018-05-23 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- keywords: +patch pull_requests: +6706 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33619> ___ ___ Py

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-05-28 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: There are still quite a few similar warnings on git-master. Do they indicate the same problem or should I open new issues? For example: gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-std=c99 -Wextra

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2018-06-30 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue33990> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34089] Remove required (non-optional) modules from Modules/Setup.dist

2018-07-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34089> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32430] Simplify Modules/Setup{,.dist,.local}

2018-07-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue32430> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18971] Use argparse in the profile/cProfile modules

2018-07-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue18971> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32430] Simplify Modules/Setup{,.dist,.local}

2018-07-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue32430> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34226] cgi.parse_multipart() requires undocumented CONTENT-LENGTH in Python 3.7

2018-07-25 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : In Python 3.7, cgi.parse_multipart() requires "CONTENT-LENGTH" in the second parameter `pdict`. This is not necesary in Python 3.6. For example, the following code runs with 3.6: $ python3.6 Python 3.6.6 (default, Jun 27 2018, 13:11:40)

[issue23794] http package should support HTTP/2

2018-07-26 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue23794> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34271] Please support logging of SSL master secret by env variable SSLKEYLOGFILE

2018-07-29 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34271> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32947] Support OpenSSL 1.1.1

2018-07-29 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue32947> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2018-08-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Hi Roy, mind sharing the complete build log? Either attaching the log to this issue or pasting a link is fine. -- components: +Build ___ Python tracker <https://bugs.python.org/issue31

[issue31710] setup.py: _ctypes won't get built when system ffi is only in $PREFIX

2018-08-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: A possible case might be that pkg-config on your build machine is not properly configured. Could you check the value of LIBFFI_INCLUDEDIR in config.log? It shuold either be an empty string or /root/rc3/dist/lib/libffi-3.2.1/include. As a reference, the

[issue31710] setup.py: _ctypes won't get built when system ffi is only in $PREFIX

2018-08-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Thanks for providing the info. However, I'm sorry as the case is beyond my knowledge. Here's the relevant section in CPython that handles LIBFFI path searching: https://github.com/python/cpython/blob/v3.7.0/setup.py#L1984-L2002. You may want

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-08-03 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34022> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-08-30 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Could the fix be backported to 2.7 branch? Apparently on macOS 2.7 is also affected https://github.com/macports/macports-ports/pull/2456 -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue32

[issue34560] Backport of uuid1() failure fix

2018-08-31 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34560> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34585] Don't use AC_RUN_IFELSE to determine float endian

2018-09-06 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-07 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34587> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34354] Memory leak on _testCongestion

2018-09-07 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34354> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-09-09 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +8578 ___ Python tracker <https://bugs.python.org/issue32502> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-09-09 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I created the backport PR for 2.7 branch. Can anyone reopen this issue? -- versions: +Python 2.7 ___ Python tracker <https://bugs.python.org/issue32

[issue34871] test_site fails if run after test_inspect

2018-10-02 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : $ ./python -m test.regrtest test_inspect test_site Run tests sequentially 0:00:00 load avg: 0.03 [1/2] test_inspect 0:00:00 load avg: 0.03 [2/2] test_site test test_site failed -- Traceback (most recent call last): File "/hom

[issue34871] test_site fails if run after test_inspect

2018-10-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Thanks very much for the test.bisect hint! After some more trials, I guess it's an issue in the `inspect` module rather than the newly-added test in test_site. Here's an example script: import inspect import sys import _testcap

[issue34871] test_site fails if run after test_inspect

2018-10-04 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +9084 ___ Python tracker <https://bugs.python.org/issue34871> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28167] remove platform.linux_distribution()

2018-10-08 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue28167> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34095] [2.7] test_idle fails with: /usr/bin/xvfb-run: line 181: 3617 Segmentation fault

2018-10-10 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I got a similar error and managed to fix it by installing the noto-fonts package [1]. ttf-dejavu [2] works, too. I guess at least one font should be installed to allow those tests to run. [1] https://www.archlinux.org/packages/extra/any/noto-fonts/ [2

[issue34095] [2.7] test_idle fails with: /usr/bin/xvfb-run: line 181: 3617 Segmentation fault

2018-10-11 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Here is partial backtrace from commit 1d26c72e6a9c5b28b27c158f2f196217707dbb0f: #0 0x76763197 in GetTkFontAttributes (faPtr=faPtr@entry=0x55cd91e8, ftFont=) at /usr/src/debug/tk8.6.8/unix/../unix/tkUnixRFont.c:167 #1 0x767639fa in

[issue34095] [2.7] test_idle fails with: /usr/bin/xvfb-run: line 181: 3617 Segmentation fault

2018-10-12 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Sorry, after reading the original issue carefully, I realize that my issue is slightly different. In my case running test_idle only crashes, and it crashes before the first test in test_idle, not in test_writelines. I copied the Arch Linux packaging script

[issue34095] [2.7] test_idle fails with: /usr/bin/xvfb-run: line 181: 3617 Segmentation fault

2018-10-15 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: The new crashing test seems the same as https://bugs.python.org/issue33153. I can't reproduce it on 64-bit Arch Linux, so that might be a 32-bit only issue. -- ___ Python tracker <https://bugs.py

<    1   2