[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread Ned Deily
New submission from Ned Deily : For 3.9.0, test_site fails with an env changed warning: Warning -- urllib.requests._opener was modified by test_site Before: None After: test_site failed (env changed) == Tests result: SUCCESS == 1 test altered the execution environment: test_site Th

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2020-10-05 Thread Mark Dickinson
Mark Dickinson added the comment: > When a concrete class registers with an ABC, it is making a promise that it > implements everything in the ABC. Ah, interesting. I would have assumed that it's only making a promise that it registers all the methods and properties marked *abstract* in the

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: It's a minor issue in the test itself, not in urllib. Such bug should not block a release. -- ___ Python tracker ___ ___

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +21554 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22559 ___ Python tracker ___ _

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: I proposed PR 22559 to fix the issue. See also bpo-37475: "What is urllib.request.urlcleanup() function?". -- ___ Python tracker ___ ___

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2020-10-05 Thread Mark Dickinson
Mark Dickinson added the comment: Ok, so we need to either (a) revert PR 6121 and then re-do the changes, without the changes to numbers.py, or (b) make a second PR to undo the numbers.py changes. I think there's (calendar) time available for option (b), but I'm not going to have bandwidth t

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21555 pull_request: https://github.com/python/cpython/pull/22560 ___ Python tracker _

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +21556 pull_request: https://github.com/python/cpython/pull/22561 ___ Python tracker ___ __

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-05 Thread miss-islington
miss-islington added the comment: New changeset 9a7642667a71a27b38b96eb63df45f17f48b3467 by Erlend Egeberg Aasland in branch 'master': bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959) https://github.com/python/cpython/commit/9a7642667a71a27b38b96eb63df45f17f48b3467

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-05 Thread miss-islington
miss-islington added the comment: New changeset a859680a5bef0bced197454f4b67080694979252 by Miss Skeleton (bot) in branch '3.8': bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959) https://github.com/python/cpython/commit/a859680a5bef0bced197454f4b67080694979252 -- __

[issue41936] Remove macros Py_ALLOW_RECURSION/Py_END_ALLOW_RECURSION

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: I failed to find users of these macros outside the CPython code base, so it sounds safe to remove it, especially if it's documented in What's New in Python 3.10. If someone reports the removal as a regression and describes a legit use case, we can reconside

[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:

2020-10-05 Thread STINNER Victor
New submission from STINNER Victor : Why do downloaded files start with https://buildbot.python.org/all/#/builders/345/builds/132 5 tests failed: test_codecmaps_cn test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_hashlib I'm not sure if all failures are download issues. Exa

[issue41941] Py_Initialize affects the console

2020-10-05 Thread twoone3
New submission from twoone3 <3197653...@qq.com>: When I set Py_LegacyWindowsStdioFlag to 0, after Py_Initialize, the console will forcibly change what encoding is displayed. At this time, my standard stream output is utf-8, py's print is utf-8, chcp 65001 is useless, and still garbled. When

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2020-10-05 Thread Mark Dickinson
Mark Dickinson added the comment: [Guido] > Possibly at some point in the future we can switch to using typing.Protocol > [...] Yes, I think there's an interesting wider problem here, that typing.Protocol might be the answer to. For numbers and collections.abc in the std. lib., I'm happy t

[issue41557] Upgrade Windows and macOS builds to use SQLite 3.33

2020-10-05 Thread Ned Deily
Ned Deily added the comment: New changeset b6d37e15cfa32e04f750d78a03a68ec5bef00a59 by Miss Skeleton (bot) in branch '3.9': bpo-41557: Update macOS installer to use SQLite 3.33.0 (GH-21959) (GH-22560) https://github.com/python/cpython/commit/b6d37e15cfa32e04f750d78a03a68ec5bef00a59

[issue25292] [asyncio] ssl socket gets into broken state when client exits during handshake

2020-10-05 Thread STINNER Victor
Change by STINNER Victor : -- title: ssl socket gets into broken state when client exits during handshake -> [asyncio] ssl socket gets into broken state when client exits during handshake ___ Python tracker

[issue30578] Misleading example in sys.set_coroutine_wrapper docs

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: Right, I close the issue. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: Can this issue be closed? Are we waiting for manual checks? Or is there any remaining thing to do? -- ___ Python tracker ___ ___

[issue25292] [asyncio] ssl socket gets into broken state when client exits during handshake

2020-10-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:

2020-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is also not safe to pass data downloaded from untrusted source to eval(). -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue41936] Remove macros Py_ALLOW_RECURSION/Py_END_ALLOW_RECURSION

