Commit Graph

3712 Commits

Author SHA1 Message Date
Guillaume Desmottes 6f202efa59 dict: implement FromPyObject for BTreeMap 2019-12-24 18:53:19 +05:30
Guillaume Desmottes ea7a384999 dict: implement FromPyObject for HashMap
Based on code from Ben Avrahami on https://github.com/PyO3/pyo3/issues/516
2019-12-24 18:53:00 +05:30
kngwyu 58590393c5 Fix accidently changed file permission 2019-12-24 12:27:22 +09:00
kngwyu 2e3ece8022 Try to enhance class section in the guide 2019-12-24 00:30:46 +09:00
kngwyu ea51756933 Resolve some clippy complains 2019-12-23 18:05:06 +09:00
kngwyu d5cff058ef Fix documents and a clippy warning 2019-12-23 02:09:36 +09:00
kngwyu acb1120c55 Fix examples with the new #[new] API 2019-12-22 23:59:28 +09:00
kngwyu e2dc843de5 Fix a corner case for PyClassInitializer 2019-12-22 23:54:41 +09:00
kngwyu efa16a6dc7 Fix documents accompanied by PyClassShell 2019-12-22 19:41:25 +09:00
kngwyu 6b84401126 Make it enable to safely inherit native types 2019-12-21 23:28:55 +09:00
kngwyu 8175d6f36a Merge branch 'master' into pyclass-new-layout 2019-12-19 16:12:45 +09:00
Yuji Kanagawa c8cb3adc23
Merge pull request #692 from davidhewitt/override-method-names
Add #[name = "foo"] attribute to #[pymethods]
2019-12-19 13:18:23 +09:00
David Hewitt b245e71c14 Address comments from PR#692 2019-12-18 14:26:25 +00:00
David Hewitt 0032508c3c Format code 2019-12-17 22:58:34 +00:00
David Hewitt 4b18830f1e Add `#[name]` attribute support for `#[pyfunction]` 2019-12-17 22:14:28 +00:00
David Hewitt 881cb0a5a4 Fix build failure on minimum nightly 2019-12-17 18:08:35 +00:00
David Hewitt 7702395b3d Add #[name = "foo"] attribute to #[pymethods] 2019-12-17 17:45:53 +00:00
Yuji Kanagawa 15187674f2
Merge pull request #691 from davidhewitt/patch-1
Fix documentation typo
2019-12-17 19:25:15 +09:00
David Hewitt 0b45135ff6
Fix documentation typo 2019-12-17 09:42:00 +00:00
kngwyu b86de9376d Introduce PyClassInitializer 2019-12-15 21:04:36 +09:00
kngwyu a6639076b9 Introduce PyInternalCaster 2019-12-14 23:16:39 +09:00
Yuji Kanagawa 4aa2ff5e0a
Merge pull request #690 from PyO3/v0.8.4
Bump version to 0.8.4
2019-12-14 22:29:34 +09:00
kngwyu d8a4ecb476 Bump version to 0.8.4 2019-12-14 15:20:55 +09:00
kngwyu 4d7dfafe2b Allow slf: &PyClassShell<Self> 2019-12-08 23:09:00 +09:00
kngwyu bdb66afe0a Make PyClassShell have dict&weakref 2019-12-08 17:18:25 +09:00
kngwyu 4b5fa7e977 Introduce PyClass trait and PyClassShell 2019-12-07 17:56:49 +09:00
Yuji Kanagawa 352707c29f
Merge pull request #675 from programmerjake/add-text-signature
add #[text_signature = "..."] attribute
2019-12-07 13:56:33 +09:00
Jacob Lifshay a676e6d5aa clean up gen_py_method and fix typos 2019-12-06 15:05:41 -08:00
Yuji Kanagawa ac703f58a6
Merge pull request #681 from nagisa/fix-docs
Fix docs on how to obtain object from PyErr
2019-12-05 11:19:58 +09:00
Simonas Kazlauskas 2ba887a8cf Fix docs on how to obtain object from PyErr 2019-12-05 00:56:10 +02:00
Jacob Lifshay 95c2e2f585 clean up parse_text_signature_attrs and get_doc 2019-12-03 16:42:48 -08:00
Jacob Lifshay 07611b0358 remove unnecessary lifetime 2019-11-29 13:34:04 -08:00
Jacob Lifshay 9ac66ac1eb add text_signature to changelog 2019-11-29 13:31:21 -08:00
Jacob Lifshay 9a3c47e3cd add text_signature to documentation 2019-11-29 13:22:31 -08:00
Jacob Lifshay af8c0d2531 switch text_signature to arguments only & add tests 2019-11-29 12:19:56 -08:00
Jacob Lifshay 2915f50fc4 fix compile error 2019-11-27 14:31:16 -08:00
Yuji Kanagawa 064cd387e0
Merge pull request #676 from Alexander-N/broken-links
Fix broken links in guide
2019-11-26 12:51:00 +09:00
Alexander Niederbühl c64848bd20 Fix broken links in guide 2019-11-25 20:34:29 +01:00
Jacob Lifshay 3c1a975ec0 initial untested implementation 2019-11-24 06:00:21 -08:00
Yuji Kanagawa 42ee180116
Merge pull request #674 from PyO3/v0.8.3
V0.8.3 amend
2019-11-23 20:08:48 +09:00
kngwyu a85ed6ba80 Update git tags for CHANGELOG 2019-11-23 18:39:59 +09:00
Yuji Kanagawa 9893f5cc6b
Merge pull request #673 from PyO3/v0.8.3
Bump version to 0.8.3
2019-11-23 18:37:13 +09:00
kngwyu 935adaa5d5 Bump version to 0.8.3 2019-11-23 17:09:10 +09:00
kngwyu 6c6d54db3c Fix compile error in the latest nightly 2019-11-23 16:29:49 +09:00
kngwyu c7016f8e4c Refer guide for nightly install 2019-11-23 15:36:30 +09:00
Yuji Kanagawa 3881cc064b
Merge pull request #668 from PyO3/github-actions
Enable Github Actions for Windows CI
2019-11-17 22:27:54 +09:00
kngwyu 5b8f436252 Replace appveyor badge instead of Actions badge 2019-11-17 18:09:55 +09:00
kngwyu dadeb17c3a Fix Windows test 2019-11-17 16:34:55 +09:00
kngwyu c0386f3d00 Delete appveyor.yml 2019-11-17 12:16:36 +09:00
Yuji Kanagawa 8204bd08a0
Enable Github Actions for Windows CI 2019-11-16 21:39:59 +09:00