Commit Graph

2349 Commits

Author SHA1 Message Date
David Hewitt 85f1d009ec Add introduction to class.md 2020-07-01 07:44:37 +01:00
Yuji Kanagawa 800077821d
Merge pull request #1014 from PyO3/packaging-docs
Update maturin/setuptools-rust section
2020-06-30 22:34:09 +09:00
konstin 9251748280 Update maturin/setuptools-rust section 2020-06-30 14:20:50 +02:00
Yuji Kanagawa 0676a21295
Merge pull request #1013 from kngwyu/fix-unsendable-test
Skip panic_unsendable test if -Cpanic=abort is given
2020-06-30 20:17:08 +09:00
kngwyu 3ae1caa55a Skip panic_unsendable test if -Cpanic=abort is given 2020-06-30 17:58:31 +09:00
Yuji Kanagawa c6abf24cca
Merge pull request #1012 from PyO3/release-0.11
Bump version to 0.11.1
2020-06-30 17:31:24 +09:00
kngwyu 6cbe9ff30d Bump version to 0.11.1 2020-06-30 14:53:55 +09:00
kngwyu 3496b09d05 Update guide.sh 2020-06-30 14:50:32 +09:00
Yuji Kanagawa b2e7acd181
Merge pull request #1009 from kngwyu/pyclass-unsendable
Introduce #[pyclass(unsendable)]
2020-06-30 14:44:53 +09:00
Yuji Kanagawa 512335186a
Merge branch 'master' into pyclass-unsendable 2020-06-30 14:17:40 +09:00
kngwyu d76fe7835a Introduce #[pyclass(unsendable)] 2020-06-30 12:30:17 +09:00
Yuji Kanagawa 51bff2bccc
Merge pull request #1010 from PyO3/dependabot/cargo/parking_lot-0.11.0
Update parking_lot requirement from 0.10.2 to 0.11.0
2020-06-30 12:12:54 +09:00
David Hewitt a250de824d Update CHANGELOG 2020-06-29 22:26:21 +01:00
David Hewitt 0870baab67
Merge pull request #1011 from yawara/fix-broken-link
Fix broken link
2020-06-29 22:23:08 +01:00
Yawara ISHIDA 83ce7e6754 Fix broken link 2020-06-30 05:05:04 +09:00
dependabot-preview[bot] cefc45889c
Update parking_lot requirement from 0.10.2 to 0.11.0
Updates the requirements on [parking_lot](https://github.com/Amanieu/parking_lot) to permit the latest version.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.10.2...0.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 09:01:21 +00:00
Yuji Kanagawa 61a58ed0e5
Merge pull request #1008 from kngwyu/makefile-tweak
Remove tox -e py from Makefile
2020-06-29 17:00:06 +09:00
kngwyu 83e5d274cf Remove tox -e py from Makefile 2020-06-28 23:53:46 +09:00
Yuji Kanagawa 6335a7f1b5
Merge pull request #1006 from PyO3/release-0.11
Fix clippy warning
2020-06-28 17:18:53 +09:00
kngwyu 42f592be4c Fix clippy warning 2020-06-28 14:11:11 +09:00
Yuji Kanagawa e3218ddcae
Merge pull request #989 from PyO3/release-0.11
Bump version to 0.11.0
2020-06-28 14:01:23 +09:00
David Hewitt f89e9e0eb1 Write migration guide for 0.11 2020-06-27 23:59:44 +09:00
kngwyu fd94a0d55c Bump version to 0.11.0 2020-06-27 23:59:44 +09:00
Yuji Kanagawa 15d919aa3d
Merge pull request #999 from davidhewitt/simplify-method-receivers
Allow #[getter] and #[setter] functions to take PyRef
2020-06-27 23:59:08 +09:00
David Hewitt c3e993e5a6 Apply suggestions from code review
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2020-06-27 14:56:15 +01:00
David Hewitt e140b729fc Allow #[getter] and #[setter] functions to take PyRef 2020-06-27 14:55:22 +01:00
Yuji Kanagawa 24fb2bb1a0
Merge pull request #1005 from kngwyu/travis-pypy
Use travis's pypy binary instead of anaconda
2020-06-27 21:10:51 +09:00
kngwyu 016800ba4d Use travis's pypy binary instead of anaconda 2020-06-27 19:45:31 +09:00
Yuji Kanagawa f50d6d48e4
Merge pull request #1001 from PyO3/fix-cov
Use Nightly for coverage
2020-06-27 17:54:47 +09:00
kngwyu 7492b884f7 Use Nightly for coverage 2020-06-27 16:59:43 +09:00
Yuji Kanagawa bb782d7f83
Merge pull request #1004 from kngwyu/tls-destructed
Ensure GILPool don't panic even after thread_locals are destructed
2020-06-27 15:46:05 +09:00
kngwyu 7ce0c36b2f Ensure GILPool don't panic even after thread_locals are destructed 2020-06-27 15:18:10 +09:00
Yuji Kanagawa e114f637c5
Merge pull request #1002 from kngwyu/refactor-nightly
Refactor around the nightly feature
2020-06-26 22:08:53 +09:00
kngwyu a78a832431 Refactor around the nightly feature 2020-06-26 19:29:37 +09:00
Yuji Kanagawa e35622b941
Merge pull request #997 from davidhewitt/pyproto-next-return
Add __next__ return
2020-06-24 23:16:35 +09:00
Yuji Kanagawa 10306bd386
Merge pull request #995 from scalexm/recursive-attr
Re-enable recursive class attributes
2020-06-24 23:16:07 +09:00
scalexm f5e1dff7eb Update docs now that recursive `#[classattr]` are allowed again 2020-06-23 22:41:23 +02:00
scalexm f49478619f Re-enable recursive class attributes
Use some kind of two-stage initialization as described in #975, by
being very cautious about when to allow the GIL to be released.
2020-06-23 22:40:29 +02:00
David Hewitt 9f9137c6e4 Add ability to return from `__next__` / `__anext__` 2020-06-23 15:26:28 +01:00
Yuji Kanagawa a5e3d4e7c8
Merge pull request #998 from davidhewitt/pyproto-optional-return-ty
Allow omitting return type for `#[pyproto]`
2020-06-23 22:31:31 +09:00
David Hewitt a9c7e12be0 Allow skipping the return type completely for `#[pyproto]` methods returning `()`. 2020-06-23 11:51:02 +01:00
David Hewitt 0c59b05e1f
Merge pull request #996 from davidhewitt/pyproto-simplifications
Refactor `#[pyproto]` Result types
2020-06-23 11:49:39 +01:00
David Hewitt c7a4b4770f Refactor `#[pyproto]` Result types 2020-06-23 11:08:36 +01:00
Yuji Kanagawa f757c99dac
Merge pull request #994 from scalexm/ptr
`LazyStaticType::get_or_init` returns an `*mut` instead of a `&` ref
2020-06-23 10:07:43 +09:00
Yuji Kanagawa 1012bd1269
Merge pull request #992 from kngwyu/expose-apis
Expose some APIs for rust-numpy
2020-06-23 09:43:51 +09:00
Yuji Kanagawa 071eaacdcf
Merge pull request #993 from davidhewitt/remove-into-py-result
Remove IntoPyResult
2020-06-23 09:43:36 +09:00
scalexm 863c0001e1 `LazyStaticType::get_or_init` returns an `*mut` instead of a `&` ref 2020-06-22 22:37:11 +02:00
David Hewitt cc190c9ccd Remove IntoPyResult 2020-06-22 17:19:00 +01:00
kngwyu 2caf5b1c10 Expose some APIs for rust-numpy 2020-06-23 01:11:43 +09:00
Yuji Kanagawa 4c04268bdb
Merge pull request #990 from kngwyu/tpnew-fix
Use subclass correctly in tp_new
2020-06-22 16:23:15 +09:00