Commit graph

5723 commits

Author SHA1 Message Date
David Hewitt 10d9eeb7e8 add pyo3-runtime stub package 2023-09-12 21:18:32 +02:00
David Hewitt fdf8c7ae68
Merge pull request #3448 from PyO3/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-12 06:09:27 +00:00
dependabot[bot] f470fd2d82
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 20:30:05 +00:00
David Hewitt bcb01049cc
Merge pull request #3404 from davidhewitt/fix-dealloc
call PyObject_GC_Untrack before deallocating
2023-09-11 05:18:34 +00:00
David Hewitt 5ab8b9649b
Merge pull request #3444 from davidhewitt/ffi-monitors
Fix name of `_Py_LocalMonitors` in latest 3.12 RCs
2023-09-10 21:00:28 +00:00
David Hewitt 0ab00c7442
Merge pull request #3330 from davidhewitt/get-item-with-error
move PyDict::get_item_with_error to PyDict::get_item
2023-09-10 20:40:20 +00:00
David Hewitt 932c5c7061 workaround BaseException issue on Python versions before 3.11 2023-09-10 22:16:17 +02:00
David Hewitt fc6e22a554 Fix name of _Py_LocalMonitors in latest 3.12 RCs 2023-09-10 22:14:29 +02:00
David Hewitt 0b87297fee split out release and cpython version in test-debug 2023-09-09 22:29:58 +01:00
David Hewitt e28403e772 call PyObject_GC_Untrack before deallocating 2023-09-09 22:29:58 +01:00
David Hewitt 95fe0a708c test debug build in CI 2023-09-09 22:29:58 +01:00
David Hewitt c7f834ad87 add migration guide entry for PyDict::get_item 2023-09-09 13:05:51 +01:00
David Hewitt a425c69dce
Merge pull request #3434 from davidhewitt/test-no-fail-fast
add --no-fail-fast to cargo test in CI
2023-09-09 12:01:08 +00:00
David Hewitt 6f6075a473 add --no-fail-fast to cargo test in CI 2023-09-09 12:26:00 +01:00
David Hewitt 8ddfef04bc add detail to documentation for PyDict::get_item 2023-09-09 12:23:06 +01:00
David Hewitt 8a60540e25 amend code for PyDict::get_item change 2023-09-09 12:23:06 +01:00
David Hewitt 16728c4da2 move PyDict::get_item_with_error to PyDict::get_item 2023-09-09 12:23:06 +01:00
David Hewitt 1ea8f0c959
Merge pull request #3441 from davidhewitt/netlify-doc-links
remove some redundant explicit doc links
2023-09-08 15:20:23 +00:00
David Hewitt f0f15edc4e remove some redundant explicit doc links 2023-09-08 15:36:24 +01:00
David Hewitt 48bcf9c76f
Merge pull request #3436 from davidhewitt/mejrs-ffi-comments
add comments to ffi def structures
2023-09-07 07:09:28 +00:00
David Hewitt ad042f3bae add comments to ffi def structures
Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
2023-09-06 08:56:51 +01:00
David Hewitt 8dc3d2bc11
Merge pull request #3433 from Hofer-Julian/noplayground
Add `noplayground` annotation to guide snippets
2023-09-05 20:53:48 +00:00
Julian Hofer 6e24fb6643 guide: Add playground.runnable = false to book.toml 2023-09-05 22:28:43 +02:00
David Hewitt bf093b3903
Merge pull request #3431 from PyO3/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-04 22:13:37 +00:00
dependabot[bot] b9f4197bf5
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 20:47:53 +00:00
David Hewitt e67b283b25
Merge pull request #3358 from alex/ptr-unsafe-trait
fixes #3325 -- mark `AsPyPointer` as `unsafe trait`
2023-09-04 05:05:56 +00:00
David Hewitt cecd32aae6
Merge pull request #3414 from davidhewitt/simpler-thread-checker
simplify thread checker implementation
2023-09-03 13:45:50 +00:00
David Hewitt 4c46d81afd simplify thread checker implementation 2023-09-03 14:15:26 +01:00
David Hewitt 218a595dd9
Merge pull request #3427 from davidhewitt/chrono-ci
fix chrono deprecation warnings
2023-09-02 21:48:37 +00:00
David Hewitt 9e089a5538 fix chrono deprecation warnings 2023-09-02 20:55:53 +01:00
David Hewitt cc1aa598cd
Merge pull request #3411 from OliverFM/main
Update docs with fresher bazel example
2023-08-29 06:17:51 +00:00
oliver 9714f819f0 Update docs with fresher bazel example 2023-08-29 06:44:22 +01:00
David Hewitt 0de17149f2
Merge pull request #3418 from smheidrich/mention-inability-to-derive-from-python-classes-in-docs
Mention inability to subclass Python classes in docs
2023-08-29 05:07:21 +00:00
Shahriar Heidrich 2855b9d508 Mention no subclassing of Python classes in docs 2023-08-28 12:34:13 +02:00
David Hewitt abc942a453
Merge pull request #3408 from rytheo/builtin-singletons
Add types for `None`, `Ellipsis`, and `NotImplemented`
2023-08-26 13:29:00 +00:00
Ryan Lowe b3cf61cea6 add types for built-in singletons 2023-08-26 08:57:34 -04:00
David Hewitt 23fd73eb57
Merge pull request #3413 from davidhewitt/llvm-cov
fix escaping of llvm-cov output
2023-08-25 11:57:48 +00:00
David Hewitt a5d0a16b21 ci: updates for Rust 1.72 2023-08-25 12:30:34 +01:00
David Hewitt c83951754e fix escaping of llvm-cov output 2023-08-25 12:13:20 +01:00
David Hewitt 637e39deb7
Merge pull request #3356 from davidhewitt/py-idents
remove all #py quoting
2023-08-20 10:52:13 +00:00
Adam Reichold 12183ad3ed
Merge pull request #3379 from iliya-malecki/main
BigInt speedup
2023-08-19 12:09:28 +00:00
David Hewitt 9336e5b605
Merge pull request #3403 from davidhewitt/ffi-objimpl
update definitions for objimpl.h
2023-08-19 12:02:32 +00:00
Adam Reichold e6293a9608
Merge pull request #3405 from davidhewitt/debug-3.11
fix compile warning on pre-3.12 debug builds
2023-08-19 05:25:57 +00:00
David Hewitt 9604957c72 further refactor num-bigint conversion 2023-08-18 22:27:47 +01:00
David Hewitt 69475b0a83 update definitions for objimpl.h 2023-08-18 22:17:53 +01:00
David Hewitt 7fce07935c fix compile warning on pre-3.12 debug builds 2023-08-18 22:15:29 +01:00
Adam Reichold 94f15679ab
Merge pull request #3402 from Tpt/io-err-unwrap
Unwrap the underlying PyErr when converting an io::Error back to a PyErr
2023-08-18 16:56:53 +00:00
David Hewitt 15388fd53b
Merge pull request #3401 from messense/fix-issue-3400
Fix memory leak in `PyTypeBuilder::build`
2023-08-18 14:28:36 +00:00
Alex Gaynor df5aa77800
fixes #3325 -- mark AsPyPointer as unsafe trait 2023-08-18 10:16:34 -04:00
Tpt 6d8e8b302f Unwrap the underlying PyErr when converting an io::Error back to a PyErr
Exposes it directly instead of loosing all information outside the message
2023-08-18 15:56:25 +02:00