[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I agree with changing the default in Python 3.6-3.10. -- ___ Python tracker ___ ___ Python-bugs-l

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > Readline 8.1 enables bracketed paste by default. Can you try to find why it changed the default? Why should Python change the default readline default behavior? -- nosy: +gregory.p.smith ___ Python tracker

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread Miro Hrončok
Miro Hrončok added the comment: https://lists.gnu.org/archive/html/bug-readline/2020-11/msg00010.html https://lists.gnu.org/archive/html/bug-bash/2020-10/msg00048.html https://lists.gnu.org/archive/html/bug-bash/2020-10/msg00087.html -- ___ Python tr

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: I'm a Debian Developer and maintainer for multiple Debian Ports architectures. Please don't remove support for Alpha, HPPA, m68k, ia64, PowerPC, SuperH, SPARC as we're still maintaining these in Debian. Here are the latest build results for Python

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: And, FWIW, I generally don't quite understand what the problem with old triplet definitions in configure.ac are. I assume they don't hurt anyone, do they? You never know what usecases your users have and as long as a code snippet doesn't interfere

[issue43179] Remove s390 support

2021-02-15 Thread Christian Heimes
Christian Heimes added the comment: It's about setting expectations. For some users, the presence of a platform triplet implies support for a platform. -- ___ Python tracker

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: That's an argument I have personally never heard before and I have been dealing with a lot of architecture support in many packages. FWIW, lots of upstream projects have targets which are officially supported and others which are there but not sup

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I didn't know "bracketed paste mode". It seems like a protocol between a terminal and the user to add markers before/after a pasted text. https://cirw.in/blog/bracketed-paste """ In summary: 1. Enable bracketed paste: printf "\e[?2004h" 2. Wait for paste to s

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: On my Fedora 33 (readline-8.0-5.fc33.x86_64), I enabled the bracketed paste mode by adding "set enable-bracketed-paste" on to my ~/.inputrc config file. When I test https://thejh.net/misc/website-terminal-copy-paste : the evil command is no long executed. I

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to mention that I ran my tests in Gnome Terminal 3.38.1-2.fc33. -- ___ Python tracker ___ __

[issue32019] Interactive shell doesn't work with readline bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-39820. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Bracketed paste mode for REPL ___ Python tracker

[issue39820] Bracketed paste mode for REPL

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-32019 as a duplicate of this issue. -- nosy: +vstinner ___ Python tracker ___ ___ Py

[issue39820] Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- title: Bracketed paste mode for REPL -> Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly ___ Python tracker ___

[issue39820] Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-42819 "readline 8.1 bracketed paste". -- ___ Python tracker ___ ___ Python-bugs-list

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Related issue: test_pdb_interaction_doctest test of pytest fails on Fedora Rawhide because of a "\x1b[?2004h" string: * https://github.com/pytest-dev/pytest/issues/8256 * https://bugzilla.redhat.com/show_bug.cgi?id=1892612 It fails with readline 8.1 which ena

[issue42819] readline 8.1 bracketed paste

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: https://lists.gnu.org/archive/html/bug-readline/2020-11/msg00010.html says that bracketed mode is turned off if the terminal type is "dumb". Setting TERM env var to dumb gives me a surprising behavior when I paste "1+1\n2+2" in Python REPL: --- $ TERM=dumb py

[issue42819] readline 8.1 enables the bracketed paste mode by default

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- title: readline 8.1 bracketed paste -> readline 8.1 enables the bracketed paste mode by default ___ Python tracker ___ __

[issue42819] readline 8.1 enables the bracketed paste mode by default

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: There are different things: * Bracketed paste mode prevents to execute malicious command copied from evil internet web pages * Python REPL is not really convenient in the bracked paste mode: bpo-39820 * Users are not used to the bracketed mode which gives a s

[issue43179] Remove s390 support

2021-02-15 Thread Christian Heimes
Christian Heimes added the comment: > That's an argument I have personally never heard before and I have been > dealing with a lot of architecture support in many packages. I opened this ticket after a user told me that they grepped the source code of Python, found the string "s390", and con

[issue43179] Remove s390 support

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > I propose to remove check for __s390__ from configure.ac and configure. I don't see a big benefit of removing a few lines of configure.ac. It's not like it's a big maintenance burden. > It's about setting expectations. For some users, the presence of a pla

[issue43181] Python macros don’t shield arguments

2021-02-15 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Silence implies consent? I'll throw up a PR, then :) -- ___ Python tracker ___ ___ Python

[issue43181] Python macros don’t shield arguments

2021-02-15 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +23320 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24533 ___ Python tracker __

[issue43179] Remove s390 support

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Does AIX support the s390 architecture? -- nosy: +David.Edelsohn, aixto...@gmail.com ___ Python tracker ___ _

[issue43179] Remove s390 support

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: > I opened this ticket after a user told me that they grepped the source code > of Python, found the string "s390", and concluded that s390 is still > supported by us. Because one user was surprised by a few lines in configure.ac, the conclusion

[issue43181] Python macros don’t shield arguments

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I don't think that PR 24533 should be backported to Python 3.8 and Python 3.9. I prefer to avoid any risk of regression, and so only change Python 3.10. -- versions: -Python 3.9 ___ Python tracker

[issue43179] Remove s390 support

2021-02-15 Thread Christian Heimes
Christian Heimes added the comment: > Does AIX support the s390 architecture? The platform triplet is s390-linux-gnu, not AIX. > Because one user was surprised by a few lines in configure.ac, the conclusion > is to remove support for that architecture? You are misinterpreting my words. My i

[issue43179] Remove s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- title: Remove s390 support -> Remove s390 Linux support (s390-linux-gnu triplet) ___ Python tracker ___ __

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- title: Remove s390 Linux support (s390-linux-gnu triplet) -> Remove 32-bit s390 Linux support (s390-linux-gnu triplet) ___ Python tracker ___ ___

[issue43179] Remove s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I checked buildbots, we only have s390x workers (SLES, Debian, Fedora, RHEL7, RHEL8): ("s390x SLES", "edelsohn-sles-z", UnixBuild, STABLE), ("s390x Debian", "edelsohn-debian-z", UnixBuild, STABLE), ("s390x Fedora", "edelsohn-fedora-z",

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +23321 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24534 ___ Python tracker ___ _

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I created PR 24534 "Drop 32-bit Linux s390 platform support". > We might also want to remove __alpha__, __hppa__, and __m68k__ at a later > point. DEC hasn't been around for a long time. I would prefer to have one ticket per platform support removal. --

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: s390 is a 31-bit platform, not a 32-bit platform. I also don't see what this change achieves other than making the use of Python 3.10 on s390 harder. It's not like the removal of support for non-threaded builds which actually saved quite some cod

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: > I want to make it obvious that the platform has been dropped half a decade > ago. That's a political statement, not a technical one. The change has zero functional impact on the other targets. It just makes the use of Python in a potential s390

[issue43181] Python macros don’t shield arguments

2021-02-15 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > I don't think that PR 24533 should be backported to Python 3.8 and Python > 3.9. I prefer to avoid any risk of regression, and so only change Python 3.10. That sounds reasonable. -- ___ Python tracker <

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread Christian Heimes
Christian Heimes added the comment: The guidelines for platform support are explained in PEP 11 (https://www.python.org/dev/peps/pep-0011/#supporting-platforms). We don't support platforms unless we have maintainers and CI (builtbots) in place for the platform. -- _

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread Łukasz Langa
Łukasz Langa added the comment: +1 from me. Whatever few users s390 still has, they can keep using Python 3.9 which is 5 years newer than the latest kernel they can use. Moving forward, s390 will be unambiguously unsupported as we cannot test against this platform. Unless we get a buildbot p

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: > Moving forward, s390 will be unambiguously unsupported as we cannot test > against this platform. Unless we get a buildbot provided for this purpose, > as well as somebody willing to fix broken builds on that buildbot long-term, > it is what it

[issue43223] [SECURITY] Open Redirection In Python 3.7 & 3.8

2021-02-15 Thread Hamza AVvan
Change by Hamza AVvan : -- title: Open Redirection In Python 3.7 & 3.8 -> [SECURITY] Open Redirection In Python 3.7 & 3.8 ___ Python tracker ___ __

[issue40170] [C API] Make PyTypeObject structure an opaque structure in the public C API

2021-02-15 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland nosy_count: 7.0 -> 8.0 pull_requests: +23322 pull_request: https://github.com/python/cpython/pull/24535 ___ Python tracker __

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
New submission from STINNER Victor : The bpo-42990 introduced a regression with the following commit: commit d6c33fbd346765c6a8654dccacb2338006bf2b47 Author: Mark Shannon Date: Fri Jan 29 13:24:55 2021 + bpo-42990: Introduce 'frame constructor' struct to simplify API for PyEval_Cod

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: cloudpickle issue: https://github.com/cloudpipe/cloudpickle/issues/410 -- ___ Python tracker ___

[issue43228] Regression in function builtins

2021-02-15 Thread Lumír Balhar
Change by Lumír Balhar : -- nosy: +frenzy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I created a new "3.10regression" for this issue ;-) -- keywords: +3.10regression ___ Python tracker ___ _

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Pablo asked me to put the priority to release blocker. -- priority: normal -> release blocker ___ Python tracker ___

[issue43229] freeze searches libpython3.9.so in /usr/lib instead /usr/lib/x86_64-linux-gnu

2021-02-15 Thread Christian Bachmaier
New submission from Christian Bachmaier : Now that the patch from issue 42591 (https://bugs.python.org/issue42591), i.e., msg383154 from 12/16/20 has made it to Ubuntu 20.04 with packet version python3.9.1-1, there show some problems with that. I did: > freeze/freeze.py -o frozen helloworld.

[issue43229] freeze searches libpython3.9.so in /usr/lib instead /usr/lib/x86_64-linux-gnu

2021-02-15 Thread Christian Bachmaier
Christian Bachmaier added the comment: Sorry, my Ubuntu version I mentioned above is the development version of 21.04 and not 20.04. I you would like or this would be a comfortable option for you, I can show this live/interactively in a shell of my test system to track down the error, say v

[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +23323 pull_request: https://github.com/python/cpython/pull/24536 ___ Python tracker ___ ___ P

[issue43146] 3.10a5 regression: AttributeError: 'NoneType' object has no attribute '__suppress_context__' in traceback.py

2021-02-15 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +3.10regression ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue43220] Argparse: Explicit default required arguments with add_mutually_exclusive_group are rejected

2021-02-15 Thread Irit Katriel
Change by Irit Katriel : -- title: Explicit default required arguments with add_mutually_exclusive_group are rejected -> Argparse: Explicit default required arguments with add_mutually_exclusive_group are rejected versions: -Python 3.6, Python 3.7 ___

[issue40939] Remove the old parser

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: FYI the unbound project was fixed by calling Py_CompileString() on Python 3.9 and newer: https://github.com/NLnetLabs/unbound/commit/e0d426ebb10653a78bf5c4053198f6ac19bfcd3e -- ___ Python tracker

[issue43228] Regression in function builtins

2021-02-15 Thread Mark Shannon
Mark Shannon added the comment: Do you have a reproducer that does not use cloudpickle? Pickling functions seems to work correctly. >>> import pickle >>> def func(): ... return len([]) ... >>> func2 = pickle.loads(pickle.dumps(func)) >>> >>> func2() 0 How is cloudpickle supposed to wor

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread David Edelsohn
David Edelsohn added the comment: This has nothing to do with AIX. This conversation should include Charalampos Stratakis, but I don't see him as an option for Nosy. It probably is easy to add a s390 31-bit build to one of the buildbots. -- nosy: -aixto...@gmail.com __

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2021-02-15 Thread Irit Katriel
Irit Katriel added the comment: optparse is deprecated an no longer in development, so unless someone objects I will close this issue. -- resolution: -> wont fix status: open -> pending ___ Python tracker _

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > s390 is a 31-bit platform, not a 32-bit platform. ARM64 only uses 48 bits for the address, but it uses 64-bit CPU words. Usually, we refer to an architecture by its CPU word, 32 or 64 bits. s390 uses 32-bit CPU words, no? The Wikipedia article says: "ESA

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Łukasz Langa: > +1 from me. Whatever few users s390 still has, they can keep using Python 3.9 > which is 5 years newer than the latest kernel they can use. Nowadays, it became trivial to maintain downstream patches. It is easy to fork the Python Git repositor

[issue43181] Python macros don’t shield arguments

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4bb2a1ebc569eee6f1b46ecef1965a26ae8cb76d by Erlend Egeberg Aasland in branch 'master': bpo-43181: Convert PyObject_TypeCheck to static inline function (GH-24533) https://github.com/python/cpython/commit/4bb2a1ebc569eee6f1b46ecef1965a26ae8cb76d

[issue43181] Python macros don’t shield arguments

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Thanks Vitaliy for the bug report and Erlend for the fix ;-) For Python 3.9 and older, a workaround is to wrap the call to PyObject_TypeCheck() with your own static inline function. -- resolution: -> fixed stage: patch review -> resolved status: ope

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: For RHEL7 which is the older OS that buildbots are still running, only the System Z architecture is supported. From the release notes [0]: Note that Red Hat Enterprise Linux 7 supports IBM zEnterprise 196 hardware or later; IBM System z10 mainframe sy

[issue42861] ipaddress - add ability to get next closest network of any prefix size

2021-02-15 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +pmoody title: ipaddress - add ability to get next closet network of any prefix size -> ipaddress - add ability to get next closest network of any prefix size ___ Python tracker _

[issue43148] Call sys.unraisablehook in the REPL when sys.excepthook is broken

2021-02-15 Thread Julian Berman
Julian Berman added the comment: Thanks Victor. Yes likely happy to send a PR (have to clear a few things off the yak stack first) On Tue, Feb 9, 2021 at 5:38 AM STINNER Victor wrote: > > STINNER Victor added the comment: > > It makes sense to call _PyErr_WriteUnraisableMsg() when sys.excep

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > It looks like the globals dict passed to FunctionType(...) lacks a > __builtins__. Right. But it worked in Python 3.9 :-) -- ___ Python tracker _

[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset a2f0654b0a5b4c4f726155620002cc1f5f2d206a by Ken Jin in branch 'master': bpo-42967: Fix urllib.parse docs and make logic clearer (GH-24536) https://github.com/python/cpython/commit/a2f0654b0a5b4c4f726155620002cc1f5f2d206a -- _

[issue15108] Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: The general issue here is a the PyTuple_New() is unsafe: it immediately tracks the newly created tuple in the GC, whereas the tuple is not initialized yet. If the GIL is released before the tuple is fully populated and something access to this tuple via the

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > How is cloudpickle supposed to work? It creates a CodeType object and then create a function with this code object. It serializes the bytecode. pickle is not affected since it doesn't create function objects, but retrieve them from imported modules. ---

[issue43230] typo in Simplified/Traditional Chinese documentation for library argparse

2021-02-15 Thread NKID00
New submission from NKID00 : For Simplified Chinese(https://docs.python.org/zh-cn/3/library/argparse.html#description): "程度" should probably be replaced by "程序". 这个参数简要描述这个程度做什么以及怎么做。 -> 这个参数简要描述这个程序做什么以及怎么做。 For Traditional Chinese(https://docs.python.org/zh-tw/3/library/argparse.html#descr

[issue43228] Regression in function builtins

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: func_builtins.py: reproducer which has no import. func2 builtins is {'None': None} on Python 3.10. Oh. This script also fails on Python 3.9. I'm not sure why cloudpickle_bug.py works on Python 3.9. -- Added file: https://bugs.python.org/file49811/f

[issue39820] Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly

2021-02-15 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue15108] Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > IMO the unsafe PyTuple_New() API should be avoided. Is not that simple, there are other APIs that track the tuple as _PyTuple_Resize. This problem also is not unique to tuples, although is mainly prominent in them. We have this warning in the docs:

[issue15108] Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > There are other safe alternatives like Py_BuildValue("(OOO)", item1, item2, > item3). That's a lot slower unfortunately -- ___ Python tracker ___

[issue15108] Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > If the GIL is released before the tuple is fully populated and something > access to this tuple via the GC (ex: gc.get_objects()), accessing the tuple > can crash, especially in the Python land (for example, repr(the_tuple) is > likely to crash).

[issue43228] Regression in function builtins

2021-02-15 Thread Mark Shannon
Mark Shannon added the comment: You need to define __builtins__ in the globals dictionary. def func(s): return len(s) text = "abc" print(func(text)) FuncType = type(func) func_globals = {"__builtins__":__builtins__.__dict__} code = func.__code__ func2 = FuncType(code, func_globals) prin

[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset c9f07813ab8e664d8c34413c4fc2d4f86c061a92 by Senthil Kumaran in branch '3.9': [3.9] bpo-42967: only use '&' as a query string separator (GH-24297) (#24528) https://github.com/python/cpython/commit/c9f07813ab8e664d8c34413c4fc2d4f86c061a92 -

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: And to dig a bit further with a semi-official answer. RHEL4 had standalone support for s390, while since RHEL5+ we've had only multilib support (64 bits kernel and possibility of s390 userspace packages). RHEL7 that is the oldest currently supported R

[issue43222] Regular expression split fails on 3.6 and not 2.7 or 3.7+

2021-02-15 Thread Philip
Change by Philip : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e3110c3cfbb7daa690d54d0eff6c264c870a71bf by Senthil Kumaran in branch '3.8': [3.8] bpo-42967: only use '&' as a query string separator (GH-24297) (#24529) https://github.com/python/cpython/commit/e3110c3cfbb7daa690d54d0eff6c264c870a71bf

[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Ned Deily
Ned Deily added the comment: New changeset d0d4d30882fe3ab9b1badbecf5d15d94326fd13e by Senthil Kumaran in branch '3.7': [3.7] bpo-42967: only use '&' as a query string separator (GH-24297) (GH-24531) https://github.com/python/cpython/commit/d0d4d30882fe3ab9b1badbecf5d15d94326fd13e

[issue43108] test_curses is leaking references

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ede1ff226c9ef4efd053109c69b4e33f75b2b17b by Miss Islington (bot) in branch '3.8': bpo-43108: Fix a reference leak in the curses module (GH-24420) (GH-24429) https://github.com/python/cpython/commit/ede1ff226c9ef4efd053109c69b4e33f75b2b17b

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/433/builds/181/steps/5/logs/stdio == ERROR: test_init_pair (test.test_curses.TestCurses) --

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This seems to happen only when running with -R -- ___ Python tracker ___ ___ Python-bugs-l

[issue43232] Prohibit previously deprecated operations on asyncio.trsock.TransportSocket

2021-02-15 Thread Illia Volochii
New submission from Illia Volochii : https://github.com/python/cpython/blob/a2f0654b0a5b4c4f726155620002cc1f5f2d206a/Lib/asyncio/trsock.py#L19-L24 Using of the operations was supposed to be prohibited in Python 3.9, but that was missed. -- components: asyncio messages: 387044 nosy: as

[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Ned Deily
Ned Deily added the comment: New changeset 5c17dfc5d70ce88be99bc5769b91ce79d7a90d61 by Senthil Kumaran in branch '3.6': [3.6] bpo-42967: only use '&' as a query string separator (GH-24297) (GH-24532) https://github.com/python/cpython/commit/5c17dfc5d70ce88be99bc5769b91ce79d7a90d61

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue43232] Prohibit previously deprecated operations on asyncio.trsock.TransportSocket

2021-02-15 Thread Illia Volochii
Change by Illia Volochii : -- keywords: +patch pull_requests: +23324 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24538 ___ Python tracker ___ _

[issue43233] test_copy_file_range_offset fails on AMD64 FreeBSD Shared 3.9

2021-02-15 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : == FAIL: test_copy_file_range_offset (test.test_os.FileTests) -- Traceback (most recent call last): File "/usr/ho

[issue43233] test_copy_file_range_offset fails on AMD64 FreeBSD Shared 3.9

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: koobs, can you give us access to the buildbot? The latest IP you provided do not work anymore -- ___ Python tracker ___ _

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The logic in _curses_init_pair_impl is quite odd. Seems that _CURSES_INIT_PAIR_FUNC succeeds the first run of (-R) even if pair_number >= COLOR_PAIRS but fails the second. Serhiy, do you know what's going on here? -- _

[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is resolved in all version of Python now. Thank you all for your contributions! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query ar

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hu, commenting out test_use_default_colors fixes the issue, so something is going on there -- ___ Python tracker ___

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >From the curses docs: init_pair The init_pair routine changes the definition of a color-pair. It takes three arguments: the number of the color-pair to be changed, the foreground color number, and the background color num

[issue43231] test.test_curses.TestCurses.test_init_pair fails in s390x Fedora

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +23325 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24539 ___ Python tracker __

[issue19984] Add new format of fixed length string for PyErr_Format

2021-02-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19073] Inability to specific __qualname__ as a property on a class instance.

2021-02-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43234] Prohibit passing non-ThreadPoolExecutor executors to loop.set_default_executor following a deprecation

2021-02-15 Thread Illia Volochii
New submission from Illia Volochii : https://github.com/python/cpython/blob/a2f0654b0a5b4c4f726155620002cc1f5f2d206a/Lib/asyncio/base_events.py#L816-L821 Setting non-ThreadPoolExecutor executors was supposed to be prohibited in Python 3.9. -- components: asyncio messages: 387052 nosy:

[issue16718] Mysterious atexit fail

2021-02-15 Thread Irit Katriel
Irit Katriel added the comment: Since this was fixed since 3.3, is there a reason why this issue is still open? I don't get the error anymore: C:\Users\User\src\cpython-dev>python.bat wow.py Running Release|x64 interpreter... Traceback (most recent call last): File "C:\Users\User\src\cpyth

[issue43234] Prohibit passing non-ThreadPoolExecutor executors to loop.set_default_executor following a deprecation

2021-02-15 Thread Illia Volochii
Change by Illia Volochii : -- keywords: +patch pull_requests: +23326 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24540 ___ Python tracker ___ _

[issue16608] immutable subclass constructor call error does not show subclass name

2021-02-15 Thread Irit Katriel
Irit Katriel added the comment: The issue still exists in 3.10: Python 3.10.0a5+ (heads/master:bf2e7e55d7, Feb 11 2021, 23:09:25) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> class c(tuple): ... def __init__(s,a,b): ...tu

[issue21309] Confusing "see also" for generic C-level __init__ methods in help output

2021-02-15 Thread Irit Katriel
Irit Katriel added the comment: Still the same in 3.10: Python 3.10.0a5+ (heads/master:bf2e7e55d7, Feb 11 2021, 23:09:25) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> help(ImportError.__init__) Help on wrapper_descriptor: __i

[issue43105] Can't import extension modules resolved via relative paths in sys.path on Windows

2021-02-15 Thread Steve Dower
Steve Dower added the comment: > since they're allowed, I think importlib at least could try to resolve > relative paths in a copy of sys.path before searching. I agree with this fix. They can be resolved for each new import, if we think that's an important behaviour to preserve (might mess

  1   2   >