Commit Graph

5418 Commits

Author SHA1 Message Date
mejrs 5bdf6987c3 Delete section about immutability of pyclasses 2022-05-05 22:24:49 +02:00
David Hewitt 21bbe3f870
Merge pull request #2357 from PyO3/davidhewitt-patch-1
ffi: remove with_thread cfg
2022-05-05 08:28:24 +01:00
David Hewitt 5d8fd4d30e ffi: remove with_thread cfg 2022-05-05 07:26:05 +01:00
David Hewitt f6daa8d290
Merge pull request #2351 from cjermain/add_examples
Adding polars and rust-python-coverage PyO3 examples
2022-05-03 19:31:16 +01:00
Colin Jermain baa026958b Adding polars and rust-python-coverage PyO3 examples 2022-05-03 19:08:13 +01:00
mejrs 8921d5d1c0 Fix CI 2022-05-03 11:36:24 +02:00
David Hewitt 0d807fcb10
Merge pull request #2352 from PyO3/davidhewitt-patch-1
Fix CI for hashbrown 0.12.1
2022-05-03 07:00:42 +01:00
David Hewitt 0162df616e
Fix CI for hashbrown 0.12.1 2022-05-03 06:18:45 +01:00
mejrs f1e5d4c9a1 Un-ignore and expand on doc examples 2022-05-03 00:47:09 +02:00
mejrs f34b92a368 Expand conversions documentation 2022-05-03 00:46:53 +02:00
David Hewitt 37903c33f4
Merge pull request #2348 from alex/patch-1
fixed comment in string.rs
2022-05-02 18:36:56 +01:00
Alex Gaynor c6055c03f1
fixed comment in string.rs 2022-05-02 11:12:19 -06:00
Bruno Kolenbrander dce4377eb4
Allow more methods to take interned arguments (#2312)
* Allow more methods to take interned arguments

* Changelog

* Unify name bounds

* Resolve merge conflict

* reduce use of py_decref

* Add some attr tests

* Update migration
2022-05-02 11:13:15 +02:00
David Hewitt 97db563253
Merge pull request #2336 from PyO3/davidhewitt-patch-1
Update CHANGELOG.md
2022-04-26 08:52:46 +01:00
David Hewitt 8692b9b54b
Update CHANGELOG.md 2022-04-26 08:09:34 +01:00
David Hewitt 1596ab8a4b
Merge pull request #2333 from davidhewitt/remove-toborrowedobject
remove `ToBorrowedObject` trait
2022-04-26 06:23:35 +01:00
David Hewitt d8f4fc2426
Merge pull request #2334 from davidhewitt/debloat
opt: tidy some generic code bloat
2022-04-26 06:00:26 +01:00
David Hewitt 71f9f18d54 remove toborrowedobject trait 2022-04-26 05:48:34 +01:00
David Hewitt 4168feed1b opt: tidy some generic code bloat 2022-04-26 05:36:57 +01:00
Yuji Kanagawa 41d3b3562c
Merge pull request #2329 from cuishuang/main
fix some typos
2022-04-25 00:28:11 +09:00
cuishuang 19e32a0621 fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-04-24 22:06:32 +08:00
David Hewitt c6249f0214
Merge pull request #2327 from davidhewitt/remove-cls
cleanup: unused cls.rs
2022-04-24 11:47:39 +01:00
David Hewitt e05cec01e4 cleanup: unused cls.rs 2022-04-24 09:20:20 +01:00
David Hewitt 8ef9e54e13
Merge pull request #2287 from davidhewitt/kill-type-object
cleanup: deprecate PyTypeObject trait
2022-04-23 15:41:51 +01:00
David Hewitt 7e2d3117ce cleanup: deprecate PyTypeObject trait 2022-04-23 13:36:32 +01:00
David Hewitt 76bc2a6a4a
Merge pull request #2322 from davidhewitt/opt-in-pyproto
pyproto: make deprecated feature opt-in
2022-04-23 13:34:21 +01:00
David Hewitt ca8958c347
Merge pull request #1979 from mejrs/immutable
Opt out of PyCell borrow tracking
2022-04-23 13:34:02 +01:00
David Hewitt b196aa1d5a remove some redundant traits 2022-04-23 06:27:55 +01:00
David Hewitt e9bd41efb2 better mutability inheritance rules 2022-04-21 20:51:28 +01:00
David Hewitt 0787b670e8 pyproto: make deprecated feature opt-in 2022-04-21 20:19:14 +01:00
David Hewitt 7118e94947 Merge branch 'main' into immutable 2022-04-19 19:00:33 +01:00
pigeon dea9eb7af6
Implement ToPyObject for [T; N] (#2313) 2022-04-19 15:09:54 +02:00
David Hewitt 1d71d173bb
Merge pull request #2311 from messense/workflow-dispatch
Add `workflow_dispatch` trigger event to CI
2022-04-19 07:23:37 +01:00
David Hewitt 330fa78a41
Merge pull request #2309 from messense/pyo3-ffi-generate-abi3-import-lib
Add `generate-abi3-import-lib` feature to `pyo3-ffi`
2022-04-19 07:01:15 +01:00
messense 6f278923da
Add `workflow_dispatch` trigger event to CI
https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
2022-04-19 13:18:02 +08:00
messense 97a9121025
pyo3-ffi: forward `extension-module` feature to `pyo3-build-config` 2022-04-19 13:17:47 +08:00
messense 1276068891
Add `generate-abi3-import-lib` feature to `pyo3-ffi` 2022-04-19 13:17:43 +08:00
David Hewitt e88655d7ed
Merge pull request #2314 from mejrs/try-fix-ci
Try fix CI
2022-04-19 06:12:27 +01:00
mejrs 5e7e50ec24 Try with previous alpha version 2022-04-18 22:31:58 +02:00
David Hewitt ac56be4e23
Merge pull request #2307 from davidhewitt/0.15.2-changelog
changelog: add notes from 0.15.2
2022-04-14 19:50:59 +01:00
David Hewitt 34ec0e8bd2
Merge pull request #2290 from PyO3/release-0.16.4
release: 0.16.4
2022-04-14 19:21:23 +01:00
David Hewitt 3fe38307b8 changelog: add notes from 0.15.2 2022-04-14 19:16:57 +01:00
David Hewitt 36603459da
Merge pull request #2305 from davidhewitt/sorted-authors
noxfile: sort authors case-insensitively
2022-04-14 19:07:43 +01:00
Adam Reichold d2caa056e9 release: 0.16.4 2022-04-14 07:56:42 +01:00
David Hewitt 8cd551fdfc
Merge pull request #2293 from ravenexp/abi3-no-python
pyo3-build-config: Build "abi3" extensions without an interpreter
2022-04-14 07:55:53 +01:00
David Hewitt 01e2a553df noxfile: sort authors case-insensitively 2022-04-14 07:42:53 +01:00
Adam Reichold c2d44ac7e3
Merge pull request #2263 from pickfire/pytzinfoaccess
Add PyTzInfoAccess
2022-04-13 11:16:53 +02:00
Adam Reichold 0d0089ea29 Remove redundant use statements and add missing calls to add_function in datetime test. 2022-04-13 09:40:16 +02:00
Sergey Kvachonok ae7e1f5ee9 pyo3-build-config: Build "abi3" extensions without an interpreter
Support compiling portable "abi3" extension modules even when
the build host Python interpreter configuration is not available
or the discovered Python interpreter version is not supported.

Maturin already implements this by building "abi3" extension wheels
with `PYO3_NO_PYTHON` environment veriable set for cargo when
an `abi3-py3*` feature is detected.

Closes #2292
2022-04-13 10:40:08 +03:00
Adam Reichold 9e605da761
Merge pull request #2299 from PyO3/hex-intp-cfg
Use more robust hexadecimal escaping of interpreter configuration.
2022-04-12 22:25:40 +02:00