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
|
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 |
|
messense
|
ebcd4f5a33
|
subclass support (#64)
|
2017-07-27 23:05:15 +08: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
|
67ce4e4516
|
fix long type
|
2017-07-26 18:46:22 -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
|
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
|
b250ad22ca
|
update guide related to exception
|
2017-07-26 09:16:26 -07:00 |
|
Nikolay Kim
|
a120bbf15e
|
Refactor implementation. Drop parameter from constructor
|
2017-07-26 01:11:00 -07: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 |
|
messense
|
1834ec4a33
|
Add PyDict::iter
|
2017-07-23 22:46:04 +08: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 |
|
Nikolay Kim
|
e23c7247e6
|
fix memory leak in PyList::set_item and insert_item
|
2017-07-19 22:22:19 -07:00 |
|
Nikolay Kim
|
1035aaae49
|
fix python2 related code
|
2017-07-19 13:22:26 -07:00 |
|
Nikolay Kim
|
13820f4ce3
|
added PyTuple::slice and PyTuple::split_from methods
|
2017-07-19 13:04:58 -07:00 |
|
Nikolay Kim
|
f344c4ce3d
|
added try downcast methods to PyDowncastFrom trait
|
2017-07-19 13:01:59 -07:00 |
|
Nikolay Kim
|
9cecfc0ec9
|
fix fn names
|
2017-07-19 09:27:19 -07:00 |
|
Nikolay Kim
|
63baa575a6
|
fix memory leak in call and call_method
|
2017-07-19 09:22:54 -07:00 |
|
Nikolay Kim
|
5559dbb9ed
|
fix memory leak
|
2017-07-19 06:35:59 -07:00 |
|
Nikolay Kim
|
c6067b90c1
|
more docs
|
2017-07-18 14:15:44 -07:00 |
|
Nikolay Kim
|
01d688fc98
|
use better name for Pointers
|
2017-07-18 11:12:35 -07:00 |
|
Nikolay Kim
|
fc1df289bd
|
drop PyClone trait; doc cleanups
|
2017-07-18 10:13:50 -07:00 |
|
messense
|
dd29dbce80
|
Use std::ptr::null() and std::ptr::null_mut() (#51)
|
2017-07-18 23:23:21 +08:00 |
|
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 |
|
Nikolay Kim
|
2d06b07717
|
fix PyNumberProtocol methods #48
|
2017-07-17 16:49:19 -07:00 |
|