[issue5243] Missing dependency in distutils build

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue5977] distutils build_ext.get_outputs returns wrong result

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue10932] distutils.core.setup - data_files misbehaviour ?

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue37541] get_python_lib() returns incorrect path for site-packages

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue37680] distutils appends LDFLAGS environment variable before object file names

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue32223] distutils doesn't correctly read UTF-8 content from config files

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue9322] Don’t fail silently if ext_modules use absolute paths

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue1371826] distutils is silent about multiple -I/-L/-R

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue37570] [Windows] distutils.util.byte_compile() fails indirect byte compiling with non-ASCII full-path

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue15266] Perform the same checks as PyPI for Description field

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue36768] distutils.util.convert_path mangles windows paths with forward slashes

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue24935] LDSHARED is not set according when CC is set.

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue7202] "python setup.py cmd --verbose" does not set verbosity

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue1011113] Make “install” find the build_base directory

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue37794] Replace /Ox with /O2

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue6114] distutils build_ext path comparison only based on strings

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue1382562] --install-base not honored on win32

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue36998] distutils sdist command fails to create MANIFEST if any filenames are undecodable

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue29708] support reproducible Python builds

2021-02-03 Thread Steve Dower
Steve Dower added the comment: This doesn't seem to necessarily impact distutils, so I'm leaving it open despite PEP 632. -- components: -Distutils dependencies: -Reproducible pyc: FLAG_REF is not stable., Reproducible pyc: frozenset is not serialized in a deterministic order

[issue40963] distutils make_zipfile uses random order

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41027] get_version() fails to return gcc version for gcc-7

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue39917] new_compiler() called 2nd time causes error

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue40478] allow finding nmake.exe executable in MSVCCompiler

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38597] C Extension import limit

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue39260] distutils.spawn: find_executable() Fails To Find Many Executables on Windows

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38632] setup.py sdist should honor SOURCE_DATE_EPOCH

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue39286] Configure includes LIBS but does not pass it to distutils

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38709] distutils - setuptools - alias command removes comments from setup.cfg

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue14106] Distutils manifest: recursive-(include|exclude) matches suffix instead of full filename

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38569] Unknown distribution option: 'license_files'

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue35981] shutil make_archive create wrong file when base name contains dots at end

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue8987] Distutils doesn't quote Windows command lines properly

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38718] query of global metadata options delivers error messages even when successful

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38714] setup command alias erroneous for names with hyphens

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue36383] Virtual environment sysconfig.get_path() and distutils.sysconfig.get_python_inc() reports base Python include directory

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38711] setup parameter 'distclass' ignored for configuration files

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42009] Unable to compile with message compiler due to source order

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41134] distutils.dir_util.copy_tree FileExistsError when updating symlinks

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41882] CCompiler.has_function does not delete temporary files

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41143] distutils uses the locale encoding for the .pypirc file

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue25229] distutils doesn't add "-Wl, " prefix to "-R" on Linux if the C compiler isn't named 'gcc'

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue40530] distutils/cygwinccompiler.py doesn't support recent msvc versions

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue919238] Recursive variable definition causes sysconfig infinite loop

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41880] Get Python include directories from sysconfigdata

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41601] Performance issue using isspace() in extension module on Windows

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41154] test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue763043] unable to specify another compiler

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue16926] setup.py register does not always respect --repository

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue27226] distutils: unable to compile both .opt-1.pyc and .opt2.pyc simultaneously

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue38727] setup.py sdist --format=gztar should use (equivalent of) `gzip -n`

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue24908] sysconfig.py and distutils.sysconfig.py disagree on directory spelling on Windows

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue1479255] Fix building with SWIG's -c++ option set in setup.py

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42204] "import setuptools" Results in "ModuleNotFoundError: No module named '_distutils_hack'"

2021-02-03 Thread Steve Dower
New submission from Steve Dower : Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it.

[issue9023] distutils relative path errors

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue16879] distutils.command.config uses fragile constant temporary file name

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42554] distutils.util.get_platform() depends on minor version for macOS 11

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42605] dir_util.copy_tree crashes if folder it previously created is removed

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue39825] EXT_SUFFIX inconsistent between sysconfig and distutils.sysconfig (Windows)

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue23023] ./Modules/ld_so_aix not found on AIX during test_distutils

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue13962] multiple lib and include directories on Linux

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42278] Remove usage of tempfile.mktemp in stdlib

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42865] sysconfig appends CFLAGS to LD

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue42988] [security] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-02-03 Thread Ned Deily
Change by Ned Deily : -- priority: release blocker -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43114] Python 3.6 MSI Installer for Windows

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Christian covered it sufficiently: there are no new releases for Python 3.6, and the installer bundle is what it is. The last build released from python.org was 3.6.8: https://www.python.org/downloads/release/python-368/ If you need a newer build, you'll have

