[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Ned, I have implemented a fix for _bootstrap_python for framework builds and re-enabled --with-build-python for all builds. Previously I disabled the option for standard builds, because --with-build-python can cause build issues when a user runs

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset 612e59b53f0c730ce1b881f7c08dc6d49f02c123 by Christian Heimes in branch 'main': bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936) https://github.com/python/cpython/commit/612e59b53f0c730ce1b881f7c08dc6

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: I added --enable-framework=yes to macOS GHA builder. GH-29939 has ./configure --enable-framework=yes without proposed bootstrap fix. The build is failing early: ./_bootstrap_python ./Tools/scripts/deepfreeze.py Python/frozen_modules/importlib

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28163, 28164 pull_request: https://github.com/python/cpython/pull/29939 ___ Python tracker <https://bugs.python.org/issue45

[issue45950] Reintroduce bootstrap_python for freezing

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

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

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

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset f147248795bf22be05bbc891053d60ef6a2f035d by Christian Heimes in branch '3.9': [3.9] bpo-44035: Check autoconf files thoroughly (GH-29935) (GH-29938) https://github.com/python/cpython/commit/f147248795bf22be05bbc891053d60

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset 1528d249a5f8492801d09755f402618688337006 by Miss Islington (bot) in branch '3.10': [3.10] bpo-44035: Check autoconf files thoroughly (GH-29935) (GH-29937) https://github.com/python/cpython/commit/1528d249a5f8492801d09755f40261

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

2021-12-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28162 pull_request: https://github.com/python/cpython/pull/29938 ___ Python tracker <https://bugs.python.org/issue44

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset 98fac8bc183c113903403793ffe411358ee40d8a by Christian Heimes in branch 'main': bpo-44035: Check autoconf files thoroughly (GH-29935) https://github.com/python/cpython/commit/98fac8bc183c113903403793ffe411

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: If the patch does not help then I can re-enable --with-build-python for non-cross builds. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Ronald, Pablo, could you please test GH-29936 on macOS with --enable-framework? -- nosy: +pablogsal, ronaldoussoren ___ Python tracker <https://bugs.python.org/issue45

[issue45950] Reintroduce bootstrap_python for freezing

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

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Ned, does this change solve the issue with framework builds? $ git diff diff --git a/Makefile.pre.in b/Makefile.pre.in index 8e6e553554d..2068db30855 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -106,7 +106,7 @@ PY_CFLAGS_NODIST

[issue45977] Unexpected effect of sys.pycache_prefix = ""

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: The cache prefix mirrors the directory structure. Python takes the absolute path to the .py file, converts the path to a relative path by stripping off the leading slash, and finally joins the path with the prefix. Take this example

[issue44035] Regenerating the configure script fails even if dependencies are satisfied

2021-12-06 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +28159 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29935 ___ Python tracker <https://bugs.python.org/issu

[issue45993] Main branch of CPython does not build anymore on macOS

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Did you run "make distclean" or "git clean -xdf" before ./configure? -- nosy: +christian.heimes ___ Python tracker <https://bug

[issue45977] Unexpected effect of sys.pycache_prefix = ""

2021-12-05 Thread Christian Heimes
Christian Heimes added the comment: It works as designed and documented. An empty string is considered a relative directory. https://docs.python.org/3/library/sys.html#sys.pycache_prefix > If this is set (not None), Python will write bytecode-cache .pyc files to > (and read them f

[issue45582] Rewrite getpath.c in Python

2021-12-05 Thread Christian Heimes
Christian Heimes added the comment: New changeset 628abe4463ed40cd54ca952a2b4cc2d6e74073f7 by Christian Heimes in branch 'main': bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921) https://github.com/python/cpython/commit/628abe4463ed40cd54ca952a2b4cc2

[issue45582] Rewrite getpath.c in Python

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

[issue45906] Python github installation issue

2021-12-04 Thread Christian Heimes
Christian Heimes added the comment: Could you please provide your operating system / Linux distro and the steps and commands you used to download Python from GitHub. Please also attach config.log file. -- ___ Python tracker <ht

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

2021-12-04 Thread Christian Heimes
Christian Heimes added the comment: New changeset 64be8d369b7e3878078dbef466804ae8be49c1cf by Christian Heimes in branch 'main': bpo-45847: Update whatsnew and add place holder entries for missing extensions (GH-29914) https://github.com/python/cpyt

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

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

