Commit Graph

1822 Commits

Author SHA1 Message Date
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
Yuji Kanagawa 41e3b25070
Merge pull request #717 from kngwyu/pyset-iter
Implement iter for PySet and PyFrozenSet
2020-01-09 12:42:33 +09:00
kngwyu ea9824a982 Fix document for PyList::iter 2020-01-08 23:44:16 +09:00
kngwyu 7b502821ce Use &PyAny instead of PyObject in PyDictIterator 2020-01-08 23:43:40 +09:00
kngwyu 026caeda68 Implement iter for PySet and PyFrozenSet 2020-01-08 23:15:53 +09:00
kngwyu c57177a169 Refine tests and documents around pyclass.rs 2020-01-08 22:44:50 +09:00
Yuji Kanagawa b3ca27dd1c
Merge pull request #716 from davidhewitt/set-iterator
Implement IntoIterator for PySet and PyFrozenSet
2020-01-08 19:37:10 +09:00
David Hewitt f7a4fbaa38 Use _PySet_NextEntry 2020-01-08 09:43:03 +00:00
kngwyu 451de182cb Merge branch 'master' into pyclass-new-layout 2020-01-08 17:16:33 +09:00
Yuji Kanagawa eca3bdc62d
Merge pull request #714 from paddywwoof/master
guide page on classes; correction and expansion
2020-01-08 13:27:03 +09:00
David Hewitt ec79285fe4 Implement IntoIterator for PySet and PyFrozenSet 2020-01-08 00:07:11 +00:00
paddywwoof 894e99998f fix code validation test 2020-01-07 22:06:52 +00:00
paddywwoof 9e599af381 improvements suggested by kngwyu 2020-01-07 21:45:18 +00:00
paddywwoof 3e62c3414a use general sounding module name mymodule 2020-01-07 17:17:40 +00:00
paddywwoof a43824e6f3 added PyModule.add_class to guide and better explanation of arguments 2020-01-07 17:09:37 +00:00
Yuji Kanagawa 18440d7af5
Merge pull request #713 from davidhewitt/remove-specializations
Remove specialization from some blanket impls
2020-01-07 20:00:21 +09:00
David Hewitt 72e9abd4c7 Remove specialization from IntoPy implementation 2020-01-07 09:32:34 +00:00
David Hewitt bf507da154 Remove specialization from FromPyObject blanket impls 2020-01-07 09:01:35 +00:00
kngwyu ab0a731e5e Fix use order in prelude 2020-01-07 17:38:20 +09:00
kngwyu 67a98d6c4a Remove unnecessary Box 2020-01-07 17:37:29 +09:00
kngwyu f26e07cfd6 Replace IntoInitializer<T> with Into<PyClassInitializer<T>> 2020-01-07 13:08:41 +09:00
kngwyu b602b4bf6c Enhance documentation and tests around #[new] 2020-01-07 12:49:36 +09:00
Yuji Kanagawa b04d0af399
Merge pull request #1 from davidhewitt/pyclass-new-layout
Simplify IntoInitializer
2020-01-07 12:18:03 +09:00
David Hewitt 60edeb889e Simplify IntoInitializer 2020-01-06 13:19:58 +00:00
Yuji Kanagawa 7e591e310c
Merge pull request #711 from PyO3/v0.8.5
Bump version to 0.8.5
2020-01-05 18:57:41 +09:00
kngwyu d22b03edde Bump version to 0.8.5 2020-01-05 16:39:18 +09:00
kngwyu 18e565fab5 New PyClassInitializer 2020-01-05 16:01:05 +09:00
Yuji Kanagawa 6160cbfac9
Merge pull request #708 from lochbrunner/master
Fixes PyObjectDelAttrProtocol signature
2020-01-02 15:10:30 +09:00
Matthias Lochbrunner ff2aaea334 Fixes PyObjectDelAttrProtocol 2020-01-01 16:51:40 +01:00