Commit Graph

1826 Commits

Author SHA1 Message Date
Daniele Esposti fe9575a34d Search for both python3 and python 2019-09-08 09:10:40 +01:00
kngwyu e911828b79 Add a test to detect memory leak of bytes->vec conversion 2019-09-07 17:59:19 +09:00
Daniele Esposti bd426d4065 Use python3 explicitly 2019-09-07 09:43:44 +01:00
kngwyu 46ba019829 Address clippy warning(to_args->from_err_args) 2019-09-07 16:07:24 +09:00
Yuji Kanagawa 7745622b43
Merge pull request #591 from PyO3/examples-debug
Compile examples in debug mode
2019-09-07 15:56:24 +09:00
kngwyu a82726a240 Reguire GIL before constructing PyErr from Rust value 2019-09-07 15:38:59 +09:00
Yuji Kanagawa 5eb7656a5e
Merge branch 'master' into examples-debug 2019-09-07 11:53:00 +09:00
Yuji Kanagawa aaa28a3bd0
Merge pull request #594 from PyO3/pyo3-pack-to-maturin
Replace pyo3-pack with maturin
2019-09-07 11:49:09 +09:00
Yuji Kanagawa 4bcc994270
Merge pull request #595 from Alexander-N/ffi
Move files from ffi3 into ffi
2019-09-07 11:48:52 +09:00
Alexander Niederbühl 68c3208d35 Move files from ffi3 into ffi
Since Python 2 is no longer supported, one folder should be enough.
2019-09-07 00:50:47 +02:00
konstin 73947d84b4
Format examples with black (#590) 2019-09-06 01:16:09 +02:00
konstin a3cde076f4 Replace pyo3-pack with maturin 2019-09-06 01:12:37 +02:00
konstin 88b0a03dcd
Merge pull request #586 from PyO3/release-0.8.0
Release 0.8.0
2019-09-05 15:13:11 +02:00
konstin a3e41cc819 Release 0.8.0 2019-09-05 13:18:50 +02:00
konstin 94f6248d87 Compile examples in debug mode 2019-09-05 13:13:06 +02:00
konstin 3228b4cd6c
Merge pull request #585 from andersk/drain-gil
Require the GIL to be held in ReleasePool::drain
2019-09-05 12:46:35 +02:00
konstin 305b774ded
Merge pull request #450 from birkenfeld/parse_args_msg
Adjust the varargs/kwds objects to remove arguments consumed by parameters
2019-09-05 12:45:50 +02:00
konstin d3c5a61d75
Merge pull request #588 from kngwyu/ref-into-tweak
Enable slf: PyRef<'py, Self>
2019-09-05 12:43:47 +02:00
kngwyu df44e500a9 Remove py from parse_fn_args's args(to address clippy warning) 2019-09-02 23:05:42 +09:00
kngwyu 3d821b7f47 Enable slf: PyRef<'py, Self> 2019-09-02 00:31:22 +09:00
kngwyu c7e377a472 [derive_utils] Copy kwargs not to modify it 2019-09-01 23:59:24 +09:00
kngwyu 96b71bfb76 Merge branch 'master' into parse_args_msg 2019-08-31 17:03:15 +09:00
Anders Kaseorg e70e9ab5e6 Require the GIL to be held to drain the ReleasePool
This adds a `Python` marker to `GILPool`, to prevent the caller from
misusing it to drain the `ReleasePool` and release Python objects
without the GIL held.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-08-29 23:55:59 -07:00
konstin a4c9fb96a3
Merge pull request #583 from PyO3/remove-into-py-object
Remove intoPyObject
2019-08-26 16:35:19 +02:00
konstin b04727c11f FromPy implies IntoPy 2019-08-25 23:52:56 +02:00
konstin 30e82a3018 Replace IntoPyObject with IntoPy<PyObject> 2019-08-24 19:23:28 +02:00
konstin e820d55c6f
Merge pull request #574 from PyO3/syn_1_0
Upgrade to syn 1.0
2019-08-19 23:41:24 +02:00
Yuji Kanagawa 43a2fe6db3
Merge pull request #579 from kngwyu/fix-build
Fix warnings in tuple.rs
2019-08-20 02:28:21 +09:00
konstin 0774334b85
Merge pull request #555 from macisamuele/maci-run-clippy-on-all-the-codebase
Run clippy on all the codebase
2019-08-19 13:23:17 +02:00
konstin 39f151c3bd Upgrade to syn 1.0 2019-08-19 13:11:57 +02:00
kngwyu 6b67f6dead Fix warning in tuple.rs 2019-08-18 12:57:00 +09:00
Samuele Maci f15fa210f4 Remove unnecessary trailing semicolon 2019-08-17 15:27:07 +02:00
Samuele Maci f7ac0a2887 Address clippy::into_iter_on_ref issues 2019-08-17 15:27:05 +02:00
Samuele Maci 6b4a221d61 Address clippy::float_cmp issues 2019-08-17 14:10:36 +02:00
Samuele Maci f008c569a6 Address clippy::trivially_copy_pass_by_ref issues 2019-08-17 14:10:36 +02:00
Samuele Maci 0de22c665f Address clippy::identity_conversion issues 2019-08-17 14:10:36 +02:00
Samuele Maci 247c8b5f1c Address clippy::map_clone issues 2019-08-17 14:10:36 +02:00
Samuele Maci 1ed7460bf3 Address clippy::or_fun_call issues 2019-08-17 14:10:36 +02:00
Samuele Maci 0aa02f715f Address clippy::into_iter_on_array issues 2019-08-17 14:10:36 +02:00
Samuele Maci 8f57d9fb82 Address clippy::dead_code issues 2019-08-17 14:10:36 +02:00
Samuele Maci 5e0168b2e9 Address clippy::redundant_static_lifetimes issues 2019-08-17 14:10:36 +02:00
Samuele Maci 7034332f46 Address clippy::inconsistent_digit_grouping issues 2019-08-17 14:10:35 +02:00
Samuele Maci 6ae27f9c44 Address clippy::unreadable_literal issues 2019-08-17 14:10:35 +02:00
Samuele Maci 8e4204b503 Enhance .travis.yml documentation related to nightly min-version
Add fallback to install clippy from github repo if rustup component add fails
2019-08-17 14:10:35 +02:00
Samuele Maci 1cdd6020cc Add dedicated makefile target for lint, clippy, fmt execution 2019-08-17 14:10:35 +02:00
Yuji Kanagawa e752bd27f4
Merge pull request #575 from kngwyu/chlog
Add a missing entry to CHANGELOG
2019-08-14 23:52:58 +09:00
kngwyu e055fdb338 Add a missing entry to CHANGELOG 2019-08-12 22:46:15 +09:00
konstin d6f8514e1b
Merge pull request #554 from PyO3/grcov
Try out grcov
2019-08-11 17:14:50 +02:00
konstin 5874014252 Try fixing the pypy build 2019-08-11 14:26:56 +02:00
konstin d995701aa7 Try out grcov 2019-08-11 14:25:44 +02:00