[issue45978] deepfreeze opaquely fails on Windows when building from Visual Studio

2021-12-04 Thread Christian Heimes
Christian Heimes added the comment: Main requires a recent version of Python in order to bootstrap the build process. I just re-introduced _bootstrap_python for configure & make builds in bpo-45950. Could somebody with a Windows system re-add _bootstrap_python to Windows build process?

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

2021-12-04 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4045392e0e3446362841b3336497cb6eeccfcd23 by Christian Heimes in branch 'main': bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747) https://github.com/python/cpython/commit/4045392e0e3446362841b3336497cb

[issue45695] Out-of-tree builds are not tested.

2021-12-04 Thread Christian Heimes
Christian Heimes added the comment: New changeset cee07b162843694e8166ad8715162d4d5886b50f by Christian Heimes in branch 'main': bpo-45695: Test out-of-tree builds on GHA (GH-29904) https://github.com/python/cpython/commit/cee07b162843694e8166ad8715162d

[issue37198] _parse_localename fail to parse 'en_IL'

2021-12-04 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45960] bullseye arm/v7 time.time() Operation not permitted

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: time.time() is a wrapper for libc function call clock_gettime() with CLOCK_REALTIME. This is either a problem with the container build or a Kernel ABI issue between the container build and your operating system. I suggest that you report the issue to

[issue45964] gdb test fails when packaging Python 3.10 for openSUSE/Linux

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: This looks like a problem on your side. Line 94 is the correct line for the function in 3.10.0 release. $ git checkout v3.10.0 $ sed -n '94p' Lib/pdb.py def find_function(funcname, filename): Matej, does your build system perhaps strip off the

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: New changeset 84ca1232b0f1e4be368e89550a9ceb46f64a0eff by Christian Heimes in branch 'main': bpo-45950: Introduce Bootstrap Python again (#29859) https://github.com/python/cpython/commit/84ca1232b0f1e4be368e89550a9ceb

[issue45695] Out-of-tree builds are not tested.

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: Good news: I got a test case for OOT build with read-only sources Bad news: 15 test cases are failing and testing takes much longer because pyc files are missing. 15 re-run tests: test__xxsubinterpreters test_ast test_bdb test_capi test_doctest

[issue45582] Rewrite getpath.c in Python

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: New changeset ccb73a0d50dd03bc8455fe210cb83e41a6dc91d8 by Christian Heimes in branch 'main': bpo-45582: Fix out-of-tree build issues with new getpath (GH-29902) https://github.com/python/cpython/commit/ccb73a0d50dd03bc8455fe210cb83e

[issue45971] calendar module issue

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: > Note: Sep. 1752 had only 19 days. ( 11 days skipped ) That statement is only correct for countries where the Church of England was predominant: Great Britain and colonies of the British Empire in e.g, North America (later known as US of A). Ala

[issue45695] Out-of-tree builds are not tested.

2021-12-03 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +28128 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29904 ___ Python tracker <https://bugs.python.org/issu

[issue45582] Rewrite getpath.c in Python

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

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

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

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

2021-12-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset a31173c5ceb1708df687f942d714bdecae7cb759 by Christian Heimes in branch 'main': bpo-40280: Update what's new (GH-29893) https://github.com/python/cpython/commit/a31173c5ceb1708df687f942d

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

2021-12-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28117 pull_request: https://github.com/python/cpython/pull/29893 ___ Python tracker <https://bugs.python.org/issue40

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

2021-12-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset cb8f491f46e262549f6c447b31625cab7c20a60a by Christian Heimes in branch 'main': bpo-40280: Optimize ints and and startup on wasm (GH-29887) https://github.com/python/cpython/commit/cb8f491f46e262549f6c447b31625c

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

2021-12-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28113 pull_request: https://github.com/python/cpython/pull/29887 ___ Python tracker <https://bugs.python.org/issue40

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

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 309110f37cdfc78d160ed08ae8faa6f6160ba87e by Christian Heimes in branch 'main': bpo-40280: Emscripten with_ensurepip=no, second attempt (GH-29884) https://github.com/python/cpython/commit/309110f37cdfc78d160ed08ae8faa6

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

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28110 pull_request: https://github.com/python/cpython/pull/29884 ___ Python tracker <https://bugs.python.org/issue40

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

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 9deb83468c56c7484645e6e3a6d0183cd6a0afd7 by Christian Heimes in branch 'main': bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873) https://github.com/python/cpython/commit/9deb83468c56c7484645e6e3a6d018

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: The easiest way is to remove and rebuild 3rd party software. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: This looks like an issue with 3rd party software cffi. Are you using a fresh build of cffi? The internal ABI of an alpha build changes very often. -- nosy: +christian.heimes ___ Python tracker <ht

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +eric.snow, gvanrossum ___ Python tracker <https://bugs.python.org/issue45950> ___ ___ Python-bugs-list mailing list Unsub

