[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2020-09-07 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue19483] Allow more low-level parser configuration in ElementTree

2020-09-07 Thread Stefan Behnel
Stefan Behnel added the comment: Changing subject to make it clear what this ticket is really about. -- title: Pure-Python ElementTree classes no longer available since 3.3 -> Allow more low-level parser configuration in ElementTree versions: +Python 3.10 -Python 3.3, Python 3.4,

[issue39714] ElementTree parser limitation of input string size

2020-09-07 Thread Stefan Behnel
Change by Stefan Behnel : -- title: ElementTree limitation -> ElementTree parser limitation of input string size ___ Python tracker ___

[issue39714] ElementTree limitation

2020-09-07 Thread Stefan Behnel
Stefan Behnel added the comment: I'd suggest feeding the data into the parser in chunks, or letting it read from a file-like object, or something like that. Also, you probably want to do incremental processing on the data (see the XMLPullParser and iterparse), because reading 3.5GB of XML

[issue40624] add support for != (not-equals) in ElementTree XPath

2020-09-07 Thread Stefan Behnel
Stefan Behnel added the comment: Agreed that adding "!=" would be a nice improvement, probably not very invasive. PR welcome. https://www.w3.org/TR/xpath-10/#booleans -- nosy: +scoder stage: -> needs patch type: -> enhancement versions: +Python 3.10 -Python 3.9

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +21228 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22146 ___ Python tracker

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: After splitting the two reads onto two lines, the indefinite hang happens in the second one, stdin.readall. def test_ctrl_z(self): with open('CONIN$', 'rb', buffering=0) as stdin: source = '\xC4\x1A\r\n'.encode('utf-16-le')

[issue41740] Improve error message for string concatenation via `sum`

2020-09-07 Thread Vedran Čačić
Vedran Čačić added the comment: The fact that you've forgotten about it is exactly why sum tries to educate you (despite Python being "the language of consenting adults" in most other aspects). The problem (why it doesn't do a good job in that aspect) is that people usually expect sum to act

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21227 pull_request: https://github.com/python/cpython/pull/22145 ___ Python tracker ___

[issue41741] test_peg_generator timed out (25 min) on x86 Gentoo Non-Debug with X 3.9

2020-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: These tests are expensive because they have to compile one C extension per test but I don't see any way to make them faster than does not complicate the whole setup considerably. I have tried to compile a shared object containing the common parts but

[issue41703] Most bytecode changes are absent from Python 3.9 What's new

2020-09-07 Thread Ned Deily
Change by Ned Deily : -- nosy: +lukasz.langa versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41702] Inconsistent behaviour in strftime

2020-09-07 Thread Ned Deily
Ned Deily added the comment: The behavior you see with a Python 3.7 is not universal. For example, on macOS: Python 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import

[issue41714] multiprocessing.Queue deadlock

2020-09-07 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41740] Improve error message for string concatenation via `sum`

2020-09-07 Thread Phillip M. Feldman
Phillip M. Feldman added the comment: I'd forgotten about ''.join; this is a good solution. I withdraw my comment. On Mon, Sep 7, 2020 at 3:25 PM Steven D'Aprano wrote: > > Steven D'Aprano added the comment: > > Marco, sum should be as fast as possible, so we don't want to type check >

[issue41740] Improve error message for string concatenation via `sum`

2020-09-07 Thread Marco Paolini
Marco Paolini added the comment: I was thinking to just clarify a bit the error message that results from Py_NumberAdd. This won't make it slower in the "hot" path doing something like (not compile tested, sorry) --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2451,8 +2451,13 @@

[issue41740] Improve error message for string concatenation via `sum`

2020-09-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: Marco, sum should be as fast as possible, so we don't want to type check every single element. But if it is easy enough, it might be worth checking the first element, and if it fails, report: cannot add 'type' to start value where 'type' is the type

[issue41740] Improve error message for string concatenation via `sum`

2020-09-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: As Marco says, the exception message is because the default value for start is 0, and you can't concatenate strings to the integer 0. You get the same error if you try to concatenate lists: py> sum([[], []]) TypeError: unsupported operand type(s)

