ijl
2bb0d05a30
Drop support for python2
2019-03-29 12:37:26 +00:00
Alisa Dammer
0ec6603b7a
Remove unrequired encoding header
...
This is not required anymore for Python 3.
2019-03-03 18:14:12 +01:00
konstin
6cd07c369c
Simpler new and clippy fixes
2019-02-23 18:38:00 +01:00
konstin
d02f7c3aa5
Big proc macro refactoring
...
* Removed a lot of clutter, unified some code
* Started using syn::parse::Parse for pyfunction attributes
* No more newlines between imports
* Renamed `#[prop(get, set)]` to `#[pyo3(get, set)]`
* `#[pyfunction]` now supports the same arguments as `#[pyfn()]`
* Some macros now emit proper spanned errors instead of panics.
2019-02-18 20:07:56 +01:00
konstin
6cb098ee12
Replace py.init_[ref|mut] with Py[Ref|Mut]::new
2019-02-13 21:52:21 +01:00
konstin
1a489d2829
Make the init methods use a value instead of a function
2019-02-13 13:59:47 +01:00
konstin
ae8a37cd0a
Allow 0..n pymethod blocks without specialization
2019-02-01 16:23:34 +01:00
konstin
936f0153e8
Migrate to rust 2018
2019-02-01 14:23:29 +01:00
Joar Wandborg
8e4d23e470
Pass posargs to pytest command, skip redundant install
2019-01-09 22:00:29 +01:00
konstin
b9f9580751
Fix #314
2018-12-28 20:29:12 +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
57afb51604
Remove PyToken completely; Fixes #94
2018-11-12 14:42:21 +01:00
konstin
4da9110489
Add tox config for word-count
2018-10-09 18:21:52 +02:00
Hanaasagi
92119d195a
remove meaningless __future__.absolute_import
2018-10-09 23:26:28 +09:00
Hanaasagi
eb6e7a2c2a
use pytest directlly instead of python -m pytest
2018-10-09 23:24:36 +09:00
konstin
991a8b94d2
More nightly fixes
2018-08-19 20:42:17 +02:00
konstin
d0ed68414a
Many small improvements
2018-08-04 19:56:59 +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
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
d59bebcc38
Upgrade from proc_macro to use_extern_macros
2018-07-18 13:08:05 +02:00
konstin
fe931a594f
#[pymodinit] now uses the function name as default module name
2018-07-10 00:13:02 +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
6645708e4f
Get rid of #[py*] methods
2018-07-03 20:42:02 +02:00
konstin
fd6ab73924
Upgrade to syn 0.14: Useful error messages 🎉
2018-06-15 22:41:16 +02:00
konstin
373d0cf5f4
rustfmt the examples
2018-06-15 21:23:18 +02:00
konstin
f2be73c4f3
Fix tests
2018-06-14 16:20:55 +02:00
konstin
319afe1f76
Small documentation improvements
2018-05-17 23:59:38 +02:00
konstin
d0c42dfcc1
Fix compilation on nightly
2018-05-01 15:44:38 +02:00
Nikolay Kim
96ad2efddf
do not use workspaces
2018-01-19 10:18:57 -08:00
Nikolay Kim
c39a1d7e94
Add examples to workspace
2018-01-19 10:10:32 -08:00
Nikolay Kim
050397b723
mark method that work with raw pointer unsafe
2017-12-26 13:41:27 -08:00
Nikolay Kim
c44e23f4b9
add prelude mod
2017-07-31 10:42:55 -07:00
Nikolay Kim
823054052d
update word count example
2017-07-26 09:18:50 -07:00
messense
43a5d6f1b4
Test and benchmark word-count example ( #60 )
...
* Test and benchmark word-count example
* Optimize rust word_count
2017-07-26 12:37:36 +08:00
Nikolay Kim
9aa05daf08
fix name
2017-07-23 10:54:52 -07:00
messense
54a87aacdf
Add a word count example
2017-07-23 13:32:18 +08:00