[issue45950] Reintroduce bootstrap_python for freezing

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

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- assignee: -> christian.heimes dependencies: +"Deep-freeze": skip the marshal step by generating C code, Stop using bootstrap_python for deep-freeze in UNIX builds ___ Python tracker <https:/

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
New submission from Christian Heimes : bpo-45696 introduced a _bootstrap_python interpreter, which was used to create frozen and deepfrozen module files. bpo-45873 dropped the _bootstrap_python interpreter again. Instead Python used an existing Python installation to bootstrap the build

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-01 Thread Christian Heimes
New submission from Christian Heimes : As of today 3.11-dev requires Programs/_freeze_module to compile Python code to byte code. The dependency on an extra and special tool makes cross building more complicated. The _freeze_module is trivial and can be easily implemented in pure Python code

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

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28099 pull_request: https://github.com/python/cpython/pull/29873 ___ Python tracker <https://bugs.python.org/issue40

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

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28098 pull_request: https://github.com/python/cpython/pull/29872 ___ Python tracker <https://bugs.python.org/issue40

[issue45940] add_multiarch_paths breaks cross compilation to Emscripten

2021-11-30 Thread Christian Heimes
Christian Heimes added the comment: rm config.cache? -- ___ Python tracker <https://bugs.python.org/issue45940> ___ ___ Python-bugs-list mailing list Unsub

[issue45940] add_multiarch_paths breaks cross compilation to Emscripten

2021-11-30 Thread Christian Heimes
Christian Heimes added the comment: Could you please try again with latest master? GH-29752 should have fixed the issue. -- stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue34820] binascii.c:1578:1: error: the control flow of function ‘binascii_crc32’ does not match its profile data (counter ‘arcs’)

2021-11-30 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the update. I'm marking the issue as "wont fix" for 3.7 and 3.8. -- nosy: +christian.heimes resolution: -> wont fix stage: needs patch -> resolved status: open -> closed superseder: -> "make cl

[issue45933] Illegal Instrution (Core Dumped)

2021-11-30 Thread Christian Heimes
Christian Heimes added the comment: The issue sounds like a bug in your Linux distribution. I have been using GCC 11.2 for a while without any problems. Have you filed a bug with Ubuntu already? -- nosy: +christian.heimes ___ Python tracker

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 992565f7f72fd8250b788795f76eedcff5636a64 by Christian Heimes in branch 'main': bpo-45881: configure --with-freeze-module --with-build-python (GH-29835) https://github.com/python/cpython/commit/992565f7f72fd8250b788795f76eed

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

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset b394af13f69c1a2ac0e7d32dabf6d86443606ab2 by Christian Heimes in branch 'main': bpo-45847: PY_STDLIB_MOD_SIMPLE now checks py_stdlib_not_available (GH-29844) https://github.com/python/cpython/commit/b394af13f69c1a2ac0e7d32dabf6d8

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

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6ac3c8a3140c17bd71ba98dfc5250c371101e77c by Christian Heimes in branch 'main': bpo-40280: Emscripten systems use .wasm suffix by default (GH-29842) https://github.com/python/cpython/commit/6ac3c8a3140c17bd71ba98dfc5250c

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

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

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

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset f7a62f24053c82cf38c3db5848d9ff014470fa40 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Make socket module conditional (GH-29769) https://github.com/python/cpython/commit/f7a62f24053c82cf38c3db5848d9ff

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

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28071 pull_request: https://github.com/python/cpython/pull/29842 ___ Python tracker <https://bugs.python.org/issue40