2020-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e by Serhiy Storchaka in branch 'master': bpo-41936. Remove macros Py_ALLOW_RECURSION/Py_END_ALLOW_RECURSION (GH-22552) https://github.com/python/cpython/commit/dcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e

[issue41936] Remove macros Py_ALLOW_RECURSION/Py_END_ALLOW_RECURSION

2020-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41941] Py_Initialize affects the console

2020-10-05 Thread Eryk Sun
Eryk Sun added the comment: Python supports Unicode in a Windows console session by using the console API's wide-character functions (i.e. ReadConsoleW and WriteConsoleW) with UTF-16 encoded text. This is implemented in the io stack via io._WindowsConsoleIO, and for PyOS_Readline (e.g. built

[issue41921] REDoS in parseentities

2020-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Without evaluating the validity of the regex vulnerability, is important to note that the files in Tools/scripts are not part of the standard library and therefore they aren't a valid stack vector. -- nosy: +pablogsal

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yeah, there is some code in PR 21748 that should be merged (the new test). -- ___ Python tracker ___ _

[issue41941] Py_Initialize affects the console

2020-10-05 Thread Eryk Sun
Change by Eryk Sun : -- components: +IO, Unicode, Windows nosy: +ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware ___ Python tracker ___ _

[issue41941] Py_Initialize affects the console

2020-10-05 Thread twoone3
twoone3 <3197653...@qq.com> added the comment: So how does this explain -- Added file: https://bugs.python.org/file49495/Screenshots.zip ___ Python tracker ___

[issue41942] Add if condition for 'for loop'

2020-10-05 Thread chienpingtsung
New submission from chienpingtsung : 'for loop' always been used as follow code: arr = [...] for e in arr: if not condition(e): continue ... What if be written just like 'list expression', would it be more explicit? for e in arr if condition(e): pass -- components

[issue41941] Py_Initialize affects the console

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: I suggest you to use https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.PyConfig_InitIsolatedConfig API instead of the legacy Py_Initialize() API. -- ___ Python tracker

[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:

2020-10-05 Thread Florian Bruhin
Florian Bruhin added the comment: > It is also not safe to pass data downloaded from untrusted source to eval(). To make matters worse, it's downloaded via HTTP (rather than HTTPS) - so anyone who can mess with the network of a machine running the Python testsuite can run arbitrary code on t

[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: > It is also not safe to pass data downloaded from untrusted source to eval(). Would you mind to open a separated issue for that? Does someone want to propose a change to avoid eval() in the tests? -- ___ Python t

[issue28343] Bad encoding alias cp936 -> gbk: euro sign

2020-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue40066] Enum._convert should change __repr__ and/or __str__ to use module name instead of class name

2020-10-05 Thread Ethan Furman
Ethan Furman added the comment: Python-Dev thread [0], summary below: > As you may have noticed, Enums are starting to pop up all > over the stdlib [1]. > > To facilitate transforming existing module constants to > IntEnums there is `IntEnum._convert_`. In Issue36548 [2] > Serhiy modified the

[issue41942] Add if condition for 'for loop'

2020-10-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: This is a language change that has been discussed on the python-ideas list a number of times. In my opinion adding this would not necessarily be an improvement, especially when names and expressions get longer. You'd also not win a lot compared to your ini

[issue41941] Py_Initialize affects the console

2020-10-05 Thread twoone3
twoone3 <3197653...@qq.com> added the comment: This problem has bothered me for a month, thank you for helping me solve this problem, you can close it -- ___ Python tracker __

[issue41942] Add if condition for 'for loop'

2020-10-05 Thread chienpingtsung
chienpingtsung added the comment: Got it, thanks for your reply~ -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41941] Py_Initialize affects the console

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: > This problem has bothered me for a month, thank you for helping me solve this > problem, you can close it I close the issue, but I'm not sure how you fixed it. Don't hesitate commenting to explain how you solved it ;-) -- resolution: -> not a bug

[issue41941] Py_Initialize affects the console

