[issue46146] Python IDLE fails to start (tk font issue?)
Matej Cepl added the comment: And yes, idle (both with 3.10 and 3.8) works for me just fine all the time (it doesn't for my reporter, but that's another point). -- ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46146] Python IDLE fails to start (tk font issue?)
Matej Cepl added the comment: And I am not sure what’s going on, but when I run the test suite you indicated, it kills my Wayland session immediately. How is Tk doing with X11->Wayland switch? -- ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46146] Python IDLE fails to start (tk font issue?)
Matej Cepl added the comment: $ rpm -qR python38-idle /usr/bin/python3 /usr/bin/python3.8 config(python38-idle) = 3.8.12-3.1 python(abi) = 3.8 python38 = 3.8.12 python38-tk rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 $ rpm -qR python38-tk libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) python(abi) = 3.8 python38 = 3.8.12 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 $ rpm -q tk tk-8.6.12-1.1.x86_64 $ -- ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46146] Python IDLE fails to start (tk font issue?)
Matej Cepl added the comment: > Matej, what OS and font gives this error? Please run the > following, also uploaded, with the offending font, replacing the > name I used. I am a packager at SUSE maintaining Python packages both for openSUSE and SLE (our commercial offering), even though unfortunately cannot reproduce the issue myself. GUI programming is just part of the Python libraries where I am really lost, so I filed this bug (which was originally filed by somebody else at our Bugzilla) here asking for help. I will ask our reporter for testing your suggested reproducer. -- ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46146] Python IDLE fails to start (tk font issue?)
New submission from Matej Cepl : (originally filed as https://bugzilla.suse.com/1193409) When trying to start "idle3.8", I get a ZeroDivisionError in editor.py. Trying to patch it, I noticed that the complete UI of IDLE shows no text. Since the same also happens with "idle3.9", I guess it is a bug in tk. The error happens also with a fresh user account. The complete error message is as follows: > idle3.8 Traceback (most recent call last): File "/usr/bin/idle3.8", line 5, in main() File "/usr/lib64/python3.8/idlelib/pyshell.py", line 1522, in main shell = flist.open_shell() File "/usr/lib64/python3.8/idlelib/pyshell.py", line 329, in open_shell self.pyshell = PyShell(self) File "/usr/lib64/python3.8/idlelib/pyshell.py", line 874, in __init__ OutputWindow.__init__(self, flist, None, None) File "/usr/lib64/python3.8/idlelib/outwin.py", line 79, in __init__ EditorWindow.__init__(self, *args) File "/usr/lib64/python3.8/idlelib/editor.py", line 218, in __init__ self.set_width() File "/usr/lib64/python3.8/idlelib/editor.py", line 366, in set_width self.width = pixel_width // zero_char_width ZeroDivisionError: integer division or modulo by zero > -- assignee: terry.reedy components: IDLE messages: 409003 nosy: mcepl, terry.reedy priority: normal severity: normal status: open title: Python IDLE fails to start (tk font issue?) type: crash versions: Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue46146> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue5004> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45964] gdb test fails when packaging Python 3.10 for openSUSE/Linux
Matej Cepl added the comment: > Matej, does your build system perhaps strip off the shebang of Lib/pdb.py? > That would explain why you are getting the function on line 93. Yes, that’s it. Thank you. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue45964> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions
Matej Cepl added the comment: And no there is no other patch touching pdb (or pdb tests). -- ___ Python tracker <https://bugs.python.org/issue45964> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions
Matej Cepl added the comment: > Which system are you running on? Happens when packaging Python 3.10 for openSUSE/Linux. -- ___ Python tracker <https://bugs.python.org/issue45964> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45964] 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions
New submission from Matej Cepl : When running tests with 3.10.0 test_pdb_breakpoints_preserved_across_interactive_sessions test fails: [ 842s] == [ 842s] FAIL: test_pdb_breakpoints_preserved_across_interactive_sessions (test.test_pdb) [ 842s] Doctest: test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions [ 842s] -- [ 842s] Traceback (most recent call last): [ 842s] File "/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/doctest.py", line 2216, in runTest [ 842s] raise self.failureException(self.format_failure(new.getvalue())) [ 842s] AssertionError: Failed doctest test for test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions [ 842s] File "/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py", line 327, in test_pdb_breakpoints_preserved_across_interactive_sessions [ 842s] [ 842s] -- [ 842s] File "/home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py", line 351, in test.test_pdb.test_pdb_breakpoints_preserved_across_interactive_sessions [ 842s] Failed example: [ 842s] with PdbTestInput([ # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE [ 842s]'break', [ 842s]'break pdb.find_function', [ 842s]'break', [ 842s]'clear 1', [ 842s]'continue', [ 842s] ]): [ 842s]pdb.run('print()') [ 842s] Expected: [ 842s] > (1)()... [ 842s] (Pdb) break [ 842s] Num Type Disp Enb Where [ 842s] 1 breakpoint keep yes at ...test_pdb.py:... [ 842s] 2 breakpoint keep yes at ...test_pdb.py:... [ 842s] (Pdb) break pdb.find_function [ 842s] Breakpoint 3 at ...pdb.py:94 [ 842s] (Pdb) break [ 842s] Num Type Disp Enb Where [ 842s] 1 breakpoint keep yes at ...test_pdb.py:... [ 842s] 2 breakpoint keep yes at ...test_pdb.py:... [ 842s] 3 breakpoint keep yes at ...pdb.py:... [ 842s] (Pdb) clear 1 [ 842s] Deleted breakpoint 1 at ...test_pdb.py:... [ 842s] (Pdb) continue [ 842s] Got: [ 842s] > (1)() [ 842s] (Pdb) break [ 842s] Num Type Disp Enb Where [ 842s] 1 breakpoint keep yes at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:425 [ 842s] 2 breakpoint keep yes at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:422 [ 842s] (Pdb) break pdb.find_function [ 842s] Breakpoint 3 at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/pdb.py:93 [ 842s] (Pdb) break [ 842s] Num Type Disp Enb Where [ 842s] 1 breakpoint keep yes at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:425 [ 842s] 2 breakpoint keep yes at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:422 [ 842s] 3 breakpoint keep yes at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/pdb.py:93 [ 842s] (Pdb) clear 1 [ 842s] Deleted breakpoint 1 at /home/abuild/rpmbuild/BUILD/Python-3.10.0/Lib/test/test_pdb.py:425 [ 842s] (Pdb) continue [ 842s] [ 842s] [ 842s] [ 842s] -- [ 842s] Ran 1 test in 0.005s [ 842s] [ 842s] FAILED (failures=1) [ 842s] 1 test failed again: [ 842s] test_pdb [ 842s] [ 842s] == Tests result: FAILURE then FAILURE == The problem is completely trivial and the attached patch fixes it (wrong line number in one expected result). -- components: Demos and Tools files: pdb_adjust_breakpoints.patch keywords: patch messages: 407527 nosy: mcepl priority: normal severity: normal status: open title: 3.10.0 tests fail in test_pdb_breakpoints_preserved_across_interactive_sessions versions: Python 3.10, Python 3.11 Added file: https://bugs.python.org/file50470/pdb_adjust_breakpoints.patch ___ Python tracker <https://bugs.python.org/issue45964> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45097] "The loop argument is deprecated" reported when user code does not use it
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue45097> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33327] Add a method to move messages to IMAPlib
Matej Cepl added the comment: > Hans-Peter Jansen (frispete) > > imaplib.error: UID command error: BAD [b'Unrecognized UID subcommand'] You missed the fix for https://bugs.python.org/issue6 -- ___ Python tracker <https://bugs.python.org/issue33327> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1170] shlex have problems with parsing unicode
Matej Cepl added the comment: I cannot reproduce it with the current 3.* version. Did anybody reproduce with 3.5? Otherwise, I suggest close this, as a 2.* bug. -- ___ Python tracker <https://bugs.python.org/issue1170> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38820] Make Python compatible with OpenSSL 3.0.0
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue38820> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44022] urllib http client possible infinite loop on a 100 Continue response
Matej Cepl added the comment: Is there a CVE for this? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue44022> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31426] [3.5] crash in gen_traverse(): gi_frame.ob_type=NULL, called by subtract_refs() during a GC collection
Change by Matej Cepl : -- nosy: +mcepl versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue31426> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44426] Docs fail to build with Sphinx 4 due to Invalid C declaration
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 <https://bugs.python.org/issue44426> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40280] Consider supporting emscripten/webassembly as a build target
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue40280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator
Matej Cepl added the comment: > Did you upstream fixes for those packages? Of course we did. Upstream first! -- ___ Python tracker <https://bugs.python.org/issue42967> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator
Matej Cepl added the comment: Port of the patch to 2.7.18. -- Added file: https://bugs.python.org/file49839/CVE-2021-23336-only-amp-as-query-sep.patch ___ Python tracker <https://bugs.python.org/issue42967> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator
Matej Cepl added the comment: > FYI - This was somewhat of an unfortuate API change. I'm coming across code > that relies on ; also being treated as a separator by parse_qs(). That code > is now broken with no easy way around it. So far, we at openSUSE had to package at least SQLAlchemy, Twisted, yarl and furl. The author of the first one acknowledged use of semicolon as a bug. I don't think it was so bad. -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue42967> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)
Matej Cepl added the comment: > Do you actually know someone who is actively interested in the usecase of > building a 32 bit python on an s390x system? Or do you know someone who owns > an s390 system? Well, yes, I have just got it confirmed from our PM, SUSE has living and breathing (and what’s even more interesting, paying) clients using SLE-12 on s390 (i.e., s390x kernel with 32bit libraries). Of course, it doesn’t mean they are eager to run Python 3.10 in such configuration (how do you call such package? python3a so that “python3a” > “python39”?), we will have to evaluate with them what are their plans in the post-36 world with the modern Python there. -- ___ Python tracker <https://bugs.python.org/issue43179> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36302] distutils creates unreproducible .so files
Matej Cepl added the comment: > In particular, I sort the source list by age when working on larger > extensions, this makes sure that the source files I edited last get compiled > first, which speeds up edit/build cycles. On the one hand, this sounds creepily like https://xkcd.com/1172, but on the other: why do we need to sort those extensions by name? Wouldn’t sorting by some attribute of those extensions (including their size) be better? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36302> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42856] ensurepip: add configure --with-wheel-pkg-dir=PATH to get wheel packages from a system directory
Matej Cepl added the comment: We (SUSE) have updated versions of the wheels as special Sources, and then this in the %prep stage of our SPEC file: # Replace bundled wheels with the updates ones rm -v Lib/ensurepip/_bundled/*.whl cp -v %{SOURCE20} %{SOURCE21} Lib/ensurepip/_bundled/ STVER=$(basename %{SOURCE20}|cut -d- -f2) PIPVER=$(basename %{SOURCE21}|cut -d- -f2) sed -E -i -e "s/^(\s*_SETUPTOOLS_VERSION\s+=\s+)\"[0-9.]+\"/\1\"${STVER}\"/" \ -e "s/^(\s*_PIP_VERSION\s+=\s+)\"[0-9.]+\"/\1\"${PIPVER}\"/" \ Lib/ensurepip/__init__.py A bit of manual work required, but it doesn't lead to so incredible convoluted constructs as I see in Fedora (nothing against it, but our build system is already convoluted enough). -- ___ Python tracker <https://bugs.python.org/issue42856> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42856] ensurepip: add configure --with-wheel-pkg-dir=PATH to get wheel packages from a system directory
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue42856> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40059] Provide a toml module in the standard library
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue40059> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42579] Solution from gh#python/cpython#13236 unnecessarily binds building of documentation to the latest version of Sphinx
Change by Matej Cepl : -- keywords: +patch pull_requests: +22529 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23662 ___ Python tracker <https://bugs.python.org/issue42579> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42579] Solution from gh#python/cpython#13236 unnecessarily binds building of documentation to the latest version of Sphinx
New submission from Matej Cepl : I think the solution in gh#python/cpython#13236 is the suboptimal one, because it makes Python dependent on the latest version of Sphinx unnecessarily. There are many situations where Python can be built on the older platform and it is too bothersome to require update of Sphinx (and all its dependencies) as well. -- assignee: docs@python components: Documentation messages: 382585 nosy: docs@python, mcepl, pablogsal priority: normal severity: normal status: open title: Solution from gh#python/cpython#13236 unnecessarily binds building of documentation to the latest version of Sphinx versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue42579> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38965] test_stack_overflow (test.test_faulthandler.FaultHandlerTests) is stuck with GCC10
Matej Cepl added the comment: 3.7 patch applies cleanly even for 3.6.12. -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue38965> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18280] Documentation is too personalized
Change by Matej Cepl : -- nosy: -mcepl ___ Python tracker <https://bugs.python.org/issue18280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33327] Add a method to move messages to IMAPlib
Matej Cepl added the comment: Sorry, UIDPLUS capability. -- ___ Python tracker <https://bugs.python.org/issue33327> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33327] Add a method to move messages to IMAPlib
Matej Cepl added the comment: 1. no this has not been included anywhere, just in the unfinished PR on GitHub 2. only thing which I was fighting to get into Python (and I did) was https://bugs.python.org/issue6 but that’s another issue (without this whole discussion here would not be even possible), it is now part of the upstream Python 3. are you certain that the IMAP server in question supports MOVE command? (have you noticed all that business with CAPABILITIES and particularly the UID one?) -- ___ Python tracker <https://bugs.python.org/issue33327> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12735] request full Unicode collation support in std python library
Matej Cepl added the comment: Isn’t this done by the system? It feels like barking at the wrong tree. -- ___ Python tracker <https://bugs.python.org/issue12735> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40052] Incorrect pointer alignment in _PyVectorcall_Function() of cpython/abstract.h
Change by Matej Cepl : -- nosy: +mcepl nosy_count: 3.0 -> 4.0 pull_requests: +18539 pull_request: https://github.com/python/cpython/pull/19179 ___ Python tracker <https://bugs.python.org/issue40052> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28180] Implementation of the PEP 538: coerce C locale to C.utf-8
Matej Cepl added the comment: Thank you very much for the hint. Do I have to include the patch for bpo-19977 only (that would be easy), or also all twelve PRs for bpo-29240 (that would probably broke my will to do it)? -- ___ Python tracker <https://bugs.python.org/issue28180> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28180] Implementation of the PEP 538: coerce C locale to C.utf-8
Matej Cepl added the comment: > Python 3.4 is no longer supported upstream. Python 3 got tons of Unicode > fixes between Python 3.4 and Python 3.8. Of course, I know that, but I just didn’t want to throw all my effort away, when I spent some hours on making it. And I guess, there may be somebody else who cares for 3.4 (ehm, RHEL-7 has 3.3, doesn’t it?). -- ___ Python tracker <https://bugs.python.org/issue28180> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28180] Implementation of the PEP 538: coerce C locale to C.utf-8
Matej Cepl added the comment: I have tried to port this patch to Python 3.4 (still maintained by SUSE on SLE-12), but I have the hardest time to debug this. All affected tests end with errors like this: [ 493s] == [ 493s] FAIL: test_test_PYTHONCOERCECLOCALE_not_set (test.test_c_locale_coercion.LocaleCoercionTests) (PYTHONCOERCECLOCALE=None, env_var='LC_CTYPE', nominal_locale='invalid.ascii') [ 493s] -- [ 493s] Traceback (most recent call last): [ 493s] File "/home/abuild/rpmbuild/BUILD/Python-3.4.10/Lib/test/test_c_locale_coercion.py", line 326, in _check_c_locale_coercion [ 493s] coercion_expected) [ 493s] File "/home/abuild/rpmbuild/BUILD/Python-3.4.10/Lib/test/test_c_locale_coercion.py", line 219, in _check_child_encoding_details [ 493s] self.assertEqual(encoding_details, expected_details) [ 493s] AssertionError: {'fse[79 chars]cii:strict', 'stderr_info': 'ascii:backslashre[45 chars]ict'} != {'fse[79 chars]cii:surrogateescape', 'stderr_info': 'ascii:ba[63 chars]ape'} [ 493s] {'fsencoding': 'ascii', [ 493s]'lang': '', [ 493s]'lc_all': '', [ 493s]'lc_ctype': 'invalid.ascii', [ 493s]'stderr_info': 'ascii:backslashreplace', [ 493s] - 'stdin_info': 'ascii:strict', [ 493s] ? ^^ ^ [ 493s] [ 493s] + 'stdin_info': 'ascii:surrogateescape', [ 493s] ?++ ^^^ ^^^ [ 493s] [ 493s] - 'stdout_info': 'ascii:strict'} [ 493s] ? ^^ ^ [ 493s] [ 493s] + 'stdout_info': 'ascii:surrogateescape'} [ 493s] ? ++ ^^^ ^^^ yes, it is always a conflict between strict and surrogateescape. I probably don’t have time to finish debugging this, so I am just leaving this for posterity. -- nosy: +mcepl Added file: https://bugs.python.org/file48991/pep538_coerce_legacy_c_locale.patch ___ Python tracker <https://bugs.python.org/issue28180> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38377] test_asyncio.test_events.GetEventLoopTestsMixin.test_get_event_loop_new_process mixin breaks in the Unix environment without working /dev/shm
Change by Matej Cepl : -- pull_requests: +18428 pull_request: https://github.com/python/cpython/pull/19073 ___ Python tracker <https://bugs.python.org/issue38377> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33327] Add a method to move messages to IMAPlib
Change by Matej Cepl : -- keywords: +patch pull_requests: +18427 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/19072 ___ Python tracker <https://bugs.python.org/issue33327> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31046] ensurepip does not honour the value of $(prefix)
Change by Matej Cepl : -- pull_requests: +18422 pull_request: https://github.com/python/cpython/pull/19068 ___ Python tracker <https://bugs.python.org/issue31046> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()
Change by Matej Cepl : -- pull_requests: +18403 pull_request: https://github.com/python/cpython/pull/19052 ___ Python tracker <https://bugs.python.org/issue38576> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39855] test.test_subprocess.POSIXProcessTestCase.test_user fails in the limited build environment
New submission from Matej Cepl : When testing Python from Python-3.9.0a3.tar.xz two test cases file in the limited build environment for openSUSE. We have very limited number of users there: stitny:/home/abuild/rpmbuild/BUILD/Python-3.9.0a3 # cat /etc/passwd root:x:0:0:root:/root:/bin/bash abuild:x:399:399:Autobuild:/home/abuild:/bin/bash stitny:/home/abuild/rpmbuild/BUILD/Python-3.9.0a3 # So, tests which expect existence of the user 'nobody' fail: [ 747s] == [ 747s] ERROR: test_user (test.test_subprocess.POSIXProcessTestCase) (user='nobody', close_fds=False) [ 747s] -- [ 747s] Traceback (most recent call last): [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/test/test_subprocess.py", line 1805, in test_user [ 747s] output = subprocess.check_output( [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/subprocess.py", line 419, in check_output [ 747s] return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/subprocess.py", line 510, in run [ 747s] with Popen(*popenargs, **kwargs) as process: [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/subprocess.py", line 929, in __init__ [ 747s] uid = pwd.getpwnam(user).pw_uid [ 747s] KeyError: "getpwnam(): name not found: 'nobody'" [ 747s] [ 747s] == [ 747s] ERROR: test_user (test.test_subprocess.POSIXProcessTestCase) (user='nobody', close_fds=True) [ 747s] -- [ 747s] Traceback (most recent call last): [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/test/test_subprocess.py", line 1805, in test_user [ 747s] output = subprocess.check_output( [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/subprocess.py", line 419, in check_output [ 747s] return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/subprocess.py", line 510, in run [ 747s] with Popen(*popenargs, **kwargs) as process: [ 747s] File "/home/abuild/rpmbuild/BUILD/Python-3.9.0a3/Lib/subprocess.py", line 929, in __init__ [ 747s] uid = pwd.getpwnam(user).pw_uid [ 747s] KeyError: "getpwnam(): name not found: 'nobody'" [ 747s] [ 747s] -- [ 747s] I am not sure what is the proper solution here. Whether test should be skipped if nobody doesn’t exist, or the test should switch to user 0, or the current user? -- components: Tests messages: 363380 nosy: mcepl, vstinner priority: normal severity: normal status: open title: test.test_subprocess.POSIXProcessTestCase.test_user fails in the limited build environment versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39855> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34033] distutils is not reproducible
Change by Matej Cepl : -- nosy: -mcepl ___ Python tracker <https://bugs.python.org/issue34033> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()
Matej Cepl added the comment: Just to say this is reproducible only on rather old enterprise Linux distributions, where CVE-2016-10739 bug in glibc has not been fixed. I believe it means RHEL-6, SUSE SLE-10, 11, 12 (not sure whether it applies to some old Debian as well). -- ___ Python tracker <https://bugs.python.org/issue38576> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1294959] Problems with /usr/lib64 builds.
Matej Cepl added the comment: > posix_user: > > * stdlib: '~/.local/lib64/python3.9' > * platstdlib: '~/.local/lib64/python3.9' > * platlib: '~/.local/lib64/python3.9/site-packages' I am still not sure about the this one. I know that I have mentioned a possibility of multiplatform $HOME on NFS, but it seems too far fetched idea to break the current not-completely-standard. -- ___ Python tracker <https://bugs.python.org/issue1294959> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue39026> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37539] CheckCommitCursorReset regression sqlite3 test fails with old sqlite3
Matej Cepl added the comment: Fix for this situations (and we are talking about sqlite3 3.6.4, which is truly archaeological excavation) skip particular test. -- keywords: +patch Added file: https://bugs.python.org/file48833/avoid-sqlite-race.patch ___ Python tracker <https://bugs.python.org/issue37539> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue38576> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1294959] Problems with /usr/lib64 builds.
Change by Matej Cepl : -- versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue1294959> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1294959] Problems with /usr/lib64 builds.
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue1294959> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38014] Python 3.7 does not compile
Change by Matej Cepl : -- nosy: -mcepl ___ Python tracker <https://bugs.python.org/issue38014> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38377] test_asyncio.test_events.GetEventLoopTestsMixin.test_get_event_loop_new_process mixin breaks in the Unix environment without working /dev/shm
Change by Matej Cepl : -- keywords: +patch pull_requests: +16182 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16593 ___ Python tracker <https://bugs.python.org/issue38377> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38377] test_asyncio.test_events.GetEventLoopTestsMixin.test_get_event_loop_new_process mixin breaks in the Unix environment without working /dev/shm
New submission from Matej Cepl : == ERROR: test_get_event_loop_new_process (test.test_asyncio.test_events.TestCGetEventLoop) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/test/test_asyncio/test_events.py", line 2647, in test_get_event_loop_new_process self.loop.run_until_complete(main()), File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/asyncio/base_events.py", line 608, in run_until_complete return future.result() File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/test/test_asyncio/test_events.py", line 2640, in main pool = concurrent.futures.ProcessPoolExecutor() File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/concurrent/futures/process.py", line 555, in __init__ self._call_queue = _SafeQueue( File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/concurrent/futures/process.py", line 165, in __init__ super().__init__(max_size, ctx=ctx) File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/queues.py", line 42, in __init__ self._rlock = ctx.Lock() File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/context.py", line 68, in Lock return Lock(ctx=self.get_context()) File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/synchronize.py", line 162, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/synchronize.py", line 57, in __init__ sl = self._semlock = _multiprocessing.SemLock( OSError: [Errno 38] Function not implemented == ERROR: test_get_event_loop_new_process (test.test_asyncio.test_events.TestPyGetEventLoop) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/test/test_asyncio/test_events.py", line 2647, in test_get_event_loop_new_process self.loop.run_until_complete(main()), File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/asyncio/base_events.py", line 608, in run_until_complete return future.result() File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/test/test_asyncio/test_events.py", line 2640, in main pool = concurrent.futures.ProcessPoolExecutor() File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/concurrent/futures/process.py", line 555, in __init__ self._call_queue = _SafeQueue( File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/concurrent/futures/process.py", line 165, in __init__ super().__init__(max_size, ctx=ctx) File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/queues.py", line 42, in __init__ self._rlock = ctx.Lock() File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/context.py", line 68, in Lock return Lock(ctx=self.get_context()) File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/synchronize.py", line 162, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) File "/home/abuild/rpmbuild/BUILD/Python-3.8.0rc1/Lib/multiprocessing/synchronize.py", line 57, in __init__ sl = self._semlock = _multiprocessing.SemLock( OSError: [Errno 38] Function not implemented -- The problem is that in the OpenBuildService (the build system of SUSE distributions) /dev/shm is limited to: abuild@milic:~/rpmbuild/BUILD/Python-3.8.0rc1> ls -ld /dev/shm drwxr-xr-x 1 root root 0 Oct 5 13:23 /dev/shm abuild@milic:~/rpmbuild/BUILD/Python-3.8.0rc1> Provided PR will skip test if /dev/shm doesn’t exist or it doesn’t sufficient permissions. -- components: asyncio messages: 354010 nosy: asvetlov, mcepl, yselivanov priority: normal severity: normal status: open title: test_asyncio.test_events.GetEventLoopTestsMixin.test_get_event_loop_new_process mixin breaks in the Unix environment without working /dev/shm versions: Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue38377> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38014] Python 3.7 does not compile
Matej Cepl added the comment: Sorry, got confused. My openSUSE bug has nothing to do with it. -- ___ Python tracker <https://bugs.python.org/issue38014> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38014] Python 3.7 does not compile
Matej Cepl added the comment: Isn’t https://bugzilla.suse.com/1152793 (removal of stropts.h from glibc) cause of this? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue38014> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38216] Fix for issue30458 prevents crafting invalid requests
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue38216> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36274] http.client cannot send non-ASCII request lines
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36274> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36369] test_weakref super slow on RPi Zero
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36369> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34155] [CVE-2019-16056] email.utils.parseaddr mistakenly parse an email
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue34155> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37539] CheckCommitCursorReset regression sqlite3 test fails with old sqlite3
New submission from Matej Cepl : When building Python 2.7.16 on very old SUSE Enterprise Linux (SLE-11), with gcc 4.3, sqlite3 3.6.4, CheckCommitCursorReset fails with: test test_sqlite failed -- Traceback (most recent call last): File "/usr/src/packages/BUILD/Python-2.7.16/Lib/sqlite3/test/regression.py", line 338, in CheckCommitCursorReset con.commit() OperationalError: cannot commit transaction - SQL statements in progress It seems to me the problem is that the select from https://github.com/python/cpython/blob/master/Lib/sqlite3/test/regression.py#L353 is still open, while we run con.commit(). It should be probably better to store output of that enumerate somewhere and work on that variable instead. -- components: Library (Lib) files: log.txt messages: 347606 nosy: mcepl priority: normal severity: normal status: open title: CheckCommitCursorReset regression sqlite3 test fails with old sqlite3 versions: Python 2.7, Python 3.8, Python 3.9 Added file: https://bugs.python.org/file48465/log.txt ___ Python tracker <https://bugs.python.org/issue37539> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1
Matej Cepl added the comment: I don't think this has been really fixed, see attached log,even with the patch applied I am still getting: [ 6220s] == [ 6220s] FAIL: test_pyobject_freed_is_freed (test.test_capi.PyMemMallocDebugTests) [ 6220s] -- [ 6220s] Traceback (most recent call last): [ 6220s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/test_capi.py", line 730, i n test_pyobject_freed_is_freed [ 6220s] self.check_pyobject_is_freed('check_pyobject_freed_is_freed') [ 6220s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/test_capi.py", line 721, i n check_pyobject_is_freed [ 6220s] assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC) [ 6220s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 157, in assert_python_ok [ 6220s] return _assert_python(True, *args, **env_vars) [ 6220s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 143, in _assert_python [ 6220s] res.fail(cmd_line) [ 6220s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 70, in fail [ 6220s] raise AssertionError("Process return code is %d\n" [ 6220s] AssertionError: Process return code is 1 [ 6220s] command line: ['/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/python', '-X', 'faulthandler', '-c', '\nimport gc, os, sys, _testcapi\n# Disable the GC to avoid crash on GC collection\ngc.disable()\ntry:\n _testcapi.check_pyobject_freed_is_freed()\n# Exit immediately to avoid a crash while deallocating\n# the invalid object\nos._exit(0)\nexcept _testcapi.error:\nos._exit(1)\n'] -- Added file: https://bugs.python.org/file48431/log.txt.gz ___ Python tracker <https://bugs.python.org/issue37169> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1
Matej Cepl added the comment: Complete build log which shows all dependent libraries, compilation options, etc. If you want any other artifacts (config.log, Python.h) just let me know. -- Added file: https://bugs.python.org/file48397/log.txt.gz ___ Python tracker <https://bugs.python.org/issue37169> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1
New submission from Matej Cepl : When building openSUSE package for Python-3.8.0b1 (on x86_64 build system with the latest openSUSE/Tumbleweed) in the package which previously worked all the way up to 3.8.0.a4, I get this test failing: [ 5771s] == [ 5771s] FAIL: test_pyobject_is_freed_free (test.test_capi.PyMemMallocDebugTests) [ 5771s] -- [ 5771s] Traceback (most recent call last): [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/test_capi.py", line 729, in test_pyobject_is_freed_free [ 5771s] self.check_pyobject_is_freed('pyobject_freed') [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/test_capi.py", line 720, in check_pyobject_is_freed [ 5771s] assert_python_ok('-c', code, PYTHONMALLOC=self.PYTHONMALLOC) [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 157, in assert_python_ok [ 5771s] return _assert_python(True, *args, **env_vars) [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 143, in _assert_python [ 5771s] res.fail(cmd_line) [ 5771s] File "/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/Lib/test/support/script_helper.py", line 70, in fail [ 5771s] raise AssertionError("Process return code is %d\n" [ 5771s] AssertionError: Process return code is 1 [ 5771s] command line: ['/home/abuild/rpmbuild/BUILD/Python-3.8.0b1/python', '-X', 'faulthandler', '-c', '\nimport gc, os, sys, _testcapi\n# Disable the GC to avoid crash on GC collection\ngc.disable()\nobj = _testcapi.pyobject_freed()\nerror = (_testcapi.pyobject_is_freed(obj) == False)\n# Exit immediately to avoid a crash while deallocating\n# the invalid object\nos._exit(int(error))\n'] [ 5771s] [ 5771s] stdout: [ 5771s] --- [ 5771s] [ 5771s] --- [ 5771s] [ 5771s] stderr: [ 5771s] --- [ 5771s] [ 5771s] --- [ 5771s] [ 5771s] -- -- components: Interpreter Core messages: 344782 nosy: mcepl priority: normal severity: normal status: open title: test_pyobject_is_freed_free fails with 3.8.0beta1 versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue37169> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37031] signalmodule.c: reuse runtime->main_thread
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue37031> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36905] test_typing.GetTypeHintTests.test_get_type_hints_modules_forwardref unexpected success while running whole test suite sequentially
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36905> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28971] nntplib is broken when responses are longer than _MAXLINE
Matej Cepl added the comment: I understood, and I was saying that if you kick nntplib out of the standard library, than I will just embed it into my program and I won't bother to maintain it publicly. -- ___ Python tracker <https://bugs.python.org/issue28971> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28971] nntplib is broken when responses are longer than _MAXLINE
Matej Cepl added the comment: If that was the price of keeping nntplib inside of the Python standard library, yes. -- ___ Python tracker <https://bugs.python.org/issue28971> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28971] nntplib is broken when responses are longer than _MAXLINE
Matej Cepl added the comment: @mbussonn That's exactly the point: I completely disagree with removal of nntplib from the standard library, so I went through all bugs here related to it. -- ___ Python tracker <https://bugs.python.org/issue28971> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28971] nntplib is broken when responses are longer than _MAXLINE
Matej Cepl added the comment: Could @xdegaye make a PR for this? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue28971> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19613] test_nntplib: sporadic failures, test_article_head_body()
Matej Cepl added the comment: Could anybody make a PR from these patches? @vstinner, would you make me a review if I do it? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue19613> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31850] test_nntplib failed with "nntplib.NNTPDataError: line too long"
Matej Cepl added the comment: Was this ever reproduced anywhere? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue31850> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36659] distutils UnixCCompiler: Remove standard library path from rpath
Matej Cepl added the comment: OK, vstinner asked me for more explanation: * we at openSUSE are as opposed to rpath as Fedora developers (actually, https://en.opensuse.org/openSUSE:Packaging_checks#Beware_of_Rpath is stolen from Fedora wiki, apparently) * none of Python packages (python2, python3 in all various *SUSE related distributions) has the mentioned patch * in all 11794 SPEC files in openSUSE Factory only 36 packages use chrpath (many other packages either patch ./configure or use various --disable-rpath options), and there is only one Python related package, python-cx_Freeze among them. Its SPEC file is https://build.opensuse.org/package/view_file/devel:languages:python/python-cx_Freeze/python-cx_Freeze.spec?expand=1 , but I would think that is (being a compiler) quite specialized package which may do something strange. * We run rpmlint with checks for rpath enabled on all submissions to our build systems, so it shouldn't go unnoticed. * generally, it seems to me, that the patch is really unnecessary for us. -- ___ Python tracker <https://bugs.python.org/issue36659> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36659] distutils UnixCCompiler: Remove standard library path from rpath
Matej Cepl added the comment: Just to add my CZK 0.02 (or €0,0008 ;)). We don't have this patch in openSUSE Python packages, we run rpmlint on all submissions to our build system (so unwanted rpath shouldn't sneak into the distribution), and yet the only Python C extension which needs RPATH manipulation is cx_Freeze, and that is apparently somehow strange package. -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36659> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36650] Cached method implementation no longer works on Python 3.7.3
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36650> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36216] CVE-2019-9636: urlsplit does not handle NFKC normalization
Matej Cepl added the comment: You are right. Thank you. -- ___ Python tracker <https://bugs.python.org/issue36216> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36216] CVE-2019-9636: urlsplit does not handle NFKC normalization
Matej Cepl added the comment: I am trying to investigate the impact of this bug on Python 2.6 (yes, it is for SLE), and I have hard to replicate the steps in the description even on 2.7: ~$ ipython2 Python 2.7.15 (default, May 21 2018, 17:53:03) [GCC] Type "copyright", "credits" or "license" for more information. IPython 5.8.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: from urlparse import urlsplit In [2]: u = "https://example.com\uf...@bing.com".encode("idna").decode("ascii") In [3]: u Out[3]: u'https://example.com\\uf...@bing.com' In [4]: urlsplit(u).netloc.rpartition('@')[2] Out[4]: u'bing.com' In [5]: u = "https://example.com\uf...@bing.com"; In [6]: urlsplit(u).netloc.rpartition('@')[2] Out[6]: 'bing.com' In [7]: u = u.encode("idna").decode("ascii") In [8]: urlsplit(u).netloc.rpartition('@')[2] Out[8]: u'bing.com' In [9]: import unicodedata In [10]: u2 = unicodedata.normalize('NFKC', u) In [11]: u2 Out[11]: u'https://example.com\\uf...@bing.com' In [12]: urlsplit(u2) Out[12]: SplitResult(scheme=u'https', netloc=u'example.com\\uf...@bing.com', path=u'', query='', fragment='') In [13]: Yes, the results are weird, and most likely they would break any software relying on them, but I am not sure that it is a security issue. vstinner ? steve.dower ? What do you think? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue36216> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35505] Test test_imaplib fail in test_imap4_host_default_value
Change by Matej Cepl : -- keywords: +patch pull_requests: +11853 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35505> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34623] _elementtree.c doesn't call XML_SetHashSalt()
Matej Cepl added the comment: > Will this change be backported to 3.5 and 3.4? It applied cleanly on both > however on 3.4 there is a test failure: It actually haven't applied cleanly to me on Python 3.4.6 (SLE-12 package). Apparently self->parser has to be changed into self_xp->parser. Then all tests passed for me. If any Linux maintainer wants to take this patch. -- nosy: +mcepl Added file: https://bugs.python.org/file48077/CVE-2018-14647_XML_SetHashSalt-in_elementtree.patch ___ Python tracker <https://bugs.python.org/issue34623> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393
Matej Cepl added the comment: Python 3.4 doesn't allow C99 constructs, so I had to update the patch to reorder iterator declarations. Just if any future colleague Python Linux distro maintainer needs it. -- Added file: https://bugs.python.org/file48073/CVE-2018-20406-pickle_LONG_BINPUT.patch ___ Python tracker <https://bugs.python.org/issue34656> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393
Matej Cepl added the comment: > * Python 2.7 has no C accelerator _pickle (Modules/_pickle.c) And Modules/cPickle.c is that drastically different? -- ___ Python tracker <https://bugs.python.org/issue34656> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34656] memory exhaustion in Modules/_pickle.c:1393
Matej Cepl added the comment: Does it even make sense to make a security patch for 2.7 for this one? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue34656> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34032] Add platlibdir to allow distinction between /usr/lib and /usr/lib64 for Linux
Matej Cepl added the comment: @carlos.velasco ... OK, so build of 3.7.2rc1 on x86_64 doesn't pass the testsuite (see the attached log). -- Added file: https://bugs.python.org/file48002/_log.txt ___ Python tracker <https://bugs.python.org/issue34032> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31046] ensurepip does not honour the value of $(prefix)
Matej Cepl added the comment: Per https://devguide.python.org/pullrequest/, can I ask you Xavier to prepare a proper pull request for this patch to the GitHub repo, please? -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue31046> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32174] nonASCII punctuation characters can not display in python363.chm.
Matej Cepl added the comment: Sorry, my mistake, it seems I was using python2 Sphinx even for building python3 documentation, which is a bad idea, I guess. -- ___ Python tracker <https://bugs.python.org/issue32174> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32174] nonASCII punctuation characters can not display in python363.chm.
Matej Cepl added the comment: It seems to me that this adds escape4chm as unconditional dependency on all platforms. Which seems like a bad idea to me, I don't think users on Linux or Mac OS X are that keen on *.chm files. I think this change broke my build of python3-doc package on openSUSE (which built until now absolutely perfectly). I don't even know, where the escape4chm plugin comes from. ??? -- nosy: +mcepl Added file: https://bugs.python.org/file47881/python3-doc-3-7-rc2-log.txt ___ Python tracker <https://bugs.python.org/issue32174> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34726] Add support of checked hash-based pycs in zipimport
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue34726> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26852] add the '--enable-sourceless-distribution' option to configure
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue26852> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30717] Add unicode grapheme cluster break algorithm
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue30717> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12733] Request for grapheme support in Python re lib
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue12733> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34605] Avoid master/slave terminology
Change by Matej Cepl : -- nosy: -mcepl ___ Python tracker <https://bugs.python.org/issue34605> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34605] Avoid master/slave terminology
Matej Cepl added the comment: Guys, really, don't we have anything better to do with your time than this silliness? Even if the terminology would be used in the strictest and most brutal meaning, i.e., slave must mindlessly follow orders of its master, there is nothing of approval of the real human slavery in the past (or present). This is just the pretty good terminology for such one-sided relationship which is traditionally used in the computer world. By elimination of the word from the world, not a yota changes about the reality of slavery in the past (or present). -1 from me with the extreme violence for introducing such quasi-political nonsense to BPO and wasting everybody's time. -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue34605> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17239] XML vulnerabilities in Python
Matej Cepl added the comment: > I suggest to: > > * close bpo-17318 as a duplicate of this issue (bpo-17239) > * close bpo-24238 > * close this issue +1 from me. -- ___ Python tracker <https://bugs.python.org/issue17239> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14465] xml.etree.ElementTree: add feature to prettify XML output
Change by Matej Cepl : -- pull_requests: +8405 ___ Python tracker <https://bugs.python.org/issue14465> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14465] xml.etree.ElementTree: add feature to prettify XML output
Change by Matej Cepl : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue14465> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23847] Add xml pretty print option to ElementTree
Change by Matej Cepl : -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue23847> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33255] json.dumps has different behaviour if encoding='utf-8' or encoding='utf8'
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue33255> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26171] heap overflow in zipimporter module
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker <https://bugs.python.org/issue26171> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33336] [imaplib] MOVE is a legal command
Change by Matej Cepl : -- pull_requests: +7916 ___ Python tracker <https://bugs.python.org/issue6> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33336] [imaplib] MOVE is a legal command
Change by Matej Cepl : -- pull_requests: +7906 ___ Python tracker <https://bugs.python.org/issue6> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33336] [imaplib] MOVE is a legal command
Change by Matej Cepl : -- pull_requests: +7904 ___ Python tracker <https://bugs.python.org/issue6> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com