kngwyu
40077245ea
Fix PyModule::dict
2020-03-16 15:45:54 +09:00
Georg Brandl
3f030d46fd
guide: fixes and some minor additions ( #802 )
...
* guide: fixes and some minor additions
I went through the guide and fixed some grammar/consistency issues,
and added some wording where I thought it appropriate.
I also reordered the chapters to what I feel is a more natural
flow of concepts.
* Apply suggestions from code review and fix tests
Co-Authored-By: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-03-13 22:53:49 +09:00
Yuji Kanagawa
a92ca0167b
Merge pull request #806 from birkenfeld/make-fix
...
"make test": fail if one of the example toxes fails
2020-03-13 22:06:13 +09:00
Georg Brandl
701fb7f2b5
"make test": fail if one of the example toxes fails
2020-03-13 13:29:30 +01:00
Yuji Kanagawa
9c3331e66c
Merge pull request #795 from PyO3/relase-0.9
...
Write migration guide
2020-03-13 19:11:51 +09:00
kngwyu
433b812a68
Remove ^ from Cargo.toml + small improvements for migration.md
2020-03-13 18:40:43 +09:00
David Hewitt
759dbeaed7
Fix clippy lifetime lint
2020-03-10 18:49:23 +00:00
kngwyu
107c0cf1ba
Unify AsPyRef for Py<T> to make rust-numpy work
2020-03-09 18:31:43 +09:00
kngwyu
a6765e3888
Mention let obj: T = obj.extract()?;
in migration.md
2020-03-09 16:02:42 +09:00
kngwyu
084b3621be
Relax version requirements for dependencies
2020-03-09 14:32:49 +09:00
Yuji Kanagawa
3a0cd8e405
Apply suggestions from georg's review to migration.md
...
Co-Authored-By: Georg Brandl <georg@python.org>
2020-03-09 14:32:35 +09:00
Yuji Kanagawa
8eb0065e38
Apply suggestions from code review
...
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-03-09 14:11:14 +09:00
kngwyu
ded83027fa
Write migration guide for 0.9
2020-03-09 14:11:14 +09:00
Yuji Kanagawa
f2f5877f00
Merge pull request #796 from kngwyu/refactor-build
...
Refactor build.rs
2020-03-09 10:42:47 +09:00
kngwyu
e67681d018
Refactor build.rs
2020-03-08 22:54:42 +09:00
Yuji Kanagawa
1a8ebc230a
Merge pull request #792 from kngwyu/separator
...
Fix the interpretation of vararg separator
2020-03-08 01:32:51 +09:00
Yuji Kanagawa
b7c4fdb9bc
Update CHANGELOG.md
...
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-03-08 00:57:11 +09:00
kngwyu
26fe29f0cb
Some refactorings for pyfunction.rs
2020-03-06 19:01:05 +09:00
kngwyu
cea707dd1c
Inhibit positional args after *
2020-03-06 14:01:27 +09:00
kngwyu
25069baef4
Fix the interpretation of '*'
2020-03-04 23:48:46 +09:00
Yuji Kanagawa
74b22eb651
Merge pull request #791 from kngwyu/pyclass-arg
...
Make it enable to take &PyClass as arguments as pyfunctions/methods
2020-03-04 21:31:39 +09:00
kngwyu
96115eaaaa
Refactor some tests in test_methods
2020-03-04 20:35:46 +09:00
kngwyu
bbe4393b1e
Add more tests in method_with_pyclassarg
2020-03-04 20:25:30 +09:00
kngwyu
e63e0cbf5a
Make it enable to take &PyClass as arguments as pyfunctions/methods
2020-03-04 13:37:26 +09:00
Yuji Kanagawa
c5a093d8d6
Merge pull request #788 from kngwyu/mkmod-refactor
...
Remove static mut from make_module
2020-03-04 13:10:25 +09:00
kngwyu
6307c25b81
Remove static mut from make_module
2020-03-03 18:46:20 +09:00
Yuji Kanagawa
3115667181
Merge pull request #783 from kngwyu/fix-pylayout
...
Fix PyLayout and restrict PyRef::as_ref for non-native types
2020-03-03 17:09:28 +09:00
Yuji Kanagawa
f470154cdf
Merge pull request #778 from c410-f3r/array-impls
...
Implement `FromPyObject` and `IntoPy<PyObject>` traits for arrays (up to 32)
2020-03-03 14:15:23 +09:00
Yuji Kanagawa
402c382f0e
Make rustfmt happy
2020-03-03 13:41:15 +09:00
Yuji Kanagawa
09e36f255e
Merge pull request #779 from davidhewitt/check-architecture
...
Check python and target arcitecture match in build.rs
2020-03-03 13:12:55 +09:00
Yuji Kanagawa
dc8e0c4c18
Merge branch 'master' into array-impls
2020-03-03 13:07:03 +09:00
Yuji Kanagawa
ebb528d17d
Merge pull request #784 from kngwyu/py38-ffi
...
Make FFIs Python3.8 compatible
2020-03-03 13:04:48 +09:00
Caio
6b78f1b43c
Implement *Py*
traits for arrays (up to 32)
2020-03-02 18:25:07 -03:00
kngwyu
68cfd5e17a
Remove redundant empty lines from class.md
2020-03-02 20:54:35 +09:00
kngwyu
4b9cb70c3e
Update CHANGELOG
2020-03-02 20:44:29 +09:00
kngwyu
7deb3b1fb2
Make FFIs Python3.8 compatible
2020-03-02 20:12:12 +09:00
kngwyu
a12667be25
Add a document about inherting native types
2020-03-02 20:07:23 +09:00
kngwyu
39c299959e
Fix PyLayout and restrict PyRef::as_ref for non-native types
2020-03-02 18:42:04 +09:00
Yuji Kanagawa
fee755adbe
Merge pull request #770 from kngwyu/pycell
...
Rename PyClassShell with `PyCell` and do mutability checking
2020-03-02 14:56:51 +09:00
kngwyu
ee0c178fed
Remove ObjectProtocol::get_base and fix class.md
2020-03-02 13:08:37 +09:00
kngwyu
ca6227c739
Address review comments
2020-03-01 12:58:28 +09:00
Yuji Kanagawa
399e4bf9b1
Apply suggestions from code review
...
Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-03-01 12:43:04 +09:00
David Hewitt
24a3fbd4e2
Check python and target arcitecture match in build.rs
2020-02-29 12:24:04 +00:00
Yuji Kanagawa
3ded0b2c53
Merge pull request #777 from oconnor663/release
...
avoid calling ffi::PyBuffer_Release twice in PyBuffer::release
2020-02-29 15:20:39 +09:00
Jack O'Connor
6568d78e24
avoid calling ffi::PyBuffer_Release twice in PyBuffer::release
...
Fixes https://github.com/PyO3/pyo3/issues/776 .
2020-02-28 16:59:44 -05:00
kngwyu
461b32a432
More docs
2020-02-28 16:49:25 +09:00
kngwyu
dcac5ad200
Simplify PyLayout
2020-02-26 17:19:33 +09:00
kngwyu
6a64806d90
Address clippy warnings
2020-02-26 17:10:46 +09:00
kngwyu
05159417a8
Update CHANGELOG
2020-02-25 22:16:27 +09:00
kngwyu
ff1ae98326
Fix class.md
2020-02-25 21:56:23 +09:00