[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
Change by Mike Gilbert : -- keywords: +patch pull_requests: +16418 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16873 ___ Python tracker <https://bugs.python.org/issu

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
New submission from Mike Gilbert : After upgrading to Python 3.7.5, several algorithms are unavailable in the hashlib module. This seems to have been caused by the "fix" for https://bugs.python.org/issue33936. I will submit a PR with a more appropriate change shortly. Py

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
Mike Gilbert added the comment: Then the OpenSSL documentation is wrong, or Python is subsequently doing something to disable some algorithms. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
Mike Gilbert added the comment: I see that generate_hash_name_list() calls EVP_MD_do_all() which calls OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_DIGESTS, NULL); I'm not sure why that doesn't do the job here. -- ___ Python track

[issue38550] hashlib missing algorithms

2019-10-21 Thread Mike Gilbert
Mike Gilbert added the comment: Ok, so this appears to be working correctly on master. Just the 3.7 branch is broken. I think this is because we use OBJ_NAME_do_all instead of EVP_MD_do_all in 3.7. I think backporting https://github.com/python/cpython/pull/16083 to 3.7 would resolve this

[issue45433] libpython should not be linked with libcrypt

2021-10-11 Thread Mike Gilbert
New submission from Mike Gilbert : In https://bugs.python.org/issue44751, crypt.h was removed from Python.h. This would imply that libpython is not meant to expose any crypt-related symbols. In fact, it looks like libpython does not use crypt() or crypt_r() at all. These are only used by

[issue45433] libpython should not be linked with libcrypt

2021-10-11 Thread Mike Gilbert
Change by Mike Gilbert : -- keywords: +patch pull_requests: +27176 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28881 ___ Python tracker <https://bugs.python.org/issu

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-04-06 Thread Mike Gilbert
New submission from Mike Gilbert: Some effort was made to port Python to OpenSSL 1.1.0 (see issue 26470). However, the code still uses several deprecated functions, and fails to compile against OpenSSL 1.1.0 if these functions are disabled. This may be replicated by building OpenSSL with

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-04-08 Thread Mike Gilbert
Mike Gilbert added the comment: Thanks for the reply. OpenSSL 1.1.0 added functions to control the SSL/TLS version used by SSL contexts created using TLS_method(). You might consider updating the code for existing Python branches to use these functions. SSL_CTX_set_min_proto_version

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
New submission from Mike Gilbert : When testing for ptheads support in the compiler, configure includes the CFLAGS value from the environment. If CFLAGS contains -pthread, or an option which implies -pthread (like -fopenmp), this will cause configure to not include -pthread in the CC

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : Added file: https://bugs.python.org/file47215/configure.log ___ Python tracker <https://bugs.python.org/issue31769> ___ ___ Python-bugs-list m

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : Added file: https://bugs.python.org/file47216/build.log ___ Python tracker <https://bugs.python.org/issue31769> ___ ___ Python-bugs-list mailin

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Mike Gilbert added the comment: To resolve this, I suggest clearing CFLAGS/CXXFLAGS before performing the ptheads check, and restoring them afterward. -- ___ Python tracker <https://bugs.python.org/issue31

[issue31769] configure includes user CFLAGS when detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : -- title: configure includes user CFLAGS testing detecting pthreads support -> configure includes user CFLAGS when detecting pthreads support ___ Python tracker <https://bugs.python.org/issu

[issue32007] nis module fails to build against glibc-2.26

2017-11-11 Thread Mike Gilbert
New submission from Mike Gilbert : The nis extension module fails to build against glibc-2.26 with the "obsolete-rpc" option disabled. Downstream bug report: https://bugs.gentoo.org/631488 glibc-2.26 release notes: https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html The nis

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-06-29 Thread Mike Gilbert
Changes by Mike Gilbert : -- nosy: +floppymaster ___ Python tracker <http://bugs.python.org/issue16809> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13032] h2py.py can fail with UnicodeDecodeError

2012-05-02 Thread Mike Gilbert
Changes by Mike Gilbert : -- nosy: +floppymaster ___ Python tracker <http://bugs.python.org/issue13032> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29504] blake2: compile error with -march=bdver2

2017-02-08 Thread Mike Gilbert
New submission from Mike Gilbert: When compiling python-3.6.0 with -march=bdver2, the blake2 module fails to build. In file included from /var/tmp/portage/dev-lang/python-3.6.0/work/Python-3.6.0/Modules/_blake2/impl/blake2s-round.h:70:0, from /var/tmp/portage/dev-lang/python

[issue29504] blake2: compile error with -march=bdver2

2017-02-08 Thread Mike Gilbert
Mike Gilbert added the comment: Downstream bug report: https://bugs.gentoo.org/show_bug.cgi?id=608586 -- ___ Python tracker <http://bugs.python.org/issue29

[issue22758] Regression in Python 3.2 cookie parsing

2014-12-26 Thread Mike Gilbert
Changes by Mike Gilbert : -- nosy: +floppymaster ___ Python tracker <http://bugs.python.org/issue22758> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-05-27 Thread Mike Gilbert
Changes by Mike Gilbert : -- nosy: +floppymaster ___ Python tracker <http://bugs.python.org/issue24303> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24421] Race condition compiling Modules/_math.c

2015-11-11 Thread Mike Gilbert
Changes by Mike Gilbert : -- nosy: +floppymaster ___ Python tracker <http://bugs.python.org/issue24421> ___ ___ Python-bugs-list mailing list Unsubscribe: