Christian Heimes added the comment:
Commit 9f2f7e42269db74a89fc8cd74d82a875787f01d7 has correct _base_executable
$ venv/bin/python
Python 3.11.0a2+ (heads/bpo-45847-simple-115-g9f2f7e42269:9f2f7e42269, Dec 10
2021, 10:09:54) [GCC 11.2.1 20211203 (Red Hat 11.2.1-7)] on linux
Type "
Christian Heimes added the comment:
New changeset 74b23c97cd5e178970a199066795cf0561f46b72 by Erlend Egeberg
Aasland in branch 'main':
bpo-45723: Normalise configure user communication (GH-30024)
https://github.com/python/cpython/commit/74b23c97cd5e178970a199066795cf
Christian Heimes added the comment:
New changeset 036bbb1d1b6156a1a72c40e9f907f302505085bc by Christian Heimes in
branch 'main':
bpo-46023: Fix makesetup handling of disabled rule (GH-30001)
https://github.com/python/cpython/commit/036bbb1d1b6156a1a72c40e9f907f3
Change by Christian Heimes :
--
nosy: +christian.heimes
nosy_count: 4.0 -> 5.0
pull_requests: +28253
pull_request: https://github.com/python/cpython/pull/30028
___
Python tracker
<https://bugs.python.org/issu
Christian Heimes added the comment:
I noticed that the types module is only used for ModuleType. PR GH-30028 gets
rid of 205 kB object code:
205K Python/deepfreeze/types.o
--
___
Python tracker
<https://bugs.python.org/issue45
Change by Christian Heimes :
--
nosy: +christian.heimes
nosy_count: 5.0 -> 6.0
pull_requests: +28255
pull_request: https://github.com/python/cpython/pull/30030
___
Python tracker
<https://bugs.python.org/issu
Christian Heimes added the comment:
New changeset 16638a4bdb802ae52d386a39d2dbef14de3fbc92 by Christian Heimes in
branch 'main':
bpo-45654: No need to freeze types (GH-30028)
https://github.com/python/cpython/commit/16638a4bdb802ae52d386a39d2dbef
Christian Heimes added the comment:
Which platforms or compilers use -pthread?
--
components: +Build -Extension Modules
nosy: +christian.heimes
versions: +Python 3.11 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue21
Christian Heimes added the comment:
Python's configure script should detect when a platform needs -pthread and
automatically include the flags for linking and compiling of all files. Under
which circumstances do you need -pthread in a Setup
Christian Heimes added the comment:
Adding regular expression support to -W and PYTHONWARNINGS env var turns the
options into potential attack vectors. It can introduce REDOS vulnerability.
--
keywords: +security_issue
nosy: +christian.heimes
type: -> enhancement
versions: +Pyt
Christian Heimes added the comment:
In his code review Eric made a point that the relationship of variables and
their impact on normal and cross builds are not obvious. I'm going to introduce
new variables for freezing and freezing dependencies. Bonus: Cross builds no
longer buil
Christian Heimes added the comment:
I just noticed that tomli has dropped support for Python 3.6. That's a road
block for general adoption of the package in the Python ecosystem. Python 3.6
is the default Python interpreter in CentOS 8, C8S, RHEL 8, and Ubuntu 18.04
LTS. https://githu
Christian Heimes added the comment:
We cannot help you unless you show us your code and provide a reproducer.
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.org/issue46
Christian Heimes added the comment:
Eric, I have a simple reproducer for the issue:
This works:
$ LC_ALL=en_US.utf-8 TESTPATH=$(pwd)/Lib:$(pwd)/build/lib.linux-x86_64-3.11
./Programs/_testembed test_init_setpath_config
This fails because it cannot load ISO-8859-1 / latin-1 codec
$ LC_ALL
Christian Heimes added the comment:
New changeset eb483c46d62707bdf705491f76cf1fa9642fb47e by Christian Heimes in
branch 'main':
bpo-45949: Pure Python freeze module for cross builds (GH-29899)
https://github.com/python/cpython/commit/eb483c46d62707bdf705491f76cf1f
Christian Heimes added the comment:
Thanks for your review, Eric!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Christian Heimes added the comment:
GH-30001 may have introduced a regression. makesetup is dropping too many
modules. Back to the drawing board!
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Christian Heimes :
--
pull_requests: +28322
pull_request: https://github.com/python/cpython/pull/30100
___
Python tracker
<https://bugs.python.org/issue46
Christian Heimes added the comment:
New changeset 74821b30539bba3cf0ac4148923ec0e9b826508e by Christian Heimes in
branch 'main':
bpo-46023: Skip build if module is marked as DISABLED (GH-30100)
https://github.com/python/cpython/commit/74821b30539bba3cf0ac4148923ec0
Change by Christian Heimes :
--
pull_requests: +28339
pull_request: https://github.com/python/cpython/pull/30117
___
Python tracker
<https://bugs.python.org/issue44
Christian Heimes added the comment:
Could you please add the new option to Doc/using/configure.rst ?
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.org/issue46
Christian Heimes added the comment:
time.mktime() is a thin wrapper around the libc function mktime(3). I can
confirm that glibc's mktime() on Debian 11 with glibc 2.31 is failing and
returning error code -1. Fedora 35 with glibc 2.34, Alpine with musl libc
1.2.2, and RHEL 8 with glibc
New submission from Christian Heimes :
The configure.ac code for editline/readline detection is complicated.
Especially the code for linking with extra termcap libraries makes it
complicated to port the check to pkg-config. The termcap checks were added by
Greg in bpo-3645 and commit
Christian Heimes added the comment:
I just noticed that you are using hard-coded paths with /tmp for the pystats
directory. That's problematic and opens the possibility of a symlink race
attack.
Could please add exclusive create to _Py_PrintSpecializationStats()? The will
prevent sy
Christian Heimes added the comment:
VS builds could use the bootstrap interpreter again. This will remove the need
to have a Python interpreter installed to build Python on Windows.
--
nosy: +christian.heimes
___
Python tracker
<ht
Christian Heimes added the comment:
list is a pdb command.
(Pdb) help list
l(ist) [first [,last] | .]
List source code for the current file. Without arguments,
list 11 lines around the current line or continue the previous
listing. With . as argument, list 11 lines
Christian Heimes added the comment:
The test case does not work for OpenSSL >= 3.0.1. The test assumes that the
version starts with M.NN.FF, but OpenSSL 3 uses M.NN.PP. The FF (fix) part is
always 00. The issue didn't show up before because fix and patch level were 0
for 3.0.0 al
Change by Christian Heimes :
--
assignee: christian.heimes ->
components: +Tests
stage: -> needs patch
type: -> behavior
versions: -Python 3.8
___
Python tracker
<https://bugs.python.or
Change by Christian Heimes :
--
keywords: +patch
pull_requests: +28387
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30170
___
Python tracker
<https://bugs.python.org/issu
Christian Heimes added the comment:
FYI, OpenSSL_version_num() is not deprecated and Python does not fail to build
with OpenSSL 3.0.1. One test case is failing because OpenSSL 3 changed the
version scheme slightly.
--
title: OpenSSL deprecated OpenSSL_version_num() since version
Christian Heimes added the comment:
New changeset 2985feac4e02d590bb78bcce9e30864be53280ac by Christian Heimes in
branch 'main':
bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)
https://github.com/python/cpython/commit/2985feac4e02d590bb78bcce9e3086
Christian Heimes added the comment:
New changeset da8cf8a74714f4cc34fb768345cb1caf9dcddd62 by Christian Heimes in
branch 'main':
bpo-44035: Show git diff after autoreconf and regen (GH-30117)
https://github.com/python/cpython/commit/da8cf8a74714f4cc34fb768345cb1c
Change by Christian Heimes :
--
pull_requests: +28389
pull_request: https://github.com/python/cpython/pull/30173
___
Python tracker
<https://bugs.python.org/issue46
Christian Heimes added the comment:
New changeset a9b3edb66f2976a5895b6399ee905ac2f27718ac by Christian Heimes in
branch '3.9':
[3.9] bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) (GH-30173)
https://github.com/python/cpython/commit/a9b3edb66f2976a5895b6399ee905a
Christian Heimes added the comment:
New changeset 0339434835aa74dc78a38ae12ea7d2973c144eb1 by Christian Heimes in
branch 'main':
bpo-40280: Add Tools/wasm with helpers for cross building (GH-29984)
https://github.com/python/cpython/commit/0339434835aa74dc78a38ae12ea7d2
Christian Heimes added the comment:
The primary purpose of __slots__ is not to limit attribute assignment. Slots
are useful to define types that have a smaller memory footprint than types.
You are getting the expected behavior. Enum parent class does not have
__slots__ and therefore
Christian Heimes added the comment:
DH_KEY_TOO_SMALL means that you are using weak and easy to break keys for your
connections. Recent versions of OpenSSL prevent insecure connections. You can
lower the security setting for a context with:
>>> import ssl
&g
Christian Heimes added the comment:
This is a known issue, see #40479. OpenSSL 3.0.0 new provider system requires a
major redesign of hashlib module's internals. It's not a trivial change. My
first attempt GH-19878 has some flaws and introduces a performance
Christian Heimes added the comment:
Please provide benchmarks and reasons in the ticket. A BPO issue should contain
all relevant information for a change.
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.org/issue46
Christian Heimes added the comment:
Your patch gets the work done, but it's even slower than my WIP patch set.
Hashing is a performance critical path. The new fetch() API in OpenSSL 3.0.0 is
substantially slower than the old OpenSSL 1.1.1 APIs.
Python 3.9 and earlier still support Op
Christian Heimes added the comment:
Backwards incompatible changes are out of scope.
--
nosy: +christian.heimes
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Christian Heimes added the comment:
I need more information to diagnose the issue. Could you please provide:
- your operating system and vendor/distribution
- your OpenSSL version (ssl.OPENSSL_VERSION)
- how did you install Python (self-compiled, pyenv, system Python)?
- how did you install
Christian Heimes added the comment:
You are using a OpenSSL build with custom, additional patches and your code is
crashing somewhere in OpenSSL. It is likely that your patches are causing
issue. I'm not going to provide free service for custom builds.
--
assignee: christian.h
Christian Heimes added the comment:
The traceback indicates that it's a problem with a 3rd party extension module
and not a bug in CPython core. The C stack suggests that your copy of libargon2
is the root cause.
--
nosy: +christian.heimes
resolution: -> third par
Christian Heimes added the comment:
The issue could be related to 99fcf1505218464c489d419d4500f126b6d6dc28 /
bpo-45582.
--
nosy: +christian.heimes, steve.dower
___
Python tracker
<https://bugs.python.org/issue46
Change by Christian Heimes :
--
assignee: christian.heimes ->
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issu
Change by Christian Heimes :
--
keywords: +patch
pull_requests: +28564
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30351
___
Python tracker
<https://bugs.python.org/issu
Change by Christian Heimes :
--
Removed message: https://bugs.python.org/msg409585
___
Python tracker
<https://bugs.python.org/issue46243>
___
___
Python-bug
New submission from Christian Heimes :
spam
--
nosy: +christian.heimes
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Christian Heimes :
--
assignee: christian.heimes ->
___
Python tracker
<https://bugs.python.org/issue46252>
___
___
Python-bugs-list mailing list
Un
Christian Heimes added the comment:
On my FreeBSD 13 VM the sysconfig data module is
build/lib.freebsd-13.0-RELEASE-amd64-3.11-pydebug/_sysconfigdata_d_freebsd13_.py
It does not have any multiarch suffix. The multiarch suffix is detected by
configure.ac. Did FreeBSD 14.0's C
Change by Christian Heimes :
--
keywords: +patch
pull_requests: +28616
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30410
___
Python tracker
<https://bugs.python.org/issu
Christian Heimes added the comment:
I have tested my PR on a FreeBSD VM. Python fails to compile on main and builds
correctly with my patch.
--
components: +Build
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.
Christian Heimes added the comment:
Python's stdlib does not support locale aware unicode transformations. I
recommend that you check out https://pypi.org/project/PyICU .
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.py
Christian Heimes added the comment:
New changeset cae55542d23e606dde9819d5dadd7430085fcc77 by Christian Heimes in
branch 'main':
bpo-46263: Don't use MULTIARCH on FreeBSD (#30410)
https://github.com/python/cpython/commit/cae55542d23e606dde9819d5d
Change by Christian Heimes :
--
priority: release blocker -> normal
___
Python tracker
<https://bugs.python.org/issue46263>
___
___
Python-bugs-list mai
Christian Heimes added the comment:
I have backported the patch to all versions that receive regular fixes.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> compile error
___
Python tra
Christian Heimes added the comment:
GH-30367 broke Emscripten WASM builds. I'm getting a "null function or function
signature mismatch" error from the WASM engine:
RuntimeError: null function or function signature mismatch
at _PyEval_EvalFrameDefault
(http:/
Christian Heimes added the comment:
I got more debug symbols:
python.js:235 Uncaught RuntimeError: null function or function signature
mismatch
at _PyEval_EvalFrameDefault (ceval.c:4247)
at _PyEval_EvalFrame (pycore_ceval.h:48)
at gen_send_ex2 (genobject.c:219)
at
Change by Christian Heimes :
--
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issue46009>
___
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
False alarm ... the frozen files for getpath.py were out of date. I can no
longer reproduce the issue after a hard git clean and rebuild.
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -&g
New submission from Christian Heimes :
The Makefile rules for frozen header files have a dependency on
$(FREEZE_MODULE_BOOTSTRAP_DEPS) or $(FREEZE_MODULE_DEPS). For normal builds
this dependency will trigger a refresh of the frozen header files when the byte
code magic changes
Christian Heimes added the comment:
The test_capi check for check_pyobject_freed_is_freed() is failing because
FreeBSD 14.0 uses jemalloc, which performs its own dead memory cleaning.
jemalloc's free() fills freed memory with byte 0x5a, which overrides Python's
0xdd marker.
$ PY
Christian Heimes added the comment:
$ PYTHONMALLOC=malloc_debug ./python t.py
Traceback (most recent call last):
File "/usr/home/heimes/dev/python/cpython/t.py", line 4, in
_testcapi.check_pyobject_freed_is_freed()
^
_test
Change by Christian Heimes :
--
pull_requests: +28641
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/30434
___
Python tracker
<https://bugs.python.org/issu
Christian Heimes added the comment:
New changeset b259015c1079744dbe3d58bd4c27757a6df9d1c6 by Miss Islington (bot)
in branch '3.9':
[3.9] bpo-46263: FreeBSD 14.0 jemalloc workaround for junk bytes of freed
memory (GH-30434) (GH-30437)
https://github.com/python/cpyt
Christian Heimes added the comment:
test_capi is fixed now. test_embed is still an issue.
--
___
Python tracker
<https://bugs.python.org/issue46263>
___
___
Change by Christian Heimes :
--
pull_requests: +28647
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30440
___
Python tracker
<https://bugs.python.org/issu
Change by Christian Heimes :
--
pull_requests: +28654
pull_request: https://github.com/python/cpython/pull/30449
___
Python tracker
<https://bugs.python.org/issue45
Christian Heimes added the comment:
Thanks William!
--
___
Python tracker
<https://bugs.python.org/issue45723>
___
___
Python-bugs-list mailing list
Unsub
Change by Christian Heimes :
--
priority: normal -> release blocker
___
Python tracker
<https://bugs.python.org/issue45723>
___
___
Python-bugs-list mai
Christian Heimes added the comment:
New changeset 994f90c0772612780361e1dc5fa5223dce22f70a by Christian Heimes in
branch 'main':
bpo-45723: Fix detection of epoll (#30449)
https://github.com/python/cpython/commit/994f90c0772612780361e1dc5fa522
Change by Christian Heimes :
--
priority: release blocker -> normal
___
Python tracker
<https://bugs.python.org/issue45723>
___
___
Python-bugs-list mai
Christian Heimes added the comment:
Ubuntu 18.04's OpenSSL is too old and unsupported by 3.10. OpenSSL 1.0.2 is EOL
since 2019. You either need to update to a more recent version of Ubuntu or
build your own OpenSSL.
--
nosy: +christian.heimes
resolution: -> wont f
Christian Heimes added the comment:
Deep freezing is not a miracle cure for startup performance issues. Every
additional frozen module increases the size of the main binary / shared
library. This can have negative affects for performance and usability, too. For
WASM builds we want to make
Change by Christian Heimes :
--
pull_requests: +28659
pull_request: https://github.com/python/cpython/pull/30455
___
Python tracker
<https://bugs.python.org/issue40
Christian Heimes added the comment:
You seem to have OpenSSL 1.0.2 headers installed somewhere on your computer.
Python's configure script and build system uses these headers instead of the
system headers from libssl-dev.
--
___
Python tr
Christian Heimes added the comment:
Simple benchmark with openssl-3.0.0-5.el9.x86_64
With custom EVP_MD cache:
$ ./python -m timeit -s "from hashlib import md5" "md5(b'12345678',
usedforsecurity=False).digest()"50 loops, best of 5: 520 nsec per loop
$ ./pyt
Christian Heimes added the comment:
New changeset 5c66414b5561c54e7a0f4bde8cc3271908ea525e by Ethan Smith in branch
'main':
bpo-40280: Disable epoll_create in Emscripten config.site (GH-30494)
https://github.com/python/cpython/commit/5c66414b5561c54e7a0f4bde8cc327
Change by Christian Heimes :
--
assignee: christian.heimes ->
type: security -> behavior
___
Python tracker
<https://bugs.python.org/issue46313>
___
___
New submission from Christian Heimes :
WASI is another WebAssembly platform similar to Emscripten (bpo-40280). Simply
speaking Emscripten binaries (wasm32-emscripten) run inside a browser while
WASI binaries target standalone runtimes like wasmtime [2][3] on the host. The
lines are a bit
Christian Heimes added the comment:
This is not a security issue because OpenSSL 3.0.0 is not officially supported
yet. OpenSSL 3.0.0 support is prelimiary, experimental, and provisional.
>From https://docs.python.org/3/whatsnew/3.10.html#ssl
> The ssl module has preliminary suppo
Change by Christian Heimes :
--
keywords: +patch
pull_requests: +28712
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30507
___
Python tracker
<https://bugs.python.org/issu
Christian Heimes added the comment:
Petr and Charis are aware that there are issues with OpenSSL 3.0 support. RHEL
9 FIPS support is broken as well. It's also documented in the release notes and
I just wrote an email to python-dev
Christian Heimes added the comment:
The code works as intended and design.
The keylog file is created in append-only mode when the file does not exist
yet. A missing, inaccessible, or read-only directory or an invalid path raise
an exception by design. Errors should not pass silently. The
Christian Heimes added the comment:
dup() is required by _PyTokenizer_FindEncodingFilename(). I came up with this
hack:
// from wasi-libc libc-top-half/musl/src/internal/stdio_impl.h
struct _IO_FILE {
unsigned flags;
unsigned char *rpos, *rend;
int (*close)(FILE *);
unsigned
Change by Christian Heimes :
--
nosy: -christian.heimes
___
Python tracker
<https://bugs.python.org/issue46313>
___
___
Python-bugs-list mailing list
Unsub
Christian Heimes added the comment:
That's not how OSS work. Python core development does not have resources to
provide proactive support for all Linux distros in the world. We provide
documentation and guidance. I assume that paid package maintainers of a
commercial Linux vendor pe
Christian Heimes added the comment:
You could upload the code to https://test.pypi.org/
--
___
Python tracker
<https://bugs.python.org/issue39298>
___
___
Pytho
Change by Christian Heimes :
--
pull_requests: +28738
pull_request: https://github.com/python/cpython/pull/30538
___
Python tracker
<https://bugs.python.org/issue40
Change by Christian Heimes :
--
dependencies: +_Py_stat and _Py_wstat using incorrect type for status argument
nosy: +christian.heimes, pablogsal
priority: normal -> release blocker
stage: -> needs patch
type: -> behavior
___
Pytho
Change by Christian Heimes :
--
priority: normal -> release blocker
___
Python tracker
<https://bugs.python.org/issue46303>
___
___
Python-bugs-list mai
Christian Heimes added the comment:
I set the release blocker flag for the ticket.
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.org/issue46
Change by Christian Heimes :
--
pull_requests: +28753
pull_request: https://github.com/python/cpython/pull/30552
___
Python tracker
<https://bugs.python.org/issue40
Christian Heimes added the comment:
It's unlikely that you can reproduce the issue with clang. We use MSVC and a
manually maintained pyconfig.h on Windows.
--
___
Python tracker
<https://bugs.python.org/is
Christian Heimes added the comment:
An exception is not a crash. We reserve the word "crash" for segfaults.
--
nosy: +christian.heimes
title: 'pydoc -k' crashes when some module's loader is not found -> 'pydoc -k'
fails when some module's
Christian Heimes added the comment:
New changeset 43839ba438368a50f22f718d4ce8ce607c17046c by Christian Heimes in
branch 'main':
bpo-40280: Add --with-emscripten-target to build for browser or node (GH-30552)
https://github.com/python/cpython/commit/43839ba438368a50f22f718d4ce8ce
Change by Christian Heimes :
--
pull_requests: +28760
pull_request: https://github.com/python/cpython/pull/30559
___
Python tracker
<https://bugs.python.org/issue40
Christian Heimes added the comment:
New changeset e34c9367f8e0068ca4bcad9fb5c2c1024d02a77d by Christian Heimes in
branch 'main':
bpo-40280: Allow to compile _testcapi as builtin module (GH-30559)
https://github.com/python/cpython/commit/e34c9367f8e0068ca4bcad9fb5c2c1
Christian Heimes added the comment:
New changeset a6ca8eee2254762422f90cf94fbaac34f85db780 by Christian Heimes in
branch 'main':
bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)
https://github.com/python/cpython/commit/a6ca8eee2254762422f90cf94fbaac
1 - 100 of 6594 matches
Mail list logo