Christian Heimes added the comment:
Thanks William!
--
___
Python tracker
<https://bugs.python.org/issue45723>
___
___
Python-bugs-list mailing list
Unsub
Change by Christian Heimes :
--
pull_requests: +28654
pull_request: https://github.com/python/cpython/pull/30449
___
Python tracker
<https://bugs.python.org/issue45
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
Christian Heimes added the comment:
test_capi is fixed now. test_embed is still an issue.
--
___
Python tracker
<https://bugs.python.org/issue46263>
___
___
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
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:
$ 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
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
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:
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
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:
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
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 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
Change by Christian Heimes :
--
priority: release blocker -> normal
___
Python tracker
<https://bugs.python.org/issue46263>
___
___
Python-bugs-list mai
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
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:
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.
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:
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 :
--
assignee: christian.heimes ->
___
Python tracker
<https://bugs.python.org/issue46252>
___
___
Python-bugs-list mailing list
Un
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 :
--
Removed message: https://bugs.python.org/msg409585
___
Python tracker
<https://bugs.python.org/issue46243>
___
___
Python-bug
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 :
--
assignee: christian.heimes ->
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issu
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
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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
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 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
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:
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
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
Change by Christian Heimes :
--
assignee: christian.heimes ->
components: +Tests
stage: -> needs patch
type: -> behavior
versions: -Python 3.8
___
Python tracker
<https://bugs.python.or
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
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:
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:
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
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:
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
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
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:
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: +28322
pull_request: https://github.com/python/cpython/pull/30100
___
Python tracker
<https://bugs.python.org/issue46
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
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:
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:
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:
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:
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:
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:
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:
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:
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:
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
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:
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: 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:
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
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:
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:
Eric, could you review my PR, please? It simplifies cross building to other
platforms.
I took a look at Tools/freeze/freeze.py. The freeze tool creates different
output than Program/_freeze_module.c
Change by Christian Heimes :
--
priority: release blocker -> normal
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Christian Heimes added the comment:
New changeset b123ad8030a4ad15c8dbb7cb3638caf625943878 by Kumar Aditya in
branch 'main':
bpo-46016: Fix rest syntax of GH-29993 (GH-30006)
https://github.com/python/cpython/commit/b123ad8030a4ad15c8dbb7cb3638ca
Change by Christian Heimes :
--
assignee: -> vstinner
priority: normal -> release blocker
___
Python tracker
<https://bugs.python.org/issue46016>
___
___
Christian Heimes added the comment:
GH-29993 broke docs:
python tools/rstlint.py -i tools -i ./venv -i README.rst
[2] whatsnew/3.11.rst:335: default role used
1 problem with severity 2 found.
make: *** [Makefile:216: check] Error 1
--
nosy: +christian.heimes
resolution: fixed
Christian Heimes added the comment:
I still have no clue what the flag is doing. Could you please describe the
purpose and meaning of kinfo_file so that somebody without FreeBSD Kernel
insight can understand it? Much appreciated.
The feature is not available in FreeBSD 13.0. Is it scheduled
Christian Heimes added the comment:
Please update the ticket with more information
- What does the flag F_KINFO do?
- Which platforms support the F_KINFO flag?
- link to a man page or platform documentation
A ticket should contain enough information so that a reviewer can understand
the
Change by Christian Heimes :
--
keywords: +patch
pull_requests: +28225
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30001
___
Python tracker
<https://bugs.python.org/issu
New submission from Christian Heimes :
Modules/Setup can disable a module. However makesetup does not take *disabled*
into account when it generated Makefile.
Example:
---Modules/Setup.local
*disabled*
pwd
---
makesetup generates a Makefile with "pwd" in MODDISABLED
Christian Heimes added the comment:
Thanks for the investigation. I didn't know about C99 Standard 6.7.8.21. That's
a useful and sensible extension to the language.
In my opinion it is neither useful to extend the Py_buffer struct with a
version tag nor to force users to allocate
Christian Heimes added the comment:
Could you open a PR, please? The fix looks trivial.
--
components: +Build
nosy: +christian.heimes
stage: -> needs patch
versions: -Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
___
Python trac
Christian Heimes added the comment:
> The C language sets other members to 0/NULL with this syntax, no?
No, they are not set to 0/NULL.
https://en.wikipedia.org/wiki/Uninitialized_variable
--
___
Python tracker
<https://bugs.pyth
Christian Heimes added the comment:
The Py_buffer struct has stayed the same for over a decade and since Python
2.6.0 and 3.0.0. It is unlikely that it has to be changed in the near future.
--
___
Python tracker
<https://bugs.python.
Christian Heimes added the comment:
I thought of a version field, too. In the end it is going to cause more work
and trouble than it would benefit us.
Stack-allocated Py_buffer's are typically initialized with
Py_buffer data = {NULL, NULL};
. The code initializes Py_buffer.bu
Christian Heimes added the comment:
After some consideration I also agree with Antoine. The Py_buffer API has been
around for a long time without any changes to the Py_buffer struct. It is
unlikely that the struct will ever change.
I have created a new PR that exposes Py_buffer struct
Change by Christian Heimes :
--
pull_requests: +28214
pull_request: https://github.com/python/cpython/pull/29991
___
Python tracker
<https://bugs.python.org/issue45
Change by Christian Heimes :
--
pull_requests: +28208
pull_request: https://github.com/python/cpython/pull/29984
___
Python tracker
<https://bugs.python.org/issue40
Christian Heimes added the comment:
New changeset 0461c68cdff1392a5299ebd8c37ddce0b60dd6cc by Christian Heimes in
branch 'main':
bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967)
https://github.com/python/cpython/commit/0461c68cdff1392a5299ebd8c
Christian Heimes added the comment:
New changeset 91b59a3fcdcb93d74bb89cce536f11d2990f655d by Christian Heimes in
branch 'main':
bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969)
https://github.com/python/cpython/commit/91b59a3fcdcb93d74bb89cce536f11
Change by Christian Heimes :
--
pull_requests: +28194
pull_request: https://github.com/python/cpython/pull/29969
___
Python tracker
<https://bugs.python.org/issue45
Change by Christian Heimes :
--
pull_requests: +28192
pull_request: https://github.com/python/cpython/pull/29967
___
Python tracker
<https://bugs.python.org/issue45
Christian Heimes added the comment:
I just noticed that the PKG_CHECK_MODULES() fallbacks override the PKG_CONFIG
environment variables. We should do something like
ZLIB_CFLAGS=${ZLIB_CFLAGS:-""}
ZLIB_LIBS=${ZLIB_LIBS:-"-lz"}
for all env vars. I prefer the synta
Christian Heimes added the comment:
Fantasic!
--
___
Python tracker
<https://bugs.python.org/issue33080>
___
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
May I ask why you are running the regen-all target at all? A normal end-user
build of CPython does not need make regen-all. It's only used for CI and
internal development.
--
nosy: +christian.heimes
___
P
Change by Christian Heimes :
--
pull_requests: +28179
pull_request: https://github.com/python/cpython/pull/29954
___
Python tracker
<https://bugs.python.org/issue45
Christian Heimes added the comment:
Could you please open a pull request on GitHub? A PR will run our CI and our
bots will verify that your changeset follows our guidelines.
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.
Christian Heimes added the comment:
New changeset fc012d801202a9ea139df143b934778060d51a60 by Christian Heimes in
branch 'main':
bpo-45847: Fix uuid detection on macOS (GH-29946)
https://github.com/python/cpython/commit/fc012d801202a9ea139df143b93477
Change by Christian Heimes :
--
pull_requests: +28171
pull_request: https://github.com/python/cpython/pull/29946
___
Python tracker
<https://bugs.python.org/issue45
Christian Heimes added the comment:
New changeset f16f93e5279f957ca25dd8b91233a44833167a8a by Christian Heimes in
branch 'main':
bpo-45582: framework build: modPath must not be const (GH-29944)
https://github.com/python/cpython/commit/f16f93e5279f957ca25dd8b91233a4
Change by Christian Heimes :
--
pull_requests: +28170
pull_request: https://github.com/python/cpython/pull/29944
___
Python tracker
<https://bugs.python.org/issue45
301 - 400 of 2976 matches
Mail list logo