[issue41741] test_peg_generator timed out (25 min) on x86 Gentoo Non-Debug with X 3.9

2020-09-07 Thread STINNER Victor
New submission from STINNER Victor : On the slow x86 Gentoo Non-Debug with X 3.9 buildbot, test_peg_generator timed out after 25 min, twice. https://buildbot.python.org/all/#/builders/51/builds/24 Either, we increase the buildbot timeouts, test_peg_parser is made faster, or the test is

[issue41740] string concatenation via `sum`

2020-09-07 Thread Marco Paolini
Marco Paolini added the comment: also worth noting, the start argument is type checked instead. Maybe we could apply the same checks to the items of the iterable? python3 -c "print(sum(('a', 'b', 'c'), start='d'))" Traceback (most recent call last): File "", line 1, in TypeError: sum()

[issue41740] string concatenation via `sum`

2020-09-07 Thread Marco Paolini
Marco Paolini added the comment: This happens because the default value for the start argument is zero , hence the first operation is `0 + 'a'` -- nosy: +mpaolini ___ Python tracker

[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Feel free to re-open if i missed something :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Given the status of the 3.9 branch and given that this does not add anything new or fixes any specific bug, I would recommend to not backport this -- ___ Python tracker

[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 207c321f13cea3fee7f378057864e8c6453f5adf by Erlend Egeberg Aasland in branch 'master': bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909) https://github.com/python/cpython/commit/207c321f13cea3fee7f378057864e8c6453f5adf --

[issue41737] Improper NotADirectoryError when opening a file under a fake directory

2020-09-07 Thread Eryk Sun
Eryk Sun added the comment: > if NotADirectoryError should be raised, it should mention '/path/to/file' > rather then '/path/to/file/somename.txt'. POSIX specifies that C open() should set errno to ENOTDIR when an existing path prefix component is neither a directory nor a symlink to a

[issue41734] Refactor b32{encode,decode} tests

2020-09-07 Thread Filipe Laíns
Filipe Laíns added the comment: Yes, it is not needed, but it does provide a fair bit of enhancement. Using subtests makes more clear what failed when something fails. I am a bit confused, in PR 20441 I first just copied the current b32{encode,decode} tests but was given feedback which

[issue41639] Unpickling derived class of list does not call __init__()

2020-09-07 Thread Andy Maier
Andy Maier added the comment: And just to be complete: That did not require implementing __reduce__(). -- ___ Python tracker ___

[issue41740] string concatenation via `sum`

2020-09-07 Thread Phillip M. Feldman
New submission from Phillip M. Feldman : I'm not sure whether this is a bug or a feature request, but it seems as though the following should produce the same result: In [1]: 'a' + 'b' + 'c' Out[1]: 'abc' In [2]: sum(('a', 'b', 'c')) TypeError Traceback (most recent call last) in > 1

[issue41639] Unpickling derived class of list does not call __init__()

2020-09-07 Thread Andy Maier
Andy Maier added the comment: Thanks for the clarification. Just for the record: I have implemented __setstate__() such that it completely restores the state from just the inherited list state. That makes it independent of whether __init__() or __new__() is called: def

[issue33337] Provide a supported Concrete Syntax Tree implementation in the standard library

2020-09-07 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40600] Add option to disallow > 1 instance of an extension module

