[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:

[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

[issue43108] test_curses is leaking references

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: The funny part is that the bug was there for 4 years. It's good that Serhiy added new tests to allow to catch this old bug! commit f7eae0adfcd4c50034281b2c69f461b43b68db84 Author: Serhiy Storchaka Date: Wed Jun 28 08:30:06 2017 +0300 [security]

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > Instead of enabling it by default, why not just keep it but emulate the old > behavior by splitting and buffering the input lines? PR 24108 change can and should be backported to 3.8 and 3.9 branches. REPL enhancements can only land in the master branch

[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: Hu. The last time it succeeded was with platform.platform: FreeBSD-13.0-CURRENT-amd64-64bit-ELF: https://buildbot.python.org/all/#/builders/151/builds/280 -- ___ Python tracker

[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: > That's a lot slower unfortunately Ah sorry, I forgot PyTuple_Pack(3, item1, item2, item3) which should be very efficient. This function is also safe: only track the tuple when it is fully initialized. > This problem also is not unique to tuples, although

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: I created https://python-security.readthedocs.io/vuln/urllib-query-string-semicolon-separator.html to track fixes of this vulnerability. -- ___ Python tracker

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

2021-02-15 Thread miss-islington
miss-islington added the comment: New changeset f9d7c12b6c7ab978cb6c61a666bc06dd3fec9b3e by Miss Islington (bot) in branch '3.8': bpo-42819, readline: Disable bracketed paste (GH-24108) https://github.com/python/cpython/commit/f9d7c12b6c7ab978cb6c61a666bc06dd3fec9b3e --

[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? --

[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 ___

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

2021-02-15 Thread Aaron Meurer
Aaron Meurer added the comment: Instead of enabling it by default, why not just keep it but emulate the old behavior by splitting and buffering the input lines? That way you still get some of the benefits of bracketed paste, i.e., faster pasting, but without the hard work of fixing the REPL

[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: New changeset d0204963ec87beb9732e924e464b8a6a1ef4d341 by Pablo Galindo in branch 'master': bpo-43231: Correctly calculate the curses color pair limit when checking for it (GH-24541)

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

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[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: This seems a problem in FreeBSD 14.0 CURRENT. Koobs, could you report this upstream? -- ___ Python tracker ___

[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

[issue43233] test_copy_file_range_offset fails on AMD64 FreeBSD Shared 3.9

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > https://buildbot.python.org/all/#/builders/151/builds/300/steps/5/logs/stdio This is the CURRENT version of FreeBSD (latest kernel and latest libc). test.pythoninfo says: os.uname: posix.uname_result(sysname='FreeBSD', nodename='140-CURRENT-amd64',

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

2021-02-15 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35026] Winreg's documentation lacks mentioning required permission at some points

2021-02-15 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 7.0 -> 8.0 pull_requests: +23330 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24547 ___ Python tracker

[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 ___

[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

[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 ___

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

2021-02-15 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: After GH-24533 and GH-24535, there's (AFAICS) only a handful of cases left. $ grep -r "\->tp_" Include/: Include/internal/pycore_abstract.h:PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; Include/internal/pycore_interp.h:unsigned

[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

[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:

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > Should we strive to fix the cases in Include/internal as well? No. The internal C API access directly to structure members on purpose, for best performances. -- ___ Python tracker

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

2021-02-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ab2d48163901c9635401db0f6d784c45482d17ec by Pablo Galindo in branch 'master': bpo-43231: Fix test.test_curses.TestCurses.test_init_pair when running under -R (GH-24539)

[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:

[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

[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

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

2021-02-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23327 pull_request: https://github.com/python/cpython/pull/24541 ___ 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: This seems to happen only when running with -R -- ___ Python tracker ___ ___

[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

[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): ...

[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: > PyList_New() is also affected. Do you think about other types? Any C extension class that implements a new_whatever() method that leaves the class tracked and not ready. -- ___ Python tracker

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 755f3c1521b422bc2177013d289f5439975fdc4f by Dustin Rodrigues in branch 'master': bpo-42819, readline: Disable bracketed paste (GH-24108) https://github.com/python/cpython/commit/755f3c1521b422bc2177013d289f5439975fdc4f --

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

2021-02-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +23328 pull_request: https://github.com/python/cpython/pull/24545 ___ Python tracker

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

2021-02-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +23329 pull_request: https://github.com/python/cpython/pull/24546 ___ Python tracker ___

[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 ___

[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

[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

[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

[issue41028] Move docs.python.org language and version switcher out of cpython

2021-02-15 Thread Ned Deily
Ned Deily added the comment: @mdk, This seems to be working great for the the python.org doc builds. What do you think about backporting this to the current active branches so that the doc builds for individual releases and those included with binary installers show the new generic links

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

2021-02-15 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: Thanks Dustin for the bug report *and* the fix! I close the issue. For people who want to support bracketed paste mode in Python, please disuss it in bpo-39820. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: > Is there a test suite that checks that the limited API functions can all be > linked against? Pablo Galindo wrote a new Tools/scripts/stable_abi.py for Unix, but this tool doesn't check PC/python3dll.c yet. The tool uses Doc/data/stable_abi.dat which

[issue43235] Tools/scripts/stable_abi.py should also check PC/python3dll.c (Windows stable ABI)

2021-02-15 Thread STINNER Victor
New submission from STINNER Victor : bpo-43155 is just yet another example that we always forget to export symbols of the stable ABI on Windows. It would be great to have a tool to check that all symbols exported on Unix are also exported on Windows. Tools/scripts/stable_abi.py could check

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8a8b5df93f379f561aab4f2fc5b2ad54f5009f7a by Zackery Spytz in branch 'master': bpo-43155: Add PyCMethod_New to PC/python3dll.c (GH-24500) https://github.com/python/cpython/commit/8a8b5df93f379f561aab4f2fc5b2ad54f5009f7a --

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: The symbol was exported on Unix since Python 3.9.0, but not on Windows. Is it ok to export it starting with Python 3.9.2? (backport the fix). IMO yes, it's ok. -- ___ Python tracker

[issue43238] python picking garbage values randomly incase running palindrome function

2021-02-15 Thread Raghav Bhandari
New submission from Raghav Bhandari : temp value is & C:/Users/Raghav/AppData/Local/Programs/Python/Python3 and revtemp value is 3nohtyP/nohtyP/smargorP/lacoL/ataDppA/vahgaR/sresU/:C & temp value is & C:/Users/Raghav/AppData/Local/Programs/Python/Python39 and revtemp value is

[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: > Any C extension class that implements a new_whatever() method that leaves the > class tracked and not ready. I'm not aware of such C extension but they likely exists. If we have such extensions in the stdlib, we can try to fix them. We cannot fix such GC

[issue20364] Rename & explain sqlite3.Cursor.execute 'parameters' param

2021-02-15 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Sorry, typo in my last statement. I did *not* verify if the behavior is the same with earlier/later versions. -- ___ Python tracker

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 871eb4237b9be95263ca13ba8856e78344eb9eba by Erlend Egeberg Aasland in branch 'master': bpo-40170: Convert PyDescr_IsData() to static inline function (GH-24535) https://github.com/python/cpython/commit/871eb4237b9be95263ca13ba8856e78344eb9eba

[issue43237] datetime.__eq__ returns true when timezones don't match

2021-02-15 Thread Richard Wise
New submission from Richard Wise : from datetime import datetime, timezone, timedelta datetime_in_sgt = datetime(2021, 2, 16, 8, 0, 0, tzinfo=timezone(timedelta(hours=8))) datetime_in_utc = datetime(2021, 2, 16, 0, 0, 0, tzinfo=timezone.utc) print(datetime_in_sgt == datetime_in_utc)

[issue43235] Tools/scripts/stable_abi.py should also check PC/python3dll.c (Windows stable ABI)

2021-02-15 Thread Petr Viktorin
Petr Viktorin added the comment: I want to address this in PEP 652. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will just note that the IDLE File menu has a Recent Files list, which is the same thing. (Notepad++ does also, in addition to a working icon jump list.) -- ___ Python tracker

[issue43236] Windows Taskbar Jump List fails to open Recent files

2021-02-15 Thread veganaiZe
New submission from veganaiZe : OS: Windows 8.1 (x86-64) Python: 3.8.7 When I right-click on IDLE's rectangle/icon in the Windows taskbar it displays a "jump list" which contains recent/pinned filenames. A program will typically open a file when it's selected from the list. IDLE doesn't

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

2021-02-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The translation is maintained under GitHub. Please report to https://github.com/python/python-docs-zh-cn/issues -- nosy: +xtreak resolution: -> third party stage: -> resolved status: open -> closed ___

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

2021-02-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 85fd9f4e45ee95e2608dbc8cc6d4fe28e4d2abc4 by Miss Islington (bot) in branch '3.9': bpo-42819, readline: Disable bracketed paste (GH-24108) (GH-24545) https://github.com/python/cpython/commit/85fd9f4e45ee95e2608dbc8cc6d4fe28e4d2abc4 --

[issue43235] Tools/scripts/stable_abi.py should also check PC/python3dll.c (Windows stable ABI)

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43235] Tools/scripts/stable_abi.py should also check PC/python3dll.c (Windows stable ABI)

2021-02-15 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal, petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35026] Winreg's documentation lacks mentioning required permission at some points

2021-02-15 Thread Eryk Sun
Eryk Sun added the comment: winreg.DeleteKey[Ex] does not require any particular access on the `key` handle. This handle is used only as the native NT API RootDirectory [1] when opening `subkey` with DELETE access via NtOpenKeyEx [2]. The extra access with winreg.DeleteKeyEx [3] is just to

[issue43236] Windows IDLE taskbar icon jump list fails to open recent files

2021-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a Windows installer code issue rather than an IDLE code issue. On Win10, I do not see jump lists for IDLE icons but do for several others. Perhaps the installer was changed to disable the non-functional lists. I will let the installer people

[issue43175] filecmp is not working for UTF-8 BOM file.

2021-02-15 Thread suresh
suresh added the comment: Dear Team, Any more details are required. Kindly let me know. -- ___ Python tracker ___ ___

[issue20364] Rename & explain sqlite3.Cursor.execute 'parameters' param

2021-02-15 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Sorry to resurrect an old bug, but I've also found the docs lacking and I can fill in some gaps with some experimental results. Setup: >>> import sqlite3 >>> conn = sqlite3.connect(':memory:') >>> conn.execute('CREATE TABLE foo (x INTEGER,

[issue43228] Regression in function builtins

2021-02-15 Thread Lumír Balhar
Lumír Balhar added the comment: I'm not an expert nor an author but this might help: Cloudpickle offers extended possibilities for pickling but uses the standard pickle module for unpickling: >>> import pickle, cloudpickle >>> cloudpickle.load is pickle.load True >>> cloudpickle.loads is

[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

[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)

[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

[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 ___ ___

[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)

[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

[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

[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

[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 ___ ___

[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

[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

[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

[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 ___

[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 ___ ___

[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

[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
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.

[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

[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

[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 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

[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

[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 ___ ___

[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

[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 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

[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 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

  1   2   >