[issue17004] Expand zipimport to include other compression methods

2022-04-05 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue17004> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35967] Better platform.processor support

2022-03-20 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue35967> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2022-03-12 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue32642> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29240] PEP 540: Add a new UTF-8 mode

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

[issue40059] Provide a toml module in the standard library

2021-12-11 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue40059> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45097] "The loop argument is deprecated" reported when user code does not use it

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

[issue37095] [Feature Request]: Add zstd support in tarfile

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

[issue40059] Provide a toml module in the standard library

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

[issue45097] "The loop argument is deprecated" reported when user code does not use it

2021-09-04 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Many thanks for the fast and great fix! -- ___ Python tracker <https://bugs.python.org/issue45097> ___ ___ Python-bugs-list m

[issue34722] Non-deterministic bytecode generation

2021-09-04 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: issue37596 merged a fix to enable deterministic frozensets. I think this issue can be closed? Regarding my last comment msg347820 - it seems similar to one of https://bugs.python.org/issue34033 or https://bugs.python.org/issue34093. I followed those

[issue34093] Reproducible pyc: FLAG_REF is not stable.

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

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-09-03 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: A regression in 3.9.7 (issue45097) seems related to this issue. Could you have a look? -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue44

[issue45097] "The loop argument is deprecated" reported when user code does not use it

2021-09-03 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : With Python 3.9.7, "DeprecationWarning: The loop argument is deprecated" may be reported when user code does not use it. Here is an example: import asyncio import warnings warnings.filterwarnings('error') def crash(): raise KeyboardInterr

[issue34602] python3 resource.setrlimit strange behaviour under macOS

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

[issue41391] Make test_unicodedata pass when running without network

2021-06-06 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Closing in favor of a simpler fix merged from issue43144. Thanks for the fix! -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bug

[issue38692] add a pidfd child process watcher

2021-04-21 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue38692> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-04-15 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue37596> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-07 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue38820> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

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

[issue41282] Deprecate and remove distutils

2021-01-30 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue41282> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38820] Make Python compatible with OpenSSL 3.0.0

2020-12-15 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue38820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42325] UnicodeDecodeError executing ./setup.py during build

2020-11-13 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I got a similar issue on Arch Linux - see issue42351. -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue42

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-13 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I can also confirm the issue on our Arch Linux server [1]. The problematic file is also /usr/include/OMX_Other.h. Looks like it is a regression from https://github.com/python/cpython/pull/22855 (https://bugs.python.org/issue41100). Ronald Oussoren, mind

[issue41971] multiple tests in test_tools fail since Python 3.9

