[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36982] Add support for extended color functions in ncurses 6.1

2020-08-10 Thread Ned Deily
Ned Deily added the comment: > We really need to get this merged since, without it, Python builds fail with > the newer versions of ncurses now in most distributions. That is a bit of an overstatment on my part. What is true is that test_curses fails on 3.9 and 3.8 when run with ncurses

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-10 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The purpose of the _init() function in PurePath is to allow PurePath methods to call the Path subclass override _init() function when initializing a Path object. -- ___ Python tracker

[issue41468] Unrecoverable server exiting

2020-08-10 Thread Albert Francis
Albert Francis added the comment: Got it, thanks! On Mon, 10 Aug 2020, 19:26 Terry J. Reedy, wrote: > > Terry J. Reedy added the comment: > > Test error fixed on issue 41514. > > -- > > ___ > Python tracker >

[issue41197] Async magic methods in contextlib.closing

2020-08-10 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +asvetlov, njs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41197] Async magic methods in contextlib.closing

2020-08-10 Thread Yury Selivanov
Yury Selivanov added the comment: I'm OK with adding this, but the close method should be `aclose()` -- ___ Python tracker ___ ___

[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-10 Thread Thomas Caswell
Thomas Caswell added the comment: bisecting agrees with Matthias: # first bad commit: [c067183605cf84bb1a246635f52827251d0476f8] bpo-40807: Show warnings once from codeop._maybe_compile (GH-20486) -- nosy: +tcaswell ___ Python tracker

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: I agree, Steven. This doesn't seem to be a problem with Python. It's more likely a problem with the user's shell, or some other environment integration problem. If it can be duplicated in 3.8 or later, we can investigate further. --

[issue41517] Able to subclass enum with members by using multiple inheritance

2020-08-10 Thread Steven D'Aprano
Steven D'Aprano added the comment: The documentation says: "Allowing subclassing of enums that define members would lead to a violation of some important invariants of types and instances." but it isn't clear what those invariants are, or why it is more of a problem for enums than any

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Steven D'Aprano
Steven D'Aprano added the comment: Python 3.6 has reached security-fix only stage: https://www.python.org/dev/peps/pep-0494/#schedule-last-bugfix-release so even if this is a bug, it won't be fixed in 3.6. I cannot reproduce this in 3.7, and Eric cannot reproduce in 3.6.9, so I'm closing

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-10 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40807] Codeop: Show warnings once during _maybe_compile

2020-08-10 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: I think that might have introduce https://bugs.python.org/issue41520 where now `warnings.simplefilter('error', SyntaxWarning)` is silently ignored... -- nosy: +mbussonn ___ Python tracker

