Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-04 Thread Christian Heimes
On 04/08/2022 20.12, Barry wrote: Noted with thanks Kushal. Since I can download FREE copies of RHEL 9.0, I will use it then. I consider rhel 9 is an old os. I would suggest using fedora over rhel. Fedora 36 has python 3.10 and the when fedora 37 is released it will have python 3.11. And

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-08 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30438 pull_request: https://github.com/python/cpython/pull/32412 ___ Python tracker <https://bugs.python.org/issue40

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-07 Thread Christian Heimes
Christian Heimes added the comment: In GH-32352 I changed only tests that I was able to execute under wasm32-emscripten. As far as I know TK does not build for WASM. Somebody would have to port TCL/TK to WebGL or SDL2 to make it work in the browser

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-07 Thread Christian Heimes
Christian Heimes added the comment: New changeset 2b16a08bc77475917dd5c96417aef4c5210b45ac by Christian Heimes in branch 'main': bpo-40280: Detect missing threading on WASM platforms (GH-32352) https://github.com/python/cpython/commit/2b16a08bc77475917dd5c96417aef4c5210b45ac

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset 765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60 by Christian Heimes in branch 'main': bpo-40280: WASM defaults to no dynamic linking (GH-32360) https://github.com/python/cpython/commit/765f6dee0fcf55c6ea258c2be4cc9dfb1b014f60

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30409 pull_request: https://github.com/python/cpython/pull/32360 ___ Python tracker <https://bugs.python.org/issue40

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30404 pull_request: https://github.com/python/cpython/pull/32352 ___ Python tracker <https://bugs.python.org/issue40

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: You are building a cross-build with "--with-build-python=/usr/local/bin/python3.11". Is the interpreter up to date? During alpha and beta phase, the build Python interpreter should be built from the exact same git commit as t

[issue47232] Difficulties building tip of tree Python for emscripten

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: Please attach config.log and Makefile from the builddir. -- ___ Python tracker <https://bugs.python.org/issue47232> ___ ___

[issue17004] Expand zipimport to include other compression methods

2022-04-05 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.11 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue17004> ___ ___ Python-bugs-list mailin

[issue47009] Streamline list.append for the common case

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset 9e88b572fb904b172f9e344069fb7118f1cee517 by Christian Heimes in branch 'main': bpo-47009: Fix assert on big endian (GH-32332) https://github.com/python/cpython/commit/9e88b572fb904b172f9e344069fb7118f1cee517

[issue45774] Detect SQLite in configure.ac

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset f1606a5ba50bdc4e7d335d62297b4b4043a25e6e by Erlend Egeberg Aasland in branch 'main': bpo-45774: Harden SQLite detection (GH-30016) https://github.com/python/cpython/commit/f1606a5ba50bdc4e7d335d62297b4b4043a25e6e

[issue47009] Streamline list.append for the common case

2022-04-05 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes nosy_count: 3.0 -> 4.0 pull_requests: +30389 pull_request: https://github.com/python/cpython/pull/32332 ___ Python tracker <https://bugs.python.org/issu

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset 96e09837fb8031aebe8d823dd19ef664a34bcfad by Christian Heimes in branch 'main': bpo-40280: Add limited Emscripten REPL (GH-32284) https://github.com/python/cpython/commit/96e09837fb8031aebe8d823dd19ef664a34bcfad

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-04 Thread Christian Heimes
Christian Heimes added the comment: New changeset c9844cb8aa9615cdc8770d1e43ce6e2ac3efd836 by Christian Heimes in branch 'main': bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253) https://github.com/python/cpython/commit/c9844cb8aa9615cdc8770d1e43ce6e2ac3efd836

[issue47208] Support libffi implementations that cannot support invocations with 1024 arguments

2022-04-04 Thread Christian Heimes
Change by Christian Heimes : -- components: +Tests type: -> behavior versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue47208> ___ ___ Py

[issue47208] Support libffi implementations that cannot support invocations with 1024 arguments

