Commit Graph

5608 Commits

Author SHA1 Message Date
David Hewitt 096552e99b
Merge pull request #3353 from juntyr/full-slice
Add a `PySlice::full()` constructor for `::`
2023-07-29 20:13:08 +00:00
Juniper Tyree ab783234c8 Added newsfragment 2023-07-29 07:43:17 +00:00
Juniper Tyree 16fe7a83a7 Add a PySlice::full() constructor for :: 2023-07-29 07:39:47 +00:00
Adam Reichold eb885969fd
Merge pull request #3345 from davidhewitt/pyfloat-value
optimize `float` -> `f64` conversions on non-abi3
2023-07-28 20:21:49 +00:00
David Hewitt e2c88d5a4e optimize `float` -> `f64` conversions on non-abi3 2023-07-28 20:45:37 +01:00
Adam Reichold b88e1ff713
Merge pull request #3346 from davidhewitt/downcast-exact
add PyAny::downcast_exact
2023-07-28 15:26:15 +00:00
David Hewitt 34881fc952 add PyAny::downcast_exact 2023-07-28 15:11:56 +01:00
David Hewitt 8f5bc715f4
Merge pull request #3343 from davidhewitt/require-pypy3.10
ci: stop allowing failure for pypy 3.10
2023-07-25 22:22:37 +00:00
David Hewitt 264cba557a ci: stop allowing failure for pypy 3.10 2023-07-25 21:24:40 +01:00
David Hewitt 7a2fc86186
Merge pull request #3342 from davidhewitt/3.12-ffi-check-fixes
fix ffi check failures for 3.12.0b4
2023-07-25 11:59:55 +00:00
David Hewitt 655de94749 fix ffi check failures for 3.12.0b4 2023-07-25 08:25:34 +01:00
David Hewitt 3fa705a3c6 remove PyUnicode_WCHAR_KIND from docs on Py_3_12 2023-07-25 07:35:57 +01:00
David Hewitt 16d9c56341 always run ffi-check on dev pythons 2023-07-25 07:35:57 +01:00
Adam Reichold 8ce6c26c81
Merge pull request #3334 from davidhewitt/pyerr-display
add PyErr::display
2023-07-25 05:56:21 +00:00
David Hewitt a15614844d add PyErr::display 2023-07-24 22:14:55 +01:00
Adam Reichold 8c393dd5d2
Merge pull request #3339 from cdce8p/pytype-getdict
Add PyType_GetDict for Python 3.12
2023-07-24 16:24:50 +00:00
Marc Mueller f8ca456f5f Add PyType_GetDict for Python 3.12 2023-07-23 17:00:50 +02:00
David Hewitt 3e4acaa135
Merge pull request #3338 from davidhewitt/3.12-numpy
ci: avoid failure to build numpy on 3.12
2023-07-23 05:24:01 +00:00
David Hewitt 16848cd2b1
Merge pull request #3337 from BooleanCat/main
Add haem to example projects
2023-07-22 20:56:33 +00:00
David Hewitt d395fe8653 ci: avoid failure to build numpy on 3.12 2023-07-22 21:38:57 +01:00
Tom Godkin dc3a8f95c2 Add haem to example projects 2023-07-22 21:30:46 +01:00
Adam Reichold e75d773f0a
Merge pull request #3332 from davidhewitt/check-new-versions
add 3.12 and PyPy 3.10 to clippy jobs
2023-07-21 10:21:51 +00:00
David Hewitt 12e9db8a9e add 3.12 and PyPy 3.10 to clippy jobs 2023-07-21 10:34:13 +01:00
David Hewitt 229d025beb
Merge pull request #3331 from alex/patch-1
Install wheel for the setuptools-rust-starter example
2023-07-20 17:27:33 +00:00
Alex Gaynor 841d7e136f
Install wheel for the setuptools-rust-starter example
Seems to be needed on python 3.12
2023-07-20 08:54:24 -04:00
Adam Reichold 9e87aac326
Merge pull request #3306 from davidhewitt/3.12-exceptions
fix exception handling on Python 3.12
2023-07-20 07:48:11 +00:00
David Hewitt ab078258d1 fix exception handling on Python 3.12 2023-07-19 22:33:25 +01:00
David Hewitt d69ca4f81c
Merge pull request #3328 from zakstucke/main
Prevent traceback loss on conversion to and from PyErr
2023-07-19 20:03:35 +00:00
Zak Stucke 31b21a71b5 Combined changelog lines 2023-07-19 12:51:14 +03:00
Zak Stucke f2b7e86e2e Prevent traceback loss on conversion to and from PyErr 2023-07-19 12:07:41 +03:00
Adam Reichold 7958f03170
Merge pull request #3326 from davidhewitt/fix-err-panic-normalize
Preserve panic message after exception is normalized
2023-07-19 05:32:42 +00:00
David Hewitt 2e2dde910a Preserve panic message after exception is normalized 2023-07-18 22:20:41 +01:00
David Hewitt 421e13a89c
Merge pull request #3323 from davidhewitt/pyerr-simplification
merge PyErr internal states for simplicity
2023-07-17 21:46:39 +00:00
David Hewitt 2d1b8e02a8 merge PyErr internal states for simplicity 2023-07-17 22:21:28 +01:00
David Hewitt e5a7400f24
Merge pull request #3319 from davidhewitt/used-underscore-binding
clippy: deny / fix used-underscope-binding lint
2023-07-16 20:53:56 +00:00
David Hewitt 200627324d
Merge pull request #3322 from ringsaturn/main
Add tzfpy
2023-07-16 20:08:02 +00:00
David Hewitt 45ff25cd2a clippy: deny / fix used-underscope-binding lint 2023-07-16 20:49:45 +01:00
David Hewitt 94dd6dcb2a
Merge pull request #3321 from davidhewitt/safer-tuple-into-py
collect arrays of objects prior to filling tuple in fixed-size conversions
2023-07-16 19:40:07 +00:00
ringsaturn 7de10f9962 Add tzfpy 2023-07-16 20:17:21 +01:00
David Hewitt 6f30215566 collect arrays of objects prior to filling tuple in fixed-size conversions 2023-07-16 20:17:02 +01:00
David Hewitt a374a1c268 add tuple_into_py benchmark 2023-07-16 15:12:08 +01:00
David Hewitt 09d79f1a5f
Merge pull request #3318 from davidhewitt/self-arg
macros: change self_arg to be an expression
2023-07-16 13:49:57 +00:00
Adam Reichold 65312b43b2
Merge pull request #3312 from davidhewitt/opt-baseexception
optimize is_instance for PyBaseException
2023-07-14 16:37:24 +00:00
Adam Reichold d2c690b48f
Merge pull request #3320 from CallMeMSL/patch-2
Update outdated link in python_typing_hints.md and fix typos
2023-07-14 16:13:08 +00:00
Adam Reichold 562ef0c58d
Merge pull request #3313 from davidhewitt/unnormalized-err-type
normalize exception in `PyErr::matches` and `PyErr::is_instance`
2023-07-14 15:49:30 +00:00
CallMeMSL 5bcb513add
Update outdated link in python_typing_hints.md and fix typos 2023-07-14 15:50:14 +02:00
David Hewitt f39dd52cf9 remove concept of "normalize" from PyErr docs 2023-07-14 13:20:48 +01:00
David Hewitt 52cd9cbc90 macros: change self_arg to be an expression 2023-07-14 13:18:57 +01:00
David Hewitt 92b724f64f normalize exception in `PyErr::matches` and `PyErr::get_type` 2023-07-14 13:18:30 +01:00
David Hewitt b89934475d
Merge pull request #3317 from davidhewitt/rust-1.71
ci: updates for rust 1.71
2023-07-14 11:37:43 +00:00