[issue45819] Avoid releasing the GIL in nonblocking socket operations

2021-11-16 Thread Christian Heimes
Christian Heimes added the comment: Do POSIX and Windows APIs guarantee that operations on a nonblocking socket can never ever block? We cannot safely keep the GIL unless you can turn "nonblocking socket operations by definition shouldn't block" into "standard guarante

[issue45808] configure check for HAVE_CRYPT_R is wrong

2021-11-15 Thread Christian Heimes
Christian Heimes added the comment: https://www.freebsd.org/cgi/man.cgi?crypt(3) LIBRARY Crypt Library (libcrypt, -lcrypt) SYNOPSIS #include char * crypt(const char *key, const char *salt); -- ___ Python tracker <ht

[issue45808] configure check for HAVE_CRYPT_R is wrong

2021-11-15 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27811 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29563 ___ Python tracker <https://bugs.python.org/issu

[issue45808] configure check for HAVE_CRYPT_R is wrong

2021-11-15 Thread Christian Heimes
New submission from Christian Heimes : The configure check for HAVE_CRYPT_R assumes that all platforms have . Some platforms like FreeBSD don't have at all. Instead the crypt_r() prototype is defined in . -- messages: 406352 nosy: christian.heimes priority: normal severity: n

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset c3997865f24d9491318b401ae8e46d27332aca25 by Christian Heimes in branch 'main': bpo-45573: Use Makefile's dependencies in setup.py (GH-29559) https://github.com/python/cpython/commit/c3997865f24d9491318b401ae

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27807 pull_request: https://github.com/python/cpython/pull/29559 ___ Python tracker <https://bugs.python.org/issue45

[issue45800] Move expat handling into configure and Makefile

2021-11-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset 464e6616be86129e33af6d9e43540c260d6804d5 by Christian Heimes in branch 'main': bpo-45800: Move pyexpat build setup into configure (GH-29547) https://github.com/python/cpython/commit/464e6616be86129e33af6d9e43540c

[issue45800] Move expat handling into configure and Makefile

2021-11-14 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45800] Move expat handling into configure and Makefile

2021-11-13 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27796 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29547 ___ Python tracker <https://bugs.python.org/issu

[issue45800] Move expat handling into configure and Makefile

2021-11-13 Thread Christian Heimes
Christian Heimes added the comment: An intermediate libexpat.a simplifies Modules/Setup. The explicit rules are required to support BSD make. bmake does neither have "%.o: %.c" nor target variable overrides like GNU make. -- ___ Pyth

[issue45800] Move expat handling into configure and Makefile

2021-11-13 Thread Christian Heimes
New submission from Christian Heimes : Move logic for --with-system-expat out of setup.py into configure and Makefile. This will enable --with-system-expat in Modules/Setup without manual patching. * Set CFLAGS and LDFLAGS for pyexpat and libexpat in configure. * Build a static libexpat.a

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
Christian Heimes added the comment: I tested the --with-system-libmpdec successfully on my system. Most vendors are using the internal copy of libmpdec any way. AFAIK only Debian-based systems use their own system libmpdec. $ ./configure -C --with-system-libmpdec $ make ... building

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the quick review, Mark! -- ___ Python tracker <https://bugs.python.org/issue45798> ___ ___ Python-bugs-list mailin

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
Christian Heimes added the comment: New changeset 0486570f7b2b5a75812e5a01a8dca58bfadc2437 by Christian Heimes in branch 'main': bpo-45798: Move _decimal build setup into configure (GH-29541) https://github.com/python/cpython/commit/0486570f7b2b5a75812e5a01a8dca5

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
Christian Heimes added the comment: PS: I had to add an explicit make rule for each object file. "%.o: %c" templates are not portable. -- ___ Python tracker <https://bugs.python.o

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27793 pull_request: https://github.com/python/cpython/pull/29541 ___ Python tracker <https://bugs.python.org/issue45

[issue45798] Move _decimal build setup into configure