2022-04-04 Thread Christian Heimes
Christian Heimes added the comment: GH-32297 adds #ifndef CTYPES_MAX_ARGCOUNT and exposes the constant in the _ctypes extension module, so the test case can use the constant. It allows you to override CTYPES_MAX_ARGCOUNT until libffi upstream agrees on FFI_MAX_CLOSURE_ARGS

[issue47208] Support libffi implementations that cannot support invocations with 1024 arguments

2022-04-04 Thread Christian Heimes
Christian Heimes added the comment: New changeset d1b1c885d8f276a0b1ff2e327270916396a8b842 by Christian Heimes in branch 'main': bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297) https://github.com/python/cpython/commit/d1b1c885d8f276a0b1ff2e327270916396a8b842

[issue47208] Support libffi implementations that cannot support invocations with 1024 arguments

2022-04-04 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30356 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32297 ___ Python tracker <https://bugs.python.org/issu

[issue47176] Interrupt handling for wasm32-emscripten builds without pthreads

2022-04-03 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue47197] ctypes mishandles `void` return type

2022-04-03 Thread Christian Heimes
Change by Christian Heimes : -- components: +Tests type: -> behavior versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issue47197> ___ ___ Py

[issue47196] Function pointer cast in test_imp

2022-04-03 Thread Christian Heimes
Change by Christian Heimes : -- components: +Tests resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement versions: +Python 3.11 ___ Python tracker <https://bugs.python

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-03 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +Function pointer cast in test_imp, ctypes mishandles `void` return type ___ Python tracker <https://bugs.python.org/issue40

[issue47176] Interrupt handling for wasm32-emscripten builds without pthreads

2022-04-03 Thread Christian Heimes
Christian Heimes added the comment: New changeset 087d0fa5b97796560c0d8ceab4f0360fd54baf4f by Hood Chatham in branch 'main': bpo-47176: Interrupt handling for wasm32-emscripten builds without pthreads (GH-32209) https://github.com/python/cpython/commit

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-03 Thread Christian Heimes
Christian Heimes added the comment: New changeset b82cdd1dac9a9be52051abd90a1ce69236ac41f4 by Christian Heimes in branch 'main': bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285) https://github.com/python/cpython/commit/b82cdd1dac9a9be52051abd90a1ce69236ac41f4

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-03 Thread Christian Heimes
Christian Heimes added the comment: Koob's build bot is a FreeBSD 14 host. FreeBSD 14 is under development and has not reached stable yet. I bet that the issue was caused by a recent system and Kernel upgrade. -- ___ Python tracker <ht

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-03 Thread Christian Heimes
Change by Christian Heimes : -- components: +FreeBSD ___ Python tracker <https://bugs.python.org/issue47205> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-03 Thread Christian Heimes
Christian Heimes added the comment: Koobs, please take a look. -- nosy: +koobs ___ Python tracker <https://bugs.python.org/issue47205> ___ ___ Python-bugs-list m

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-03 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30346 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32285 ___ Python tracker <https://bugs.python.org/issu

[issue47205] test_sched_getaffinity and setaffinity fail on FreeBSD buildbit

2022-04-03 Thread Christian Heimes
New submission from Christian Heimes : Two test cases have been failing on FreeBSD buildbot for a while. Let's skip the error check on FreeBSD for now. 0:27:24 load avg: 1.97 Re-running test_posix in verbose mode (matching: test_sched_getaffinity, test_sched_setaffinity

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-03 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30345 pull_request: https://github.com/python/cpython/pull/32284 ___ Python tracker <https://bugs.python.org/issue40

[issue46315] Add support for WebAssembly System Interface (wasm32-wasi)

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 3df0e63aabef905b72fad78256f24b9270c63172 by Christian Heimes in branch 'main': bpo-46315: Use fopencookie only on Emscripten 3.x and newer (GH-32266) https://github.com/python/cpython/commit/3df0e63aabef905b72fad78256f24b9270c63172

[issue46315] Add support for WebAssembly System Interface (wasm32-wasi)

