[issue46571] Strange `@typing.no_type_check` behavior for class variables

2022-02-01 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +29224 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31042 ___ Python tracker ___ _

[issue46596] PyLineTable_InitAddressRange isn't exported - causing C Extensions to fail at import

2022-02-01 Thread Nathan Shain
New submission from Nathan Shain : I'm trying to develop C++ Extension that needs to access the new line table. I have a call to PyLineTable_InitAddressRange in my extension. After compiling, "_PyLineTable_InitAddressRange" symbol is undefined in the .so (which is ok so far). When importing

[issue45339] concurrent.future.ThreadPoolExecutor should parameterize class used for threads

2022-02-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: I guess if you are asking for initialization and finalization of thread-specific data in a thread pool -- you need exactly these things (or a context manager). A custom thread class reveals too many implementation details. I personally prefer an explicit init

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue46482] `typing.Annotation.__new__` is not covered

2022-02-01 Thread Ken Jin
Ken Jin added the comment: New changeset 4c0612ad00ba45dbea2a86f7db6d21546cf243f8 by Nikita Sobolev in branch 'main': bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821) https://github.com/python/cpython/commit/4c0612ad00ba45dbea2a86f7db6d21546cf243f8 -- __

[issue46482] `typing.Annotation.__new__` is not covered

2022-02-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +29225 pull_request: https://github.com/python/cpython/pull/31044 ___ Python tracker _

[issue46482] `typing.Annotation.__new__` is not covered

2022-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +29226 pull_request: https://github.com/python/cpython/pull/31045 ___ Python tracker ___ __

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-02-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 3.0 -> 4.0 pull_requests: +29227 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31046 ___ Python tracker _

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-02-01 Thread Irit Katriel
Change by Irit Katriel : -- type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bug

[issue46451] Tracing causes module globals to be mutated when calling functions from C

2022-02-01 Thread Mark Shannon
Mark Shannon added the comment: Can you reproduce this in pure Python? If not, can you produce a minimal reproducer using just NumPy? If you can't do either, I'm going to have to assume that this is a NumPy or Pandas bug. Maybe NumPy or Pandas is accessing CPython internals, but not via the

[issue46355] [C API] Document PyFrameObject and PyThreadState changes and explain how to port code to Python 3.11

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset a4cb31927a1f0ee31025ea1ca82fcbfad44755dc by Petr Viktorin in branch 'main': bpo-46355: What's New: Note that PyFrameObject are private (GH-31032) https://github.com/python/cpython/commit/a4cb31927a1f0ee31025ea1ca82fcbfad44755dc -- nosy

[issue46482] `typing.Annotation.__new__` is not covered

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 2532b7c820ec2dc87b19eb322ab92b47f3c77866 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821) (GH-31045) https://github.com/python/cpython/commit/2532b7c820ec2dc87b19eb322ab92b47f3c7786

[issue46482] `typing.Annotation.__new__` is not covered

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 6a188d88c562bfd68ef3a32d148d9b234d50646e by Miss Islington (bot) in branch '3.10': bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821) https://github.com/python/cpython/commit/6a188d88c562bfd68ef3a32d148d9b234d50646e -- _

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: New changeset 108e66b6d23efd0fc2966163ead9434b328c5f17 by Irit Katriel in branch 'main': bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014) https://github.com/python/cpython/commit/108e66b6d23efd0fc2966163ead9434b328c5f17 -- ___

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2022-02-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +29228 pull_request: https://github.com/python/cpython/pull/31047 ___ Python tracker _

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2022-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +29229 pull_request: https://github.com/python/cpython/pull/31048 ___ Python tracker ___ __

[issue46597] Remove Python 3.3 compatibility code from overlapped.c

2022-02-01 Thread Kumar Aditya
New submission from Kumar Aditya : Remove Python 3.3 compatibility code from overlapped.c. https://github.com/python/cpython/blob/108e66b6d23efd0fc2966163ead9434b328c5f17/Modules/overlapped.c#L27 -- components: asyncio messages: 412245 nosy: asvetlov, kumaraditya303, yselivanov priorit

[issue46597] Remove Python 3.3 compatibility code from overlapped.c

