Commit Graph

573 Commits

Author SHA1 Message Date
messense 5a8fd2febc
Some more clippy warning fixes
[rustfix](https://github.com/killercup/rustfix) makes it much easier.
2017-07-18 22:10:56 +08:00
messense e69163344a Fix some clippy warnings (#49) 2017-07-18 19:28:49 +08:00
messense 6bbf3d7595 Add rustc version check in build script (#47)
* Add rustc version check in build script

* Update rustc requirement in README.md
2017-07-18 09:33:27 +08:00
Nikolay Kim 2d06b07717 fix PyNumberProtocol methods #48 2017-07-17 16:49:19 -07:00
Nikolay Kim 149aa3a0eb always inline all py() 2017-07-14 16:21:18 -07:00
Nikolay Kim 292bd2c139 inline py() call 2017-07-14 14:21:07 -07:00
Nikolay Kim 4daac50781 remove associated_consts feature 2017-07-14 03:17:57 -07:00
Nikolay Kim c5f5620f77 rename token() to py() 2017-07-13 19:04:00 -07:00
Nikolay Kim fb8b32072f add basic args test 2017-07-13 18:50:34 -07:00
Nikolay Kim 8eb5dc0667 use associated consts 2017-07-13 16:45:50 -07:00
Nikolay Kim 52ade64bf7 update links 2017-07-13 13:14:47 -07:00
Nikolay Kim ed31492d36 rename pointer mod to object 2017-07-13 13:05:50 -07:00
Nikolay Kim 27f8747ba6 safe typeob dealloc and tests for release pools 2017-07-13 13:01:31 -07:00
Nikolay Kim 49de1f1d40 cleanup cb_unary and gc protcol 2017-07-10 00:40:30 +06:00
Nikolay Kim ce05cb91c0 fix pointer release list 2017-07-10 00:37:20 +06:00
Nikolay Kim c1c4648add delay decref until gil available 2017-07-09 12:08:57 +06:00
Nikolay Kim a90d8c241f fix ref counter for get_kwargs 2017-07-04 10:24:04 +06:00
Nikolay Kim 3028dcf58f fix error from instancel fixed bool 2017-06-30 08:51:45 +06:00
Nikolay Kim 6b093af3d9 update readme 2017-06-29 11:26:25 +06:00
Nikolay Kim afe2324ecc fix api inconsystency 2017-06-29 11:23:55 +06:00
Nikolay Kim f494f0c3df update class.md 2017-06-28 00:34:32 +06:00
messense 379f178dfb
Typo fix in class.md 2017-06-27 21:25:41 +08:00
messense b36e75e307
Some distribution guide doc 2017-06-27 21:09:16 +08:00
Nikolay Kim 800fa231ba fix class,md 2017-06-27 05:32:02 +06:00
Nikolay Kim 8bc1195f12 Merge branch 'master' of github.com:PyO3/PyO3 2017-06-27 05:06:09 +06:00
Nikolay Kim 51544b8642 add some docs 2017-06-27 05:05:54 +06:00
messense a00e23a594
Update conversions chapter 2017-06-25 19:31:32 +08:00
Nikolay Kim 503e4221cc support &str as fn param 2017-06-24 15:28:53 -07:00
Nikolay Kim 082db89aa6 do not modify ref counter for borrowed ptr 2017-06-24 12:57:18 -07:00
messense 2d217be349
Use isize for hash protocol 2017-06-24 23:43:01 +08:00
Nikolay Kim 3a2004eab2 rename PyInstance to PyObjectRef 2017-06-24 08:28:31 -07:00
messense 4e836cb229
Don't reexport Py_hash_t and Py_ssize_t 2017-06-24 22:36:45 +08:00
messense 378fae9659
Hide argparse module in API docs 2017-06-24 22:30:46 +08:00
messense a5e3429d60
Remove unnecessary `ObjectProtocol` import 2017-06-24 22:29:35 +08:00
messense 0ba541e762
Add missing module level docs 2017-06-24 16:47:36 +08:00
messense 84ebdbcfe9
Add copyright headers to some files 2017-06-24 16:36:51 +08:00
messense 33ab9829f4 Fix no method named `extract` found for type `&&pyo3::PyInstance` in the (#44)
current scope
2017-06-24 16:19:14 +08:00
Nikolay Kim d80eee6fba move IterNextResultConverter to proper location 2017-06-23 16:37:31 -07:00
Nikolay Kim 352774744a use StopAsyncIteration for __anext__ #35 2017-06-23 16:11:50 -07:00
Nikolay Kim 64f120a8f7 review system exceptions 2017-06-23 16:00:44 -07:00
Nikolay Kim 14c6aaad55 py.init returns ptr, init_ref and init_mut ref and mut ref 2017-06-23 15:15:07 -07:00
Nikolay Kim 8238a141ae py.init(..) return reference 2017-06-23 15:03:52 -07:00
Nikolay Kim f0ece6dfde added doc strings 2017-06-23 13:50:27 -07:00
Nikolay Kim 3e3fed9c18 remove True and False python methods 2017-06-23 13:42:46 -07:00
Nikolay Kim b1e6f07060 fix doc comments 2017-06-23 13:27:18 -07:00
Nikolay Kim e5b99ae2c9 typo 2017-06-23 12:20:54 -07:00
Nikolay Kim 7076a57fe4 use full push for function 2017-06-23 12:12:07 -07:00
Nikolay Kim cc56ded6bf fix python2 extension module initialization 2017-06-23 11:51:15 -07:00
Nikolay Kim 6482245038 fix imports 2017-06-23 11:24:17 -07:00
Nikolay Kim 289e5e0a2f call prepare_freethreaded_python on module init 2017-06-23 11:18:58 -07:00