Commit Graph

3838 Commits

Author SHA1 Message Date
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
Nikolay Kim e45eb6e878 rename ToPyErr to PyErrArguments 2017-07-26 10:47:17 -07:00
Nikolay Kim 3b6d784bfb merge 2017-07-26 09:19:57 -07:00
Nikolay Kim 823054052d update word count example 2017-07-26 09:18:50 -07:00
Nikolay Kim b250ad22ca update guide related to exception 2017-07-26 09:16:26 -07:00
Jean-Marie Comets c5d0860996 Add missing trait in README example (#61) 2017-07-26 20:19:49 +08:00
messense 68e197993d
Fix word count example build 2017-07-26 19:21:31 +08:00
Nikolay Kim c9572d6e1d Merge branch 'master' of github.com:PyO3/pyo3 2017-07-26 01:11:22 -07:00
Nikolay Kim a120bbf15e Refactor implementation. Drop parameter from constructor 2017-07-26 01:11:00 -07:00
messense 43a5d6f1b4 Test and benchmark word-count example (#60)
* Test and benchmark word-count example

* Optimize rust word_count
2017-07-26 12:37:36 +08:00
Nikolay Kim 86252cda4c simplify PyTypeInfo and PyTypeObject 2017-07-25 18:39:11 -07:00
Nikolay Kim 65a42a2b1a remove py param 2017-07-25 18:11:45 -07:00
Nikolay Kim 3ab5e4526c add weakref support #56 2017-07-24 13:03:18 -07:00
Nikolay Kim ce15dda5b6 Allow to add gc support without implementing PyGCProtocol #57 2017-07-24 12:19:05 -07:00
Nikolay Kim 4b0a8f5019 Update README.md 2017-07-23 16:28:13 -07:00
Nikolay Kim 7b5fc4b655 Update README.md 2017-07-23 16:27:04 -07:00
Nikolay Kim 3e5fadf373 bump to dev 2017-07-23 11:37:44 -07:00
Nikolay Kim 78b826e119 fix doc link 2017-07-23 11:36:26 -07:00
Nikolay Kim 01ab0f828a fix license name 2017-07-23 11:24:39 -07:00
Nikolay Kim 5a386ebb42 prepare release 2017-07-23 11:17:10 -07:00
Nikolay Kim 60b49d15c1 explicit version 2017-07-23 11:11:38 -07:00
Nikolay Kim a7b3abff61 add version 2017-07-23 11:09:59 -07:00
Nikolay Kim 9aa05daf08 fix name 2017-07-23 10:54:52 -07:00
Nikolay Kim 05e847f665 Merge pull request #53 from messense/feature/word-count-example
Add a word count example
2017-07-23 10:52:19 -07:00
Nikolay Kim 4b254a72f5 Merge pull request #54 from messense/feature/dict-iter
Add PyDict::iter
2017-07-23 10:52:07 -07:00
Nikolay Kim e31557dd33 some docs 2017-07-23 10:51:30 -07:00
Nikolay Kim ba86596be1 prefix generated names with _ 2017-07-23 10:07:23 -07:00
messense 1834ec4a33
Add PyDict::iter 2017-07-23 22:46:04 +08:00
messense 54a87aacdf
Add a word count example 2017-07-23 13:32:18 +08:00
Nikolay Kim 40d34ca59d remove tarpaulin 2017-07-21 14:35:24 -07:00
Nikolay Kim fcb20c6f25 try tarpaulin 2017-07-21 14:05:09 -07:00
Nikolay Kim eed2cb7307 fix modul init fn for python2 2017-07-21 13:13:58 -07:00
Nikolay Kim da2db1eb2f bump min version 2017-07-21 12:55:47 -07:00
Nikolay Kim 98bdf63a4d use const_fn for type size and offset calculation 2017-07-21 09:48:48 -07:00
Nikolay Kim 2ee6419464 do not catch rust panics 2017-07-20 14:21:57 -07:00
Nikolay Kim 5f1a410d6e more cleanups 2017-07-20 09:11:28 -07:00
Nikolay Kim 0756e341a8 cleanup PyModule 2017-07-20 08:33:30 -07:00
Nikolay Kim a00ae1757c add PyDict keys,values,items methods 2017-07-20 08:23:43 -07:00
Nikolay Kim 97c6b7591a added PyList::append method, added refcnt tests 2017-07-20 08:05:12 -07:00