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

2021-02-17 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > This can introduce a performance slowdown and so should wait until the PEP > 620 is accepted. Noted. -- ___ Python tracker ___

[issue42307] make install must not copy python.o into $prefix/lib/python3.10/config-3.10-x86_64-linux-gnu/

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: I consider that this issue is now fixed by bpo-43103 with the addition of a new configure --without-static-libpython option. If someone prefers to remove python.o and get it from libpython.a, please open a separated issue. -- resolution: ->

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-02-17 Thread Jonathan Slenders
Jonathan Slenders added the comment: The following patch to inspect.py solves the issue that inspect.signature() returns the wrong signature on classes that inherit from Generic. Not 100% sure though if this implementation is the cleanest way possible. I've been looking into attaching a

[issue43103] Add configure --without-static-libpython to not build libpython3.10.a

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 801bb0b5035f8eeafe389dc082c02dfafaa07f6a by Victor Stinner in branch 'master': bpo-43103: Add configure --without-static-libpython (GH-24418) https://github.com/python/cpython/commit/801bb0b5035f8eeafe389dc082c02dfafaa07f6a --

[issue33935] shutil.copyfile throws incorrect SameFileError on Google Drive File Stream

2021-02-17 Thread Alexander
Alexander added the comment: Hi, This issue was also confirmed by a Verge3D user (Python 3.7.7) https://www.soft8soft.com/topic/export-gltf-error -- nosy: +alexkowel ___ Python tracker

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset ebe20d9e7eb138c053958bc0a3058d34c6e1a679 by Zackery Spytz in branch '3.9': bpo-43155: Add PyCMethod_New to PC/python3.def (GH-24500) (GH-24554) https://github.com/python/cpython/commit/ebe20d9e7eb138c053958bc0a3058d34c6e1a679 --

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

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset cd80f430daa7dfe7feeb431ed34f88db5f64aa30 by Erlend Egeberg Aasland in branch 'master': bpo-40170: Always define PyExceptionClass_Name() as a function (GH-24553) https://github.com/python/cpython/commit/cd80f430daa7dfe7feeb431ed34f88db5f64aa30

[issue43103] Add configure --without-static-libpython to not build libpython3.10.a

2021-02-17 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43155] PyCMethod_New not defined in python3.lib

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: Thanks Barry for the bug report and thanks Zackery for the fix! It's now fixed. See bpo-43235 and bpo-43239 follow-up issues. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Anders Munch
Anders Munch added the comment: I discovered that this can happen with underscores as well: Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>>

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Anders Munch
Anders Munch added the comment: getlocale is documented to return None for the encoding if no encoding can be determined. There's no need to guess. I can't change the locale.setlocale call, because where I'm actually having the problem, I'm not even calling locale.setlocale: wxWidgets is

