kngwyu
73c7f8a5c2
Write about Py<T> in the guide
2019-02-09 22:37:21 +09:00
kngwyu
8259cc5d89
Added a note about PyRef
and PyRefMut
in guide
2019-02-08 23:51:37 +09:00
kngwyu
4a552a88cf
Py::new_ref -> PyRef::new
2019-02-08 23:51:14 +09:00
kngwyu
f95f4e8c14
Fix python2 test
2019-02-08 14:09:49 +09:00
kngwyu
c80134fbcd
Refactor PyRef/PyRefMut based on reviews
2019-02-08 13:58:44 +09:00
konstin
596c0c75b6
Add Code of Conduct
2019-02-07 20:50:09 +01:00
konstin
7e914ac535
Merge pull request #337 from Alexander-N/fix-examples
...
Fix some examples
2019-02-07 15:21:26 +01:00
kngwyu
1d3dd2c343
Write documents of PyRef/PyRefMut
2019-02-07 15:17:27 +09:00
kngwyu
01fc1405b0
Modify AsPyRef::as_ref to return PyRef
2019-02-07 14:27:13 +09:00
Yuji Kanagawa
2a6679f6a9
Merge pull request #339 from ijl/py38-travis
...
Run python3.8 in Linux CI
2019-02-07 12:57:12 +09:00
ijl
9f722ea9cc
Run python3.8 in Linux CI
2019-02-05 13:49:03 +00:00
kngwyu
22687c3712
Modify PyIterProtocol to take PyRefMut
2019-02-05 17:27:34 +09:00
kngwyu
76e30b5248
Remove ToPyPointer and so on from pyclass
2019-02-04 00:34:06 +09:00
Alexander Niederbühl
638354cc34
Fix some examples in class.md
2019-02-03 14:29:17 +01:00
Alexander Niederbühl
1a47aab36b
Fix example in conversion.md
2019-02-03 14:13:47 +01:00
konstin
9e53418aad
Less feature(specialization)
2019-02-01 18:09:51 +01:00
konstin
f946888804
Ignore pip-wheel-metadata
2019-02-01 17:49:49 +01:00
konstin
853fc7c7d1
Merge pull request #332 from PyO3/inventory
...
Allow 0..n pymethod blocks without specialization
2019-02-01 17:40:23 +01:00
konstin
328d61ca3b
Fix test for python2
2019-02-01 17:15:33 +01:00
konstin
c868cc3e4b
Fix test
2019-02-01 16:31:18 +01:00
konstin
6f1123e6b1
Update to new inventory version
2019-02-01 16:23:34 +01:00
konstin
56f2257e90
rust 2018 fixes
2019-02-01 16:23:34 +01:00
konstin
c71c116f29
Better trait bounds with PyMethodsProtocol
2019-02-01 16:23:34 +01:00
konstin
ae8a37cd0a
Allow 0..n pymethod blocks without specialization
2019-02-01 16:23:34 +01:00
konstin
829f35af5b
Migrate to rust 2018
2019-02-01 16:23:34 +01:00
konstin
e1154120d1
ffi2 to rust 2018
2019-02-01 16:23:34 +01:00
konstin
9c3ac7e526
Merge pull request #336 from PyO3/rust_2018
...
Migrate to rust 2018
2019-02-01 16:21:16 +01:00
konstin
0495ee52d3
ffi2 to rust 2018
2019-02-01 15:25:58 +01:00
konstin
936f0153e8
Migrate to rust 2018
2019-02-01 14:23:29 +01:00
konstin
423b5d1099
Merge pull request #327 from StarryInternet/fix-cross-compilation
...
Implement Basic Cross Compile Support
2019-02-01 13:50:39 +01:00
Matt Pelland
d3bb75e4c0
move cross compiling doc to the guide
2019-01-30 18:08:04 -05:00
Matt Pelland
7232323248
rename all cross compile variables to PYO3_CROSS_* prefix
2019-01-30 18:08:04 -05:00
Matt Pelland
8721f410e1
don't bury IO errors in parse_header_defines
2019-01-30 18:08:04 -05:00
Matt Pelland
9f5776f98c
add doc for C #define regex
2019-01-30 18:08:04 -05:00
Matt Pelland
bc770b9f37
add documentation on cross compiling
2019-01-30 18:08:04 -05:00
Matt Pelland
6e4c2b71e0
do not call python interpreter when cross compiling
2019-01-30 18:08:03 -05:00
Matt Pelland
80a6318b43
avoid signedness issues when cross compiling
2019-01-30 18:08:03 -05:00
konstin
ee4fc3b21d
Merge pull request #333 from PyO3/pin_nightly_in_ci
...
Pin nightly in ci
2019-01-30 16:42:38 +01:00
konstin
fbe71b27cb
Pin nightly in ci
2019-01-30 16:31:37 +01:00
konstin
3bb44629ac
Merge pull request #330 from Alexander-N/import-exception
...
Add $crate:: prefix in import_exception!
2019-01-30 16:18:45 +01:00
konstin
bb4848f2c2
Merge pull request #329 from Alexander-N/get-started
...
Update Get Started section in user guide
2019-01-30 16:18:24 +01:00
Yuji Kanagawa
fd199e2683
Merge pull request #331 from lukehsiao/patch-1
...
docs(rust-cpython): fix minor typos
2019-01-29 12:05:25 +09:00
Luke Hsiao
6fd41a16ae
docs(rust-cpython): fix minor typos
2019-01-28 15:44:17 -08:00
Alexander Niederbühl
df36292523
Add $crate:: prefix in import_exception!
...
Also change doctest to use Rust 2018 macro includes.
2019-01-28 18:25:02 +01:00
Yuji Kanagawa
20dbf542c7
Merge pull request #328 from Alexander-N/kwargs
...
Fix **kwargs
2019-01-28 12:53:27 +09:00
Alexander Niederbühl
b132a0bfc5
Update Get Started section in user guide
...
Use content of README.md for an updated version of
guide/src/get_started.md
2019-01-27 17:28:08 +01:00
Alexander Niederbühl
fbd012601e
Fix kwargs
...
kwargs was broken by a check for the number of given arguments. Only
apply this check if no arbitary number of keyword arguments are allowed
by a "**" parameter of `#[args(...)`.
Closes #318
2019-01-25 00:47:28 +01:00
dependabot[bot]
27ef33703b
Update spin requirement from 0.4.9 to 0.5.0 ( #325 )
...
Updates the requirements on [spin](https://github.com/mvdnes/spin-rs ) to permit the latest version.
- [Release notes](https://github.com/mvdnes/spin-rs/releases )
- [Commits](https://github.com/mvdnes/spin-rs/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 14:41:10 +01:00
konstin
f9baa700d8
Merge pull request #324 from athre0z/add-crate-prefix
...
Add $crate:: prefix in create_exception!
2019-01-14 14:40:45 +01:00
Joel Höner
262b708de2
Add $crate:: prefix in create_exception!
2019-01-13 22:00:52 +01:00