[issue45886] Fix Program/_freeze_module for cross compiling Python

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: The issue is related to bpo-45873. The Debian buildbot has an ancient Python version that does not support f-strings. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

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

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

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset b3f443a35e08a473d52868621e9b268259139cb2 by Erlend Egeberg Aasland in branch 'main': bpo-40280: Disable unusable core extension modules on emscripten (GH-29834) https://github.com/python/cpython/commit/b3f443a35e08a473d52868621e9b26

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

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4dc198dedd66e3247aa934fb91c9a158c3eea15a by Christian Heimes in branch 'main': bpo-45847: Fix _multiprocessing on platforms without sem_open (GH-29833) https://github.com/python/cpython/commit/4dc198dedd66e3247aa934fb91c9a1

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

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: GH-29768 broke builds on platforms without sem_open (e.g. wasm). GH-29833 fixes the issue. emcc -Wsign-compare -g -O0 -Wall-std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function

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

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

[issue45915] Use fcntl(fd, F_GETFD) to check whether an fd is valid

2021-11-28 Thread Christian Heimes
Christian Heimes added the comment: Thank you! -- ___ Python tracker <https://bugs.python.org/issue45915> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45915] Use fcntl(fd, F_GETFD) to check whether an fd is valid

2021-11-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset f87ea0350286837e9e96de03f8bfa215176c2928 by Christian Heimes in branch 'main': bpo-45915: use fcntl(fd, F_GETFD) in is_valid_fd() (GH-29821) https://github.com/python/cpython/commit/f87ea0350286837e9e96de03f8bfa2

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

2021-11-28 Thread Christian Heimes
Christian Heimes added the comment: New changeset aaf4cfd5774d23ca48ff304ace1f64426201 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Port _multiprocessing to PY_STDLIB_MOD (GH-29768) https://github.com/python/cpython/commit/aaf4cfd5774d23ca48ff304ace

[issue45915] Use fcntl(fd, F_GETFD) to check whether an fd is valid

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

[issue45915] Use fcntl(fd, F_GETFD) to check whether an fd is valid

2021-11-28 Thread Christian Heimes
New submission from Christian Heimes : is_valid_fd() uses dup() or fstat() to check whether an fd is valid. Both operations are costly. fcntl() with F_GETFD returns the file descriptor flags (e.g. CLOEXEC) and -1 with errno set to EBADF when fd is not an open file descriptor. It's f

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset 545aebd2ecef9f6c3b2ca1973e3e0515d8355ce3 by Christian Heimes in branch '3.10': [3.10] bpo-45881: Use CC from env first for cross building (GH-29752). (GH-29753) https://github.com/python/cpyt

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Christian Heimes
Christian Heimes added the comment: I just realized that PYTHON_FOR_BUILD is far more complicated. Our WASM build system sets the env var to "$(pwd)/cpython/builddir/build/python". The configure script expects us to set several additional env vars. The logic goes like this

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-27 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +sysconfig --generate-posix-vars creates wrong file when cross compiling ___ Python tracker <https://bugs.python.org/issue45

[issue45909] sysconfig --generate-posix-vars creates wrong file when cross compiling

2021-11-27 Thread Christian Heimes
New submission from Christian Heimes : "sysconfig --generate-posix-vars" creates pybuilddir.txt and a platform-specific sysconfig data file like build/lib.linux-x86_64-3.11/_sysconfigdata__linux_x86_64-linux-gnu.py When creating a cross-compile build of Python, sysconfig mixes dat

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

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4ebde73b8e416eeb1fd5d2ca3283f7ddb534c5b1 by Christian Heimes in branch 'main': bpo-40280: Move hard-coded feature checks to configure (GH-29789) https://github.com/python/cpython/commit/4ebde73b8e416eeb1fd5d2ca3283f7

[issue45886] Fix Program/_freeze_module for cross compiling Python

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset 765b2a3ad2e8abf9a06d5e9b3802b575ec115d76 by Christian Heimes in branch 'main': bpo-45886: Fix OOT build when srcdir has frozen module headers (GH-29793) https://github.com/python/cpython/commit/765b2a3ad2e8abf9a06d5e9b3802b5

[issue43137] webbrowser to support "gio open "

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: gio is not available on older distros. For example I could not find it in Xenial with libglib2.0-bin 2.48.2-0ubuntu4.8. I suggest that you keep the fallbacks or seek agreement that we no longer support old distros without gio. -- keywords

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

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset 8caceb7a474bf32cddfd25fba25b531ff65f4365 by Christian Heimes in branch 'main': bpo-40280: Add configure check for socket shutdown (GH-29795) https://github.com/python/cpython/commit/8caceb7a474bf32cddfd25fba25b53

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

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: Thanks Roman, I replied on the pyodide issue tracker. -- ___ Python tracker <https://bugs.python.org/issue40280> ___ ___

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

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: New changeset d224e769b83a6a027bec8e21ee62db2b96d5af8e by Christian Heimes in branch 'main': bpo-40280: clean and ignore .wasm files (GH-29794) https://github.com/python/cpython/commit/d224e769b83a6a027bec8e21ee62db

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

2021-11-26 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28030 pull_request: https://github.com/python/cpython/pull/29795 ___ Python tracker <https://bugs.python.org/issue40

[issue45886] Fix Program/_freeze_module for cross compiling Python

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

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

2021-11-26 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28029 pull_request: https://github.com/python/cpython/pull/29794 ___ Python tracker <https://bugs.python.org/issue40

[issue45884] datetime.strptime incorrectly handling hours and minutes with bad format string

2021-11-26 Thread Christian Heimes
Change by Christian Heimes : -- superseder: -> strptime %d handling of single digit day of month ___ Python tracker <https://bugs.python.org/issue45884> ___ _

[issue45898] ctypes cfield.c defines duplicate ffi_type_* symbols

2021-11-26 Thread Christian Heimes
Christian Heimes added the comment: Windows tests are failing without ffi_type_ symbols: cfield.obj : error LNK2001: unresolved external symbol _ffi_type_double [D:\a\cpython\cpython\PCbuild\_ctypes.vcxproj] cfield.obj : error LNK2001: unresolved external symbol _ffi_type_float [D:\a

[issue45898] ctypes cfield.c defines duplicate ffi_type_* symbols

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

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

2021-11-26 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +Cross compiling on Linux is untested, undocumented, and broken, Fix Program/_freeze_module for cross compiling Python, Undefinied _Py_Sigset_Converter function when HAVE_SIGSET_T not set, ctypes cfield.c defines duplicate ffi_type_

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

2021-11-26 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28025 pull_request: https://github.com/python/cpython/pull/29789 ___ Python tracker <https://bugs.python.org/issue40

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

2021-11-25 Thread Christian Heimes
Christian Heimes added the comment: New changeset ee1e2c604c8a66a407116d9c3e589ab0b9580c54 by Christian Heimes in branch 'main': bpo-40280: Use Setup.stdlib static for wasm builds (GH-29784) https://github.com/python/cpython/commit/ee1e2c604c8a66a407116d9c3e589a

[issue33393] update config.guess and config.sub

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

[issue33393] update config.guess and config.sub

2021-11-25 Thread Christian Heimes
Christian Heimes added the comment: New changeset 3f565f8edf84cfe8fa3e9cbf5da7c5911acaa6f9 by Christian Heimes in branch '3.10': [3.10] bpo-33393: Update config.guess and config.sub (GH-29781) (GH-29782) https://github.com/python/cpython/commit/3f565f8edf84cfe8fa3e9cbf5da7c5

[issue33393] update config.guess and config.sub

2021-11-25 Thread Christian Heimes
Christian Heimes added the comment: New changeset b5249349845c21a07e13888aa12c5b86c0f06c31 by Christian Heimes in branch '3.9': [3.9] bpo-33393: Update config.guess and config.sub (GH-29781) (GH-29783) https://github.com/python/cpython/commit/b5249349845c21a07e13888aa12c5b

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

2021-11-25 Thread Christian Heimes
Christian Heimes added the comment: https://github.com/emscripten-core/emscripten/issues/13393 -- ___ Python tracker <https://bugs.python.org/issue40

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

2021-11-25 Thread Christian Heimes
Christian Heimes added the comment: I have uploaded my config.site override to https://gist.github.com/tiran/5ccffa28723d3e4739db848451bd9efa . It contains overrides based on pyodide and overrides for new features. I'm also getting this error with emscripten 2.0.13. _sys_shutdown i

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

2021-11-25 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28021 pull_request: https://github.com/python/cpython/pull/29784 ___ Python tracker <https://bugs.python.org/issue40

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

2021-11-25 Thread Christian Heimes
Christian Heimes added the comment: New changeset 1052a39b7603e4d8401a5987af0c36f4a1d0b1e4 by Christian Heimes in branch 'main': bpo-40280: Add wasm cross build targets (GH-29771) https://github.com/python/cpython/commit/1052a39b7603e4d8401a5987af0c36

[issue33393] update config.guess and config.sub

2021-11-25 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28020 pull_request: https://github.com/python/cpython/pull/29783 ___ Python tracker <https://bugs.python.org/issue33

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