2020-09-07 Thread mohamed koubaa
mohamed koubaa added the comment: What about a new PyModuleDef_Slot function? ``` static int my_can_create(/*need any arg??, InterpreterState, etc?*/) { if (test_global_condition()) { return -1; //Don't allow creation } return 0; //Allow creation }; static

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

2020-09-07 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +21226 pull_request: https://github.com/python/cpython/pull/22142 ___ Python tracker ___

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

2020-09-07 Thread Irit Katriel
Irit Katriel added the comment: I just pushed a second PR with the alternative solution - it calculates the name on a best-effort basis, and doesn't import anything that's not already there. -- ___ Python tracker

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

2020-09-07 Thread Irit Katriel
Irit Katriel added the comment: As the PR currently is, it will, unless you turn this off by setting logging.logMultiprocessing=False. The other alternative we are discussing is: revert back to not importing multiprocessing if it's not there. If it's there we use it, but if it's not we set

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-07 Thread Skip Montanaro
Skip Montanaro added the comment: This skips the breaking tests (but doesn't actually fix anything). -- keywords: +patch versions: +Python 3.10 -Python 3.8 Added file: https://bugs.python.org/file49450/test_ssl_ubuntu.diff ___ Python tracker

[issue39610] memoryview.__len__ should raise an exception for 0d buffers

2020-09-07 Thread Stefan Krah
Stefan Krah added the comment: list() has to *interpret* the endianness to display it. The endianness of the *native* format does not matter. The endianness of an explicit format matters, since list has to be able to convert non-native formats. I suggest to look at XND, which is a memoryview

[issue39610] memoryview.__len__ should raise an exception for 0d buffers

2020-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is surprising the endianess of byte matters. -- ___ Python tracker ___ ___ Python-bugs-list

[issue39610] memoryview.__len__ should raise an exception for 0d buffers

2020-09-07 Thread Stefan Krah
Stefan Krah added the comment: memoryview can store anything, but only access and display the native format. The reason is that conversions in the manner of the struct module are very expensive. You can construct all sorts of formats that memoryview cannot handle: >>> x = array(1, "c") >>> x

[issue38762] Logging displays wrong "processName" if "sys.modules" is cleared in child process

2020-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: So this will make logging depending on the multiprocess module? Even if you do not use multiprocessing it will be imported in any case when you use logging. -- nosy: +serhiy.storchaka ___ Python tracker

[issue41734] Refactor b32{encode,decode} tests

2020-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this change is not needed. The current code is shorter and works pretty well. -- nosy: +serhiy.storchaka resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.7 ___ Python tracker ___

[issue41316] tarfile: Do not write full path in FNAME field

2020-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +21225 pull_request: https://github.com/python/cpython/pull/22141 ___ Python tracker ___

[issue41316] tarfile: Do not write full path in FNAME field

2020-09-07 Thread miss-islington
miss-islington added the comment: New changeset 22748a83d927d3da1beaed771be30887c42b2500 by Artem Bulgakov in branch 'master': bpo-41316: Make tarfile follow specs for FNAME (GH-21511) https://github.com/python/cpython/commit/22748a83d927d3da1beaed771be30887c42b2500 -- nosy:

[issue41316] tarfile: Do not write full path in FNAME field

2020-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +21224 pull_request: https://github.com/python/cpython/pull/22140 ___ Python tracker ___

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21223 pull_request: https://github.com/python/cpython/pull/22139 ___ Python tracker ___

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-07 Thread miss-islington
miss-islington added the comment: New changeset 1671b0e4e00061f23b6677e37e27a4ed44998329 by Miss Islington (bot) in branch '3.9': bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) https://github.com/python/cpython/commit/1671b0e4e00061f23b6677e37e27a4ed44998329

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-07 Thread miss-islington
miss-islington added the comment: New changeset ebef6c0b50d94ca7daef6fdb38d043e0183ab7d1 by Miss Islington (bot) in branch '3.8': bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) https://github.com/python/cpython/commit/ebef6c0b50d94ca7daef6fdb38d043e0183ab7d1

[issue39610] memoryview.__len__ should raise an exception for 0d buffers

2020-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But iterating it raises different type of exception, wish obscure message. >>> import ctypes >>> mem_0d = memoryview(ctypes.c_uint8(42)) >>> list(mem_0d) Traceback (most recent call last): File "", line 1, in NotImplementedError: memoryview: unsupported

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fd4cafd4700dc03cb05fc2e5263c2666d785d6e3 by Serhiy Storchaka in branch 'master': bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) https://github.com/python/cpython/commit/fd4cafd4700dc03cb05fc2e5263c2666d785d6e3

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +21222 pull_request: https://github.com/python/cpython/pull/22138 ___ Python tracker ___

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21221 pull_request: https://github.com/python/cpython/pull/22137 ___ Python tracker

[issue41739] test_logging: threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)

2020-09-07 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41739] test_logging: threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Same isuse on s390x RHEL7 LTO + PGO 3.x: https://buildbot.python.org/all/#/builders/244/builds/45 Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2) Warning -- Dangling thread: <_MainThread(MainThread, started 4396860012288)>

[issue41739] test_logging: threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2)

2020-09-07 Thread STINNER Victor
New submission from STINNER Victor : s390x RHEL8 LTO + PGO 3.x: https://buildbot.python.org/all/#/builders/442/builds/399 0:01:43 load avg: 4.23 [229/423/1] test_logging failed (env changed) -- running: test_concurrent_futures (48.1 sec) Warning -- threading_cleanup() failed to cleanup 1

[issue41738] MIME type for *.zip becomes application/x-zip-compressed on Windows

2020-09-07 Thread Danny Lin
New submission from Danny Lin : On Windows, command "python -m mimetypes foo.zip" outputs "type: application/x-zip-compressed encoding: None", while it's "type: application/zip encoding: None" on Linux. According to the mimetype.py in CPython source code, the MIME type for '.zip' is

[issue41111] Convert a few stdlib extensions to the limited C API

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: > See also bpo-40077: "Convert static types to PyType_FromSpec()". In bpo-1635741, many extension modules have been ported to the multi-phase initilization API (PEP 489), and many static types have been converted to heap types. --

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- nosy: +koubaa nosy_count: 7.0 -> 8.0 pull_requests: +21219 pull_request: https://github.com/python/cpython/pull/21986 ___ Python tracker ___

[issue33802] Regression in logging configuration

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- nosy: +koubaa nosy_count: 7.0 -> 8.0 pull_requests: +21220 pull_request: https://github.com/python/cpython/pull/21986 ___ Python tracker ___

[issue6721] Locks in the standard library should be sanitized on fork

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- nosy: +koubaa nosy_count: 27.0 -> 28.0 pull_requests: +21218 pull_request: https://github.com/python/cpython/pull/21986 ___ Python tracker ___

[issue41111] Convert a few stdlib extensions to the limited C API

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Some related changes in modules: posix, _hashopenssl, _ast (Python-ast.c), zlib, _struct, tkinter, _curses_panel. commit b3966639d28313809774ca3859a347b9007be8d2 Author: Eddie Elizondo Date: Tue Nov 5 07:16:14 2019 -0800 bpo-35381 Remove all static

[issue41737] Improper NotADirectoryError when opening a file under a fake directory

2020-09-07 Thread Danny Lin
New submission from Danny Lin : On Linux (tested on Ubuntu 16.04), if "/path/to/file" is an existing file, the code: open('/path/to/file/somename.txt') raises NotADirectoryError: [Errno 20] Not a directory: '/path/to/file/somename.txt' On Windows, similar code:

[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch

2020-09-07 Thread Skip Montanaro
Skip Montanaro added the comment: Has any progress been made on the Ubuntu 20.04 test_ssl failures? Is there any consensus about it being a Python or Ubuntu problem? -- nosy: +skip.montanaro ___ Python tracker

[issue41473] test_gdb fails on AMD64 Fedora Rawhide 3.x [gdb 9.2 bug]

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: https://bugzilla.redhat.com/show_bug.cgi?id=1866884 "AArch64: sometimes, gdb fails to load symbols of a dynamic library with a pending breakpoint": gdb bug has been confirmed. -- title: test_gdb fails on AMD64 Fedora Rawhide 3.x -> test_gdb fails on

[issue41477] test_genericalias fails if ctypes is missing

2020-09-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: It should now be fixed. Thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 84105cbaa395923e3584a87d67ccce72c8420bb4 by Victor Stinner in branch '3.8': bpo-41401: Fix test_fspath_support in test_io. (GH-21640) (GH-22133) (GH-22135) https://github.com/python/cpython/commit/84105cbaa395923e3584a87d67ccce72c8420bb4

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1baf030a902392fe92d934ed0fb6a385cf7d8869 by Mohamed Koubaa in branch 'master': bpo-1635741 port _curses_panel to multi-phase init (PEP 489) (GH-21986) https://github.com/python/cpython/commit/1baf030a902392fe92d934ed0fb6a385cf7d8869

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21217 pull_request: https://github.com/python/cpython/pull/22135 ___ Python tracker ___

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset c73ee5acc96b4bbd6885156883b224b8cc3e470c by Victor Stinner in branch '3.9': bpo-41401: Fix test_fspath_support in test_io. (GH-21640) (GH-22133) https://github.com/python/cpython/commit/c73ee5acc96b4bbd6885156883b224b8cc3e470c --

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21216 pull_request: https://github.com/python/cpython/pull/22134 ___ Python tracker ___

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: See also: * bpo-40600: "Add an option to disallow creating more than one instance of a module". * bpo-40288: [subinterpreters] atexit module should not be loaded more than once per interpreter -- ___ Python

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: > Automatic backport does not work due to changes in the test.support module. > Victor, do you mind to backport PR 21640 to 3.9 and 3.8? Why don't you want to do backport yourself? It's a trivial change, it only changes a single line. Anyway, I created PR

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-09-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 3.0 -> 4.0 pull_requests: +21215 pull_request: https://github.com/python/cpython/pull/22133 ___ Python tracker ___

[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-09-07 Thread STINNER Victor
New submission from STINNER Victor : It's not the first time that I see this error, but it looks random: * 2009-11-08: bpo-7283: "test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet": x86-64 Ubuntu 14.04 ICC Debug 3.5, AppVeyor (Windows) * 2017-11-20: bpo-32091:

[issue12806] argparse: Hybrid help text formatter

2020-09-07 Thread David Steele
David Steele added the comment: I've submitted FlexiHelpFormatter as PR22129. This adds the FlexiHelpFormatter class to argparse. It supports wrapping text, while preserving paragraphs. Bullet lists are supported. There are a number of differences, relative to the latest patch in the issue

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: I closed the following issues as duplicates of this issue: * bpo-15686: "PEP 3121, 384 Refactoring applied to md5 module" * bpo-15733: "PEP 3121, 384 Refactoring applied to winapi module" * bpo-15680: "PEP 3121 refactoring applied to audioop module" *

[issue15662] PEP 3121 refactoring applied to locale module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: commit a158168a787e82c4b7b18f6833153188e93627a5 Author: Hai Shi Date: Thu Mar 12 00:46:06 2020 +0800 bpo-1635741: Port _locale extension module to multiphase initialization (PEP 489) (GH-18358) Co-authored-by: Petr Viktorin

[issue15684] PEP 3121 refactoring applied to fpetest module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Module removed in Python 3.7: bpo-29137. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fix fpectl-induced ABI breakage ___ Python tracker

[issue15682] PEP 3121 refactoring applied to fpectl module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Module removed in Python 3.7: bpo-29137. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fix fpectl-induced ABI breakage ___ Python tracker

[issue15681] PEP 3121 refactoring applied to binascii module

2020-09-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> duplicate ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15681] PEP 3121 refactoring applied to binascii module

2020-09-07 Thread STINNER Victor
Change by STINNER Victor : -- superseder: Port the standard library to PEP 489 multiphase initialization -> Py_Finalize() doesn't clear all Python objects at exit ___ Python tracker

[issue31862] Port the standard library to PEP 489 multiphase initialization

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: I prefer to track the work in a single issue. Even if bpo-1635741 contains many unrelated changes, I prefer to continue to use bpo-1635741 to track the work on "porting the standard library to PEP 489 multiphase initialization". -- resolution: ->

[issue41735] Thread locks in zlib module may go wrong in rare case

2020-09-07 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +21213 pull_request: https://github.com/python/cpython/pull/22132 ___ Python tracker ___ ___

[issue31862] Port the standard library to PEP 489 multiphase initialization

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-15681 "PEP 3121 refactoring applied to binascii module" as a duplicate of this issue. -- nosy: +vstinner ___ Python tracker

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21212 pull_request: https://github.com/python/cpython/pull/22131 ___ Python tracker ___

[issue15681] PEP 3121 refactoring applied to binascii module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: commit 33e71e01e95506cf8d93fd68251fc56352bc7b39 Author: Marcel Plch Date: Wed May 22 13:51:26 2019 +0200 bpo-31862: Port binascii to PEP 489 multiphase initialization (GH-4108) -- nosy: +vstinner resolution: -> fixed stage: ->

[issue31862] Port the standard library to PEP 489 multiphase initialization

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-1635741 "Py_Finalize() doesn't clear all Python objects at exit": many extension modules have been ported to multi-phase initialization API (PEP 489) there. -- ___ Python tracker

[issue15704] PEP 3121, 384 Refactoring applied to sha1 module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: New changeset 63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) https://github.com/python/cpython/commit/63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2

[issue15706] PEP 3121, 384 Refactoring applied to sha512 module

2020-09-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Py_Finalize() doesn't clear all Python objects at exit ___ Python tracker

[issue15706] PEP 3121, 384 Refactoring applied to sha512 module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: New changeset 63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) https://github.com/python/cpython/commit/63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2

[issue15680] PEP 3121 refactoring applied to audioop module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: commit 41fbf865a35d4fb64f047f98dc24690cb0c170fd Author: Hai Shi Date: Thu Mar 12 00:49:11 2020 +0800 bpo-1635741: Port audioop extension module to multiphase initialization (PEP 489) (GH-18608) Co-authored-by: Victor Stinner

[issue41735] Thread locks in zlib module may go wrong in rare case

2020-09-07 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +21211 pull_request: https://github.com/python/cpython/pull/22130 ___ Python tracker ___ ___

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: commit 2aabc3200bf03d2ec1aa987e1e20db704948111e (HEAD -> master, upstream/master) Author: Mohamed Koubaa Date: Mon Sep 7 08:12:40 2020 -0500 bpo-1635741: Port _overlapped module to multi-phase init (GH-22051) Port the _overlapped

[issue15686] PEP 3121, 384 Refactoring applied to md5 module

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed by: New changeset 63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) https://github.com/python/cpython/commit/63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2

[issue12806] argparse: Hybrid help text formatter

2020-09-07 Thread David Steele
Change by David Steele : -- keywords: +patch pull_requests: +21210 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22129 ___ Python tracker ___

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2aabc3200bf03d2ec1aa987e1e20db704948111e by Mohamed Koubaa in branch 'master': bpo-1635741: Port _overlapped module to multi-phase init (GH-22051) https://github.com/python/cpython/commit/2aabc3200bf03d2ec1aa987e1e20db704948111e --

[issue40562] SEO: differentiate between Python 2 and Python 3 docs on Google SERP

2020-09-07 Thread Julien Palard
Julien Palard added the comment: Hi Simon, thanks for reporting! This looks like a Google issue, not a Python documentation issue: Google tries to deduce something better than the URL to display to the user, and fails, please open the issue on the Google bug tracker instead. (As a side

[issue40562] SEO: differentiate between Python 2 and Python 3 docs on Google SERP

2020-09-07 Thread GR3 WEB - CRIAÇÃO DE SITE
GR3 WEB - CRIAÇÃO DE SITE added the comment: This problem on my website too. https://gr3web.com.br it seems that there is an SEO bug against the Python documentation - Google is truncating part of the title that informs if the documents are for Python 2 or Python 3 -- nosy: +gr3web

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 426f2b4f13f392875e7861dbd7f34735731eff17 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _opcode module to multi-phase init (PEP 489) (GH-22050) https://github.com/python/cpython/commit/426f2b4f13f392875e7861dbd7f34735731eff17

[issue35520] Python won't build with dtrace enabled on some systems.

2020-09-07 Thread Jakub Kulik
Jakub Kulik added the comment: No more non-security related backports to 3.7 allowed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

  1   2   >