Commit Graph

1307 Commits

Author SHA1 Message Date
konstin 9938eb9375
Merge pull request #281 from kngwyu/list
Use linked list in ReleasePool
2018-11-24 12:52:28 +01:00
Yuji Kanagawa 473635bd20
Merge pull request #283 from ijl/add-lib
Document orjson lib as user/example
2018-11-24 13:02:33 +09:00
ijl 2c75c42b61 Travis uses 3.7 instead of 3.7-dev
It requires xenial for support per
https://docs.travis-ci.com/user/languages/python/

I tried specifying 3.8-dev in allow_failures, but it was not
picked up.
2018-11-23 19:49:12 +00:00
ijl e3d528980d Document orjson lib as user/example 2018-11-23 19:28:36 +00:00
kngwyu 119e0abde2 Fix ArrayList::truncate 2018-11-21 16:28:26 +09:00
kngwyu 949097874f Fix bug in ArrayList::pop_back 2018-11-21 16:00:26 +09:00
kngwyu 63ec65d5ac Refactor ReleasePool 2018-11-21 16:00:26 +09:00
kngwyu acbab2b3f0 Use ArrayList::truncate for borrowed pointers 2018-11-21 16:00:26 +09:00
kngwyu 4c38b21e49 Fix ArrayList::push_back 2018-11-21 16:00:26 +09:00
kngwyu be77846979 Use LinkedList<[T; 256]> in ReleasePool 2018-11-21 16:00:26 +09:00
kngwyu 25a5b74ba6 Use linked list in ReleasePool 2018-11-21 16:00:26 +09:00
konstin f62ccfbe2a
Merge pull request #277 from PyO3/doc_link_args
Add Documentation on build and linker args
2018-11-19 23:14:44 +01:00
konstin 9035d54035 Add Documentation on build and linker args 2018-11-19 23:14:21 +01:00
konstin 13d4d66fdb cargo fmt 2018-11-15 21:58:22 +01:00
konstin d618ca401a
Merge pull request #274 from kngwyu/releasepool-nonnull
Use NonNull in ReleasePool and add bench_dict
2018-11-15 20:27:06 +01:00
konstin f645720fe5
Merge pull request #270 from PyO3/module
Treat modules as normal objects
2018-11-15 20:26:46 +01:00
konstin 9c8c5a6063 Rename #[pymodinit] to #[pymodule] 2018-11-15 19:43:29 +01:00
konstin 863ffb161f Add wrap_module macro 2018-11-15 19:43:29 +01:00
konstin 195f5c30d1
Merge pull request #275 from PyO3/clippy
Add clippy to travis
2018-11-15 15:36:11 +01:00
konstin 42f84ff881 Add clippy to travis 2018-11-15 15:23:45 +01:00
konstin 3de622cdfd Better explaination for the cast 2018-11-15 12:10:16 +01:00
konstin 287a168b18 Fix test failure 2018-11-15 12:08:22 +01:00
kngwyu a73bd06c1f Replace NonNull::new_unchecked with new().unwrap() in test 2018-11-15 13:40:35 +09:00
konstin 5f175a41cf Make clippy happy 2018-11-14 16:49:48 +01:00
kngwyu 6222232c21 Add bench_dict 2018-11-14 15:40:28 +09:00
kngwyu 6d442e5969 Use NonNull in release pool 2018-11-14 15:39:07 +09:00
konstin 0890f24391
Merge pull request #272 from calculator154/patch-1
Fix typo in defs.rs?
2018-11-13 13:36:14 +01:00
Chitsanu 19a9b7ef32
Fix typo in defs.rs
Are these typos?
2018-11-13 13:01:25 +01:00
Yuji Kanagawa 42dbaeb913
Merge pull request #268 from kngwyu/fix-dict-iter
Fix PyDictIterator's segfault(for #159)
2018-11-13 14:29:42 +09:00
kngwyu 1081ba9447 Fix import module name in test_dict_iter 2018-11-13 11:50:13 +09:00
konstin d4f4f2f517 Fix tox config 2018-11-12 22:30:43 +01:00
konstin 3614f38154 Remove some transmute 2018-11-12 21:38:20 +01:00
konstin 531f9db99e
Merge pull request #267 from PyO3/alloc_experiment
Refactor PyObjectAlloc
2018-11-12 17:12:18 +01:00
kngwyu faa5efc5a1 Remove unnecessary Drop for PyDictIterator 2018-11-13 01:00:15 +09:00
kngwyu 3b01b8f6ba Review fixes 2018-11-13 00:53:06 +09:00
konstin d1de3338d1 Refactor PyObjectAlloc 2018-11-12 16:45:57 +01:00
kngwyu 34099b33f8 Fix PyDictIterator's segfault(for #159) 2018-11-13 00:25:54 +09:00
konstin cd23574d8a
Merge pull request #265 from PyO3/token
Remove PyToken
2018-11-12 15:51:48 +01:00
konstin 6cec1c39cc Update changelog 2018-11-12 15:11:03 +01:00
konstin aed0466915 s/PyObjectWithToken/PyObjectWithGIL/g 2018-11-12 15:10:53 +01:00
konstin 57afb51604 Remove PyToken completely; Fixes #94 2018-11-12 14:42:21 +01:00
konstin fb2349b6ec Remove PyToken usages from tests 2018-11-12 14:41:29 +01:00
konstin d2ba436d6d Remove the unnecessary type parameter PyObjectAlloc 2018-11-12 14:37:06 +01:00
konstin c77049541a Fix CI
black requires 3.6+ to be installed
2018-11-11 18:13:33 +01:00
konstin 90c3f746d7
Merge pull request #259 from konstin/0.5.0
Proposal: Release 0.5.0
2018-11-11 12:27:23 +01:00
konstin cadd0fb50e Release 0.5.0 2018-11-11 12:26:43 +01:00
konstin 9f45efebaf Format 2018-11-11 12:25:53 +01:00
konstin a9b05711b0 Add test to fix #220 2018-11-11 12:24:24 +01:00
konstin 4c0ddbe61e
Merge pull request #263 from kngwyu/fix-240
Fix #240
2018-11-11 11:49:31 +01:00
konstin ef68b22717
Merge pull request #260 from ijl/nonnull
NonNull pointer for Py, PyObject
2018-11-11 11:40:01 +01:00