2022-02-01 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29230 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31049 ___ Python tracker ___ ___

[issue46482] `typing.Annotation.__new__` is not covered

2022-02-01 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46598] ElementTree: wrong XML prolog for the utf-8-sig encoding

2022-02-01 Thread Petr Prikryl
New submission from Petr Prikryl : When ElementTree object is to be written to the file, and when BOM is needed, the 'utf-8-sig' can be used for the purpose. However, the XML prolog then looks like... ... and that encoding in the prolog makes no sense. Therefore, the utf-8-sig i

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-02-01 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-02-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +29232 pull_request: https://github.com/python/cpython/pull/31050 ___ Python tracker ___

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 1dcd77280410e4b3bd7b0680f00a38cea466ebd1 by Miss Islington (bot) in branch '3.10': bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014) https://github.com/python/cpython/commit/1dcd77280410e4b3bd7b0680f00a38cea466ebd1 -- _

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 2e9f77f9d4fc282666ff85051b6e7ade0eed1d4c by Miss Islington (bot) in branch '3.9': [3.9] bpo-44031: fix test_tabnanny failure in non-ascii CWD (GH-31014) (GH-31048) https://github.com/python/cpython/commit/2e9f77f9d4fc282666ff85051b6e7ade0eed1d4

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2022-02-01 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43224] Add support for PEP 646

2022-02-01 Thread Marc Mueller
Change by Marc Mueller : -- nosy: +cdce8p ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue46561] Descriptor resolution should own arguments passed to descriptors

2022-02-01 Thread Mark Shannon
Mark Shannon added the comment: # This needs to be C code for this to fail, I'm writing it in Python for clarity and brevity class D: def __get__(self, instance, owner): del C.d # There are now no strong references to self self.whatever # Access to freed memory # Thi

[issue46072] Unify handling of stats in the CPython VM

2022-02-01 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +29233 pull_request: https://github.com/python/cpython/pull/31051 ___ Python tracker ___

[issue46599] Objects/object.c:767:24: runtime error: member access within null pointer of type 'PyObject' (aka 'struct _object')

2022-02-01 Thread A-Shvedov
New submission from A-Shvedov : Hello. Got an error with AFLplusplus, with crafted sample: https://github.com/a-shvedov/res/blob/master/fuzzing/python/crashes/id:00%2Csig:11%2Csrc:009074%2Ctime:446401660%2Cexecs:16120011%2Cop:arith8%2Cpos:16%2Cval:-21 Compiled with: clang (version 6.0.0-3)

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
New submission from STINNER Victor : Measure using this script on the main branch (commit 108e66b6d23efd0fc2966163ead9434b328c5f17): --- import _testcapi def f(): yield _testcapi.stack_pointer() print(_testcapi.stack_pointer() - next(f())) --- Stack usage depending on the compiler and compiler

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +29234 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31052 ___ Python tracker ___ _

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: GH-31052 enables -Og when using clang and ./configure --with-pydebug and so the example uses 736 bytes instead of 9,104 bytes. -- ___ Python tracker ___

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: This issue is a follow-up of bpo-46542 "test_json and test_lib2to3 crash on s390x Fedora Clang 3.x buildbot". -- ___ Python tracker ___

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: Previous issues about stack memory usage, work done in 2017: * bpo-28870: Reduce stack consumption of PyObject_CallFunctionObjArgs() and like * bpo-29227: Reduce C stack consumption in function calls * bpo-29465: Modify _PyObject_FastCall() to reduce stack con

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-30866: "Add _testcapi.stack_pointer() to measure the C stack consumption". -- ___ Python tracker ___ __

[issue46601] Instructions do not work

2022-02-01 Thread Chris Drake
New submission from Chris Drake : See https://github.com/python/pythondotorg/issues/1774#issuecomment-1025250329 -- components: macOS messages: 412257 nosy: cryptophoto, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: Instructions do not work versions: Py

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: stack_overflow-4.py: Update script from bpo-30866 to measure stack memory usage before Python crash or raises a RecursionError. I had to modify the script since calling a Python function from a Python function no longer allocates (additional) memory on the s

[issue46564] Near zero-cost super().meth() calls via adaptive superinstructions

