Commit Graph

1850 Commits

Author SHA1 Message Date
Alexander Niederbühl b604061106 Add Python 3.8 to CI 2020-02-01 15:08:41 +01: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
David Hewitt f45eaa00b5 Remove dead code 2020-01-13 23:26:45 +00:00
Alexander Niederbühl aff840636d Only calculate coverage in one job 2020-01-13 23:30:49 +01:00
Yuji Kanagawa fd92a59a6c
Merge pull request #726 from Alexander-N/rust-backtrace
Set RUST_BACKTRACE=1 in windows tests
2020-01-13 23:43:59 +09:00
Yuji Kanagawa 90b88e1f90
Merge pull request #727 from Alexander-N/flaky
Add debug output for flaky test
2020-01-13 18:25:48 +09:00
Yuji Kanagawa d04542fff5
Merge pull request #724 from Alexander-N/coverage
Fix coverage
2020-01-13 18:20:08 +09:00
Yuji Kanagawa 99eb25144b
Merge pull request #725 from Alexander-N/typo
Fix some typos
2020-01-13 00:46:56 +09:00
Alexander Niederbühl cffefa4fa8 Add debug output for flaky test 2020-01-12 15:44:42 +01:00
Alexander Niederbühl 0fcb19bfe6 Set RUST_BACKTRACE=1 windows tests 2020-01-12 15:33:34 +01:00
Alexander Niederbühl 1996ac214d Only calculate coverage at deploy stage
Since at the moment the coverage is not used for pull requests.
2020-01-12 14:52:33 +01:00
Alexander Niederbühl cede793ceb Fix some typos in guide 2020-01-12 14:47:54 +01:00
Alexander Niederbühl a126f5d0ab Fix typo in panic message 2020-01-12 14:33:20 +01:00
Alexander Niederbühl 26403a67d7 Use `ignore` flag in grcov call instead of `ignore-dirs`
See https://github.com/mozilla/grcov/issues/193
2020-01-12 14:23:36 +01:00
Alexander Niederbühl ae0f8cf4ef Don't shadow errors from coverage script 2020-01-12 13:54:40 +01:00
Yuji Kanagawa 68726f9674
Merge pull request #722 from Alexander-N/new-ret-no-self
Remove ignoring of new_ret_no_self in clippy target
2020-01-12 17:51:01 +09:00
Yuji Kanagawa 6bd6633ef6
Merge pull request #721 from Alexander-N/subclassing
Add subclassing testcase which previously caused a segfault
2020-01-12 17:50:29 +09:00
Alexander Niederbühl 6e216ffd63 Remove ignoring of new_ret_no_self in clippy target
After the changes in the `#[pyclass]` system in #683, `new` can return
self and there is no reason anymore to ignore this lint.
2020-01-12 01:46:33 +01:00
Alexander Niederbühl 472fbf4fb8 Update CHANGELOG.md 2020-01-12 01:28:41 +01:00
Alexander Niederbühl 0a84c201f7 Revert "Disable segfaulty subclassing by default"
This reverts commit 5096f936dc.
2020-01-12 01:22:32 +01:00
Alexander Niederbühl 3dc5b86f22 Add subclassing testcase which previously caused a segfault
Add a testcase from #407. Both test cases don't segfault after the
change to the #[pyclass] system in #683.

Closes #407
2020-01-11 18:24:50 +01:00
Yuji Kanagawa fb17d5e82f
Merge pull request #683 from kngwyu/pyclass-new-layout
New #[pyclass] system that is aware of its concrete layout
2020-01-11 15:38:07 +09:00
kngwyu 439efbb71e Update CHANGELOG 2020-01-11 15:06:54 +09:00
kngwyu 302b3bb088 Merge branch 'master' into pyclass-new-layout 2020-01-11 15:03:25 +09:00
Yuji Kanagawa 95d045f732
Merge pull request #719 from Alexander-N/exception-state
Clear error indicator when the exception is handled on the Rust side
2020-01-11 15:01:35 +09:00
Alexander Niederbühl 1f675dcaa7 Clear error indicator when the exception is handled on the Rust side
Leaving Python's global exception state is misleading, e.g. subsequent
calls of `py.eval` will fail.
2020-01-11 00:44:11 +01:00