2020-10-05 Thread Eryk Sun
Eryk Sun added the comment: Having looked at the screenshots, it seems that your issue is in part due to non-legacy mode not setting the standard I/O files to binary mode (_O_BINARY) from their default ANSI text mode (_O_TEXT). This is not a problem on its own. The real issue is that you're

[issue41917] Python 3.9rc2 fails to install matplotlib

2020-10-05 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: This probably isn't an issue with CPython 3.9.0 itself, but rather third-party libraries needing to add 3.9 support and provide wheels, and they may be waiting for 3.9.0 to be officially released (due out today!). Here's a PR to add Python 3.9 support to

[issue28343] Bad encoding alias cp936 -> gbk: euro sign

2020-10-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41941] Py_Initialize affects the console

2020-10-05 Thread twoone3
twoone3 <3197653...@qq.com> added the comment: I used the link you gave me https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.PyConfig_InitIsolatedConfig Click to open and turn up to see the box, I follow that box The example inside is done, and the coding problem of the console i

[issue41941] Py_Initialize affects the console

2020-10-05 Thread STINNER Victor
STINNER Victor added the comment: PyConfig_InitIsolatedConfig() reduces side effects on the process. For example, it doesn't set the LC_CTYPE locale and it doesn't change the standard streams (stdio). config_init_stdio() is not called in an isolated configuration: https://github.com/python/

[issue41941] Py_Initialize affects the console

2020-10-05 Thread twoone3
twoone3 <3197653...@qq.com> added the comment: That's it -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue41941] Py_Initialize affects the console

2020-10-05 Thread Eryk Sun
Eryk Sun added the comment: > config_init_stdio() is not called in an isolated configuration: config_init_stdio wasn't being called anyway since Py_Initialize uses _PyConfig_InitCompatConfig. The issue was primarily due to the LC_CTYPE locale being set to the default user locale, as I discus

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21557 pull_request: https://github.com/python/cpython/pull/22562 ___ Python tracker ___ __

[issue41898] Any logging causes assertLogs to pass

2020-10-05 Thread Irit Katriel
Irit Katriel added the comment: Please reopen this issue. I understand after a discussion on stackoverflow what the problem is, and there is indeed a bug. I will create a PR with a unit test for it an a fix. -- ___ Python tracker

[issue38893] broken container/selinux integration

2020-10-05 Thread Enrico Scholz
Enrico Scholz added the comment: IMO the SELinux security attributes must not be copied (except when requested explicitly). Doing so will create badly labeled systems else. It would be better to use default transition rules and call optionally selinux_restorecon() then. E.g. when copying

