Commit Graph

5683 Commits

Author SHA1 Message Date
David Hewitt ba72f58502
Merge pull request #3336 from davidhewitt/3.12-ffi
Update some FFI definitions for Python 3.12
2023-08-11 12:47:57 +00:00
David Hewitt b0f5901ce3 update structmember.rs for Python 3.12 2023-08-11 11:54:16 +01:00
David Hewitt acb1bf7c0a update fileobject.rs for Python 3.12 2023-08-11 11:54:16 +01:00
David Hewitt 5d7dfe2e95 update pydebug.rs for Python 3.12 2023-08-11 11:54:16 +01:00
David Hewitt 64adab1a76 add as_ptr and into_ptr inherent methods 2023-08-11 10:49:42 +01:00
Adam Reichold 1df7270e15
Merge pull request #3374 from Tpt/pathlike
Makes PathBuf FromPyObject implementation work on all os.PathLike
2023-08-09 14:50:28 +00:00
Tpt dd04d2c4cc Fixes linking of `PyOS_FSPath` on PyPy. 2023-08-09 16:19:17 +02:00
David Hewitt bab7ff06c3
Merge pull request #3372 from alex/alex-patch-1
Update constants for py3.12, which fixes struct sizes
2023-08-09 06:13:03 +00:00
Tpt 1e5a49557d Makes PathBuf FromPyObject implementation work on all os.PathLike
PyOS_FSPath is in abi3-py36
2023-08-08 22:15:56 +02:00
Alex Gaynor 51fdf3afef
Update constants for py3.12, which fixes struct sizes
See 766d2518ae8384c6bd7f82727defeb86847ccf64
2023-08-08 15:07:59 -04:00
Adam Reichold 28b8623585
Merge pull request #3366 from PyO3/tuple-rev
Implement DoubleEndedIterator for PyTupleIterator
2023-08-08 04:06:15 +00:00
Adam Reichold a371fbe4f8 Implement DoubleEndedIterator for PyListIterator by caching the length while still validating it before access. 2023-08-07 21:37:50 +02:00
Adam Reichold 4ce3e9649f Implement DoubleEndedIterator for PyTupleIterator 2023-08-07 21:37:50 +02:00
David Hewitt ae982b8ad0
Merge pull request #3360 from davidhewitt/bump-0.19.2
Update `main` for 0.19.2 release
2023-08-01 06:55:06 +00:00
David Hewitt 284c42d840 release: 0.19.2 2023-08-01 07:29:04 +01:00
David Hewitt 6c25b7355e
Merge pull request #3335 from davidhewitt/3.12-ffi-immortal
update object.h definitions for Python 3.12
2023-07-30 15:27:10 +00:00
David Hewitt ef43731993 update tests of refcounting to use a non-immortal object 2023-07-30 15:37:06 +01:00
David Hewitt 4e957e8bd4 update object.h definitions for Python 3.12 2023-07-30 15:37:06 +01:00
David Hewitt 7e43894453
Merge pull request #3355 from davidhewitt/bench-subdir
decouple benchmarks from msrv
2023-07-30 07:23:06 +00:00
David Hewitt 5562052fca
Merge pull request #3347 from davidhewitt/getter-lifetime
fix compile failure for getter with return lifetime of self
2023-07-30 06:39:51 +00:00
David Hewitt 496ddfe06e update criterion to 0.5.1 2023-07-30 07:36:47 +01:00
David Hewitt c2e8ba3c14 move benches to subdirectory 2023-07-30 07:36:47 +01:00
David Hewitt 686fe0aac2 add macro quotes module for common snippets 2023-07-29 21:24:11 +01:00
David Hewitt e86dbab387 macros: `_py` -> `py` 2023-07-29 21:24:11 +01:00
David Hewitt c1126740c5 fix compile failure for getter with return lifetime of self 2023-07-29 21:20:10 +01:00
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