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

[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

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

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

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

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

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

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

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

[issue41729] test_winconsoleio fails and hangs on Windows

2020-09-07 Thread Eryk Sun
Eryk Sun added the comment: > Is this line needed with a repeat of 1, or should it be removed? It's not documented what it means to write a key event with wRepeatCount set to 0. It happens to work, but I'd leave it set to 1, which means the key was pressed once. Ideally, there should also b

[issue41651] Pip: Wrong Showing of Progressbar when Downloading Modules

2020-09-07 Thread Alex
Alex <2423067...@qq.com> added the comment: @cryvate: Okay, and the new issue is crated at . -- ___ Python tracker ___ ___

<    1   2