[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:

2020-10-05 Thread Chris Angelico
Chris Angelico added the comment: Has this been ongoing, or is it something that started in the past day and a half? I've had intermittent internet issues (and expect them to continue for another half day or thereabouts), so it's possible that this is actually a symptom of that. If that's th

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 060937da988347a887a5f165b023d972fcb97802 by Terry Jan Reedy in branch 'master': bpo-41774: Tweak new programming FAQ entry (GH-22562) https://github.com/python/cpython/commit/060937da988347a887a5f165b023d972fcb97802 -- ___

[issue41894] UnicodeDecodeError during load failure in non-UTF-8 locale

2020-10-05 Thread Inada Naoki
Inada Naoki added the comment: I succeeded to reproduce it on Ubuntu 20.04. $ sudo vi /var/lib/locales/supported.d/ja # add "ja_JP.EUC-JP EUC-JP" $ sudo locale-gen ja_JP.EUC-JP Generating locales (this might take a while)... ja_JP.EUC-JP... done Generation complete. $ c

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +21558 pull_request: https://github.com/python/cpython/pull/22563 ___ Python tracker ___ __

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +21559 pull_request: https://github.com/python/cpython/pull/22564 ___ Python tracker ___ __

[issue41898] Any logging causes assertLogs to pass

2020-10-05 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +21560 pull_request: https://github.com/python/cpython/pull/22565 ___ Python tracker ___

[issue41944] Python testsuite calls eval() on content received via HTTP

2020-10-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : As was reported by Florian Bruhin, Python testsuite calls eval() on content received via HTTP (in Lib/test/multibytecodec_support.py). -- components: Tests messages: 378036 nosy: The Compiler, serhiy.storchaka, vstinner priority: normal severity:

[issue41943] unittest.assertLogs passes unexpectedly

2020-10-05 Thread mrbean-bremen
New submission from mrbean-bremen : Related to https://bugs.python.org/issue41898, creating a new issue after the discussion with Irit Katriel on StackOverflow (https://stackoverflow.com/a/64142338/12480730). Consider the following: import logging import unittest logger = logging.getLogger(

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread miss-islington
miss-islington added the comment: New changeset 7e941fa8e0454c7814ce3ec646136758c0db5a25 by Miss Skeleton (bot) in branch '3.8': bpo-41774: Tweak new programming FAQ entry (GH-22562) https://github.com/python/cpython/commit/7e941fa8e0454c7814ce3ec646136758c0db5a25 -- __

[issue41944] Python testsuite calls eval() on content received via HTTP

2020-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +21561 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22566 ___ Python tracker ___

[issue41943] unittest.assertLogs passes unexpectedly

2020-10-05 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 1.0 -> 2.0 pull_requests: +21562 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22565 ___ Python tracker _

[issue41774] While removing element from list using for and remove(), which has same items output is not right

2020-10-05 Thread miss-islington
miss-islington added the comment: New changeset 75dd70e1ce0b5ce50c572802c17b7fa427d9ce23 by Miss Skeleton (bot) in branch '3.9': bpo-41774: Tweak new programming FAQ entry (GH-22562) https://github.com/python/cpython/commit/75dd70e1ce0b5ce50c572802c17b7fa427d9ce23 -- __

[issue41898] Any logging causes assertLogs to pass

2020-10-05 Thread Irit Katriel
Irit Katriel added the comment: Strike that - Troy has created the new issue 41943 so this one can remain closed. -- ___ Python tracker ___ __

[issue41805] types.GenericAlias and types.Union have no documentation

2020-10-05 Thread Ken Jin
Ken Jin added the comment: Hi Patrick, I've completed the docs for PEP 604, and would like to work on the docs for PEP 585. May I know if you're still working on this? -- nosy: +kj ___ Python tracker __

[issue41774] Add programming FAQ entry: remove multiple entries from list

2020-10-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: While removing element from list using for and remove(), which has same items output is not right -> Add programming FAQ entry: remove multiple entries from list type: beh

[issue41945] http.cookies.SimpleCookie.parse error after [keys]

2020-10-05 Thread Jan Novak
New submission from Jan Novak : If brackets [] are around cookie name, next cookie names are not loaded. try: import http.cookies as Cookie except ImportError: import Cookie c = Cookie.SimpleCookie() c.load('id=12345; [object Object]=data; something=not loaded') print(c) Note: It could cau

[issue41943] unittest.assertLogs passes unexpectedly

2020-10-05 Thread Vinay Sajip
Change by Vinay Sajip : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue41917] Python 3.9rc2 fails to install matplotlib

2020-10-05 Thread ullix
ullix added the comment: I guess so. Just didn't know how else to bring this to someone's attention, thanks. But not having matplotlib? Ohmygod! -- ___ Python tracker ___ __

[issue41946] Add concrete examples to os.path documentation

