Commit Graph

1026 Commits

Author SHA1 Message Date
Nikolay Kim bf793b4b71 added use; restore exception 2017-08-08 00:58:12 -07:00
Nikolay Kim ed8599cfd3 refactor __new__ method implementation 2017-08-08 00:27:33 -07:00
Nikolay Kim 3b00145040 fix #[prop] impl 2017-08-07 23:52:24 -07:00
messense 59d9f9e453
Finish wheel build section in distribution guide 2017-08-07 11:43:49 +08:00
messense 1ad8ad102a
Finish parallelism user guide 2017-08-06 13:50:28 +08:00
messense 268d7fd3d2 Generate getters/setters (#76) 2017-08-05 10:53:23 +08:00
Nikolay Kim 11f244692e add convenience call related methods to ObjectProtocol 2017-08-04 11:47:51 -07:00
Nikolay Kim a61c5e56a0 add convenience method to PyErr and exception types 2017-08-04 11:47:35 -07:00
Nikolay Kim 21939c4d8b drop PyNativeException 2017-08-03 17:07:13 -07:00
Nikolay Kim 85baa8bfce fix doc links 2017-08-03 16:58:13 -07:00
Nikolay Kim 16297a9917 restore release method 2017-08-03 16:57:59 -07:00
Nikolay Kim 19d20471c9 fix import_exception macro 2017-08-03 16:57:46 -07:00
Nikolay Kim 130c33ec09 export IntoPyDictPointer 2017-08-03 15:55:23 -07:00
Nikolay Kim 590edad93c rename get_super() 2017-08-03 15:45:28 -07:00
Nikolay Kim 06a0b0514b add IntoPyDictPointer impl for tuple 2017-08-03 15:42:32 -07:00
Nikolay Kim cd6558a19b Introduce IntoPyDictPointer similar to IntoPyTuple #69 2017-08-03 15:01:52 -07:00
Nikolay Kim 032f2e0b3c update changes 2017-08-03 12:32:02 -07:00
Nikolay Kim b3cc6f1e61 fix clippy warnings 2017-08-03 11:55:39 -07:00
Nikolay Kim 5537ece078 fix unstable tests 2017-08-03 11:37:24 -07:00
Nikolay Kim 85eced19dd add IntoIterator for PyDict 2017-08-03 11:04:45 -07:00
Nikolay Kim e652383004 added IntoIterator for PyList 2017-08-03 10:47:26 -07:00
Nikolay Kim b7f3231ecd improve iterator support for PyTuple 2017-08-03 10:39:01 -07:00
Nikolay Kim 44da09a0f4 add std TryFrom impl for type conversion #73 2017-08-02 14:47:54 -07:00
Nikolay Kim e44365bec6 make cast_xxx api consistent with PyObject::from_xxx api 2017-08-01 14:29:25 -07:00
Nikolay Kim 5dad22e3db temp fix for #71 2017-08-01 14:09:13 -07:00
Nikolay Kim 95915b55dd Merge branch 'master' of github.com:PyO3/pyo3 2017-07-31 10:43:23 -07:00
Nikolay Kim c44e23f4b9 add prelude mod 2017-07-31 10:42:55 -07:00
messense 6a545f4abb
Less allocation in extract_sequence 2017-07-31 22:33:28 +08:00
Nikolay Kim 325070f6c9 refactor downcast process 2017-07-28 23:19:00 -07:00
messense d78692017e Multiple build matrix on Appveyor (#63) 2017-07-29 13:45:03 +08:00
messense 0e2afb7b8b Add __dict__ support (#68) 2017-07-28 22:21:59 +08:00
messense 60f6a73217 Impl IntoPyObject for HashMap and BTreeMap (#67) 2017-07-28 12:36:45 +08:00
Nikolay Kim aa5b4af1d4 custom dealloc for py3 2017-07-27 20:08:09 -07:00
Nikolay Kim afcfed492b only c classes only as base class 2017-07-27 19:47:01 -07:00
Nikolay Kim 665a1da016 added PySuper and __init__ support 2017-07-27 16:20:21 -07:00
Nikolay Kim dcaa3130d9 make word count example with class 2017-07-27 13:09:56 -07:00
messense ebcd4f5a33 subclass support (#64) 2017-07-27 23:05:15 +08:00
Nikolay Kim 181e38b551 add guid entry for base class 2017-07-26 22:40:47 -07:00
Nikolay Kim d567817035 add base support for inheritance 2017-07-26 22:29:55 -07:00
Nikolay Kim 8227ce81e2 various cleanups 2017-07-26 20:29:07 -07:00
Nikolay Kim 7631f0a6c1 test py3.5 and py3.6 2017-07-26 18:50:53 -07:00
Nikolay Kim 67ce4e4516 fix long type 2017-07-26 18:46:22 -07:00
Nikolay Kim 2908b01224 update appveyor config 2017-07-26 18:42:30 -07:00
Nikolay Kim 268fe2a43c add appveyor support 2017-07-26 18:40:32 -07:00
Nikolay Kim 139a31b1e4 implement ToPyObject and IntoPyObject for PyErr 2017-07-26 16:13:45 -07:00
Nikolay Kim e5c1fcf11d no need mut for PyErr::clone_ref; IntoPyTuple::to_tuple is not needed 2017-07-26 15:08:34 -07:00
Nikolay Kim fc3ab84bfa better constrain for PyNativeException::new 2017-07-26 14:56:08 -07:00
Nikolay Kim efba0742e8 fix readme 2017-07-26 14:30:01 -07:00
Nikolay Kim a4fd878cb7 pyerr cleanups 2017-07-26 14:28:04 -07:00
Nikolay Kim a20230e73f Create rust type for exceptions defined in python #45 2017-07-26 12:56:07 -07:00