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 |
|
konstin
|
373d0cf5f4
|
rustfmt the examples
|
2018-06-15 21:23:18 +02:00 |
|
konstin
|
80096ae143
|
rudtfmt the tests
With some careful refactoring alongside
|
2018-06-15 21:21:12 +02:00 |
|
konstin
|
f9ff7cd465
|
Ignore test because of a docmatic bug
See https://github.com/assert-rs/docmatic/issues/4
|
2018-06-15 15:59:22 +02:00 |
|
konstin
|
1301394264
|
Fix c string conversion in python 2
|
2018-06-15 15:57:59 +02:00 |
|
konstin
|
9394dc591e
|
Deactivate mails on failed travis run
The test suite is unfortunately very flaky which makes travis spam with mails of failed builds
|
2018-06-14 16:29:22 +02:00 |
|
konstin
|
f2be73c4f3
|
Fix tests
|
2018-06-14 16:20:55 +02:00 |
|
konstin
|
785d338700
|
Add a few notes on debugging
|
2018-06-14 16:17:49 +02:00 |
|
konstin
|
9cb5321317
|
Merge pull request #183 from peng1999/master
Fix broken links
|
2018-06-14 16:05:23 +02:00 |
|
konstin
|
7a52bf647c
|
Apply fixes by Philip Molloy
|
2018-06-14 16:03:05 +02:00 |
|
Peng Guanwen
|
ce4c217527
|
Fix broken links
This fixes #182
|
2018-06-14 08:10:39 +00:00 |
|
konstin
|
76510bdd0e
|
Refactoring
This is actually a failed bugfix attempt, but still useful
|
2018-06-13 18:02:45 +02:00 |
|
konstin
|
60d1565a8f
|
Always clone on in getters
Since copy implies clone, this doesn't code.
|
2018-06-12 17:47:24 +02:00 |
|
konstin
|
7fbe13d97f
|
Don't deploy in cron jobs
|
2018-06-12 14:36:34 +02:00 |
|
konstin
|
54b09c704b
|
Fix -Z minimal-versions
|
2018-06-06 21:18:42 +02:00 |
|
konstin
|
4fc52cf966
|
Merge pull request #173 from kngwyu/128bitInt
Add 128bit integer support
|
2018-06-06 15:06:12 +02:00 |
|
kngwyu
|
66183d4683
|
Move common functions and macros from num2&num3 to num_common
|
2018-06-06 01:31:40 +09:00 |
|
kngwyu
|
0b964b503f
|
Rename args of _PyLong_FromByteArray/_PyLong_AsByteArray
|
2018-06-05 23:03:53 +09:00 |
|
konstin
|
97688cb586
|
Update issue_template.md
|
2018-06-05 11:53:04 +02:00 |
|
konstin
|
d789eb658f
|
Merge pull request #174 from jalexvig/master
Updated README for macs
|
2018-06-05 11:32:43 +02:00 |
|
Alex Vig
|
cf5423b5dc
|
Updated README for macs
Made the instructions around generating a Python package more clear
(particularly for macs).
closes #172
|
2018-06-02 19:01:40 -04:00 |
|
kngwyu
|
9ffbae30ab
|
Add 128bit integer support for python2
|
2018-06-02 22:10:13 +09:00 |
|
kngwyu
|
a87ddeab21
|
Add 128bit integer support for python3
|
2018-06-02 22:08:29 +09:00 |
|
konstin
|
2d57b3bef7
|
Link to the new guides; Fixes #165
|
2018-06-01 15:03:04 +02:00 |
|