2020-10-11 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Looks like those failures in test_tools happen only when test_check_c_globals is imported and a test in test_imp is run. ``` $ cat matchfile test.test_tools.* test.test_imp.ImportTests.test_load_from_source $ ./python -m test --matchfile matchfile

[issue41971] multiple tests in test_tools fail since Python 3.9

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

[issue39481] Implement PEP 585 (Type Hinting Generics In Standard Collections)

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

[issue41282] Deprecate and remove distutils

2020-09-04 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I noticed that a new PEP draft [1] about deprecating distutils is uploaded. The current version [2] proposes to deprecate distutils in 3.10 and 3.11 and remove distutils in 3.12. [1] https://www.python.org/dev/peps/pep-0632/ [2] https://github.com/python

[issue41391] Make test_unicodedata pass when running without network

2020-07-25 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- keywords: +patch pull_requests: +20757 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21615 ___ Python tracker <https://bugs.python.org/issu

[issue41391] Make test_unicodedata pass when running without network

2020-07-25 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : I setup a buildbot worker to test Python 3.x on Android monthly. This month network in the Android emulator is broken and I got an additional test failure: 0:05:28 load avg: 1.21 [376/423/11] test_unicodedata failed test test_unicodedata failed

[issue41282] Deprecate and remove distutils

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

[issue35967] Better platform.processor support

2020-04-17 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 nosy_count: 4.0 -> 5.0 pull_requests: +18917 pull_request: https://github.com/python/cpython/pull/19577 ___ Python tracker <https://bugs.python.org/issu

[issue39481] Implement PEP 585 (Type Hinting Generics In Standard Collections)

2020-04-10 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 nosy_count: 5.0 -> 6.0 pull_requests: +18824 pull_request: https://github.com/python/cpython/pull/19469 ___ Python tracker <https://bugs.python.org/issu

[issue34033] distutils is not reproducible

2020-04-10 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34033> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2020-04-10 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: issue34722 also talks about frozenset, nondeterministic order and sorting. Maybe this ticket and that one are for the same issue? -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue37

[issue37095] [Feature Request]: Add zstd support in tarfile

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

[issue38692] add a pidfd child process watcher

2019-11-22 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Thank you very much for the commit "Skip test_posix.test_pidfd_open() on EPERM"! I can confirm it makes test_posix pass inside a systemd-nspawn container on Arch Linux. On the other hand, I found that tests were broken as both systemd libsecco

[issue38692] add a pidfd child process watcher

2019-11-09 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Benjamin Peterson, Kyle Stanley: Thank you both very much for intensive testing and helpful information! Yes on my Arch Linux box tests are also fine without systemd-nspawn. However, as I have to use systemd-nspawn for some reasons, and investigating how

[issue38692] add a pidfd child process watcher

2019-11-08 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I got a failure in newly added test_pidfd_open: == FAIL: test_pidfd_open (test.test_posix.PosixTester) -- Traceback (most

[issue36876] Global C variables are a problem.

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

[issue38014] Python 3.7 does not compile

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

[issue36953] Remove collections ABCs?

2019-10-07 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Lib/collections/__init__.py on branch 3.7 still states: > Using or importing the ABCs from 'collections' instead of from > 'collections.abc' is deprecated, and in 3.8 it will stop working I think it should also be updated (hopefully before

[issue36876] Global C variables are a problem.

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

[issue28747] Expose SSL_CTX_set_cert_verify_callback

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

[issue36953] Remove collections ABCs?

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

[issue37324] collections: remove deprecated aliases to ABC classes

2019-07-24 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: In CPython commit 5380def8269b24a8a3bc46396373a1dc91b1dd1a, bundled pip is updated to 19.2.1, and since pip 19.2 an html5lib patch is backported [1] to "prefer importing from collections.abc instead of collections" [2]. I believe https://github.

[issue33944] Deprecate and remove pth files

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

[issue34722] Non-deterministic bytecode generation

2019-07-13 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I encounter another case that leads to non-deterministic bytecode. For example, with commit e6b46aafad3427463d6264a68824df4797e682f1 + PR 9472, I got: $ cat foobar.py _m = None $ PYTHONHASHSEED=0 ./python -m compileall --invalidation-mode=unchecked-hash

[issue34722] Non-deterministic bytecode generation

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

[issue37053] Tools/parser/unparse.py does not handle u"bar" correctly

2019-05-26 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: After reading Python/ast.c, I think my patch is correct, so I submitted it to GitHub as https://github.com/python/cpython/pull/13583 :) -- ___ Python tracker <https://bugs.python.org/issue37

[issue37053] Tools/parser/unparse.py does not handle u"bar" correctly

2019-05-26 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- keywords: +patch pull_requests: +13490 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13583 ___ Python tracker <https://bugs.python.org/issu

[issue37049] Implement PEP 589: add TypedDict to typing

2019-05-26 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Regarding the round-trip issue in Lib/test/test_typing.py mentioned by SilentGhost: Apparently the following line added in b891c465bb7d38a597c5c2ad547d7b19194f4dad triggers an issue in Tools/parser/unparse.py Literal[b"foo", u"bar&quo

[issue37053] Tools/parser/unparse.py does not handle u"bar" correctly

2019-05-26 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : Currently (135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f) the following test fails: ./python -m test.regrtest -v test_tools.test_unparse -u cpu (Note that -u cpu is needed to force test_unparse.DirectoryTestCase to check all files under Lib/ and Lib/test

[issue37049] Implement PEP 589: add TypedDict to typing

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

[issue34632] Port importlib_metadata to Python 3.8

2019-05-25 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I managed to create a setup similar to the buildbot builder "AMD64 Fedora Rawhide Clang Installed 3.x" [1] on Arch Linux. Running test_importlib on an installed CPython copy is fine now: $ /usr/bin/python3.8 -m test.regrtest test_importlib

[issue34632] Port importlib_metadata to Python 3.8

2019-05-25 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +13475 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/13565 ___ Python tracker <https://bugs.python.org/issu

[issue34632] Port importlib_metadata to Python 3.8

2019-05-25 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: By the way, I think Python.framework is not needed? https://github.com/python/cpython/commit/1bbf7b661f0ac8aac12d5531928d9a85c98ec1a9#diff-206dc381e448d5121da9a6040a2b13c1 -- ___ Python tracker <ht

[issue34632] Port importlib_metadata to Python 3.8

2019-05-25 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Oops apparently my fix is incomplete. From the builder "AMD64 Fedora Rawhide Clang Installed 3.x" [1]: ModuleNotFoundError: No module named 'test.test_importlib.data' [1] https://buildbot.python.org/all/api/v2/logs/

[issue34632] Port importlib_metadata to Python 3.8

2019-05-25 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I got the same ModuleNotFoundError on Arch Linux and https://github.com/python/cpython/pull/13563 fixes it. I believe it can fix the issue on Fedora buildbots, too. -- nosy: +yan12125 ___ Python tracker <ht

[issue34632] Port importlib_metadata to Python 3.8

2019-05-25 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +13474 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/13563 ___ Python tracker <https://bugs.python.org/issu

[issue36982] Add support for extended color functions in ncurses 6.1

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

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-21 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Hi Michael Felt, > And, what it looks like you are trying to do with an updated 'signing" .pem > is to remove the 'self-signed' charasteric. If I understand it correctly, the new certificate is indeed still self-signed. It's updat

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

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

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Lib/test/selfsigned_pythontestdotnet.pem in the cpython repository needs to be updated to match https://github.com/python/pythontestdotnet/blob/master/tls/self-signed-cert.pem, or the test fails

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

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

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

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

[issue36630] failure of test_colors_funcs in test_curses with ncurses 6.1

2019-04-15 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I asked on bug-ncurses mailing list and Thomas Dickey suggests "improving the python curses binding to handle the newer terminal descriptions". Looks like that requires non-trivial efforts. On the other hand, I've also found a workaround: $

[issue28190] Cross-build _curses failed if host ncurses headers and target ncurses headers have different layouts

2019-04-08 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I created https://github.com/python/cpython/pull/12587 as a preparation pull request to fix the __sgi issue mentioned in msg282782. -- ___ Python tracker <https://bugs.python.org/issue28

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2019-03-30 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I guess Inada Naoki was to say https://bugs.python.org/issue36432 in the last comment. -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue34

[issue36432] Running python test suite fails on macOS 10.14.4 with resource.RLIMIT_STACK error

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

[issue31341] remove IRIX support code

2019-03-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +12529 ___ Python tracker <https://bugs.python.org/issue31341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28190] Cross-build _curses failed if host ncurses headers and target ncurses headers have different layouts

2019-03-26 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: As ncurses-related modules in Python alreadu build fine for Android, I consider the issue resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue36235] distutils.sysconfig.customize_compiler() overrides CFLAGS var with OPT var if CFLAGS env var is set

2019-03-18 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Oh, I didn't know the bot is not working for now. Thank you for making the test more robust! -- ___ Python tracker <https://bugs.python.org/issue36

[issue36235] distutils.sysconfig.customize_compiler() overrides CFLAGS var with OPT var if CFLAGS env var is set

2019-03-18 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: STINNER Victor: Thank you very much for that much better fix! I've tested it on Arch Linux. With that patch, test_distutils passes as usual. The pull request looks good, too. Just a question: I think it should be backported to 3.7 and 2.7 branches like

[issue36235] distutils.sysconfig.customize_compiler() overrides CFLAGS var with OPT var if CFLAGS env var is set

2019-03-17 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +12338 ___ Python tracker <https://bugs.python.org/issue36235> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36235] distutils.sysconfig.customize_compiler() overrides CFLAGS var with OPT var if CFLAGS env var is set

2019-03-15 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: After this patch, test_distutils failed if $CPPFLAGS is not empty when building CPython. For example: $ export CPPFLAGS=-DFOO=BAR $ ./configure $ make $ ./python -m test test_distutils Run tests sequentially 0:00:00 load avg: 0.45 [1/1] test_distutils

[issue36162] error: implicit declaration of function 'sendfile' is invalid in C99

2019-03-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: CPython requires several changes to build for Android < 21. There was an attempt in issue32654 but it's abandoned. -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issu

[issue29440] _dbm requires -lgdbm if gdbm is built as static libraries

2019-03-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I gave up building gdbm as a static library. It brings more headache than benefits. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue27640] add the '--disable-test-suite' option to configure

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

[issue34095] [2.7] Seg fault on archlinux 32 when run tests with xvfb-run

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

[issue23794] http package should support HTTP/2

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

[issue29397] linux/random.h present but cannot be compiled

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

[issue33618] Support TLS 1.3

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

[issue32947] Support OpenSSL 1.1.1

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

[issue16353] add function to os module for getting path to default shell

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

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

2019-01-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue31710> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29541] Python3 error while building on Alt-F

2019-01-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker <https://bugs.python.org/issue29541> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35742] test_builtin fails after merging the fix for bpo-34756

2019-01-15 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Found a test_builtin failure in the job for the relevant commit on Travis CI - https://travis-ci.org/python/cpython/jobs/479642964#L1491. I guess it's not noticed as it's listed in allow_failures in .travis.yml. However, I'm not sure if it's the same issue

[issue35742] test_builtin fails after merging the fix for bpo-34756

2019-01-15 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Wow that's super fast! I can confirm the patch fixes the issue on my machine. Thanks! -- ___ Python tracker <https://bugs.python.org/issue35

[issue35742] test_builtin fails after merging the fix for bpo-34756

2019-01-15 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : On git-master (32ebd8508d4807a7c85d2ed8e9c3b44ecd6de591) of CPython, 3 tests of test_builtin fails: == ERROR: test_envar_unimportable (test.test_builtin.TestBreakpoint) (envar

[issue35509] Unable to inherit from logging.Formatter

2018-12-18 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Oh so that's a simple Python question. Yep it works if `self` is removed. Thank you very much for the comment and sorry for bothering. I'll fix the code I'm using. -- resolution: -> not a bug stage: -> resolved status: open -&g

[issue35509] Unable to inherit from logging.Formatter

2018-12-16 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Hi Vinay Sajip, thanks for notifying the patch author. Just a question: is there a reason to remove 3.8 from affected versions? My sample program is indeed broken on Python 3.8. -- ___ Python tracker <ht

[issue35509] Unable to inherit from logging.Formatter

2018-12-15 Thread Chih-Hsuan Yen
New submission from Chih-Hsuan Yen : The following script runs fine on Python 3.7.1 but not on master (f5107dfd42). import logging class Foo(logging.Formatter): def __init__(self): super().__init__(self) Foo() The output is: Traceback (most recent call last): File "

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Got it. Thanks for the pointer. -- ___ Python tracker <https://bugs.python.org/issue34022> ___ ___ Python-bugs-list mailin

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Looks like in https://github.com/python/cpython/pull/10327, Serhiy Storchaka considers fixing these issues for 3.8 only - "It is easier to skip the test on 3.7." and then remove the "needs backport to 3.7" label. How about changing the t

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: As https://github.com/python/cpython/pull/10327 has been merged, I think this issue can be closed? -- ___ Python tracker <https://bugs.python.org/issue34

[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.python.

[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-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

[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: 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

[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:

  1   2   >