2022-02-01 Thread Ken Jin
Ken Jin added the comment: New changeset b9ebde8db7e176e021103745cd012bae700828b5 by Kumar Aditya in branch 'main': bpo-46564: do not create frame object for super object (GH-31002) https://github.com/python/cpython/commit/b9ebde8db7e176e021103745cd012bae700828b5 -- ___

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: stack_overflow-4.py output depending on the compiler and compiler flags. gcc -O3 (./configure): --- test_python_call: 11904 calls before crash, stack: 704.1 bytes/call test_python_iterator: 17460 calls before crash, stack: 480.0 bytes/call test_python_getitem:

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0515eafe55ce7699e3bbc3c1555f08073d43b790 by Victor Stinner in branch 'main': bpo-46600: ./configure --with-pydebug uses -Og with clang (GH-31052) https://github.com/python/cpython/commit/0515eafe55ce7699e3bbc3c1555f08073d43b790 -- ___

[issue46584] Modernize `ctypes/test_python_api` by removing old version check

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 913e340a323c7e61ae6e4acbb1312b4342657bec by Nikita Sobolev in branch 'main': bpo-46584: remove check for `py2.3` from `ctypes/test_python_api` (GH-31024) https://github.com/python/cpython/commit/913e340a323c7e61ae6e4acbb1312b4342657bec ---

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2022-02-01 Thread PySimpleGUI
PySimpleGUI added the comment: This issue is impacting multiple PySimpleGUI users in particular. One commented today: "I already spent a day trying to figure out what was happening to my UI when I found this open issue." Until a fix is found, I'm going to add a specific check for 8.6.12 an

[issue46584] Modernize `ctypes/test_python_api` by removing old version check

2022-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +29236 pull_request: https://github.com/python/cpython/pull/31054 ___ Python tracker ___ __

[issue46584] Modernize `ctypes/test_python_api` by removing old version check

2022-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +29235 pull_request: https://github.com/python/cpython/pull/31053 ___ Python tracker ___ __

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to revert the change until Cython and numpy are ready for it? > bpo-45711: Remove type and traceback from exc_info (GH-30122) This change broke numpy which uses C code generated by Cython for coroutines in numpy/random/_mt19937.c (file

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: I can probably just put back the two fields in _PyErr_StackItem and make sure they get updated when exc_value is set. Reverting the whole thing would include big changes in compile.c and ceval.c, so I'd rather avoid that if we can. -- __

[issue46581] _typevar_types and _paramspec_tvars are missing from _GenericAlias.copy_with

2022-02-01 Thread Matt B
Matt B added the comment: I am happy to attempt a patch, but I don't understand what's going on with _ConcatenateGenericAlias. Or rather, I don't fully understand the various copy_with semantics. This code is *very* hard to follow. Patching _GenericAlias.copy_with seems relatively straightfo

[issue46584] Modernize `ctypes/test_python_api` by removing old version check

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 8765b01bcf6514602affcca66e7deeeb998f9cef by Miss Islington (bot) in branch '3.10': [3.10] bpo-46584: remove check for `py2.3` from `ctypes/test_python_api` (GH-31024) (GH-31054) https://github.com/python/cpython/commit/8765b01bcf6514602affcca66

[issue46584] Modernize `ctypes/test_python_api` by removing old version check

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset 7368ca1b889d7fa16423e69034bf4c5fe7b00268 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46584: remove check for `py2.3` from `ctypes/test_python_api` (GH-31024) (GH-31053) https://github.com/python/cpython/commit/7368ca1b889d7fa16423e69034b

[issue46584] Modernize `ctypes/test_python_api` by removing old version check

2022-02-01 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: Does unsetting CYTHON_USE_EXC_INFO_STACK still work? #if CYTHON_USE_EXC_INFO_STACK // See https://bugs.python.org/issue25612 #define __Pyx_ExcInfoStruct _PyErr_StackItem #else // Minimal replacement struct for Py<3.7, without the Py3.7 exception state stack

[issue46072] Unify handling of stats in the CPython VM

2022-02-01 Thread Mark Shannon
Mark Shannon added the comment: New changeset 48be46ec1f3f8010570165daa1da4bf9961f3a83 by Mark Shannon in branch 'main': bpo-46072: Add some object layout and allocation stats (GH-31051) https://github.com/python/cpython/commit/48be46ec1f3f8010570165daa1da4bf9961f3a83 -- __

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: > In Cython, the issue is tracked as: > https://github.com/cython/cython/issues/4500 I don't understand the Cython status. The code was updated in the master branch: * https://github.com/cython/cython/pull/4584 * https://github.com/cython/cython/commit/7769

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: I commented the Cython issue: https://github.com/cython/cython/issues/4500#issuecomment-1026949365 I also opened a discussion on python-dev: "Please update Cython before introcuding C API incompatible changes in Python". https://mail.python.org/archives/list/

[issue46581] _typevar_types and _paramspec_tvars are missing from _GenericAlias.copy_with

2022-02-01 Thread Ken Jin
Ken Jin added the comment: > In short, I will do my best, but I suspect I will need patience and guidance > in arriving something acceptable. Yeah no worries. typing.py is really complex for many historical reasons. I still don't grasp all of it and probably never will. > what about _Annota

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: Irit Katriel: > Reverting the whole thing would include big changes in compile.c and ceval.c, > so I'd rather avoid that if we can. It was a good idea to split changes of this issue into multiple commits :-) I'm only proposing to revert the one which introdu

[issue46451] Tracing causes module globals to be mutated when calling functions from C

2022-02-01 Thread Sebastian Berg
Sebastian Berg added the comment: Thanks for having a look. I have confirmed this is related to Cython (no pandas/NumPy involved) – repro at https://github.com/seberg/bpo46451. What happens under the hood in Cython is probably: https://github.com/cython/cython/blob/master/Cython/Utility/

[issue46451] Tracing causes module globals to be mutated when calling functions from C

2022-02-01 Thread Sebastian Berg
Change by Sebastian Berg : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue46561] Descriptor resolution should own arguments passed to descriptors

