[issue18961] Non-UTF8 encoding line

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced the same in 3.11: > .\python.bat nonutf8_coding_line.py Running Release|x64 interpreter... > .\python.bat -m tokenize nonutf8_coding_line.py Running Release|x64 interpreter... nonutf8_coding_line.py: error: invalid or missing encoding declaration

[issue28516] contextlib.ExitStack.__enter__ has trivial but undocumented behavior

2021-06-18 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy -patch versions: +Python 3.11 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue6029] FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks) [SPARC/64-bit]

2021-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 2014 patch to our copies of libffi eefd521f19ce included patches from 2009 forward, including at least one about long double alignment on sparc. If there are any problems now on current Solaris, they are likely to be different, and someone will find and

[issue44426] Docs fail to build with Sphinx 4 due to Invalid C declaration

2021-06-18 Thread Matej Cepl
Matej Cepl added the comment: Actually, for 3.8.10 I had to add one more keyword which confused Sphinx: default. -- nosy: +mcepl Added file: https://bugs.python.org/file50117/bpo44426-complex-keyword-sphinx.patch ___ Python tracker

[issue24888] FileNotFoundException raised by subprocess.call

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: The FileNotFoundException exception is coming from the Popen call, and the docs for subprocess.check_call already mention that it delegates to Popen. There are quite a few different exceptions that Popen could raise, so I think David's general comment is valid

[issue16959] rlcompleter doesn't work if __main__ can't be imported

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: Your traceback indicates you had this problem on Python 2.7. Are you still seeing it on a current version? -- nosy: +iritkatriel ___ Python tracker __

[issue23565] local_clear walks the list of threads without holding head_lock.

2021-06-18 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +pitrou, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue6871] decimal.py: more format issues

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: Issue #2 still exists in 3.11: >>> format(float(123), "00") '123.0' >>> format(Decimal(123), "00") Traceback (most recent call last): File "", line 1, in ValueError: invalid format string -- nosy: +iritkatriel versions: +Python 3.11

[issue44297] Frame with -1 line number

2021-06-18 Thread Anthony Sottile
Anthony Sottile added the comment: this appears to have regressed in 3.10 as well according to some reports on pytest: https://github.com/pytest-dev/pytest/pull/8227#issuecomment-864327090 -- nosy: +Anthony Sottile, pablogsal versions: +Python 3.10 ___

[issue44297] Frame with -1 line number

2021-06-18 Thread Anthony Sottile
Anthony Sottile added the comment: here's the traceback pytest is trying to display and crashing: ``` Traceback (most recent call last): File "/tmp/rinohtype/venv/lib/python3.10/site-packages/_pytest/runner.py", line 311, in from_call result: Optional[TResult] = func() File "/tmp/rino

[issue16959] rlcompleter doesn't work if __main__ can't be imported

2021-06-18 Thread Aaron Meurer
Aaron Meurer added the comment: A quick glance at the source shows that it still imports __main__ at the top-level. I have no idea how legitimate it is that the App Engine (used to?) makes it so that __main__ can't be imported. -- nosy: +asmeurer

[issue29158] Possible glitch in the interaction of a thread and a multiprocessing manager

2021-06-18 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue32536] ast and tokenize disagree about line number

2021-06-18 Thread Arjun
Arjun added the comment: the line numbers are different for me too (MacOS). it seems that tokenize module is off by +1 line -- nosy: +CCLDArjun ___ Python tracker ___ ___

[issue44458] Duplicate symbol _BUFFER_BLOCK_SIZE when statically linking multiple modules

2021-06-18 Thread Russell Keith-Magee
New submission from Russell Keith-Magee : BPO-41486 added _BlocksOutputBuffer for the bz2, lzma and zlib module. Part of this patch included a new header file, pycore_blocks_output_buffer.h, which defines a BUFFER_BLOCK_SIZE constant. If two or more of the bz2, lzma or zlib modules are compil

[issue43329] Multiprocessing Manager Client Not Reconnecting

2021-06-18 Thread Ethan Furman
Ethan Furman added the comment: Here is the test, reduced and in a single script: --- 8< import multiprocessing.managers, os, sys, time if __name__ == '__main__': address = ("127.0.0.1", 54321) class TestManager(mul

[issue32536] ast and tokenize disagree about line number

2021-06-18 Thread Arjun
Arjun added the comment: Well actually, it depends on the platform? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue44459] 3.10b2 -> 3.10b3 regression in importlib.metadata for rinoh

2021-06-18 Thread Anthony Sottile
New submission from Anthony Sottile : installed from git: ``` $ git remote -v origin https://github.com/brechtm/rinohtype.git (fetch) origin https://github.com/brechtm/rinohtype.git (push) $ git rev-parse HEAD 4054539bae53eaddd10291c8429a1a32aeeb4786 ``` working in 3.10 b2: ```console $ ./v

[issue44297] Frame with -1 line number

2021-06-18 Thread Anthony Sottile
Anthony Sottile added the comment: here is a minimal reproduction: ```python def iterboom(): raise AssertionError yield 1 next(1 for x in iterboom()) ``` python 3.9: ``` $ python3.9 t.py Traceback (most recent call last): File "/tmp/rinohtype/t.py", line 5, in next(1 for x i

<    1   2