2022-04-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30332 pull_request: https://github.com/python/cpython/pull/32266 ___ Python tracker <https://bugs.python.org/issue46

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30331 pull_request: https://github.com/python/cpython/pull/32266 ___ Python tracker <https://bugs.python.org/issue40

[issue47201] pip3.10.4 is configured with locations that require TLS/SSL, however the ssl module in Python is not available

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: CentOS 7 has an unsupported OpenSSL version. You need to build your own OpenSSL or use my work from https://github.com/tiran/cpython_builddep/#note sudo yum install -y epel sudo yum install -y openssl11-devel sed -i 's/PKG_CONFIG openssl /PKG_CONFIG

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: pmp-p wrote on GH-32253: when using --enable-wasm-dynamic-linking i think --enable-shared should set -fPIC and -s SIDE_MODULE=1 for libpython.so I have not tried --enable-shared with Emscripten yet. So far I have assumed that the result is a fat Python

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: PS: Check out ./configure --help -- ___ Python tracker <https://bugs.python.org/issue45847> ___ ___ Python-bugs-list mailin

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: As I said already, we require a pkg-config file for TCL/TK detection. It turned out to be too painful and too complicated to implement manual TCL/TK detection in configure.ac. Erlend and I tried and eventually gave up. If your platform does not provide

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: Could you please open a distro bug with Ubuntu and report the issue? We require a pkg-config file for TCL/TK. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: Please attach your config.log file. Did configure tell you that you are missing pkg-config? -- ___ Python tracker <https://bugs.python.org/issue45

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30324 pull_request: https://github.com/python/cpython/pull/32253 ___ Python tracker <https://bugs.python.org/issue40

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4ed8a9a589d2eee7442e0c9417515a707e504faa by Christian Heimes in branch 'main': bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238) https://github.com/python/cpython/commit/4ed8a9a589d2eee7442e0c9417515a707e504faa

[issue47162] Add call trampoline to work around bad fpcasts on Emscripten

2022-04-01 Thread Christian Heimes
Christian Heimes added the comment: Interesting, can you pin point the buggy function pointer? If you link with -gsource-map and deploy the map file, your browser should give you a decent stack trace. -- ___ Python tracker <ht

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30314 pull_request: https://github.com/python/cpython/pull/32243 ___ Python tracker <https://bugs.python.org/issue40

[issue46023] Modules/makesetup generated rules ignore *disabled*

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker <https://bugs.python

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 082d3495d0c820972f09f6109a98ed7eb5a7b79f by Christian Heimes in branch 'main': bpo-40280: Emscripten fork_exec now fails early (GH-32224) https://github.com/python/cpython/commit/082d3495d0c820972f09f6109a98ed7eb5a7b79f

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30309 pull_request: https://github.com/python/cpython/pull/32238 ___ Python tracker <https://bugs.python.org/issue40

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 17245c815e44e79d4dad6a99b54000956a4a7229 by Christian Heimes in branch 'main': bpo-40280: Add debug Emscripten flavors (GH-32233) https://github.com/python/cpython/commit/17245c815e44e79d4dad6a99b54000956a4a7229

[issue46023] Modules/makesetup generated rules ignore *disabled*

2022-04-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset abdd69c95c1711c2dc75be4e784c6d6c80a409b9 by Christian Heimes in branch 'main': bpo-46023: makesetup: skip all duplicate modules (GH-32234) https://github.com/python/cpython/commit/abdd69c95c1711c2dc75be4e784c6d6c80a409b9