2022-02-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: If this can only be triggered from C code, it less of a concern. The PR increases cost on a critical path, so we ought to be wary of applying it unless a known problem is being solved. Note, this code path has survived two decades of deployment. Also, th

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 31052 seems to have broken a bunch of buildbots. If no fix is provided in 24 hours, we will need to revert :( -- nosy: +pablogsal ___ Python tracker _

[issue46180] Button clicked failed when mouse hover tooltip and tooltip destroyed

2022-02-01 Thread Ned Deily
Ned Deily added the comment: Can you say which platforms are affected by this? The OP's example appears to be from a Windows system. Are Unix (X11) and/or macOS versions of Tk affected, too? -- nosy: +ned.deily ___ Python tracker

[issue46451] Tracing causes module globals to be mutated when calling functions from C

2022-02-01 Thread Sebastian Berg
Sebastian Berg added the comment: Not reopening for now, but I will note again that (AFAIK) Cython uses `PyEval_EvalCodeEx`, and the docs say that it is not used internally to CPython anymore. So it seems pretty plausible that the bug is in `PyEval_EvalCodeEx` and not the generated Cython c

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: That commit has significant changes in ceval.c and compile.c. They don't need to be reverted to unbreak cython. I'm working on a PR for a simpler change. Have you tried with CYTHON_USE_EXC_INFO_STACK undefined? --

[issue46599] Objects/object.c:767:24: runtime error: member access within null pointer of type 'PyObject' (aka 'struct _object')

2022-02-01 Thread Christian Heimes
Christian Heimes added the comment: The crash occurs inside marshal module (Python/marshal.c). The marshal module is unsafe and cannot safely parse malicious code. Bad marshal code is expected to crash the interpreter. -- nosy: +christian.heimes resolution: -> wont fix stage: -> re

[issue46581] _typevar_types and _paramspec_tvars are missing from _GenericAlias.copy_with

2022-02-01 Thread Matt B
Matt B added the comment: Thanks, @kj! Fantastic education and insight! I'm sad that I needed you as an interpreter but very grateful you were around to provide the interpretation. Working on a patch now…. -- ___ Python tracker

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily
Ned Deily added the comment: New changeset 0e4bef7a7f6f25a6f39755778c73e7026901611f by Kumar Aditya in branch 'main': bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) https://github.com/python/cpython/commit/0e4bef7a7f6f25a6f39755778c73e7026901611f -- _

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +29237 pull_request: https://github.com/python/cpython/pull/31055 ___ Python tracker _

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 64568acbd88a88d54ac9b8215447f88280448dd5 by Emiya in branch 'main': bpo-46487: Add `get_write_buffer_limits` to Write and _SSLProtocol transports (GH-30958) https://github.com/python/cpython/commit/64568acbd88a88d54ac9b8215447f88280448dd5 ---

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +29238 pull_request: https://github.com/python/cpython/pull/31056 ___ Python tracker ___ __

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: > PR 31052 seems to have broken a bunch of buildbots. If no fix is provided in > 24 hours, we will need to revert :( test_gdb fails if Python is built with clang -Og. I don't think that it's a regression. It's just that previously, buildbots using clang only

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29239 pull_request: https://github.com/python/cpython/pull/31057 ___ Python tracker ___ ___

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29240 pull_request: https://github.com/python/cpython/pull/31058 ___ Python tracker ___ __

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily
Ned Deily added the comment: New changeset 519eb6ad74f946a9aa7676e2d6579a3a765a8b50 by Ned Deily in branch '3.10': bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) (GH-31057) https://github.com/python/cpython/commit/519eb6ad74f946a9aa7676e2d6579a3a765a8b50 -- _

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +29241 pull_request: https://github.com/python/cpython/pull/31059 ___ Python tracker ___ __

