Commit graph

1874 commits

Author SHA1 Message Date
Yuji Kanagawa 0eb4eb4e58 Merge branch 'master' into property-fixes 2020-02-10 15:13:19 +09:00
Yuji Kanagawa 1d33ac4e7d Merge pull request #761 from davidhewitt/fix-clippy-warnings
Bump minimum Rust version to 1.42.0-nightly
2020-02-10 15:11:54 +09:00
kngwyu a6fed34e23 Fix clippy warnings in build.rs and tests 2020-02-10 14:53:13 +09:00
kngwyu 3176097a25 Update minumum nightly in travis.yml and get_started 2020-02-10 10:51:37 +09:00
David Hewitt de9698e7a5 Changes from PR#760 2020-02-09 11:06:44 +00:00
David Hewitt 6c25f6aacc Bump minimum Rust version to 1.42.0-nightly 2020-02-09 10:54:00 +00:00
David Hewitt 20c6c2d463 Fix clippy warnings 2020-02-08 19:25:52 +00:00
David Hewitt 50bb41f398 Add CHANGELOG entry for msrv bump 2020-02-08 19:02:52 +00:00
David Hewitt cea8a9a2b0 Refactor to clean up property descriptor macros 2020-02-08 18:57:30 +00:00
Yuji Kanagawa 6069ee1239
Merge pull request #758 from kngwyu/remove-oncecell
Lazy type objects without once_cell
2020-02-08 15:01:23 +09:00
kngwyu ba20b0ef21 Remove unnecessary parentheses from FFI 2020-02-08 14:27:59 +09:00
kngwyu 50de21abb7 Use AtomicBool for lazy types 2020-02-08 14:03:57 +09:00
David Hewitt f8c8b8effd Fix for PyObject with #[pyo3(get)] 2020-02-07 19:31:13 +00:00
kngwyu 58a0841ff7 Rewrite LazyTypeObjects without once_cell 2020-02-07 00:10:27 +09:00
kngwyu f8de335b00 Make PyTypeInfo::type_object return &'static instead of NonNull 2020-02-06 19:11:59 +09:00
Yuji Kanagawa 14980d742d
Merge pull request #755 from davidhewitt/property-doc
Fix docstrings generated by `[pyo3(get, set)]`
2020-02-03 18:14:54 +09:00
Yuji Kanagawa 8fea23a0b8
Merge pull request #751 from davidhewitt/remove-static-mut
Remove static mut from PyTypeInfo implementation
2020-02-03 17:39:25 +09:00
David Hewitt dfb7d7c58d Fix docstrings generated by [pyo3(get, set)] 2020-02-03 08:01:30 +00:00
David Hewitt 04f30c5971 Revisions from PR#751 2020-02-03 07:34:42 +00:00
Yuji Kanagawa d75f072811
Merge pull request #754 from kngwyu/py_from_native
Implement From<&PyNativeType> for Py
2020-02-02 21:17:24 +09:00
kngwyu b88fe39ed6 Implement From<&PyNativeType> for Py 2020-02-02 15:28:44 +09:00
Yuji Kanagawa 1beca86b1c
Merge pull request #753 from Alexander-N/py3.8-ci
Add Python 3.8 to CI
2020-02-02 00:11:19 +09:00
Alexander Niederbühl b604061106 Add Python 3.8 to CI 2020-02-01 15:08:41 +01:00
David Hewitt 7531b9fb07 Remove even more uses of static mut 2020-01-30 13:24:55 +00:00
David Hewitt 5cbdef6471 Remove static mut from PyTypeInfo implementation 2020-01-30 00:14:27 +00:00
Yuji Kanagawa 99c601b6a1
Merge pull request #750 from kngwyu/separete-extract
Separate FromPyObjectImpl from pyobject_native_type_convert!
2020-01-29 19:53:29 +09:00
kngwyu d1f28e9089 Separate FromPyObjectImpl from pyobject_native_type_convert! 2020-01-29 18:12:16 +09:00
Yuji Kanagawa 99a7856dad
Merge pull request #745 from davidhewitt/fix-743
Fix usage of raw idents with #[pyo3(set)]
2020-01-28 00:22:45 +09:00
Yuji Kanagawa 3c4809bf0f
Merge branch 'master' into fix-743 2020-01-27 23:40:18 +09:00
Yuji Kanagawa 4cb15ef679
Merge pull request #746 from davidhewitt/tidy-changelog
Fix Changelog typos and reorder entries
2020-01-27 23:39:21 +09:00
David Hewitt a8ec946fc3 Fix usage of raw idents with #[pyo3(set)] 2020-01-27 10:29:14 +00:00
David Hewitt 7546429734 Fix Changelog typos and reorder entries 2020-01-27 10:26:31 +00:00
Yuji Kanagawa 11084e1433
Merge pull request #747 from davidhewitt/fix-ci-2020-01-27
Fix CI failures
2020-01-27 19:13:01 +09:00
David Hewitt d536974208 Remove unneeded brackets 2020-01-27 08:33:40 +00:00
Yuji Kanagawa c57e5f1830
Merge pull request #744 from Hywan/patch-2
test: Fix a typo in an error message
2020-01-25 12:42:49 +09:00
Yuji Kanagawa 541816b7d2
Merge pull request #730 from davidhewitt/extract-clone
FromPyObject for #[pyclass] with T: Clone
2020-01-25 12:42:05 +09:00
David Hewitt fdf407e045 FromPyObject for #[pyclass] with T: Clone 2020-01-24 08:57:28 +00:00
Ivan Enderlin 8ed2662251
test: Fix a typo in an error message
Thank for the awesome project!
2020-01-24 08:44:23 +01:00
Yuji Kanagawa 3d8b9a8e7b
Merge pull request #741 from davidhewitt/rm-pynoargs
Remove `PyNoArgsFunction`
2020-01-23 11:47:17 +09:00
David Hewitt 43df3299ab Remove PyNoArgsFunction 2020-01-22 16:27:36 +00:00
Yuji Kanagawa d2174c2ead
Merge pull request #733 from PyO3/v0.9.0
Bump version to 0.9.0-alpha.1
2020-01-17 21:49:55 +09:00
Yuji Kanagawa 4fe1841c5f
Merge branch 'master' into v0.9.0 2020-01-17 14:27:02 +09:00
Yuji Kanagawa db6c822fa2
Merge pull request #734 from ijl/rm-spin
Use parking_lot::Mutex instead of spin::Mutex
2020-01-17 14:24:54 +09:00
Yuji Kanagawa 99835f5ce8
Merge pull request #735 from ijl/ffi-dict-hash
_PyDict_SetItem_KnownHash(), _Py_HashBytes()
2020-01-17 01:09:48 +09:00
ijl 23d380ef07 _Py_HashBytes() 2020-01-16 14:04:25 +00:00
ijl a55a48b189 _PyDict_SetItem_KnownHash() 2020-01-16 14:04:17 +00:00
ijl 4b2f4b3a15 Use parking_lot::Mutex instead of spin::Mutex
spin is no longer maintained.

Fixes #718.
2020-01-16 13:53:54 +00:00
kngwyu 56f68a55cd Bump version to 0.9.0-alpha.1 2020-01-16 20:05:44 +09:00
Yuji Kanagawa c5ae2dcdb7
Merge pull request #731 from davidhewitt/remove-dead-code
Remove dead code
2020-01-14 12:16:22 +09:00
Yuji Kanagawa 74f02119bf
Merge pull request #729 from Alexander-N/coverage
Only calculate coverage in one job
2020-01-14 12:15:19 +09:00