[issue46023] Modules/makesetup generated rules ignore *disabled*

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30306 pull_request: https://github.com/python/cpython/pull/32234 ___ Python tracker <https://bugs.python.org/issue46

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30305 pull_request: https://github.com/python/cpython/pull/32233 ___ Python tracker <https://bugs.python.org/issue40

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30301 pull_request: https://github.com/python/cpython/pull/32229 ___ Python tracker <https://bugs.python.org/issue45

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-04-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 55d5c96c57738766eb6f3b5ccfa6599d5f094c18 by Christian Heimes in branch '3.10': [3.10] bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212) (GH-32216) https://github.com/python/cpython/commit

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-04-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30299 pull_request: https://github.com/python/cpython/pull/32224 ___ Python tracker <https://bugs.python.org/issue40

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue47182> ___ ___ Python-bugs-list m

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30293 pull_request: https://github.com/python/cpython/pull/32217 ___ Python tracker <https://bugs.python.org/issue47

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30292 pull_request: https://github.com/python/cpython/pull/32216 ___ Python tracker <https://bugs.python.org/issue47

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30288 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32212 ___ Python tracker <https://bugs.python.org/issu

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
New submission from Christian Heimes : unicodeobject.c has a static pointer to a unicode name CAPI capsule: static _PyUnicode_Name_CAPI *ucnhash_capi = NULL; The capsule is initialized on demand when the parser encounters a named unicode representation like "\N{digit nine}&q

[issue47181] error: impossible constraint in ‘asm’

2022-03-31 Thread Christian Heimes
Christian Heimes added the comment: Could you please attach your config.log file? -- nosy: +christian.heimes ___ Python tracker <https://bugs.python.org/issue47

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +Interrupt handling for wasm32-emscripten builds without pthreads ___ Python tracker <https://bugs.python.org/issue40

[issue47176] Interrupt handling for wasm32-emscripten builds without pthreads

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker <https://bugs.python.org/issue47176> ___ ___ Python-bugs-list mailing list Unsub

[issue47146] PR check "Check if generated files are up to date" failing intermittently

2022-03-30 Thread Christian Heimes
Christian Heimes added the comment: The problem is likely a recursive make call "$(MAKE)" in combination with parallel execution. As far as I understand it, GNU make cannot track dependencies properly, which can lead to partial or invalid dependency graphs. One make process

[issue47162] Add call trampoline to work around bad fpcasts on Emscripten

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

[issue47162] Add call trampoline to work around bad fpcasts on Emscripten

2022-03-30 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30267 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32189 ___ Python tracker <https://bugs.python.org/issu

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-30 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +Add call trampoline to work around bad fpcasts on Emscripten ___ Python tracker <https://bugs.python.org/issue40

[issue47162] Add call trampoline to work around bad fpcasts on Emscripten

2022-03-30 Thread Christian Heimes
New submission from Christian Heimes : WASM cannot handle function calls with bad function pointer casts yet. Hood Chatham explained the issue in Pyodide patch https://github.com/pyodide/pyodide/blob/0.19.1/cpython/patches/0001-call-trampolines-to-handle-fpcast-troubles.patch --- The wasm

[issue46864] Deprecate ob_shash in BytesObject

2022-03-30 Thread Christian Heimes
Christian Heimes added the comment: New changeset d8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f by Christian Heimes in branch 'main': bpo-46864: Suppress even more ob_shash deprecation warnings (GH-32176) https://github.com/python/cpython/commit/d8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f

[issue46864] Deprecate ob_shash in BytesObject

2022-03-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30254 pull_request: https://github.com/python/cpython/pull/32176 ___ Python tracker <https://bugs.python.org/issue46

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30253 pull_request: https://github.com/python/cpython/pull/32176 ___ Python tracker <https://bugs.python.org/issue47

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-29 Thread Christian Heimes
Christian Heimes added the comment: I figured out how to implement copy(). dup() does not work as expected, but accept() on an AF_ALG client socket creates an independent copy. -- ___ Python tracker <https://bugs.python.org/issue47

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-29 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30251 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32173 ___ Python tracker <https://bugs.python.org/issu

[issue47098] sha3: Replace Keccak Code Package with tiny_sha3

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

[issue47098] sha3: Replace Keccak Code Package with tiny_sha3

2022-03-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset 5fd8c574e016aec85725ddc5ced8742267b0e1b3 by Christian Heimes in branch 'main': bpo-47098: Replace Keccak Code Package with tiny_sha3 (GH-32060) https://github.com/python/cpython/commit/5fd8c574e016aec85725ddc5ced8742267b0e1b3