[issue46451] Tracing causes module globals to be mutated when calling functions from C

2022-02-01 Thread Sebastian Berg
Sebastian Berg added the comment: While I have a repro for Python, I think the pre release of cython already fixes it (and I just did not regenerated the C sources when trying, I guess. A `git clean` to the rescue...). -- ___ Python tracker

[issue46072] Unify handling of stats in the CPython VM

2022-02-01 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +29242 pull_request: https://github.com/python/cpython/pull/31060 ___ Python tracker ___

[issue46598] ElementTree: wrong XML prolog for the utf-8-sig encoding

2022-02-01 Thread Ned Deily
Change by Ned Deily : -- nosy: +eli.bendersky, scoder versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: If this is still the position of cython maintainers: https://github.com/cython/cython/issues/4581#issuecomment-1016503683 then I will need to revert the change until 3.12. -- ___ Python tracker

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Guido van Rossum
Guido van Rossum added the comment: Time to insist on directly communicating with the Cython team (esp. @scoder) and broker some kind of compromise. -- ___ Python tracker ___

[issue45953] Statically allocate interpreter states as much as possible.

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset f78be59c83c151d94902daef56218530c52e29e7 by Eric Snow in branch 'main': bpo-45953: Preserve backward compatibility on some PyThreadState field names. (GH-31038) https://github.com/python/cpython/commit/f78be59c83c151d94902daef56218530c52e29e7

[issue46581] _typevar_types and _paramspec_tvars are missing from _GenericAlias.copy_with

2022-02-01 Thread Matt Bogosian
Change by Matt Bogosian : -- keywords: +patch nosy: +mbogosian nosy_count: 4.0 -> 5.0 pull_requests: +29243 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31061 ___ Python tracker __

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: > __Pyx_PyErr_GetTopmostException(PyThreadState *tstate) Python provides a *private* _PyErr_GetTopmostException(tstate) function, but Cython reimplements its own function. I'm not sure why. GH-30531 proposes adding PyErr_GetActiveException() function which h

[issue46601] macOS installer "Install Certificates.command" fails if pip is not installed

2022-02-01 Thread Ned Deily
Ned Deily added the comment: Thanks for opening the issue. From the pythondotorg issue, the output from the failed command: Last login: Sat May 8 17:08:01 on ttys005 /Applications/Python\ 3.9/Install\ Certificates.command ; exit; perl: warning: Setting locale failed. perl: war

