Commit Graph

  • 805429e0f4 remove unneeded macro Nikolay Kim 2017-06-11 16:49:25 -0700
  • 05d4a0a9a4 rename ffi to ffi3 Nikolay Kim 2017-06-11 16:47:27 -0700
  • 3b4d147219 initial impl for py2 Nikolay Kim 2017-06-11 16:35:24 -0700
  • 6b18ccb50b Implement is_instance and is_subclass (#27) messense 2017-06-12 00:41:02 +0800
  • cb68cd23a2 Fix some clippy warnings (#26) messense 2017-06-11 23:46:23 +0800
  • 8188c9533c do not use descriptor objects for method defs Nikolay Kim 2017-06-09 15:55:39 -0700
  • c28a619efd add free list support Nikolay Kim 2017-06-09 14:27:37 -0700
  • 5a44ccb40c add test for custom class name Nikolay Kim 2017-06-09 12:35:29 -0700
  • cfb2b16288 allow to override class name #14 Nikolay Kim 2017-06-09 12:30:13 -0700
  • ea8f11fa6d refactor PyTypeObject trait Nikolay Kim 2017-06-08 14:21:48 -0700
  • 86c20bb139 Change sig of PyIterProtocol.__next__ method #18 Nikolay Kim 2017-06-08 13:43:24 -0700
  • 9e08d3eec5 simplify class method macros Nikolay Kim 2017-06-08 13:11:16 -0700
  • 6204de4a6a Merge branch 'master' of github.com:PyO3/PyO3 Nikolay Kim 2017-06-08 11:29:52 -0700
  • a90c763bc0 add class and static methods #17 Nikolay Kim 2017-06-08 11:29:40 -0700
  • e12e98a7c1 Convert some std error types to PyErr (#22) messense 2017-06-08 09:40:30 +0800
  • b3079f759c use descriptor objects for class methods; use PyNoArgsFunction for methods without args Nikolay Kim 2017-06-06 21:57:03 -0700
  • a584ce12e5 release py objects aftre use Nikolay Kim 2017-06-06 19:26:59 -0700
  • 84f5578997 varios cleanups Nikolay Kim 2017-06-05 20:25:00 -0700
  • a448aa54cc clone_ref return Self Nikolay Kim 2017-06-03 17:42:12 -0700
  • 57cc139c81 drop Py pointer Nikolay Kim 2017-06-03 17:27:26 -0700
  • b75160daf3 remove pyobject lifetime Nikolay Kim 2017-06-02 18:58:16 -0700
  • 27bd365f5c cleanups Nikolay Kim 2017-06-02 09:23:48 -0700
  • cbfdfa2d07 better naming Nikolay Kim 2017-06-01 15:06:48 -0700
  • fc762288fe use From instead of as_object; fix type object Nikolay Kim 2017-06-01 13:34:46 -0700
  • 9176dc4df1 consistent naming for pointers Nikolay Kim 2017-06-01 10:35:02 -0700
  • bcaaeb8522 simplify PythonToken Nikolay Kim 2017-06-01 09:45:00 -0700
  • 6834a18a5b add ptr support to class Nikolay Kim 2017-05-31 20:50:40 -0700
  • 4cdb77335e reenable buffer tests Nikolay Kim 2017-05-31 16:26:21 -0700
  • 2f3ea202b3 add mirror ptr types for native py classes Nikolay Kim 2017-05-31 15:52:13 -0700
  • 0b47d44562 Merge branch 'master' of github.com:PyO3/PyO3 Nikolay Kim 2017-05-31 01:08:54 -0700
  • 92bf7b9c05 rename pptr to PyObjectPtr Nikolay Kim 2017-05-31 01:07:33 -0700
  • a3e6117090 incref on inplace number protocol Nikolay Kim 2017-05-31 01:07:21 -0700
  • 48106e81c1 Merge pull request #20 from messense/feature/test-all Nikolay Kim 2017-05-30 21:01:51 -0700
  • 861bee7a0f
    Enable all tests on CI messense 2017-05-31 12:00:22 +0800
  • 5d25c7deea simplify Py and PyPtr objects Nikolay Kim 2017-05-30 18:57:36 -0700
  • 3040ac12b9 refactor ToPyObject Nikolay Kim 2017-05-30 17:23:23 -0700
  • b8913a3705 refactor IntoPyObject trait; rename pptr into pyptr, introduce pptr pointers Nikolay Kim 2017-05-30 16:29:13 -0700
  • 3b90c569f7 update tests Nikolay Kim 2017-05-30 13:03:00 -0700
  • 2b4eba1fc7 Merge pull request #10 from messense/feature/optimize-run_code Nikolay Kim 2017-05-30 13:02:00 -0700
  • b84474155e convert PyGCProtocol Nikolay Kim 2017-05-30 12:42:07 -0700
  • 5e00e13212 Merge pull request #13 from messense/feature/restore-set messense 2017-05-30 23:32:47 +0800
  • ec7381084f
    Restore PySet and PyFrozenSet messense 2017-05-30 16:16:48 +0800
  • 8a34e657a1 Merge pull request #11 from PyO3/pyptr Nikolay Kim 2017-05-29 23:09:08 -0700
  • 86a8dfec0c restore sequence and iterator objects Nikolay Kim 2017-05-29 22:59:03 -0700
  • 61b8bd0695 fix ptr borrowing PyTuple::get_item Nikolay Kim 2017-05-29 18:36:44 -0700
  • 4232caf3a3 update tests Nikolay Kim 2017-05-29 16:16:48 -0700
  • ad38688378 fix sequence protocol; convert buffer protocol Nikolay Kim 2017-05-29 15:08:19 -0700
  • 51ac8c9c78 better gil token scope Nikolay Kim 2017-05-29 13:30:38 -0700
  • ea8ccf190a special treatment for native python objects Nikolay Kim 2017-05-29 02:47:27 -0700
  • 55d0d58734 added pptr pointer Nikolay Kim 2017-05-28 21:19:29 -0700
  • 969cba2c16 remove Token Nikolay Kim 2017-05-28 08:57:34 -0700
  • 6c87c9b77b introduce python token system Nikolay Kim 2017-05-27 22:45:48 -0700
  • bfb01f65d3 update tests Nikolay Kim 2017-05-27 11:43:45 -0700
  • 6205be98b8 introduce PythonToken; cleanup number protocol Nikolay Kim 2017-05-27 10:49:38 -0700
  • 467cce6c6d reenabled RefFromPyObject trait; fixed ref cnt in PyErr::fetch Nikolay Kim 2017-05-26 18:25:34 -0700
  • 52bcc11cd8 fix pyclass methods Nikolay Kim 2017-05-26 16:51:33 -0700
  • 1df2c931e5 allow to extract refs from Py ptrs Nikolay Kim 2017-05-26 15:33:34 -0700
  • d165dbe4d4 fixed gil lifetime; pass py object into protocol methods Nikolay Kim 2017-05-26 14:43:28 -0700
  • 48329a793d disable set Nikolay Kim 2017-05-25 08:08:40 -0700
  • 0979653b98 various cleanups Nikolay Kim 2017-05-24 22:43:07 -0700
  • f3176dacfc use pyptr for everything Nikolay Kim 2017-05-24 20:31:51 -0700
  • 912b9d2cb1 convert object and sequence protocols Nikolay Kim 2017-05-23 12:57:18 -0700
  • 881e0e3336 rewrite method signatures in py::proto Nikolay Kim 2017-05-23 10:44:23 -0700
  • 747fd8a6ff added helper method Python::init, shortcut for Py::new(..) Nikolay Kim 2017-05-23 00:14:54 -0700
  • b350e1cfb4 add description Nikolay Kim 2017-05-22 23:53:14 -0700
  • 5fdad40caa rename PyTypeObjectInfo to PyTypeInfo; use PyTypeInfo::offset() for struct offset Nikolay Kim 2017-05-22 23:45:28 -0700
  • 579c1280e9 simplify BaseObject; no need in PythonObject trait Nikolay Kim 2017-05-22 23:19:14 -0700
  • a29f5e83c0 more functionality for Py and PyPtr Nikolay Kim 2017-05-22 18:42:14 -0700
  • d6fb90bdc2 stopping point Nikolay Kim 2017-05-21 22:22:45 -0700
  • 56d93249ab pyptr Nikolay Kim 2017-05-21 14:20:24 -0700
  • 8f62197f07
    Optimize `Python.run_code` messense 2017-05-25 21:10:18 +0800
  • 9abc69f5c4
    Fix py_module_init! example in README.md messense 2017-05-25 10:01:23 +0800
  • f0120749f9
    Fix some issues in README.md messense 2017-05-21 20:37:56 +0800
  • 5686a8110b
    Simplify .gitignore messense 2017-05-21 20:37:32 +0800
  • c9717249a2
    Use regex 0.2 in build script messense 2017-05-21 18:08:26 +0800
  • 3303af9b25 Merge pull request #8 from messense/feature/refactor-set-list-tuple messense 2017-05-21 14:05:43 +0800
  • 4c802d901b
    More generic `new` method for PyList/PyTuple and etc. messense 2017-05-21 13:55:33 +0800
  • 3401683eb6 Merge pull request #3 from messense/feature/set-binding messense 2017-05-21 13:25:07 +0800
  • c7c7b8beca update travis config Nikolay Kim 2017-05-20 22:24:30 -0700
  • 8fd6e3216f convert object and number protocols to new system Nikolay Kim 2017-05-20 22:18:31 -0700
  • edc7a45d62
    Travis CI: sudo required, dist: trusty messense 2017-05-21 11:03:24 +0800
  • 63c70da9af
    Add set binding messense 2017-05-18 16:45:47 +0800
  • 3035ab280f update test_slice Nikolay Kim 2017-05-20 12:22:35 -0700
  • 629f53ac52 new impl for sequence protocol Nikolay Kim 2017-05-20 12:15:28 -0700
  • 452a4e8d7f more mapping protocol methods; start working on class tests Nikolay Kim 2017-05-20 10:40:33 -0700
  • 1f2c927bd5 update buffer proto tests Nikolay Kim 2017-05-19 23:18:54 -0700
  • 201289d6ca add __new__ and __call__ support Nikolay Kim 2017-05-19 23:14:59 -0700
  • eb64aa11ac generate method defs from protocols Nikolay Kim 2017-05-19 11:48:05 -0700
  • 266e608dc5 Update README.md Nikolay Kim 2017-05-18 23:30:36 -0700
  • 0c7293125c simplify class generation Nikolay Kim 2017-05-18 21:35:08 -0700
  • 5119fa4f1d fix generated type name Nikolay Kim 2017-05-18 16:57:39 -0700
  • 1ff47d49c1 added PyIterProtocol Nikolay Kim 2017-05-18 15:57:38 -0700
  • 7a4a736d92 add agr extraction for setters, allow non snake vars Nikolay Kim 2017-05-18 14:46:29 -0700
  • 93c3d9cebf put impl to private mod Nikolay Kim 2017-05-18 13:46:09 -0700
  • 8b3c280450 fix optional arg generation Nikolay Kim 2017-05-18 11:15:06 -0700
  • 04168ab86e added fn spec for args parsing Nikolay Kim 2017-05-18 00:05:49 -0700
  • 9759cf7177 refactor PyAsyncProtocol Nikolay Kim 2017-05-17 18:25:26 -0700
  • 7a75d3e652 remove unused code Nikolay Kim 2017-05-17 16:49:16 -0700
  • 2eea45e9fa better slot trait definition Nikolay Kim 2017-05-17 16:33:18 -0700
  • c9aefd7e5f drop py_class Nikolay Kim 2017-05-16 23:43:39 -0700