[issue47095] Prefer libb2 over vendored copy of blake2

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

[issue47095] Prefer libb2 over vendored copy of blake2

2022-03-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset b16b6bb8dacc41e9e569783890b0c88fcd3b24e8 by Christian Heimes in branch 'main': bpo-47095: Use libb2 to provide blake2 implementation (GH-32059) https://github.com/python/cpython/commit/b16b6bb8dacc41e9e569783890b0c88fcd3b24e8

[issue47113] PermissionError on pip uninstall

2022-03-24 Thread Christian Heimes
Christian Heimes added the comment: pip is maintained by a different group. Please report pip issues at https://github.com/pypa/pip . -- nosy: +christian.heimes resolution: -> third party stage: -> resolved status: open -> closed _

[issue44493] Missing terminated NUL in the length of sockaddr_un

2022-03-24 Thread Christian Heimes
Christian Heimes added the comment: We have a dedicated team of volunteers that triage incoming tickets. They assign tickets and ping experts. It looks like nobody triaged your submissions because nobody understood it. Your ticket did not contain an explanation and the link now goes

[issue39298] add BLAKE3 to hashlib

2022-03-24 Thread Christian Heimes
Christian Heimes added the comment: sha1 should be considered broken anyway and sha256 does not perform well on 64bit systems. Truncated sha512 (sha512-256) typically performs 40% faster than sha256 on X86_64. It should get you close to the performance of BLAKE3 SSE4.1 on your system

[issue44493] Missing terminated NUL in the length of sockaddr_un

2022-03-24 Thread Christian Heimes
Christian Heimes added the comment: Antoine, Serhiy, please take a look. You are the last developers that touched the AF_UNIX socket path code. Ty, why are you pinging me on this issue or on the PR? I'm neither familiar with that code nor responsible for it. -- components

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-24 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30179 pull_request: https://github.com/python/cpython/pull/32095 ___ Python tracker <https://bugs.python.org/issue40

[issue47101] hashlib.algorithms_available lists algorithms that are not available in OpenSSL 3.0 default provider

2022-03-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 1b6acaad9a18b2498386c60f24351ab749061e3a by Christian Heimes in branch '3.10': [3.10] bpo-47101: list only activated algorithms in hashlib.algorithms_available (GH-32076) (GH-32085) https://github.com/python/cpython/commit

[issue47101] hashlib.algorithms_available lists algorithms that are not available in OpenSSL 3.0 default provider

2022-03-23 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30172 pull_request: https://github.com/python/cpython/pull/32085 ___ Python tracker <https://bugs.python.org/issue47

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-23 Thread Christian Heimes
Christian Heimes added the comment: And sendfile() is zero-copy. Data does not have to leave Kernel space. -- ___ Python tracker <https://bugs.python.org/issue47

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-23 Thread Christian Heimes
Christian Heimes added the comment: test_socket has examples for HMAC, AES-CBC, and AES-GCM. with self.create_alg('hash', 'hmac(sha1)') as algo: algo.setsockopt(socket.SOL_ALG, socket.ALG_SET_KEY, b"Jefe") op, _ = algo.accept() with op: op.sendall(b"

[issue47102] explore hashlib use of the Linux Kernel CryptoAPI

2022-03-23 Thread Christian Heimes
Christian Heimes added the comment: We don't need libkcapi. I added AF_ALG support a while ago: import binascii import os import socket with socket.socket(socket.AF_ALG, socket.SOCK_SEQPACKET, 0) as cfgsock: cfgsock.bind(("hash", "sha256")) opsock

[issue47101] hashlib.algorithms_available lists algorithms that are not available in OpenSSL 3.0 default provider

2022-03-23 Thread Christian Heimes
Christian Heimes added the comment: $ ./python Tools/ssl/multissltests.py --openssl 3.0.2 --steps modules $ ./python -c "import hashlib; print(hashlib.algorithms_available)" {'blake2b', 'sha512', 'sm3', 'shake_128', 'md5', 'sha3_256', 'sha224', 'sha512_224', 'sha3_384', 'sha384',

[issue47101] hashlib.algorithms_available lists algorithms that are not available in OpenSSL 3.0 default provider

2022-03-23 Thread Christian Heimes
Christian Heimes added the comment: Hubert's suggested solution EVP_MD_do_all_provided() worked almost straight forward. The function signature is a bit different and I got "undefined" in the result set. Filtering out NID_undef

[issue47101] hashlib.algorithms_available lists algorithms that are not available in OpenSSL 3.0 default provider

2022-03-23 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30164 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32076 ___ Python tracker <https://bugs.python.org/issu

[issue47101] hashlib.algorithms_available lists algorithms that are not available in OpenSSL 3.0 default provider

2022-03-23 Thread Christian Heimes
New submission from Christian Heimes : Hubert Kario wrote in https://bugzilla.redhat.com/show_bug.cgi?id=2054702 Description of problem: The hashlib.algorithms_available set includes algorithms like ripemd160 and whirlpool, those algorithms are not usable unless openssl legacy provider

[issue47095] Prefer libb2 over vendored copy of blake2

2022-03-23 Thread Christian Heimes
Change by Christian Heimes : -- title: Deprecate blake2's tree hashing feature -> Prefer libb2 over vendored copy of blake2 ___ Python tracker <https://bugs.python.org/issu

[issue47098] sha3: Replace Keccak Code Package with tiny_sha3

2022-03-23 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30161 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32060 ___ Python tracker <https://bugs.python.org/issu

[issue47098] sha3: Replace Keccak Code Package with tiny_sha3

2022-03-23 Thread Christian Heimes
New submission from Christian Heimes : The Keccak Code Package (kcp) provides the reference implementation for SHA3 and SHAKE hashing algorithms. CPython has vendored a copy of KCP since I added SHA3 in 3.6. CPython 3.10 and newer require OpenSSL >= 1.1.1, which provide an optimi

[issue47095] Deprecate blake2's tree hashing feature

2022-03-22 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30153 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32059 ___ Python tracker <https://bugs.python.org/issu

[issue47095] Deprecate blake2's tree hashing feature

2022-03-22 Thread Christian Heimes
New submission from Christian Heimes : Python's blake2 implementation provides hashing, MAC (key, salt, personalization), variable length output, and tree hashing [1]. All features except for tree hashing are provided by OpenSSL 3.0.0 and newer [2]. It is unlikely that OpenSSL will get tree

[issue32033] The pwd module implementation incorrectly sets some attributes to None

2022-03-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4aea656d62860e78cd8384f2de375f0d4f1db579 by Christian Heimes in branch 'main': bpo-32033: Finalize WASI configure options (GH-32053) https://github.com/python/cpython/commit/4aea656d62860e78cd8384f2de375f0d4f1db579

[issue32033] The pwd module implementation incorrectly sets some attributes to None

2022-03-22 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes nosy_count: 5.0 -> 6.0 pull_requests: +30143 pull_request: https://github.com/python/cpython/pull/32053 ___ Python tracker <https://bugs.python.org/issu

[issue45150] Add a file_digest() function in hashlib

2022-03-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset e03db6d5be7cf2e6b7b55284985c404de98a9420 by Christian Heimes in branch 'main': bpo-45150: Fix testing under FIPS mode (GH-32046) https://github.com/python/cpython/commit/e03db6d5be7cf2e6b7b55284985c404de98a9420

[issue45150] Add a file_digest() function in hashlib

2022-03-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30136 pull_request: https://github.com/python/cpython/pull/32046 ___ Python tracker <https://bugs.python.org/issue45

[issue47082] No protection: `import numpy` in two different threads can lead to race-condition

2022-03-21 Thread Christian Heimes
Christian Heimes added the comment: Python used to have a global import lock. The global import lock prevented recursive imports from other threads while the current thread was importing. The import lock was source of issues and dead locks. Antoine replaced it with a fine grained import

  1   2   3   4   5   6   7   8   9   10   >