Re: [issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread M.-A. Lemburg
On 17.02.2021 10:55, Anders Munch wrote: import locale locale.setlocale(locale.LC_ALL, 'en_DE') > 'en_DE' locale.getlocale() > Traceback (most recent call last): > File "", line 1, in > File "C:\flonidan\env\Python38-64\lib\locale.py", line 591, in getlocale > return

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

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: > For PySequence_ITEM, I guess adding a private C version (for example > _PySequence_Item) and redirecting the macro to the C version would be > acceptable. This can introduce a performance slowdown and so should wait until the PEP 620 is accepted.

[issue34013] Inconsistent SyntaxError for print

2021-02-17 Thread Irit Katriel
Irit Katriel added the comment: Still the same in 3.10: Python 3.10.0a5+ (heads/master:bf2e7e55d7, Feb 11 2021, 23:09:25) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print 3 File "", line 1 print 3 ^

[issue43241] curses.h: present but cannot be compiled while building with custom CPPFLAGS

2021-02-17 Thread Xuehai Pan
New submission from Xuehai Pan : I install python3 with Linuxbrew. All header files have been symlinked to "~/.linuxbrew/inlcude". It raises warnings when I building with custom CPPFLAGS. ``` checking curses.h usability... no checking curses.h presence... yes configure: WARNING: curses.h:

[issue34013] Inconsistent SyntaxError for print

2021-02-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would it be too much if add a Python 2 rule for print statement in grammar to produce better error message? invalid_print_stmt: | 'print' ( test (',' test)* [','] ] | '>>' test [ (',' test)+ [','] ) {

[issue25737] array is not a Sequence

2021-02-17 Thread Irit Katriel
Irit Katriel added the comment: This works now: >>> from array import array >>> from collections.abc import Sequence >>> isinstance(array('I', [1]), Sequence) True It was fixed under issue29727. -- nosy: +iritkatriel resolution: -> duplicate status: open -> closed superseder: ->

[issue34013] Inconsistent SyntaxError for print

2021-02-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Would it be too much if add a Python 2 rule for print statement in grammar to > produce better error message? Please, go ahead. I think it makes sense and with our latest change in the parser, such new error message will have no impact on

[issue43241] curses.h: present but cannot be compiled while building with custom CPPFLAGS

2021-02-17 Thread Xuehai Pan
Xuehai Pan added the comment: ./configure raised "WARNING: curses.h: present but cannot be compiled" when CPPFLAGS="-I. -I/Include -I${HOMEBREW_PREFIX}/include". ./configure found and compiled with ncurses successfully when CPPFLAGS="-I. -I/Include -I${HOMEBREW_PREFIX}/include -I$(brew

[issue43241] curses.h: present but cannot be compiled while building with custom CPPFLAGS

2021-02-17 Thread Xuehai Pan
Xuehai Pan added the comment: Add screenshot. -- Added file: https://bugs.python.org/file49815/Screenshot.png ___ Python tracker ___

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread John Paul Adrian Glaubitz
John Paul Adrian Glaubitz added the comment: > What is the use case or benefit of building Python for 32-bit rather than > 64-bit? That's not really the question. The question is whether an upstream project should prevent downstreams from using unsupported target configurations and I think

[issue28404] Logging SyslogHandler not appending '\n' to the end

2021-02-17 Thread rea haas
Change by rea haas : -- nosy: +reahaas nosy_count: 2.0 -> 3.0 pull_requests: +23337 pull_request: https://github.com/python/cpython/pull/24556 ___ Python tracker ___

[issue28179] Segfault in test_recursionlimit_fatalerror

2021-02-17 Thread Irit Katriel
Irit Katriel added the comment: I'm not seeing this crash on master. I believe is was fixed under issue42500, which add this case as a unit test: see recurse_in_body_and_except in

[issue43146] 3.10a5 regression: AttributeError: 'NoneType' object has no attribute '__suppress_context__' in traceback.py

2021-02-17 Thread Irit Katriel
Irit Katriel added the comment: Let's split the print_exception(None) case (new issue) from the regression. I've updated the PR to fix only the latter, which is not controversial. I don't know what print_exception(None) should do. -- ___ Python

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread Christian Heimes
Christian Heimes added the comment: > That's not really the question. The question is whether an upstream project > should prevent downstreams from using unsupported target configurations and I > think the answer to that question is no. We are not (actively) prevent unsupported target. We

[issue20087] Mismatch between glibc and X11 locale.alias

2021-02-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I believe we can close this old issue. The discussion was certainly a useful one. I guess we should stop updating the alias table automatically and instead add new aliases or change existing ones based on more research and using the X11 files as well as

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 17.02.2021 12:36, Anders Munch wrote: > getlocale is documented to return None for the encoding if no encoding can be > determined. There's no need to guess. Well, not quite... the documentation says that None can be returned, not that it will return

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Anders Munch
Anders Munch added the comment: > BTW: What is wxWidgets doing with the returned values ? wxWidgets doesn't call getlocale, it's a C++ library (wrapped by wxPython) that uses C setlocale. What does use getlocale is time.strptime and datetime.datetime.strptime, so when getlocale fails,

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Eryk Sun
Eryk Sun added the comment: > What does use getlocale is time.strptime and datetime.datetime.strptime calendar.LocaleTextCalendar also uses getlocale() and getdefaultlocale(). The result from getdefaultlocale() cannot be set via setlocale() in Windows, which also breaks resetlocale().

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
New submission from Yurii Karabas <1998uri...@gmail.com>: Basically, the idea is to add the ability to mark abstract classes as strict. What does this mean - in case when a class inherits from a strict abstract base class and doesn't implement all abstract methods then it will fail to create

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch pull_requests: +23339 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24558 ___ Python tracker

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

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 630264a152115f9671d6b793455ef5c2cea09a97 by Erlend Egeberg Aasland in branch 'master': bpo-40170: Move 3 NEWS entries to the C API section (GH-24555) https://github.com/python/cpython/commit/630264a152115f9671d6b793455ef5c2cea09a97

[issue41567] multiprocessing.Pool from concurrent threads failure on 3.9.0rc1

2021-02-17 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43244] Move PyArena C API to the internal C API

2021-02-17 Thread STINNER Victor
New submission from STINNER Victor : Include/cpython/pyarena.h declares 4 functions which are implemented in Python/pyarena.c. The header file exists to access these functions from the compiler. IMO there was no intent to expose these functions to the public Python C API. Moreover, the PEP

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-17 Thread Alan Moore
Alan Moore added the comment: Spent some time today with IDLE and PDB, and I've ruled out any other program on my system as the culprit: - I can create a tkinter GUI that will respond to a binding like and it works fine. - In pdb, I can bind <> to a callback and it is getting fired when

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: Well maybe I'll be picking up those ideas again... Thanks for documenting so much of what you did then! -- ___ Python tracker ___

[issue29187] Pickle failure is raising AttributeError and not PicklingError

2021-02-17 Thread Irit Katriel
Irit Katriel added the comment: Still the same in 3.10: Python 3.10.0a5+ (heads/bpo-43146-dirty:8f5cf4d381, Feb 17 2021, 14:51:27) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> try: ... def func(): ... class C:

[issue42938] [security][CVE-2021-3177] ctypes double representation BoF

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: CVE-2021-3177 has been assigned to this issue: * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3177 * https://access.redhat.com/security/cve/cve-2021-3177 -- title: [security] ctypes double representation BoF -> [security][CVE-2021-3177]

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Steve Dower
Steve Dower added the comment: Is this the same as the other issue where get_locale is normalising the result according to some particular glibc logic and isn't at all portable? -- ___ Python tracker

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: +1 on exposing f,__builtins__. Of course, the thing I'd really want is a way to state that all references to builtins are meant to have the exact semantics of those builtins, so the compiler can translate e.g. len(x) into a new opcode that just calls

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2021-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: I doubt that solution is correct, given that we already established that the problem is *not* specific to Generic. -- ___ Python tracker

[issue43245] Add keyword argument support to ChainMap.new_child()

2021-02-17 Thread Raymond Hettinger
New submission from Raymond Hettinger : This would it more convenient to extend chains for local contexts. Currently, we write: local = parent.new_child(dict(foreground='white', background='cyan')) Instead, it would be easier to write: local = parent.new_child(foreground='white',

[issue39820] Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly

2021-02-17 Thread Aaron Meurer
Aaron Meurer added the comment: To reiterate some points I made in the closed issues https://bugs.python.org/issue42819 and https://bugs.python.org/issue32019. A simple "fix" would be to emulate the non-bracketed paste buffering. That is, accept the input using bracketed paste, but split it

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: > +1 on exposing f,__builtins__. This change is related to bpo-43228 "Regression in function builtins": cloudpickle is broken by this issue (new PyFunctionObject.func_builtins member). > Of course, the thing I'd really want is a way to state that all

[issue39820] Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly

2021-02-17 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43246] Dict copy optimization violates subclass invariant

2021-02-17 Thread Joshua Bronson
New submission from Joshua Bronson : If I understand correctly, it should be an invariant that in the code below, for all "Parent" classes, for all "method"s, Child1.method should return the same result as Child2.method: ``` class Parent: def __init__(self, value): self._value =

[issue43223] [SECURITY] Open Redirection In Python 3.7 & 3.8

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: I can only reproduce the issue if the current directory (directory used by the HTTP server, see --directory command line option) contains a .ssh/ subdirectory. The problem is that the HTTP Header Location starts with "//domain/" and such URL is interpreted

[issue43223] [security] http.server: Open Redirection if the URL path starts with //

2021-02-17 Thread STINNER Victor
Change by STINNER Victor : -- components: +Library (Lib) -Windows title: [SECURITY] Open Redirection In Python 3.7 & 3.8 -> [security] http.server: Open Redirection if the URL path starts with // versions: +Python 3.10, Python 3.6, Python 3.9 ___

[issue42129] Support resources in namespace packages

2021-02-17 Thread Brett Cannon
Brett Cannon added the comment: I would harmonize towards what the concrete implementations are doing since people who don't implement the defaults will get the appropriate results regardless. An entry in What's New will cover any potential notification of the change since you can't exactly

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-02-17 Thread Yury Selivanov
Yury Selivanov added the comment: > I tried to implement such optimization in my old > https://faster-cpython.readthedocs.io/fat_python.html project. I implemented > guards to de-optimize the code if a builtin is overriden. FWIW the globals opcode cache handles all of this now. There's no

[issue43246] Dict copy optimization violates subclass invariant

2021-02-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: The cause is in dict_merge (see here: https://github.com/python/cpython/blob/master/Objects/dictobject.c ); it has a fast path for when the object being merged in (which is what the dict constructor does; it makes an empty dict, then merges the provided

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: > FWIW the globals opcode cache handles all of this now. There's no point in > specifically optimizing the builtins lookup since we optimize all global > lookups for a code object that's hot enough. So you think that even a dedicated "LEN" opcode would

[issue43247] How to search for a __main__ module using pyclbr in Python3?

2021-02-17 Thread Aviral Srivastava
New submission from Aviral Srivastava : I want to get all the functions and classes in module: `__main__` of the source code directory: `/tmp/rebound/rebound`. When I use the `pyclbr.readmodule_ex` API: ``` source_code_data = pyclbr.readmodule_ex(source_code_module, path=source_code_path)

[issue43241] curses.h: present but cannot be compiled while building with custom CPPFLAGS

2021-02-17 Thread Xuehai Pan
Change by Xuehai Pan : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread Christian Heimes
Christian Heimes added the comment: David, this bug is about s390, not s390x. The s390x platform is supported and tested. -- ___ Python tracker ___

[issue43243] Strict ABC classes

2021-02-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Why is this needed? Already, instantiation is blocked. -- nosy: +gvanrossum, rhettinger ___ Python tracker ___

[issue43228] Regression in function builtins

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 24559 to expose the functions builtins in Python as a new __builtins__ attributes on functions, but also to document the subtle behavior change. -- ___ Python tracker

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: > I understand the issue is s390, not s390x. I am offering that there already > is an s390x worker, so would it be sufficient to build and test Python in 31 > bit mode on that worker as opposed to installing a complete s390 Debian > system? To get a

[issue26600] MagickMock __str__ sometimes returns MagickMock instead of str

2021-02-17 Thread Irit Katriel
Irit Katriel added the comment: The documentation has examples how to set up a mock's __str__. https://docs.python.org/3/library/unittest.mock.html -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: When I work with ABC classes usually I faced a problem - I forget to implement one of the methods or make a typo in the method name. In such case I will know about it only when I will try to instantiate a class. In case when a

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 366dc3a1354078e38808b9c16276e97cca5b8aaf by Nicholas Sim in branch 'master': bpo-35134: Move Include/{pyarena.h,pyctype.h} to Include/cpython/ (GH-24550) https://github.com/python/cpython/commit/366dc3a1354078e38808b9c16276e97cca5b8aaf

[issue43243] Strict ABC classes

2021-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: This discussion is not appropriate for the bug tracker. Try finding a user forum to discuss the pros and cons and history of the current functionality. It is clear that you have plenty of ways to discover the problem already. -- resolution: ->

[issue43243] Strict ABC classes

2021-02-17 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-17 Thread Alan Moore
Alan Moore added the comment: Ok, sorry to keep poking at this issue, but I think I was too hasty in blaming firefox. As I previously mentioned, IDLE "forgot" that Ctrl-N meant "next line" and reverted it to "new window". I fixed that behavior by changing and resetting the key set,

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

2021-02-17 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +23341 pull_request: https://github.com/python/cpython/pull/24555 ___ Python tracker ___

[issue43228] Regression in function builtins

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: In short, cloudpickle recreates a function in two steps: * Create a function object: globals doesn't contain "__builtins__" key * Update the function attributes (especially __globals__) with cloudpickle.cloudpicke_fast._function_setstate() which always sets

[issue42990] Improve the C code for calling Python code: _PyEval_EvalCode()

2021-02-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23340 pull_request: https://github.com/python/cpython/pull/24559 ___ Python tracker ___

[issue43243] Strict ABC classes

2021-02-17 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: Sorry about this, in a future I will use forum for such discussions. -- ___ Python tracker ___

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread David Edelsohn
David Edelsohn added the comment: I already am running a Debian s390x buildbot for Python. Someone can adjust the rules for the buildbot to include a 31-bit builder. The Debian buildbot has relatively few builder variants relative to the other s390x targets. --

[issue43240] IDLE Classic Unix keyboard shortcuts broken

2021-02-17 Thread Alan Moore
Alan Moore added the comment: An interesting note this morning, and again I don't know if this is actually an IDLE bug; I had left IDLE running overnight and opened a new code window this morning. Somehow IDLE "forgot" that Ctrl-N means "next line" and not "new window". I closed all my

[issue43228] Regression in function builtins

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: Attached func_builtins2.py mimicks the cloudpicke bug: --- def func(s): return len(s) code = func.__code__ FuncType = type(func) func2_globals = {} func2 = FuncType(code, func2_globals) # func2.func_builtins = {'None': None} func2.__globals__['__builtins__']

[issue43228] Regression in function builtins

2021-02-17 Thread STINNER Victor
STINNER Victor added the comment: I wrote _testinernalcapi.get_builtins() function to help me debuging this issue: diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c index ab6c5965d1..250ecc61ab 100644 --- a/Modules/_testinternalcapi.c +++ b/Modules/_testinternalcapi.c @@

[issue43239] PyCFunction_New is not exported with PyAPI_FUNC

2021-02-17 Thread hai shi
hai shi added the comment: >> PyCFunction_NewEx is part of the limited API as well, even though it's >> undocumented. People can call it. > >Wait no, I wrote too soon. >PyCFunction_NewEx is part of the limited API as well, even though it's >>undocumented. People can call it. Find some 3rd

[issue43242] Add Void type to typing library

2021-02-17 Thread ocket8888
New submission from ocket : It'd be nice to have a "void" type that indicates to static type checkers that a function/method cannot be used in a valid assignment. -- components: Library (Lib) messages: 387166 nosy: ocket priority: normal severity: normal status: open title:

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread David Edelsohn
David Edelsohn added the comment: I understand the issue is s390, not s390x. I am offering that there already is an s390x worker, so would it be sufficient to build and test Python in 31 bit mode on that worker as opposed to installing a complete s390 Debian system? --

[issue43242] Add Void type to typing library

2021-02-17 Thread ocket8888
Change by ocket : -- keywords: +patch pull_requests: +23338 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24557 ___ Python tracker ___

[issue28179] Segfault in test_recursionlimit_fatalerror

2021-02-17 Thread Berker Peksag
Berker Peksag added the comment: Yes, this indeed seems to be fixed by issue 42500 and can be closed now. Nice detective work, thank you! -- stage: needs patch -> resolved status: pending -> closed ___ Python tracker

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread Christian Heimes
Christian Heimes added the comment: David, could you please provide the output of "gcc -dM -E - < /dev/null" on s390x in 31 bit mode? I'm curious and would like to see the platform constants. -- ___ Python tracker

[issue43246] Dict copy optimization violates subclass invariant

2021-02-17 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +methane ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: