Commit graph

5723 commits

Author SHA1 Message Date
David Hewitt d895734499 change PyDict::from_sequence to take just &PyAny 2023-10-20 11:59:26 +01:00
David Hewitt d8a6f37fec
Merge pull request #3421 from davidhewitt/codspeed
try adding codspeed benchmarks
2023-10-20 09:14:41 +00:00
Adam Reichold 63e24df968
Merge pull request #3529 from jessekrubin/utiles2examples
docs: utiles added to examples of readme!
2023-10-20 06:02:19 +00:00
David Hewitt bf2c5a896b add codspeed benchmarks 2023-10-19 21:36:05 +01:00
jessekrubin de30e3b1a5 utiles added to examples of readme! 2023-10-19 12:13:00 -07:00
messense 3aaa7e5615
Merge pull request #3526 from davidhewitt/ci-beta
ci: include beta as an allowed-to-fail job
2023-10-19 03:34:48 +00:00
David Hewitt e502c133a4 ci: include beta as an allowed-to-fail job 2023-10-18 22:21:29 +01:00
Adam Reichold 638a9ad84c
Merge pull request #3525 from davidhewitt/architecture-corrections
small tidy ups to Architecture.md
2023-10-17 19:31:57 +00:00
David Hewitt 708c644ecd small tidy ups to Architecture.md 2023-10-17 20:06:22 +01:00
messense fe60f313f9
Merge pull request #3518 from davidhewitt/ci-actions
ci: install prebuilt cargo-careful
2023-10-17 02:46:44 +00:00
David Hewitt 0c58648059 ci: install prebuilt cargo-careful 2023-10-16 20:16:01 +01:00
David Hewitt 674dac8bfc
Merge pull request #3517 from davidhewitt/remove-comparison
remove comparison to rust-cpython
2023-10-16 19:11:29 +00:00
David Hewitt 2ca8e573a4 remove comparison to rust-cpython 2023-10-15 22:03:24 +01:00
David Hewitt f12f928bd5
Merge pull request #3514 from messense/memoryview
Add `PyMemoryView` type
2023-10-15 15:08:50 +00:00
David Hewitt aa28cec893
Merge pull request #3507 from orhun/feat/support_smallvec_conversion
Add support for `SmallVec` in conversion traits (#3440)
2023-10-15 14:43:55 +00:00
messense dca18b3e41
Fix PyMemoryView_FromBuffer cfg 2023-10-15 22:24:58 +08:00
messense f4e64aadef
Add test cases for new TryFrom impls 2023-10-15 21:53:31 +08:00
David Hewitt cabbca4003
Merge pull request #3515 from davidhewitt/drop-psutil
ci: drop psutil dependency
2023-10-15 13:43:11 +00:00
David Hewitt 410fef5d79 ci: drop psutil dependency 2023-10-15 14:15:38 +01:00
messense d4ed66fff0
Add TryFrom impls for PyByteArray and PyMemoryView 2023-10-15 17:39:01 +08:00
messense 5b94241bd7
Add PyMemoryView type 2023-10-15 17:32:09 +08:00
messense b8cf9e8358
Merge pull request #3512 from PyO3/fix-chrono-dep
Align chrono dev and runtime dependency version specifications.
2023-10-14 08:23:35 +00:00
Adam Reichold 7ad122e7d9 Align chrono dev and runtime dependency version specifications. 2023-10-14 09:18:45 +02:00
Orhun Parmaksız 87cbd38229
Set version of smallvec to 1.0 2023-10-13 15:37:25 +03:00
David Hewitt bed3ebeb37
Merge pull request #3489 from davidhewitt/bump-ci-version
bump "latest" CI jobs to 3.12
2023-10-13 12:20:55 +00:00
Orhun Parmaksız 31acf0dc6f
Add an entry to features table in lib 2023-10-13 13:35:30 +03:00
David Hewitt db13a97790
Merge pull request #3445 from davidhewitt/py2-internals
add `Py2` as an internal API for optimization and dogfooding
2023-10-13 06:49:08 +00:00
David Hewitt 6801c508a8 keep emscripten back on 3.11 for now 2023-10-13 08:25:36 +02:00
David Hewitt cac95f31c7 add Py2 as an internal API for optimization and dogfooding 2023-10-13 08:10:37 +02:00
David Hewitt 2b7eb3a05e also test emscripten with CI-build-full 2023-10-13 00:57:39 +02:00
David Hewitt b2df27f0a1 bump "latest" CI jobs to 3.12 2023-10-13 00:57:39 +02:00
David Hewitt 642b335ce3
Merge pull request #3493 from PyO3/release-0.20
release: 0.20.0
2023-10-11 21:23:08 +00:00
Orhun Parmaksız dfeae473e5
Add support for SmallVec in conversion traits (#3440) 2023-10-11 17:14:23 +03:00
David Hewitt c77deee18e release: 0.20.0 2023-10-11 14:39:19 +02:00
David Hewitt b03c4cb33c
Merge pull request #3506 from davidhewitt/default-ne
Fix bug in default implementation of `__ne__`
2023-10-11 10:04:55 +00:00
David Hewitt e1d4173827 Fix bug in default implementation of __ne__ 2023-10-11 09:48:06 +01:00
David Hewitt b73c06948c
Merge pull request #3504 from davidhewitt/classmethod-receiver
emit helpful error hint for classmethod with receiver
2023-10-10 21:35:34 +00:00
David Hewitt 76bf521ed0
Merge pull request #3505 from davidhewitt/deprecate_dunder_new
deprecate undocumented `#[__new__]` form of `#[new]`
2023-10-10 21:35:10 +00:00
David Hewitt 6c90325a1c deprecate undocumented #[__new__] form of #[new] 2023-10-10 08:47:03 +01:00
David Hewitt c0b5004cfa
Merge pull request #3455 from davidhewitt/normalized-exceptions
also use `PyErr::SetObject` on Python versions before 3.12
2023-10-10 07:44:39 +00:00
David Hewitt 80bbb30f56
Merge pull request #3500 from ecarrara/fix-eval-frame-py311
Fix `_PyFrameEvalFunction` receives an `_PyInterpreterFrame` since Python 3.11
2023-10-10 05:35:21 +00:00
David Hewitt ddc04ea093 emit helpful error hint for classmethod with receiver 2023-10-10 06:30:19 +01:00
Erle Carrara 0e0e6623f3
fix _PyFrameEvalFunction. Since python 3.11 it receives a _PyInterpreterFrame 2023-10-09 23:36:01 -03:00
Bruno Kolenbrander 300f2d63ae
Merge pull request #3487 from mejrs/ffi_example
refactor pyo3-ffi example to an example project
2023-10-09 22:53:35 +00:00
mejrs de27e5e41f refactor pyo3-ffi example to an example project 2023-10-09 23:45:14 +02:00
Bruno Kolenbrander 36b4a79930
Merge pull request #3502 from mejrs/interpreterapi
add PyInterpreterConfig api
2023-10-08 21:22:01 +00:00
David Hewitt 234c7b3d66
Merge pull request #3484 from davidhewitt/new-no-arguments
error on passing arguments to `#[new]` and similar attributes
2023-10-08 21:21:51 +00:00
mejrs 0cccb9f64b add PyInterpreterConfig api 2023-10-08 22:38:11 +02:00
David Hewitt b3ee70db40 refactor parse_fn_type 2023-10-08 21:31:59 +01:00
David Hewitt 1158c08f42 error on passing arguments to #[new] and similar attributes 2023-10-08 21:31:59 +01:00