2020-10-05 Thread Stargirl Flowers
New submission from Stargirl Flowers : Presently the documentation for os.path (https://docs.python.org/3.8/library/os.path.html) doesn't contain any concrete examples of the input and outputs of the various path manipulation functions. Contrast this to the Node.js documentation for similar f

[issue41602] Python doesn't exit with proper resultcode on SIGINT in runpy (pymain_run_module)

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c26a666e6751a9fad766ef83432b893f9b15ecaf by Łukasz Langa in branch '3.9': [3.9] bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (GH-21956) (#22397) https://github.com/python/cpython/commit/c26a666e6751a9fad766ef83432b

[issue41802] Missing documentation for 'PyDict_DelItem' behavior

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 95de3627f1527cbb1e98d64dd7cc6463c297b616 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41802: Document 'PyDict_DelItem' can raise a 'KeyError' (GH-22291) https://github.com/python/cpython/commit/95de3627f1527cbb1e98d64dd7cc6463c297b61

[issue41819] Fix some compiler warnings

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c549527ae2cc4b5934dbe80fea127fb04ff65af5 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41819: Fix compiler warning in init_dump_ascii_wstr() (GH-22332) https://github.com/python/cpython/commit/c549527ae2cc4b5934dbe80fea127fb04ff65af5

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 168a8383c8358eea1b34df0e832f5d652faa6444 by Łukasz Langa (Pablo Galindo) in branch '3.9': [3.9] bpo-41490: Bump vendored pip to version 20.2.3 (GH-22527). (GH-22544) https://github.com/python/cpython/commit/168a8383c8358eea1b34df0e832f5d652faa6444

[issue37328] remove deprecated HTMLParser.unescape

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8dd430265ccd4d34b74c841d6bcc8f58aa93ad94 by Łukasz Langa (Terry Jan Reedy) in branch '3.9': [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288) https://github.com/python/cpython/commit/8dd430265ccd4d34b74c841d6bcc8f58aa93

[issue35293] make doctest (Sphinx) emits a lot of warnings

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f8b3c64958753abce7badbff3525863577fe2e04 by Łukasz Langa (Victor Stinner) in branch '3.9': bpo-35293: Travis CI uses "make venv" for the doc (GH-22307) (GH-22309) https://github.com/python/cpython/commit/f8b3c64958753abce7badbff3525863577fe2e04 -

[issue41875] __builtin_unreachable error in gcc 4.4.5

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset df71b65a882cc9ddf9cd45ae9f83a04ec441af1e by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41875: Use __builtin_unreachable when possible (GH-22433) https://github.com/python/cpython/commit/df71b65a882cc9ddf9cd45ae9f83a04ec441af1e -

[issue40833] Clarify docstring of Path.rename

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5533c4952cd6c44c63274874be7de06495b914ea by Łukasz Langa (Miss Skeleton (bot)) in branch '3.9': [3.9] bpo-40833: Clarify Path.rename doc-string regarding relative paths (GH-20554) https://github.com/python/cpython/commit/5533c4952cd6c44c63274874be

[issue41815] SQLite: segfault if backup called on closed database

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bd55c46895d2fcfadda46701d3c34d78441a7806 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41815: SQLite: segfault if backup called on closed database (GH-22322) https://github.com/python/cpython/commit/bd55c46895d2fcfadda46701d3c34d78441

[issue41858] Fix incomplete line on optparse documentation

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a5750cf43466f5913cdeef774f7c2dcb5943d408 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41858: Clarify line in optparse doc (GH-22407) https://github.com/python/cpython/commit/a5750cf43466f5913cdeef774f7c2dcb5943d408 -- nosy:

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset faaa30392221c7d53d995f65f59f26e86fb84d76 by Łukasz Langa (Miss Skeleton (bot)) in branch '3.9': [3.9] bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418) https://github.com/python/cpython/commit/faaa30392221c7d53d995

[issue41844] IDLE subsection of What's New 3.9

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7e21aab45d78e2593f231a1290fa6e629e50d90c by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41844: Add IDLE section to What's New 3.9 (GN-22382) https://github.com/python/cpython/commit/7e21aab45d78e2593f231a1290fa6e629e50d90c --

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e8165e79f57cb3ca60bf031c417f8fd20c99eaa2 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-37062: Enum: add extended AutoNumber example (GH-22349) (GH-22370) https://github.com/python/cpython/commit/e8165e79f57cb3ca60bf031c417f8fd20c99eaa

[issue41762] Documentation job fails on CIs: duplicate token description of format_spec

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e5cc5fd89cc8855ad644ce4ba5e7de766313e418 by Łukasz Langa (Miss Islington (bot)) in branch '3.9': bpo-41762: Fix usage of productionlist markup in the doc (GH-22281) https://github.com/python/cpython/commit/e5cc5fd89cc8855ad644ce4ba5e7de766313e418

[issue27032] Remove deprecated html.parser.HTMLParser.unescape()

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8dd430265ccd4d34b74c841d6bcc8f58aa93ad94 by Łukasz Langa (Terry Jan Reedy) in branch '3.9': [3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288) https://github.com/python/cpython/commit/8dd430265ccd4d34b74c841d6bcc8f58aa93

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1fce240d6c4b2b2cc17a86e88c65169e15b9feeb by Victor Stinner in branch 'master': bpo-41939: Fix test_site.test_license_exists_at_url() (#22559) https://github.com/python/cpython/commit/1fce240d6c4b2b2cc17a86e88c65169e15b9feeb -- __

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +21563 pull_request: https://github.com/python/cpython/pull/22567 ___ Python tracker _

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2020-10-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I would have assumed that it's only making a promise that it > registers all the methods and properties marked *abstract* in > the ABC. Do you have references to back up the stronger statement? The isn't some weird or incidental promise. It is the funda

[issue38490] statistics: add covariance, Pearson's correlation, and simple linear regression

2020-10-05 Thread Tal Einat
Tal Einat added the comment: Given the discussion here and the state of the attached PR, I intend to merge the PR in several weeks, unless someone has anything else to say. -- nosy: +taleinat ___ Python tracker

[issue41947] Tests When Building Python

2020-10-05 Thread Michael L. Boom
New submission from Michael L. Boom : When building Python it runs 416 tests in sequence. It would be a "lot" faster if these were run in parallel. -- components: Installation messages: 378062 nosy: boom0192 priority: normal severity: normal status: open title: Tests When Building Pyt

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21564 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/22568 ___ Python tracker

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread Brett Cannon
Brett Cannon added the comment: New changeset d02d824e05e2cb86f4df381be18832e76e2c475f by Brett Cannon in branch 'master': bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (#22505) https://github.com/python/cpython/commit/d02d824e05e2cb86f4df381be18832e7

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +21565 pull_request: https://github.com/python/cpython/pull/22569 ___ Python tracker ___ __

[issue41939] 3.9.0 test_site warning: "urllib.requests._opener was modified by test_site"

2020-10-05 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 10b4136bfa5878c058753e1d1bd091e0f7e1ba40 by Miss Skeleton (bot) in branch '3.9': bpo-41939: Fix test_site.test_license_exists_at_url() (GH-22559) (#22567) https://github.com/python/cpython/commit/10b4136bfa5878c058753e1d1bd091e0f7e1ba40 -

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread miss-islington
miss-islington added the comment: New changeset 31ceccb2c77854893f3a754aca04bedd74bedb10 by Miss Skeleton (bot) in branch '3.8': bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (GH-22505) https://github.com/python/cpython/commit/31ceccb2c77854893f3a754a

[issue40430] ast.Slice is no longer a subclass of ast.slice

2020-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Even if make ast.Slice a (virtual) subclass of ast.slice it will not help much, because we cannot do it for ast.Index and ast.ExtSlice. ast.ExtSlice is not replaced with ast.Tuple, and any node type can now be used instead of ast.Index. The code that does

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread miss-islington
miss-islington added the comment: New changeset 4aad1e5770fab72908f922a7876075d3d5a7c0d0 by Miss Skeleton (bot) in branch '3.9': bpo-41584: clarify when the reflected method of a binary arithemtic operator is called (GH-22505) https://github.com/python/cpython/commit/4aad1e5770fab72908f922a7

[issue41947] Tests When Building Python

2020-10-05 Thread Eric V. Smith
Eric V. Smith added the comment: >From the test.regrtest help: -j PROCESSES, --multiprocess PROCESSES run PROCESSES processes at once So, if you want to run 4 processes in parallel: ./python -m test.regrtest -j4 -- nosy: +eric.smith

[issue41933] Wording of s * n in Common Sequence Operations is not optimal

2020-10-05 Thread Chavdar Yotov
Chavdar Yotov added the comment: Looks like a fitting first contribution. Working on a PR now :-) -- nosy: +chavdar ___ Python tracker ___

[issue36207] robotsparser deny all with some rules

2020-10-05 Thread Matthieu hemea
Matthieu hemea added the comment: Hi, Does anyone find the solution ? It would help me for this one : https://www.hemea.com/fr/devis-travaux -- nosy: +matthieuhemea -Jmgray47, Patrick Valibus 410 Gone, amiir.mascud, arnaud, calamina, jeanotlapin

[issue41947] Tests When Building Python

2020-10-05 Thread Michael L. Boom
Michael L. Boom added the comment: When I do the ./configure, make -j 32, and make install it runs 416 tests in sequence. Is there a way to make it run 32 unit tests at a time so it is much quicker? Thanks. -- ___ Python tracker

[issue41947] Tests When Building Python

2020-10-05 Thread Eric V. Smith
Eric V. Smith added the comment: You could try setting EXTRATESTOPTS, although I haven't tried it. This question is probably better asked on python-list or StackOverflow. -- ___ Python tracker _

[issue32192] Provide importlib.util.lazy_import helper function

2020-10-05 Thread Brett Cannon
Brett Cannon added the comment: Yep, I think the example is enough to close this. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-10-05 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

  1   2   >