[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-10 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Potentially due to https://bugs.python.org/issue40807 https://github.com/python/cpython/pull/20486 -- ___ Python tracker ___

[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-10 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: seem to affect 3.8.4 as well. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41520] 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-10 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : assuming $ cat foo.py import warnings from codeop import compile_command warnings.simplefilter('error', SyntaxWarning) res = compile_command('1 is 1\n', symbol='exec') print('Res', res) On 3.8.0...3.8.4 this correctly raises

[issue40275] test.support has way too many imports

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: Update. "import test.support" now imports 37 modules, instead of 171 previously. It's way better! 23:26:20 vstinner@apu$ ./python Python 3.10.0a0 (heads/master:598a951844, Aug 7 2020, 17:24:10) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux Type

[issue40275] test.support has way too many imports

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 490c5426b1b23831d83d0c6b269858fb98450889 by Hai Shi in branch 'master': bpo-40275: Fix failed test cases by using test helpers (GH-21811) https://github.com/python/cpython/commit/490c5426b1b23831d83d0c6b269858fb98450889 --

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

2020-08-10 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20949 pull_request: https://github.com/python/cpython/pull/21818 ___ Python tracker ___

[issue41519] `pkgutil.get_data` causes future imports of children modules to fail.

2020-08-10 Thread Cory Nezin
New submission from Cory Nezin : As demonstrated in this Stack Overflow question (https://stackoverflow.com/questions/59377661/python-pkgutil-get-data-disrupts-future-imports) using `pkgutil.get_data` on a module causes future imports of children modules to fail. I tracked this down to a

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: Also, how are you running this? From the interactive shell (like I show in my previous message), or some other way? -- ___ Python tracker

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Tal Suhareanu
Tal Suhareanu added the comment: Ethan Furman bullseye! thanks for clarifying -- ___ Python tracker ___ ___ Python-bugs-list

[issue38628] Issue with ctypes in AIX

2020-08-10 Thread David Edelsohn
David Edelsohn added the comment: +Eryksun,Vinay The patch to address array passing described in issue #22273 introduced regressions for other targets. The 16 byte struct size is specific to x86 ABI and register passing convention. I appreciate that the 16-32 byte size structure causes

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just read that the release is tomorrow, so no issue about including this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Ethan Furman
Ethan Furman added the comment: The problem is that class B should raise an error as class A already has members. -- ___ Python tracker ___

[issue41515] typing.get_type_hints generates KeyError

2020-08-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +20948 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21816 ___ Python tracker

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Tal Suhareanu
Tal Suhareanu added the comment: sorry, I'll explain. by "when inheriting an implemented enum, we get a runtime error" I refer to this https://docs.python.org/3/library/enum.html#restricted-enum-subclassing You shouldn't be able to subclass an enum, yet I just showed a loophole. my example

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: Here's what I see: Python 3.6.9 (default, Jul 21 2019, 14:33:59) [GCC 7.4.0] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> stack = ['(', '(', '[', ']', ')'] >>> for i in stack: ... print(i) ... ( ( [ ] ) That looks

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: With Python 3.7.4, which is all I have handy, that code does not give a runtime error. It prints "B.b". Your text says code "when creating a multiple inheritance like the following, it works". It sounds like you know the code sample works. So I don't

[issue36700] base64 has old references that should be updated

2020-08-10 Thread Paul Ganssle
Paul Ganssle added the comment: Now that issue #16995 is resolved, I think we can move forward with updating the text. -- nosy: +p-ganssle ___ Python tracker ___

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Tal Suhareanu
Tal Suhareanu added the comment: Eric V. Smith it's in the first comment -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16995] Add Base32 support for RFC4648 "Extended Hex" alphabet (patch attached)

2020-08-10 Thread Paul Ganssle
Paul Ganssle added the comment: Thanks Filipe! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker

[issue16995] Add Base32 support for RFC4648 "Extended Hex" alphabet (patch attached)

2020-08-10 Thread Filipe Laíns
Filipe Laíns added the comment: Paul, the PR is now merged :). Can you close the bug? -- nosy: +p-ganssle ___ Python tracker ___

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Ramesh Sahoo
New submission from Ramesh Sahoo : With for loop, I am able to print all elements in the list 'a' a = ['a','a','b','b','c'] for i in a: print(i) O/P: a a b b c but with the following loop, python only prints 3 uniq elements instead of 5. stack = ['(', '(', '[', ']', ')'] for i in

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Eric V. Smith
Eric V. Smith added the comment: Could you provide code which demonstrates the problem? -- nosy: +eric.smith ___ Python tracker ___

[issue15751] [subinterpreters] Make the PyGILState API compatible with subinterpreters

2020-08-10 Thread Sebastian Berg
Sebastian Berg added the comment: In NumPy ufuncs and datatype casting (iteration) we have the following setup: user-code (releasing GIL) -> NumPy API -> 3rd-party C-function (in the ufunc code, numpy is the one releasing the GIL, although others, such as numba probably hook in and

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Tal Suhareanu
New submission from Tal Suhareanu : when inheriting an implemented enum, we get a runtime error But when creating a multiple inheritance like the following, it works… so something feels broken in the enum mechanism from enum import IntEnum, Enum class

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread miss-islington
miss-islington added the comment: New changeset 2cd58d8bb15c1afaeef59106941d6db697074ce8 by Miss Islington (bot) in branch '3.9': bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread miss-islington
miss-islington added the comment: New changeset 09d82609be3d4903104610ed918caeefb953f79a by Miss Islington (bot) in branch '3.8': bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-08-10 Thread James Franks
James Franks added the comment: Hope this helps: I'm running Python Shell 3.8.5 on MacOSx 10.15.6 (Catalina). I can reproduce this hang easily. Open any existing module or create a new one. Can save the existing module or a new one just fine under the same name. (File menu - Save) Using

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +20946 pull_request: https://github.com/python/cpython/pull/21813 ___ Python tracker ___

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +20947 pull_request: https://github.com/python/cpython/pull/21814 ___ Python tracker ___

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20945 pull_request: https://github.com/python/cpython/pull/21812 ___ Python tracker ___

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset eaa551702d80fd67219c48ee6a13ffb571ca360b by Victor Stinner in branch 'master': bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806) https://github.com/python/cpython/commit/eaa551702d80fd67219c48ee6a13ffb571ca360b

[issue37873] unittest: execute tests in parallel

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: > Leveraging GNU Parallel (https://www.gnu.org/software/parallel/) might help > simplify implementation. Perhaps that could be used as a subprocess call? In general, we attempt to avoid depending on the availability of external tool. For example, I don't

[issue40275] test.support has way too many imports

2020-08-10 Thread hai shi
Change by hai shi : -- pull_requests: +20944 pull_request: https://github.com/python/cpython/pull/21811 ___ Python tracker ___ ___

[issue41515] typing.get_type_hints generates KeyError

2020-08-10 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, the fix would seem simple enough. Can you submit a PR? It would be nice if it had a test as well. -- ___ Python tracker ___

[issue37873] unittest: execute tests in parallel

2020-08-10 Thread D. A. Pellegrino
D. A. Pellegrino added the comment: Leveraging GNU Parallel (https://www.gnu.org/software/parallel/) might help simplify implementation. Perhaps that could be used as a subprocess call? -- ___ Python tracker

[issue41516] venv activate scripts do not pass ShellCheck

2020-08-10 Thread D. A. Pellegrino
New submission from D. A. Pellegrino : The activate scripts created by the venv module do not pass checks by ShellCheck (https://www.shellcheck.net/). ShellCheck generally has a point for each warning and note generated against the venv activate scripts. Addressing the ShellCheck reports

[issue40275] test.support has way too many imports

2020-08-10 Thread hai shi
hai shi added the comment: > Hai Shi: Would you mind to investigate this issue? Oh, sure, I will check the test cases again. -- ___ Python tracker ___

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-08-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20943 pull_request: https://github.com/python/cpython/pull/21806 ___ Python tracker ___

[issue16995] Add Base32 support for RFC4648 "Extended Hex" alphabet (patch attached)

2020-08-10 Thread miss-islington
miss-islington added the comment: New changeset 4ce6faa6c9591de6079347eccc9e61ae4e8d9e31 by Filipe Laíns in branch 'master': bpo-16995: add support for base32 extended hex (base32hex) (GH-20441) https://github.com/python/cpython/commit/4ce6faa6c9591de6079347eccc9e61ae4e8d9e31 --

[issue40275] test.support has way too many imports

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: test__osx_support and test_selectors are broken, examples: https://github.com/python/cpython/pull/21806/checks?check_run_id=966438645 2020-08-10T12:04:20.7613070Z ==

[issue41324] Add a minimal decimal capsule API

2020-08-10 Thread Stefan Krah
Change by Stefan Krah : -- components: +C API -Extension Modules resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41324] Add a minimal decimal capsule API

2020-08-10 Thread Stefan Krah
Stefan Krah added the comment: New changeset 39042e00ab01d6521548c1b7cc6554c09f4389ff by Stefan Krah in branch 'master': bpo-41324 Add a minimal decimal capsule API (#21519) https://github.com/python/cpython/commit/39042e00ab01d6521548c1b7cc6554c09f4389ff --

[issue41515] typing.get_type_hints generates KeyError

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread miss-islington
miss-islington added the comment: New changeset 9c253f4bc9dbf711dce3fffeaef86179c29fa0f5 by Miss Islington (bot) in branch '3.9': bpo-41514: Fix buggy IDLE test (GH-21808) https://github.com/python/cpython/commit/9c253f4bc9dbf711dce3fffeaef86179c29fa0f5 --

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread miss-islington
miss-islington added the comment: New changeset 860bc0ea70c365825bfd9b7de7685cf6842ca3c7 by Miss Islington (bot) in branch '3.8': bpo-41514: Fix buggy IDLE test (GH-21808) https://github.com/python/cpython/commit/860bc0ea70c365825bfd9b7de7685cf6842ca3c7 --

[issue41261] 3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: This bug should be fixed by: New changeset d2bea2636d5f0c2b196966315790af8e79c7bf82 by Victor Stinner in branch '3.9': [3.9] bpo-41194: Convert _ast extension to PEP 489 (GH-21807)

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: > Ok, then. I'll open a new bug. bpo-41261: "3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval". -- ___ Python tracker ___

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: issue 41514 added the new test. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41468] Unrecoverable server exiting

2020-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Test error fixed on issue 41514. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41204] Use of unitialized variable `fields` along error path in code generated from asdl_c.py

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset d2bea2636d5f0c2b196966315790af8e79c7bf82 by Victor Stinner in branch '3.9': [3.9] bpo-41194: Convert _ast extension to PEP 489 (GH-21807) https://github.com/python/cpython/commit/d2bea2636d5f0c2b196966315790af8e79c7bf82 --

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset d2bea2636d5f0c2b196966315790af8e79c7bf82 by Victor Stinner in branch '3.9': [3.9] bpo-41194: Convert _ast extension to PEP 489 (GH-21807) https://github.com/python/cpython/commit/d2bea2636d5f0c2b196966315790af8e79c7bf82 --

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread miss-islington
miss-islington added the comment: New changeset 416f0b71ba84fe83ee2ba4399b8a28712702980b by Terry Jan Reedy in branch 'master': bpo-41514: Fix buggy IDLE test (GH-21808) https://github.com/python/cpython/commit/416f0b71ba84fe83ee2ba4399b8a28712702980b -- nosy: +miss-islington

[issue41515] typing.get_type_hints generates KeyError

2020-08-10 Thread Eric Fahlgren
New submission from Eric Fahlgren : Windows 10 Pro 64 Python 3.8.3 64 wxPython 4.1.0 It appears that there are synthetic classes in the mro, which don't appear in the type's namespace, raising KeyError when encountered. From reading the function's doc and source, it looks like it should

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +20941 pull_request: https://github.com/python/cpython/pull/21809 ___ Python tracker ___

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +20942 pull_request: https://github.com/python/cpython/pull/21810 ___ Python tracker ___

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your reproducer worked to reproduce the bug for me, make the cause obvious, and test the fix. Łukasz, it would be good if this test fix made it into the release candidate, but probably not essential as not too many people will check it for refleaks.

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +20940 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21808 ___ Python tracker ___

[issue18140] urlparse, urlsplit confused when password includes fragment (#), query (?)

2020-08-10 Thread david.six
david.six added the comment: tl;dr: '#', '?' and a few other characters should be URL-encoded/%-encoded when they appear in userinfo which will already parse correctly. --- Following up on what Martin said, RFC 3986 has the specifications for how these examples should be parsed. userinfo

[issue41261] 3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: > From what I understand an RC1 is being released for 3.9. This is a gentle > reminder that there is no fix for this yet. I wrote PR 21807 to backport my changes from master to 3.9. My PR fix a crash on 3.9 with the following script: --- import sys

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-08-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20939 pull_request: https://github.com/python/cpython/pull/21807 ___ Python tracker ___

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x

2020-08-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41514] test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8

2020-08-10 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/597/builds/178 test_error (idlelib.idle_test.test_run.HandleErrorTest) ... FAIL (...) == FAIL: test_error

[issue41468] Unrecoverable server exiting

2020-08-10 Thread STINNER Victor
STINNER Victor added the comment: test_error() of test_idle fails when it's run twice in a row: bpo-41514 "test_idle: test_error() failed on aarch64 RHEL8 Refleaks 3.8". -- nosy: +vstinner ___ Python tracker

[issue40185] Refactor typing.NamedTuple

2020-08-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ echo 'from typing import NamedTuple; NamedTuple("A")' | ./python -m ast Module( body=[ ImportFrom( module='typing', names=[ alias(name='NamedTuple')], level=0), Expr( value=Call(

[issue40860] Exception in multiprocessing/context.py under load

2020-08-10 Thread Arkady
Arkady added the comment: "documentation of thread safety" I find it surprising that a module called "multiprocessing" has not a thread safe API. If this is inevitable, I guess that's the life. I expect nothing less that a bold bright red font at the top of the document page. Protecting

[issue40815] Multiprocessing docs don't describe thread-safety

2020-08-10 Thread Irit Katriel
Irit Katriel added the comment: Here's an example where such documentation may have helped: https://bugs.python.org/issue40860 -- nosy: +iritkatriel ___ Python tracker ___

[issue40860] Exception in multiprocessing/context.py under load

2020-08-10 Thread Irit Katriel
Irit Katriel added the comment: There is an open ticket to improve documentation of thread safety of the multiprocessing module module: https://bugs.python.org/issue40815 Is there anything remaining to do on this ticket? -- ___ Python tracker

[issue40185] Refactor typing.NamedTuple

2020-08-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have caused a test failure in astroid project. I am not sure if the fix needs to be done from their end probably relying on some implementation detail or from the patch itself. Feel free to ignore if it's a third-party only error.

[issue21041] pathlib.PurePath.parents rejects negative indexes

2020-08-10 Thread Yaroslav Pankovych
Yaroslav Pankovych added the comment: Here's possible fix: https://github.com/python/cpython/pull/21799 -- ___ Python tracker ___

[issue21041] pathlib.PurePath.parents rejects negative indexes

2020-08-10 Thread Yaroslav Pankovych
Yaroslav Pankovych added the comment: That's kinda weird for python. I mean, in regular list/etc if I need the last element, I'd normally do list[-1], but here to get the last parent, I need to actually know how many parents do I have. So now, I can do something like this: >>>

[issue41500] InterpolationSyntaxError reading the (windows) environment with unresolved environment variables

2020-08-10 Thread Pauser
Pauser added the comment: Thanks a lot for the fast response ... did not expect this ;) I have looked into many threads and I will try to implement my own interpolation to use the current basic interpolation and process the current environment. So thanks a lot, stay healthy and have a nice

[issue41261] 3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41261] 3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval

2020-08-10 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: >From what I understand an RC1 is being released for 3.9. This is a gentle >reminder that there is no fix for this yet. -- ___ Python tracker