New submission from Henry Schreiner :
In 3.10 via PEP 604, there was an attempt to use the new union of types where
runtime types were previously expected to be a tuple. `isinstance(x, (A, B))`
can be written `isinstance(x, A | B)`. Unfortunately, there still is a case
were a tuple of types
Change by Henry Schreiner :
--
nosy: +Henry Schreiner
nosy_count: 9.0 -> 10.0
pull_requests: +29405
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31235
___
Python tracker
<https://bugs.python.org/i
Henry Schreiner added the comment:
It would be great to get this looked at before things start getting too locked
in for 3.11!
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Henry Schreiner :
--
nosy: +Henry Schreiner
___
Python tracker
<https://bugs.python.org/issue27318>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Henry Schreiner :
--
nosy: +Henry Schreiner
___
Python tracker
<https://bugs.python.org/issue46166>
___
___
Python-bugs-list mailing list
Unsubscribe:
Henry Schreiner added the comment:
We had a call and have a potential path forward. Quick summary:
* Add a patch on top of the current patch to make CPython look for `-gnu` on
top of `-musl` for Alpine 3.15 and 3.14. Reverting the patch would break every
Alpine wheel previously locally
Change by Henry Schreiner :
--
nosy: +Henry Schreiner
___
Python tracker
<https://bugs.python.org/issue8557>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Henry Schreiner :
The documentation here:
https://docs.python.org/3/library/typing.html#typing.runtime_checkable refers
to "For example, builtins.complex implements __float__(), therefore it passes
an issubclass() check against SupportsFloat. However, the co
Henry Schreiner added the comment:
I tested before the patch, and I got 17 segfaults running a pybind11 module 20
times. After the patch, I ran about 50 times and had no segfaults!
--
___
Python tracker
<https://bugs.python.org/issue42
Change by Henry Schreiner :
--
nosy: +Henry Schreiner
___
Python tracker
<https://bugs.python.org/issue42015>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Henry Schreiner :
The macro Py_UNICODE_COPY was replaced by a function in CPython 3.9, and that
function cannot compile with full warnings enabled + warnings as errors under
Clang. The problematic line:
Py_DEPRECATED(3.3) static inline void
Py_UNICODE_COPY(Py_UNICODE
11 matches
Mail list logo