Commit Graph

6094 Commits

Author SHA1 Message Date
David Hewitt 45f2b0aba5
Merge pull request #3816 from Icxolu/python-run
port `Python::run` to `Bound` API
2024-02-09 21:42:51 +00:00
Icxolu 4d423b0c67 port `Python::run` to `Bound` API 2024-02-09 22:09:16 +01:00
David Hewitt b7fb9e672e
Merge pull request #3782 from davidhewitt/type-check-bound
add `bound` method variants for `PyTypeInfo`
2024-02-09 20:22:44 +00:00
David Hewitt 2fedea24b3
Merge pull request #3806 from Icxolu/python-eval
port `Python::eval` to `Bound` API
2024-02-09 17:18:57 +00:00
Icxolu 33dc33ecec port `Python::eval` to `Bound` API 2024-02-09 17:52:00 +01:00
David Hewitt 367eeaeeab add `bound` method variants for `PyTypeInfo` 2024-02-08 22:27:05 +00:00
David Hewitt 9bb001108b
Merge pull request #3813 from davidhewitt/nightly-2024-02-08
ci: allow some dead code warnings on nightly
2024-02-08 21:32:57 +00:00
David Hewitt bcb7b88c23 ci: updates for rust 1.76 2024-02-08 21:13:58 +00:00
David Hewitt 3541506a16 ci: allow some dead code warnings on nightly 2024-02-08 20:52:03 +00:00
David Hewitt 030a618e0d
Merge pull request #3800 from snuderl/PyCFunction-bound-api
PyCFunction bound api
2024-02-06 18:28:40 +00:00
Blaž Šnuderl aa3c938b5e PyCFunction bound api 2024-02-06 18:44:53 +01:00
David Hewitt 059e485a95
Merge pull request #3560 from Jgfrausing/patch-1
docs: Include section on how to disable signals in python
2024-02-06 09:01:17 +00:00
Jonatan G. Frausing b74d733244 docs: include section that disables signal in python 2024-02-06 08:33:44 +00:00
David Hewitt f7bfa9ab11
Merge pull request #3804 from davidhewitt/chrono-conversions
docs: add `chrono` conversions to types table
2024-02-06 08:12:53 +00:00
David Hewitt dd4df29bad docs: add `chrono` conversions to types table 2024-02-05 21:50:25 +00:00
David Hewitt 911723389a
Merge pull request #3803 from PyO3/dependabot/github_actions/codecov/codecov-action-4
Bump codecov/codecov-action from 3 to 4
2024-02-05 19:50:55 +00:00
David Hewitt 020ed39327
Merge pull request #3779 from davidhewitt/bound-from-ptr
expose `Bound::from_owned_ptr` etc
2024-02-05 19:26:57 +00:00
David Hewitt c85d72bb0e connect CODECOV_TOKEN to codecov action 2024-02-05 18:50:18 +00:00
dependabot[bot] ec0be57c68
Bump codecov/codecov-action from 3 to 4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 18:43:19 +00:00
David Hewitt 86f294f6e6 expose `Bound::from_owned_ptr` etc 2024-02-05 18:27:43 +00:00
David Hewitt ecb4ecbe22
Merge pull request #3789 from btel/patch-1
docs: add example for wrapping generic classes
2024-02-05 12:03:20 +00:00
David Hewitt 02f1df69b5
Merge pull request #3792 from davidhewitt/bound-pyclass-2
pyclass methods for `Bound`
2024-02-05 10:38:30 +00:00
Adam Reichold c995426c81
Merge pull request #3799 from davidhewitt/move-cow
move `Cow[u8]` conversions into `conversions::std::slice` module
2024-02-05 10:18:33 +00:00
Bartosz Telenczuk 64a6a02bf0 add example for wrapping generic classes 2024-02-05 11:00:09 +01:00
David Hewitt 42843de47b pyclass methods for `Bound` 2024-02-05 09:41:22 +00:00
David Hewitt 7281268840 move `Cow[u8]` conversions into `conversions::std::slice` module 2024-02-05 08:52:07 +00:00
Bruno Kolenbrander 7938d4cadc
Merge pull request #3798 from davidhewitt/beta-map-clone
ci: fix beta clippy `map_clone` warning
2024-02-05 08:48:14 +00:00
David Hewitt de93d15eeb ci: fix beta clippy `map_clone` warning 2024-02-05 07:57:27 +00:00
David Hewitt c9c6f928a1
Merge pull request #3797 from snuderl/PyEllipsis-and-NotImplemented-get-bound-api
PyEllipsis and PyNotImplemented new get_bound api
2024-02-05 07:50:03 +00:00
Blaž Šnuderl f1384f3582 Implement PyNone.get() using PyNone.get_bound() 2024-02-05 08:06:59 +01:00
Blaž Šnuderl 1fd0aa2b19 Use new method to implement old 2024-02-05 08:03:25 +01:00
Blaz Snuderl 8388b14369 PyNotImplemented get_bound 2024-02-04 20:08:52 +01:00
Blaz Snuderl 8354590ae6 PyEllipsis get_bound method 2024-02-04 20:01:15 +01:00
David Hewitt 5dbb51b9ce
Merge pull request #3784 from davidhewitt/more-extract-bound
migrate many `FromPyObject` implementations to `Bound` API
2024-02-04 15:58:22 +00:00
David Hewitt c5b470202d
Merge pull request #3796 from Icxolu/marshal
convert `marshal` to `Bound` API
2024-02-04 15:56:00 +00:00
Icxolu 304c8e655a convert `marshal` to `Bound` API 2024-02-04 16:25:00 +01:00
David Hewitt 0d4df9c19d adjust `FromPyObject` implementations to always use `'py` lifetime 2024-02-04 14:22:03 +00:00
David Hewitt 2a741a21e6 migrate many `FromPyObject` implementations to `Bound` API 2024-02-04 14:22:03 +00:00
David Hewitt cd9c21f89f
Merge pull request #3793 from snuderl/PyNone-new-api
Implement new API for PyNone #3684
2024-02-04 14:20:32 +00:00
Blaž Šnuderl d1e967e9ea Uncomment a test 2024-02-04 07:31:29 +01:00
Blaž Šnuderl eca943ea35 Add new get_bound and mark old get as deprecated 2024-02-04 07:30:28 +01:00
Blaž Šnuderl 7efd412a63 Merge branch 'main' into PyNone-new-api 2024-02-04 07:29:32 +01:00
David Hewitt 975f182e68
Merge pull request #3794 from davidhewitt/revert-python-none
Revert "Merge pull request #3578 from davidhewitt/typed-helpers"
2024-02-03 21:17:28 +00:00
David Hewitt 76d1b34cd5 Revert "Merge pull request #3578 from davidhewitt/typed-helpers"
This reverts commit 7b07d6d21b, reversing
changes made to 99858236bd.
2024-02-03 20:56:23 +00:00
Blaz Snuderl b1863c73df clippy 2024-02-03 21:25:47 +01:00
Blaz Snuderl 507ea28b27 test 2024-02-03 21:14:31 +01:00
Blaž Šnuderl 9641b11752 hmm 2024-02-03 20:57:46 +01:00
Blaž Šnuderl a2a6062adc fmt 2024-02-03 20:48:25 +01:00
Blaž Šnuderl 7e94da576d Fix doctests 2024-02-03 20:44:48 +01:00
Blaž Šnuderl 5e9d97d1c6 Implement new API for PyNone #3684 2024-02-03 19:09:12 +01:00