2021-11-13 Thread Christian Heimes
New submission from Christian Heimes : Compiler and linker flags for _decimal and internal libmpdec are currently handled by a mix of configure checks and if/else chains in setup.py. The split makes it harder to build _decimal correctly from Modules/Setup. The Modules/Setup file also does

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-12 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27784 pull_request: https://github.com/python/cpython/pull/29534 ___ Python tracker <https://bugs.python.org/issue45

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-11 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes nosy_count: 2.0 -> 3.0 pull_requests: +27772 pull_request: https://github.com/python/cpython/pull/29522 ___ Python tracker <https://bugs.python.org/issu

[issue45785] Remove asyncore, asynchat and smtpd modules

2021-11-11 Thread Christian Heimes
Christian Heimes added the comment: +1 This bug is kind of a duplicate of #28533. A year ago Kyle worked on a patch. You can find their work at https://github.com/aeros/cpython/tree/remove-asycore-asynchat-smtpd -- nosy: +christian.heimes superseder: -> Replace asyncore/async

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: gdbmmodule and dbmmodule need special treatment anyway. macOS has dbm-API build into libc. Linux has either libgdbm_compat, libndbm, or libdb. The --with-dbmliborder makes it even more interesting. Users can override in which order they want to probe for

[issue45723] Improve and simplify configure.ac checks

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: New changeset fc9b62281931da8d20f85d5ed44cfc24f068d3f4 by Christian Heimes in branch 'main': bpo-45723: Add --with-pkg-config to configure (GH-29517) https://github.com/python/cpython/commit/fc9b62281931da8d20f85d5ed44cfc

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: New changeset 0a9f69539be27acf1cddf1b58d02a88d02e5008d by Christian Heimes in branch 'main': bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467) https://github.com/python/cpython/commit/0a9f69539be27acf1cddf1b58d02a8

[issue44319] setup openssl failed on linux

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: Update: I came up with a hack that lets you use the openssl11 module from EPEL with Python: https://discuss.python.org/t/modulenotfounderror-no-module-named-mysql-in-python-3-10-0-default-nov-6-2021-1425-gcc-4-8-5-20150623-red-hat-4-8-5-44-on-linux/11823

[issue45723] Improve and simplify configure.ac checks

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: New changeset 76d14fac72479e0f5f5b144d6968ecd9e594db34 by Erlend Egeberg Aasland in branch 'main': bpo-45723: Improve and simplify more configure.ac checks (GH-29485) https://github.com/python/cpython/commit/76d14fac72479e0f5f5b144d6968ec

[issue45723] Improve and simplify configure.ac checks

2021-11-10 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27769 pull_request: https://github.com/python/cpython/pull/29517 ___ Python tracker <https://bugs.python.org/issue45

[issue45778] libpython.so 3.9.8 drops symbol used by third party extension module(s)

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: Matthias mentions the upstream tickets https://github.com/python/typed_ast/issues/169 https://github.com/python/typed_ast/issues/170 on the BDO. The issue affects typed-ast and indirectly older versions of black. Upstream is considering to EOL typed

[issue45778] libpython.so 3.9.8 drops symbol used by third party extension module(s)

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: Yes, they are private symbols. 3rd parties should not use them. The symbol _PyUnicode_DecodeUnicodeEscape was replace in GH-28953: "bpo-45467: Fix IncrementalDecoder and StreamReader in the "raw-unicode-escape" codec". -- nos

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: We can detect majority of our dependencies with pkg-config. The use of pkg-config has some benefits: * Distro's provide the .pc files in their -dev / -devel packages. The presence of a .pc file indicates that all development dependencies are avai

[issue45774] Detect SQLite in configure.ac

2021-11-10 Thread Christian Heimes
Christian Heimes added the comment: I saw your message concerning sqlite3 on the FreeBSD buildbot. It's hard to tell why configure on FreeBSD doesn't find sqlite3.h without access to config.log or a shell. Maybe sqlite3 is installed in /usr/local ? ``configure`` does not use