[issue42988] [security] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-02-03 Thread Miro Hrončok
Miro Hrončok added the comment: I agree. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42988] [security] Information disclosure via pydoc -p: /getfile?key=path allows to read arbitrary file on the filesystem

2021-02-03 Thread STINNER Victor
STINNER Victor added the comment: While this vulnerability is bad, it only impacts very few users who run pydoc server. I suggest to not hold the incoming Python release (remove the "release blocker" priority) just for this one. If it's fixed before: great! But IMO it can wait for another

[issue43110] import aiohttp crash closes Python from Windows Installer

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Do you know whether aiohttp has released updated packages for the later alphas yet? Or have you rebuilt it from source as well? Alphas are not backwards compatible with each other, so extension modules need to be rebuilt for each update (and I'm pretty sure

[issue43117] Translation Mistakes

2021-02-03 Thread Mariatta
Mariatta added the comment: Thanks for reporting this issue. The translations are worked on separate repositories and they have their own issue tracker. Please check the following table in the DevGuide to find the issue tracker for the translation group. You would need to report this issue

[issue43113] os.posix_spawn errors with wrong information when shebang points to not-existing file

2021-02-03 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > IMO the fix is simple: only create OSError from the errno, never pass a > filename. This will remove a normally helpful piece of the error message in exchange to being marginally less confusing in a rare case of non-existing interpreter (the user will

[issue43113] os.posix_spawn errors with wrong information when shebang points to not-existing file

2021-02-03 Thread STINNER Victor
STINNER Victor added the comment: IMO the fix is simple: only create OSError from the errno, never pass a filename. posix_spawn() is really complex function which can fail in many different ways. Only in some very specific cases the filename is correct. """ ERRORS The posix_spawn()

[issue43103] Add configure --without-static-libpython to not build libpython3.10.a

2021-02-03 Thread STINNER Victor
STINNER Victor added the comment: I rewrote my PR to leave the default behavior unchanged and I renamed the option to --without-static-libpython (python => libpython). -- title: Add configure option to disable build libpython.a and don't install python.o -> Add configure

[issue43103] Add configure option to disable build libpython.a and don't install python.o

2021-02-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There are some build systems and downstream distributors that expect the .a to be there, so I propose to at least not changing the default. -- nosy: +pablogsal ___ Python tracker

[issue43118] inspect.signature() raises RuntimeError on failed to resolve the default argument value

2021-02-03 Thread Komiya Takeshi
Komiya Takeshi added the comment: FWIW, I succeeded to inspect the class with importing the constant from the base module as a workaround: ``` import inspect import io from io import DEFAULT_BUFFER_SIZE class MyBufferedReader(io.BufferedReader): """buffer reader class."""

[issue43117] Translation Mistakes

2021-02-03 Thread Andre Roberge
Andre Roberge added the comment: A similar error exists in the table for the French documentation where "valeurs" is indicated to be one of the options https://docs.python.org/fr/3.8/library/tkinter.ttk.html#widget -- nosy: +aroberge ___ Python

[issue43118] inspect.signature() raises RuntimeError on failed to resolve the default argument value

2021-02-03 Thread Komiya Takeshi
New submission from Komiya Takeshi : inspect.signature() raises RuntimeError on failed to resolve the default argument value. For example, it fails to inspect a subclass of io.BufferedReader: Example: ``` import inspect import io class MyBufferedReader(io.BufferedReader): """buffer

[issue43102] namedtuple's __new__.__globals__['__builtins__'] is None

2021-02-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Wow, your project looks super interesting. -- ___ Python tracker ___ ___ Python-bugs-list

[issue43113] os.posix_spawn errors with wrong information when shebang points to not-existing file

2021-02-03 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > FileNotFoundError: [Errno 2] No such file or directory: Either './demo' or > the interpreter of './demo' not found. This doesn't sound good to me because a very probable and a very improbable reasons are combined together without any distinction. Another

[issue43117] Translation Mistakes

2021-02-03 Thread chen-y0y0
New submission from chen-y0y0 : A example in this picture: In the red circles, the texts should not be translated. They should be their original states. Because these texts are options that programmers will input into their programs. If these texts are translated and input by that, the

[issue43116] Integer division numerical error

2021-02-03 Thread Mark Dickinson
Mark Dickinson added the comment: Python's `//` operator does floor division: that is, the (true) quotient is converted to an integer by taking the floor (rounding towards -infinity) instead of truncating (rounding towards zero). So indeed it's not a bug. The behaviour is documented here:

[issue43115] locale.getlocale fails if locale is set

2021-02-03 Thread Scott Talbert
Change by Scott Talbert : -- nosy: +swt2c ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43113] os.posix_spawn errors with wrong information when shebang points to not-existing file

2021-02-03 Thread Miro Hrončok
Miro Hrončok added the comment: That was "ideal" error message. If we don't have all the information, we cannot have the ideal error message. But we need to adapt the default error message to not be misleading. What about: FileNotFoundError: [Errno 2] No such file or directory: Either

[issue43113] os.posix_spawn errors with wrong information when shebang points to not-existing file

2021-02-03 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > Ideally, the error would say: > FileNotFoundError: ./demo: /usr/bin/hugo: bad interpreter: No such file or > directory The kernel simply returns ENOENT on an attempt to execve() a file with non-existing hash-bang interpreter. The same occurs on an

[issue43103] Add configure option to disable build libpython.a and don't install python.o

2021-02-03 Thread STINNER Victor
STINNER Victor added the comment: About the option name, I consider to rename it to: --with-static-libpython, since technically it doesn't build a static "python" executable, but a static "libpython" (.a). -- ___ Python tracker

[issue43116] Integer division numerical error

2021-02-03 Thread Johannes
New submission from Johannes : I'm a bit confused because this seems to be too obvious to be a bug: [code] >>> -2094820900 // 1298 -1613884 >>> -2094820900 // -1298 1613883 [/code] Obviously there is a +/- 1 difference in the result. Tested with Python 3.7, 3.8 and 3.9 on Debian Bullseye.

[issue43115] locale.getlocale fails if locale is set

2021-02-03 Thread Anders Munch
New submission from Anders Munch : getlocale fails with an exception when the string returned by _setlocale is already an RFC 1766 language tag. Example: Python 3.10.0a4 (tags/v3.10.0a4:445f7f5, Jan 4 2021, 19:55:53) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits"

[issue43108] test_curses is leaking references

2021-02-03 Thread miss-islington
miss-islington added the comment: New changeset 12bfc595c49ef9681265407fe33b53b7a3623abc by Miss Islington (bot) in branch '3.9': bpo-43108: Fix a reference leak in the curses module (GH-24420) https://github.com/python/cpython/commit/12bfc595c49ef9681265407fe33b53b7a3623abc --

[issue43108] test_curses is leaking references

2021-02-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +23240 pull_request: https://github.com/python/cpython/pull/24430 ___ Python tracker ___

[issue43108] test_curses is leaking references

2021-02-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23239 pull_request: https://github.com/python/cpython/pull/24429 ___ Python tracker

[issue43113] os.posix_spawn errors with wrong information when shebang points to not-existing file

2021-02-03 Thread STINNER Victor
STINNER Victor added the comment: > FileNotFoundError: ./demo: /usr/bin/hugo: bad interpreter: No such file or > directory Python has no knowledge of executable formats, shell or anything. It only calls posix_spawn() and raises an OSError on error. --

[issue43114] Python 3.6 MSI Installer for Windows

2021-02-03 Thread Christian Heimes
Christian Heimes added the comment: Python 3.6 is in security fix-only mode. We no longer provide binaries for it. We also dropped MSI installers a while ago. I let Steve explains the details. -- assignee: -> steve.dower nosy: +christian.heimes, steve.dower

[issue43114] Python 3.6 MSI Installer for Windows

2021-02-03 Thread hpant
hpant added the comment: We would like to have python 3.6 MSI Installer for Azure VDI. so that it will be applicablefor all users in azure. Please provide installation file -- ___ Python tracker

[issue43114] Python 3.6 MSI Installer for Windows

2021-02-03 Thread hpant
New submission from hpant : Hi Team, We would lie to have python 3.6 MSI Installer for Azure VDI. so that it will be applicablefor all users in azure. Please provide installation file -- components: Installation messages: 386198 nosy: hpant priority: normal severity: normal status:

[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-02-03 Thread Natanael Copa
Natanael Copa added the comment: > Do you have glibc and musl installed side by side? No. But there is nothing preventing me to have the libc runtimes installed in parallel with glibc. /lib/libc.so.6 /lib/libc.musl-x86_64.so.1 And it is not common that people copy libc.so.6 (with friends)

<    1   2   3   4   >