[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call

2022-02-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset bebaa95fd0f44babf8b6bcffd8f2908c73ca259e by Victor Stinner in branch 'main': bpo-46600: Fix test_gdb.test_pycfunction() for clang -Og (GH-31058) https://github.com/python/cpython/commit/bebaa95fd0f44babf8b6bcffd8f2908c73ca259e --

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily
Ned Deily added the comment: New changeset a22dd00f2da4f6ff96f58fd8d551f16bdb870c8d by Miss Islington (bot) in branch '3.9': bpo-45925: Update macOS installer to SQLite 3.37.2 (GH-30921) (GH-31057) (GH-31059) https://github.com/python/cpython/commit/a22dd00f2da4f6ff96f58fd8d551f16bdb870c8d

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.2

2022-02-01 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue46601] macOS installer "Install Certificates.command" fails if pip is not installed

2022-02-01 Thread Chris Drake
Chris Drake added the comment: So it looks like a dependency error in the installer then? It obviously makes no sense for pip to required before the python installer can work - chicken-and-egg issue - the installer should install what it needs of course, which I guess includes pip if that's

[issue46364] asyncio subprocess cannot read from /dev/stdin

2022-02-01 Thread xoph
xoph added the comment: Created a PR: https://github.com/python/cpython/pull/30596 It's ready for review. Happy about any feedback! -- ___ Python tracker ___

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
New submission from Nathan Howard : TODO: (see PR) -- components: Installation messages: 412298 nosy: adanhawth priority: normal severity: normal status: open title: Subtle trouble with heredoc append in configure. type: compile error versions: Python 3.10 _

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset e4a6e549027b33bbe87f49fcfccc880243e49834 by Miss Islington (bot) in branch '3.9': bpo-46487: Add `get_write_buffer_limits` to Write and _SSLProtocol transports (GH-30958) https://github.com/python/cpython/commit/e4a6e549027b33bbe87f49fcfccc8802

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread miss-islington
miss-islington added the comment: New changeset e5e1441d41907f92cc3bb5de675a2c519068173d by Miss Islington (bot) in branch '3.10': bpo-46487: Add `get_write_buffer_limits` to Write and _SSLProtocol transports (GH-30958) https://github.com/python/cpython/commit/e5e1441d41907f92cc3bb5de675a2c5

[issue46487] `_SSLProtocolTransport` doesn't have the `get_write_buffer_limits` implementation.

2022-02-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done, thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45413] Add install scheme for virtual environments

2022-02-01 Thread Miro Hrončok
Miro Hrončok added the comment: The PR is now ready for review. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: This is a backport of @scoder's patch to 0.29.x. (I don't know if this is helpful). https://github.com/cython/cython/compare/master...iritkatriel:exc_info?expand=1 -- ___ Python tracker

[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread Irit Katriel
Irit Katriel added the comment: > GH-30531 proposes adding PyErr_GetActiveException() function which has no > parameter, but Cython __Pyx_PyErr_GetTopmostException() has a tstate > parameter. I've now updated it to follow the pattern of other functions, where the is a private function that

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
Change by Nathan Howard : -- keywords: +patch pull_requests: +29244 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31062 ___ Python tracker ___ __

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
Change by Nathan Howard : -- components: +Build -Installation versions: -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list ma

[issue44359] test_ftplib.test_makeport() fails as "env changes" if a socket operation times out in a thread: TimeoutError is not catched

2022-02-01 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe it's time to actually try to fix this test rather than just complaining about it? Surely *somebody* here has an idea? Else maybe we need to just disable it. -- nosy: +gvanrossum ___ Python tracker

[issue46540] dylibs not loading properly from NFS mounts

2022-02-01 Thread embassy_vfx
embassy_vfx added the comment: Hi Ned, Thanks for the reply. I figured that this may be the case but wanted to report it anyway. I currently do not have access to a more up-to-date Mac OS but once I do I will test and report anything unusual back. I also have not tested other file systems but

[issue46540] dylibs not loading properly from NFS mounts

2022-02-01 Thread Ned Deily
Ned Deily added the comment: > I currently do not have access to a more up-to-date Mac OS but once I do I will test and report anything unusual back. Good luck! Since there's a good chance that this issue will languish in our open backlog, I am going to mark it as closed for now. But please r

  1   2   >