[issue45774] Detect SQLite in configure.ac

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: Your solution looks very similar to my WIP patch: AC_CHECK_HEADERS([sqlite3.h], [AC_SEARCH_LIBS([sqlite3_version], [sqlite3])] ) AS_VAR_IF([ac_cv_search_sqlite3_version], [no], [], [ # found a working sqlite3.h and sqlite3 library

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 5b7c7cb104163a178e9d70cb3c80cbfa6af8fbfc by Christian Heimes in branch 'main': bpo-45763: Detect compression build deps in configure (GH-29483) https://github.com/python/cpython/commit/5b7c7cb104163a178e9d70cb3c80cb

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27734 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29483 ___ Python tracker <https://bugs.python.org/issu

[issue45763] Detect compression libraries in configure

2021-11-09 Thread Christian Heimes
New submission from Christian Heimes : Detect the presence of header files and development libraries for zlib, bz2, and lzma in configure.ac. Also see bpo-45747 -- components: Build messages: 406007 nosy: christian.heimes priority: normal severity: normal status: open title: Detect

[issue45743] Cleanup and simplify setup.py

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6a1cc8bf8a0d88af9c7891c6577508ae9f70e3ef by Christian Heimes in branch 'main': bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457) https://github.com/python/cpython/commit/6a1cc8bf8a0d88af9c7891c6577508

[issue45743] Cleanup and simplify setup.py

2021-11-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 8fefaad242f45b3bd97e000a00f2aac16d935315 by Christian Heimes in branch 'main': bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464) https://github.com/python/cpython/commit/8fefaad242f45b3bd97e000a00f2aa

[issue45723] Improve and simplify configure.ac checks

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: New changeset cbab997efb3ba5123dc8d9f706184fa8e634b3ec by Christian Heimes in branch 'main': bpo-45723: Prepare support for autoconf 2.71 (GH-29441) https://github.com/python/cpython/commit/cbab997efb3ba5123dc8d9f706184f

[issue45723] Improve and simplify configure.ac checks

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: New changeset 9bd0cf5970997b63d296e30d51e7bb9a15dcabaf by Erlend Egeberg Aasland in branch 'main': bpo-45723: Add macro for disabling/enabling CC warnings (GH-29466) https://github.com/python/cpython/commit/9bd0cf5970997b63d296e30d51e7bb

[issue45749] Silently fails to build hashlib if openssl has disabled algorithms

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: Out of curiosity, which vendor / platform provides OpenSSL builds without scrypt? -- ___ Python tracker <https://bugs.python.org/issue45

[issue45749] Silently fails to build hashlib if openssl has disabled algorithms

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: This is by design. As of PEP 644, Python 3.10 requires a full OpenSSL 1.1.1 build. See bpo-45627 for a discussion why we need a full build. Traditionally we also don't fail the entire build if one or more optional modules fail to build. You only get

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: Thanks Ronald. I was not aware that macOS has dbm_open in libc. AC_CHECK_LIB() always tries to link with an external library. The macro should skip the symbol from libc. Could you please run the PR locally and upload your config.log

[issue45743] Cleanup and simplify setup.py

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: New changeset 24af9a40a8f85af813ea89998aa4e931fcc78cd9 by Christian Heimes in branch 'main': bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456) https://github.com/python/cpython/commit/24af9a40a8f85af813ea89998aa4e9

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-08 Thread Christian Heimes
Christian Heimes added the comment: Pablo's macOS ARM64 buildbot does not find libdb-5.3 although it has db.h: https://buildbot.python.org/all/#/builders/721/builds/97/steps/2/logs/stdio macOS X86-64 buildbot has libdb-5.3: https://buildbot.python.org/all/#/builders/311/builds/332/st

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-08 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27720 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29467 ___ Python tracker <https://bugs.python.org/issu

[issue45747] Detect dbm and gdbm dependencies in configure.ac

2021-11-08 Thread Christian Heimes
New submission from Christian Heimes : setup.py jumps through hoops to detect gdbm, gdbm_compat, ndbm, and bdb (libdb) build dependencies. I propose to simplify our support matrix and detect all dependencies in configure.ac. gdbmmodule.c uses gdbm_open() API, which is provided by gdbm.h and

[issue45743] Cleanup and simplify setup.py

2021-11-08 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27718 pull_request: https://github.com/python/cpython/pull/29464 ___ Python tracker <https://bugs.python.org/issue45

[issue45723] Improve and simplify configure.ac checks

2021-11-07 Thread Christian Heimes
Christian Heimes added the comment: New changeset 57c50c9c7c701a8301c5a89b2b2d050550f62022 by Christian Heimes in branch 'main': bpo-45723: Add helper macros and more caching to configure.ac (GH-29429) https://github.com/python/cpython/commit/57c50c9c7c701a8301c5a89b2b2d05

[issue45743] Cleanup and simplify setup.py

2021-11-07 Thread Christian Heimes
Christian Heimes added the comment: For reference: https://opensource.apple.com/source/ld64/ld64-242/doc/man/man1/ld.1.auto.html > search_paths_first > This is now the default (in Xcode4 tools). When processing -lx the linker > now searches each directory > in its library sear

[issue45743] Cleanup and simplify setup.py

2021-11-07 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the detailed explanation, Ned. Much appreciated! For non-Mac users: macOS 10.6 was released in 2009 and 10.9 in 2013. IMHO it is reasonable to ask people to provide their own copies of libraries on older system. We also require OpenSSL 1.1.1

[issue45743] Cleanup and simplify setup.py

2021-11-07 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27712 pull_request: https://github.com/python/cpython/pull/29457 ___ Python tracker <https://bugs.python.org/issue45

[issue45743] Cleanup and simplify setup.py

2021-11-07 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27710 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29456 ___ Python tracker <https://bugs.python.org/issu

[issue45743] Cleanup and simplify setup.py

2021-11-07 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch, patch pull_requests: +27710, 27711 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29456 ___ Python tracker <https://bugs.python.org/issu

[issue45743] Cleanup and simplify setup.py

2021-11-07 Thread Christian Heimes
New submission from Christian Heimes : Motivated by deprecation of distutils, I like to move more logic and checks from setup.py into configure.ac. Eventually I like to get rid of setup.py. The file contains a bunch of complicated checks and macOS-specific adjustments that I cannot verify on

[issue45723] Improve and simplify configure.ac checks

2021-11-07 Thread Christian Heimes
Christian Heimes added the comment: New changeset be3cd5c05d9fb1d1cdb55cb98ca6ef8f866774be by Christian Heimes in branch 'main': bpo-45723: Detect missing pkg-config (GH-29442) https://github.com/python/cpython/commit/be3cd5c05d9fb1d1cdb55cb98ca6ef

[issue45723] Improve and simplify configure.ac checks

2021-11-06 Thread Christian Heimes
Christian Heimes added the comment: GH-29441 introduces forward compatibility issues with autoconf 2.71. I took the output of autoupdate and resolved all warnings. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45723] Improve and simplify configure.ac checks

2021-11-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27697 pull_request: https://github.com/python/cpython/pull/29442 ___ Python tracker <https://bugs.python.org/issue45

[issue45723] Improve and simplify configure.ac checks

2021-11-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27696 pull_request: https://github.com/python/cpython/pull/29441 ___ Python tracker <https://bugs.python.org/issue45

[issue45731] Handle --enable-loadable-sqlite-extensions in configure

2021-11-06 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45731] Handle --enable-loadable-sqlite-extensions in configure

2021-11-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset e9594f6747e848c26e2bf67d467aabfd62b3 by Christian Heimes in branch 'main': bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434) https://github.com/python/cpython/commit/e9594f6747e848c26e2bf67d46

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset 9b0f45c069863517a24239da301a1bf1697ac2e7 by Christian Heimes in branch 'main': bpo-43158: Regenerate configure again (GH-29433) https://github.com/python/cpython/commit/9b0f45c069863517a24239da301a1b

[issue45731] Handle --enable-loadable-sqlite-extensions in configure

2021-11-05 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27688 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29434 ___ Python tracker <https://bugs.python.org/issu

[issue45731] Handle --enable-loadable-sqlite-extensions in configure

2021-11-05 Thread Christian Heimes
New submission from Christian Heimes : The --enable-loadable-sqlite-extensions configure option is currently handled by a check in setup.py. The approach is incompatible with Modules/Setup and yields incorrect results for --enable-loadable-sqlite-extensions=no. Instead of reading the value

[issue45730] ERROR: PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl is not a supported wheel on this platform

2021-11-05 Thread Christian Heimes
Christian Heimes added the comment: This is the wrong place to report bugs with third party packages or wheels. The Python bug tracker is only for core development. Please use one of the community channels to get assistance, https://www.python.org/community/ -- nosy

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-05 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27687 status: pending -> open pull_request: https://github.com/python/cpython/pull/29433 ___ Python tracker <https://bugs.python.org/issu

[issue45723] Improve and simplify configure.ac checks

2021-11-05 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27684 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29429 ___ Python tracker <https://bugs.python.org/issu

[issue45723] Improve and simplify configure.ac checks

2021-11-05 Thread Christian Heimes
Christian Heimes added the comment: The first PR adds helper macros, AC_CACHE_CHECK() [1] and AS_VAR_IF() [2]. It also unified internal variables to use format "ac_cv_func_$funcname", "ac_cv_func_lib_$library_$funcname", or "ac_cv_header_$headername_h". "

[issue45723] Improve and simplify configure.ac checks

2021-11-05 Thread Christian Heimes
New submission from Christian Heimes : The autoconf-based build system has room for improvements. The configure.ac script can be simplified in several places by using AS and AC macros or by defining new custom macros. For example we have a lot of blocks that look like this: AC_MSG_CHECKING

[issue44319] setup openssl failed on linux

2021-11-04 Thread Christian Heimes
Christian Heimes added the comment: /usr/lib64/openssl11 is not a valid OpenSSL root directory. The option expects an OpenSSL installation directory with bin, lib, and include subdirectories. The custom scheme from CentOS EPEL openssl11 package is not supported. -- resolution

[issue41105] Add some extra content check in configure process for some empty header file who has been deprecated by glibc

2021-11-03 Thread Christian Heimes
Christian Heimes added the comment: The configure script is auto-generated from configure.ac. Any chance must be applied to configure.ac. We could replace the AC_CHECK_HEADERS() for stropt.h with a more elaborate AC_COMPILE_IFELSE() block that checks for presence of I_PUSH. Could you

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-02 Thread Christian Heimes
Christian Heimes added the comment: The problem should be fixed now. -- stage: patch review -> commit review status: open -> pending ___ Python tracker <https://bugs.python.org/i

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 91a51c5ffc3bd9da28a550530f6f2bcc25a2 by Miss Islington (bot) in branch '3.9': [3.9] bpo-43158: Use configure values for building _uuid extension (GH-29353) (GH-29363) https://github.com/python/cpyt

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset b71bc052454803aa8bd3e7edd2044e2d5e962243 by Miss Islington (bot) in branch '3.10': [3.10] bpo-43158: Use configure values for building _uuid extension (GH-29353) (GH-29362) https://github.com/python/cpyt

[issue45688] stdlib_module_names.h is missing _scproxy

2021-11-02 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45688] stdlib_module_names.h is missing _scproxy

2021-11-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset b2ae63161926527e31b9a9071b38836ad88e9a92 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45688: Add _scproxy to sys.stdlib_module_names (GH-29358) (GH-29361) https://github.com/python/cpyt

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 77a1f8d94c29da7bda4bd43e5a9c2233573d46ee by Christian Heimes in branch 'main': bpo-43158: Use configure values for building _uuid extension (GH-29353) https://github.com/python/cpython/commit/77a1f8d94c29da7bda4bd43e5a9c22

[issue45688] stdlib_module_names.h is missing _scproxy

2021-11-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 34098991289cb3e8eec012fa0243f30b9709666f by Christian Heimes in branch 'main': bpo-45688: Add _scproxy to sys.stdlib_module_names (GH-29358) https://github.com/python/cpython/commit/34098991289cb3e8eec012fa0243f3

[issue45688] stdlib_module_names.h is missing _scproxy

2021-11-02 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27618 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29358 ___ Python tracker <https://bugs.python.org/issu

[issue45688] stdlib_module_names.h is missing _scproxy

2021-11-02 Thread Christian Heimes
New submission from Christian Heimes : stdlib_module_names.h is missing the macOS specific module _scproxy. Guido ran into the problem in PR https://github.com/python/cpython/pull/29118 -- components: Build messages: 405495 nosy: christian.heimes, eric.snow, gvanrossum, vstinner

[issue45466] Simple curl/wget-like download functionality in urllib (like http offers server)

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: I fear that you underestimate both the complexity of this feature request and the amount of demand from users this feature is going to create. Once we start to offer a command line client for urllib, users **will** ask for more options, e.g. POST requests

[issue45319] Possible regression in __annotations__ descr for heap type subclasses

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: I created a new branch in my clone for you that has the 3.10 workaround disabled. # checkout: git clone -b bpo45319 https://github.com/tiran/wrapt.git cd wrapt # build src/wrapt/_wrappers.abi3.so python3 setup.py build_ext -i # run tests $ PYTHONPATH=src

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: I have created a PR that adds a check for libuuid to configure and then uses configure variables in setup.py. Could you please try the patch in your build system? -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8

[issue43158] uuid won't build when libuuid is installed in a non-standard place

2021-11-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27614 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29353 ___ Python tracker <https://bugs.python.org/issu

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-11-01 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-11-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset e73283a20fb05b70da2990decefac0e011faec17 by Christian Heimes in branch 'main': bpo-45668: Fix PGO tests without test extensions (GH-29315) https://github.com/python/cpython/commit/e73283a20fb05b70da2990decefac0

[issue45598] setup.py grep_headers_for() is broken by design

2021-11-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27613 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29352 ___ Python tracker <https://bugs.python.org/issu

[issue45548] Update Modules/Setup

2021-10-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8 by Christian Heimes in branch 'main': bpo-45548: Some test modules must be built as shared libs (GH-29268) https://github.com/python/cpython/commit/f0150ac94a85c863ec1dcb58b9e33e

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-10-29 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27584 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29315 ___ Python tracker <https://bugs.python.org/issu

[issue45668] Some PGO tests are failing when building with --enable-optimizations --disable-test-modules

2021-10-29 Thread Christian Heimes
New submission from Christian Heimes : Some PGO tests are failing when Python is build with options ./configure --disable-test-modules --enable-optimizations . Test failures are caused by missing _testcapi module. ./python -m test --pgo --timeout=1200 || true test test_array failed test

[issue45522] Allow to build Python without freelists

2021-10-29 Thread Christian Heimes
Christian Heimes added the comment: Which part of the patch is causing you extra work? Would you be fine if I only remove the configure option and leave the fixes for zero-length freelists (#define PyList_MAXFREELIST 0) in? -- ___ Python tracker

[issue45548] Update Modules/Setup

2021-10-28 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27531 pull_request: https://github.com/python/cpython/pull/29268 ___ Python tracker <https://bugs.python.org/issue45

[issue45548] Update Modules/Setup

2021-10-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4c95fb4640c0247903562dae4478158b348cea6d by Christian Heimes in branch 'main': bpo-45548: Fix out-of-tree and Debian builds (GH-29263) https://github.com/python/cpython/commit/4c95fb4640c0247903562dae447815

[issue45548] Update Modules/Setup

2021-10-28 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +27528 pull_request: https://github.com/python/cpython/pull/29263 ___ Python tracker <https://bugs.python.org/issue45

[issue45627] OpenSSL 1.1.1 still implements some disable-flags for Blake2, Scrypt

2021-10-28 Thread Christian Heimes
Christian Heimes added the comment: Ah, OpenWRT. :) Thanks for you detailed explanation. I kinda agree that it makes sense for small, embedded systems like OpenWRT to reduce the size of binaries. After all storage and memory are precious on these systems. PEP 644 favors usability over

[issue45623] static build is broken

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Full commit hash is dd18001c308fb3bb65006c91d95f6639583a3420 -- ___ Python tracker <https://bugs.python.org/issue45

[issue45623] static build is broken

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Steve changed the line in comment dd18001c308f / bpo-41627. -- assignee: -> steve.dower components: +Windows nosy: +christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <

[issue45627] OpenSSL 1.1.1 still implements some disable-flags for Blake2, Scrypt

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Python 3.10 and newer require OpenSSL 1.1.1+ with blake2, sha3, scrypt, and similar features enabled. The required feature set is specified in PEP 644, https://www.python.org/dev/peps/pep-0644/#compatibility . Python requires the features, because I want

[issue45622] BlockingIOError: [Errno 11] Resource temporarily unavailable when performing SSL handshake on Solaris

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the detailed bug report. Since the code works on Linux and other platforms as well as OpenSSL 1.0.2, it is likely a platform bug or a platform-specific issue with OpenSSL. Unfortunately I don't know how to investigate this

<    2   3   4   5   6   7   8   9   10   11   >