Commit graph

958 commits

Author SHA1 Message Date
konstin 0b6d47d177
Merge pull request #205 from pganssle/fix_race_conditions
Fix race conditions
2018-08-22 17:07:29 +02:00
Paul Ganssle 6202e2641b
Fix race condition in test_seq_set_item_refcnt
This test previously relied on a stable reference count for None, which
is not likely to be true in multi-threaded code. This creates an object
specifically for the test to avoid race conditions.
2018-08-21 20:32:12 -04:00
Paul Ganssle c3986a7244
Fix race condition in test_borrowed*
This fixes a race condition in test_borrowed and test_borrowed_nested
by making the object under test different in each thread.
2018-08-21 20:20:24 -04:00
konstin c3bcabc50d Revert workspace separation
Apparently setuptools-rust didn't like that
2018-08-22 00:38:49 +02:00
konstin b0f0a44284 Exclude example 2018-08-22 00:02:37 +02:00
konstin 771d59b913 Fix another bunch of clippy lints 2018-08-21 23:51:13 +02:00
konstin 9dd6bb0d2c Get rid of broken workspaces 2018-08-21 23:44:26 +02:00
konstin ced632b357 kcov seems to broken 2018-08-21 23:41:57 +02:00
konstin 82129c70b4 Added an explenation that the GIL can temporarily be released even while holding a GILGuard 2018-08-20 22:56:24 +02:00
konstin db4a2d9017 Get rid of the pyobject_extract macro 2018-08-20 22:53:43 +02:00
konstin 9cadbd11de v0.4.1 2018-08-20 14:34:34 +02:00
konstin 991a8b94d2 More nightly fixes 2018-08-19 20:42:17 +02:00
konstin b12b65cfae Cleanup 2018-08-19 20:06:47 +02:00
konstin 7ebbbe41db
Merge pull request #203 from kngwyu/upd
Update spin
2018-08-19 20:03:49 +02:00
kngwyu ff2871f325 Remove unnecessary feature gates from doc tests 2018-08-14 18:29:15 +09:00
kngwyu d2210f8a7e Update spin 2018-08-14 18:20:14 +09:00
konstin d0ed68414a Many small improvements 2018-08-04 19:56:59 +02:00
konstin 55d0917419 travis debug 2018-08-04 19:14:41 +02:00
konstin b7dc0ad695 v0.4.0 2018-07-30 23:10:50 +02:00
konstin fe8a719ee1 Rustfmt all the things ✔️ 2018-07-30 23:05:10 +02:00
konstin 83db765889 Refactoring 2018-07-30 22:56:25 +02:00
konstin d9d1650fc4 Fix #197 - Remove tuple to dict conversions 2018-07-30 22:52:36 +02:00
konstin 27633da3b1
Merge pull request #191 from milesgranger/master
Python::run should return PyObjectRef result
2018-07-30 17:49:57 +02:00
Miles Granger a13b79459f Return PyObjectRef result from Python::run 2018-07-29 22:00:36 +02:00
konstin 547fa35604
Merge pull request #195 from kngwyu/native-type-with-generics
Enable generics parameter in pyobject_native_type!
2018-07-29 01:11:52 +02:00
kngwyu 5e1ce01251 Enable generics parameter in pyobject_native_type! 2018-07-28 14:46:00 +09:00
konstin d8d17c3325
Merge pull request #194 from PyO3/dependabot/cargo/rayon-1.0
Update rayon requirement to 1.0
2018-07-27 20:41:26 +02:00
dependabot[bot] 026b32e64c
Update rayon requirement to 1.0
Updates the requirements on [rayon](https://github.com/rayon-rs/rayon) to permit the latest version.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/commits/v1.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-27 15:16:28 +00:00
konstin d9e2399426
Merge pull request #192 from kngwyu/pc2
Specify proc-macro2 version more precisely
2018-07-27 13:50:18 +02:00
kngwyu 686d006bea Specify proc-macro2 version
Since we can't compile 0.4.8 in current nightly.
See
9f0a28a9c9
for upstream change.
2018-07-24 17:17:11 +09:00
konstin 2627fa8a08 0.3.2 2018-07-22 21:36:18 +02:00
konstin 897716cf5b
Merge pull request #190 from svenstaro/patch-1
Update pyo3 version number
2018-07-21 14:05:43 +02:00
Sven-Hendrik Haase 59b7e0fc2d
Update pyo3 version umber 2018-07-20 00:39:42 +02:00
konstin ff70f45071 (Hopefully) get travis to build the guide for tags 2018-07-18 23:28:14 +02:00
konstin 3adcac6e61 Replace concat_idents with mashup 2018-07-18 23:17:05 +02:00
konstin 3248927db2 Bump versions in the Cargo.toml files
One day I'll get the order right
2018-07-18 14:11:24 +02:00
konstin 7d4381fc5d Fixed scoping bug in pyobject_native_type that would break rust-numpy 2018-07-18 14:06:17 +02:00
konstin d59bebcc38 Upgrade from proc_macro to use_extern_macros 2018-07-18 13:08:05 +02:00
konstin dbd74401eb Rename the base option in the pyclass macro to extends
"extends" is intuitive for people with java or ES6 experience, and it also aligns pyo3 with
wasm-bindgen (see https://github.com/rustwasm/rfcs/pull/2)
2018-07-15 12:08:20 +02:00
konstin eb613c64d9 Add repr(transparent) where applicable 2018-07-13 18:10:09 +02:00
konstin 2ffa302a8d Fix module name in word_count_cls 2018-07-10 00:30:44 +02:00
konstin fe931a594f #[pymodinit] now uses the function name as default module name 2018-07-10 00:13:02 +02:00
konstin c32dd1c120 Reduce travis' cache size
Reduces the cache from 1.1GB to 70MB which makes the cache loading and storing much faster
2018-07-09 00:02:34 +02:00
konstin f6224ca0bc Prepare for 0.3.0 release 2018-07-08 23:41:18 +02:00
konstin 0df5527fbe Travis ci's python is weird 2018-07-08 23:37:44 +02:00
konstin 4013d40897 Add py prefix to the proc macros and move them into the root module
This is important because `proc_macro_path_invoc` isn't going to be stabilized soon.
2018-07-08 23:33:48 +02:00
konstin 562d417517 Fix bug which made code generation dependend on argument ordering 2018-07-06 12:56:40 +02:00
konstin 1201587353 Remove some old-syn clutter 2018-07-04 19:07:27 +02:00
konstin bc412ede8f Format pyo3cls and pyo3-derive-backend 2018-07-03 22:28:40 +02:00
konstin 68c14a5707 Merge branch 'master' of https://github.com/PyO3/pyo3 2018-07-03 21:55:43 +02:00