[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-03-16 Thread Stefan Krah
Change by Stefan Krah : -- assignee: -> skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32521] NIS module fails to build due to the removal of interfaces related to Sun RPC from glibc.

2020-03-16 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Closing the issue as python2 is not receiving any more fixes and our downstream workaround is enough for it. Python3 is fine as well. -- status: open -> closed ___ Python tracker

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-03-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I mean, it's not okay to complain about a regression and then mention xlc about 10 mails later. How is this related? Or is not ok to report a behaviour change in a stable release even if the platform is "best-effort"? A regression by definition is a

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-03-16 Thread Stefan Krah
Change by Stefan Krah : -- assignee: -> skrah keywords: -3.7regression, patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-16 Thread STINNER Victor
New submission from STINNER Victor : The _PyRuntime.ceval structure should be made "per-interpreter". I don't want to make the GIL per-interpreter: that's out of the scope of this issue. So I propose to only move a few fields to make more ceval fields "per interpreter". -- components:

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-16 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18383 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19034 ___ Python tracker ___ _

[issue31857] Make the behavior of USE_STACKCHECK deterministic

2020-03-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18384 pull_request: https://github.com/python/cpython/pull/19034 ___ Python tracker ___ __

[issue38644] Pass explicitly tstate to function calls

2020-03-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18385 pull_request: https://github.com/python/cpython/pull/19034 ___ Python tracker ___ __

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2037502613471a0a0a0262085cc50adb378ebbad by Hai Shi in branch 'master': bpo-1635741: Port _ctypes_test extension to multiphase initialization (PEP 489) (GH-19012) https://github.com/python/cpython/commit/2037502613471a0a0a0262085cc50adb378ebba

[issue39954] test_subprocess: test_specific_shell() fails on AMD64 FreeBSD Shared 3.x

2020-03-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: The current test runs a try/finally without any exception handling, so even minimal exception handling will cover a large swatch of potential issues. CalledProcessError [1] returned by check_call() or check_output() appears to be handy [1] https://docs.pyth

[issue39982] FreeBSD: SCTP tests of test_socket fails on AMD64 FreeBSD Shared 3.x

2020-03-16 Thread Kubilay Kocak
Kubilay Kocak added the comment: Saw the following commit which *may* be related: "Log: sendfile() does currently not support SCTP sockets. Therefore, fail the call. " https://svnweb.freebsd.org/changeset/base/358965 I'm updating FreeBSD base on the BB worker to include that commit and w

[issue39985] str.format and string.Formatter subscript behaviors diverge

2020-03-16 Thread Maxwell Bernstein
New submission from Maxwell Bernstein : As I understand it, str.format and string.Formatter are supposed to behave the same, with string.Formatter being a pluggable variant. While poking at string.Formatter, I noticed that they do not behave the same when formatting a nameless subscript: ``` im

[issue39974] A race condition with GIL releasing exists in stringlib_bytes_join

2020-03-16 Thread Inada Naoki
Change by Inada Naoki : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue39986] test_os / test_listdir failed as root-directory changed during test

2020-03-16 Thread Matthias Braun
New submission from Matthias Braun : The test_listdir test from Lib/test/test_os.py is using os.listdir() twice in the root directory with and without parameters and compares the results. I just had the test fail for me, because an unrelated process happened to create a file in the root direc

[issue39511] [subinterpreters] Per-interpreter singletons (None, True, False, etc.)

2020-03-16 Thread Larry Hastings
Larry Hastings added the comment: > We should do that for each singletons: > > * None (Py_None) > * True (Py_True) > * False (Py_False) > * Ellipsis (Py_Ellipsis) Aren't there a couple more lurking in the interpreter? E.g. empty tuple, empty frozenset. > That is exactly why I didn't propo

[issue39986] test_os / test_listdir failed as root-directory changed during test

2020-03-16 Thread Matthias Braun
Change by Matthias Braun : -- keywords: +patch pull_requests: +18386 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19035 ___ Python tracker ___ _

[issue5944] test_os failure on OS X, probably related to PEP 383

2020-03-16 Thread Matthias Braun
Matthias Braun added the comment: I believe my suggested pull request in https://bugs.python.org/issue39986 may solve this issue as a side effect because we no longer list the root directory but a temporary directory with controlled filenames. -- nosy: +Matthias Braun __

[issue38454] test_listdir is failing on ubuntu with WSL

2020-03-16 Thread Matthias Braun
Matthias Braun added the comment: I believe my suggested pull request in https://bugs.python.org/issue39986 may solve this issue as a side effect because we no longer list the root directory but a temporary directory with controlled filenames. -- nosy: +Matthias Braun __

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-16 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- nosy: +phsilva ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue39985] str.format and string.Formatter subscript behaviors diverge

2020-03-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue39107] Upgrade tcl/tk to 8.6.10 (Windows and maxOS)

2020-03-16 Thread Ned Deily
Ned Deily added the comment: There is nothing more for you to do for this on the Mac side right now, thanks. I’m not sure what the Status of changes for Windows build are. Perhaps that should be a separate issue as the two aren’t really related. -- _

[issue39816] More descriptive error message than "too many values to unpack"

2020-03-16 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 4.0 -> 5.0 pull_requests: +18387 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19036 ___ Python tracker

[issue39987] Simplify setting line numbers in the compiler

2020-03-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently the compiler can set the line number to the instruction or keep it unset (zero). Then, when create linenotab it adds entries only for set line numbers. But in rare cases (docstring or the first instruction in the module, definition of a functio

[issue39987] Simplify setting line numbers in the compiler

2020-03-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18388 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19037 ___ Python tracker ___

<    1   2