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
messense
2dc1e9a2b7
Fix memory leak in PyTypeBuilder::build
2023-08-18 21:13:13 +08:00
David Hewitt
f7503afbc8
remove all #py quoting
2023-08-18 14:04:38 +01:00
David Hewitt
c03c787a91
Merge pull request #3393 from alex/drop-other-trait
...
Remove usage of `AsPyPointer` in `IntoPy<PyObject>` trait implementation
2023-08-18 12:58:07 +00:00
David Hewitt
7f32ed96db
Merge pull request #3396 from Tpt/IntoInnerError
...
Uses io::Error code when converting io::IntoInnerError to PyErr
2023-08-18 08:27:35 +00:00
David Hewitt
96de13e28e
Merge pull request #3397 from Tpt/io-err-from
...
Pick a relevant ErrorKind when building an io::Error from a OSError subclass
2023-08-18 08:24:57 +00:00
Tpt
1062f244ea
Pick a relevant ErrorKind when building an io::Error from a OSError subclass
2023-08-17 18:33:51 +02:00
Tpt
7c366cb930
Uses io::Error code when converting io::IntoInnerError to PyErr
2023-08-17 18:25:36 +02:00
Alex Gaynor
9f1b56b659
Remove usage of AsPyPointer
in IntoPy<PyObject>
trait implementation
2023-08-17 07:05:52 -04:00
Iliya Malecki
d1f0561036
added speedy BigInt extraction
2023-08-17 08:15:50 +01:00
Iliya Malecki
438d0a2b37
add benchmark for BigInt interaction
2023-08-17 08:15:50 +01:00
Adam Reichold
9363491d54
Merge pull request #3384 from DataTriny/pyclass_rename_variants
...
Add `rename_all` attribute to `#[pyclass]`
2023-08-16 19:06:37 +00:00
David Hewitt
0375d57989
Merge pull request #3391 from alex/drop-trait
...
Remove usage of `AsPyPointer` in traits for convergint to PyObject
2023-08-16 16:39:46 +00:00
David Hewitt
75da8911d7
Merge pull request #3392 from davidhewitt/license-fixups
...
tidy up some file locations after dual licensing
2023-08-16 16:39:13 +00:00
DataTriny
6c70db1e0b
Test renaming rules
2023-08-16 18:24:19 +02:00
Alex Gaynor
c259e77ca2
Remove usage of AsPyPointer
in traits for convergint to PyObject
...
Refs #3358
2023-08-16 07:03:57 -04:00
David Hewitt
eba2c59778
tidy up some file locations after dual licensing
2023-08-16 08:22:51 +01:00
David Hewitt
82b1e55e2b
Merge pull request #3389 from alex/less-as-py-pointer
...
Migrate `PyIterator::from_object` and `PyByteArray::from` from `AsPyPointer` to `&PyAny`
2023-08-15 23:12:28 +00:00
David Hewitt
ff823ac3df
Merge pull request #3390 from puradox/fix/ffi-license
...
Replace pyo3-ffi LICENSE with ACKNOWLEDGEMENTS
2023-08-15 23:07:55 +00:00
David Hewitt
e6626de9fa
Merge pull request #3108 from DataTriny/dual_license
...
Dual-license PyO3 under Apache 2.0 or MIT
2023-08-15 23:06:06 +00:00
Sam Balana
0607905771
Replace pyo3-ffi LICENSE with ACKNOWLEDGEMENTS
...
Replace the Python license from pyo3-ffi/LICENSE with an
ACKNOWLEDGEMENTS file. Relicense under the parent Apache 2.0 license.
pyo3-ffi contains a Rust reproduction of the CPython header files, only
copying what is absolutely necessary for binary compatibility. As such,
it is unnecessary to include the Python license.
Fixes #3124
2023-08-15 15:29:53 -07:00
Alex Gaynor
1a904a7429
Migrate PyIterator::from_object
and PyByteArray::from
from AsPyPointer
to &PyAny
2023-08-15 18:03:56 -04:00