Commit Graph

993 Commits

Author SHA1 Message Date
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
konstin 28d6c9986c Fix clippy errors 2018-07-03 21:32:16 +02:00
konstin 43eb5fa490 Rename prepare_pyo3_library to init_once 2018-07-03 21:12:57 +02:00
konstin 1e31fc4451 Remove even more clutter 2018-07-03 21:11:56 +02:00
konstin 6645708e4f Get rid of #[py*] methods 2018-07-03 20:42:02 +02:00
konstin 2f1e1a2a3f Simplify building a bit 2018-07-03 20:40:42 +02:00
konstin 4169b03178
Merge pull request #187 from kngwyu/pyobject-macros
Modify pyobject_native_type to take typeobject as expr
2018-07-02 09:43:15 +02:00
kngwyu 7d7c1ede49 Modify pyobject_native_type to take expr
To use deref(*) expression
2018-07-02 16:31:36 +09:00
konstin c22bec6124
Merge pull request #186 from kngwyu/modify-pyobject-macro
Modify pyobject_native_type to take path instead of ident
2018-07-01 17:17:43 +02:00
konstin 9ce5e8cf28
Update README.md
Thanks to @mre in https://github.com/PyO3/pyo3/issues/172#issuecomment-401612673
2018-07-01 17:15:29 +02:00
kngwyu 41f4d1d673 $crate::std to ::std
So that we can use these macros in outer crates
2018-07-02 00:06:08 +09:00
kngwyu 70e1879d59 Make python pub 2018-07-02 00:06:01 +09:00
kngwyu 3ec49b586f Modify pyobject_native_type to take path instead of ident
So that we can use this macro outside this crate.
2018-07-01 23:51:56 +09:00
konstin aadde4cd0c Fix a scope in the macro output 2018-06-18 15:45:15 +02:00
konstin e374b5dd1d Fix proc macro scoping for pyo3 2018-06-15 22:50:26 +02:00
konstin fd6ab73924 Upgrade to syn 0.14: Useful error messages 🎉 2018-06-15 22:41:16 +02:00