Commit Graph

1998 Commits

Author SHA1 Message Date
Yuji Kanagawa dd240a6f00
Merge pull request #831 from PyO3/x86-ci
Enable mac x64 and Win x86 tests on github Actions
2020-03-24 16:21:03 +09:00
kngwyu 4796a13b76 Enable mac x64 and Win x86 tests on github Actions 2020-03-24 15:38:06 +09:00
Yuji Kanagawa 1c1d3c4dd9
Merge pull request #829 from PyO3/release-0.9.1
Bump version to 0.9.1
2020-03-23 22:26:31 +09:00
kngwyu 4759358acb Bump version to 0.9.1 2020-03-23 18:55:24 +09:00
Yuji Kanagawa 3b8af93aea
Merge pull request #826 from kngwyu/pyclass-err-improve
More ergonomic error messages for invalid #[pyclass] args
2020-03-23 18:51:16 +09:00
Yuji Kanagawa 3b17ab0529 Apply suggestions from code review
Co-Authored-By: Georg Brandl <georg@python.org>
2020-03-23 13:18:38 +09:00
Yuji Kanagawa 00a277c535
Merge pull request #827 from kngwyu/retrieve-frompyobj-for-seq
Retrieve FromPyObject implementation for &PySequence
2020-03-22 23:48:13 +09:00
kngwyu 1e39071c04 Retrieve FromPyObject implementation for &PySequence 2020-03-22 20:00:21 +09:00
kngwyu 9b5ea3f46b More ergonomic error messages for invalid #[pyclass] args 2020-03-22 17:13:02 +09:00
Yuji Kanagawa d43a34986d
Merge pull request #812 from PyO3/release-0.9
Bump version to 0.9.0
2020-03-19 15:10:45 +09:00
kngwyu 89e5a654ad Bump version to 0.9.0 2020-03-19 13:48:00 +09:00
kngwyu fd739b5879 Refactor links in the guide 2020-03-19 13:47:37 +09:00
kngwyu e9b15b83ff Change PyBorrowError and PyBorrowMutError to inherit RuntimeError 2020-03-19 13:47:37 +09:00
Yuji Kanagawa 25b594cd47
Merge pull request #820 from ijl/more-ffi
More bytes, dict FFI
2020-03-19 13:44:40 +09:00
Yuji Kanagawa 5a822bc989
Merge pull request #822 from kngwyu/fix-tp-doc
Fix the case where T::DESCRIPTION is not null-terminated
2020-03-19 13:11:52 +09:00
kngwyu 9f4ea2b234 Fix the case where T::DESCRIPTION is not null-terminated 2020-03-19 12:17:06 +09:00
ijl e58249cf55 _PyDict_Next(), _PyDict_Contains(), _PyObject_GetDictPtr() 2020-03-18 22:46:51 +00:00
ijl 5e14b39c62 _PyBytes_Resize() 2020-03-18 22:41:20 +00:00
Yuji Kanagawa 6d16d0bbcf
Merge pull request #819 from PyO3/fix-top-page
Fix the 'latest tag' link on pyo3.rs
2020-03-18 18:37:38 +09:00
kngwyu fcc5e609a6 Fix the 'latest tag' link on pyo3.rs 2020-03-18 17:47:21 +09:00
Yuji Kanagawa 6dc44eb4e2
Merge pull request #818 from birkenfeld/guide-fixes
guide: PyObject is also for returning stuff to Python
2020-03-18 16:07:05 +09:00
Georg Brandl 73b40b1451 guide: PyObject is also for returning stuff to Python 2020-03-18 07:00:13 +01:00
Yuji Kanagawa 6998660ca4
Merge pull request #816 from kngwyu/expose-pyany
Expose PyAny to lib.rs and prelude
2020-03-18 14:27:13 +09:00
kngwyu 02ee7a5afc Expose PyAny to lib.rs and prelude 2020-03-18 13:38:18 +09:00
Yuji Kanagawa da4009507e
Merge pull request #813 from birkenfeld/docstrings
docstrings: fixes, also point to the new guide chapter
2020-03-18 13:09:04 +09:00
Georg Brandl e026013321
Apply suggestions from code review
Co-Authored-By: Alexander Niederbühl <a.niederbuehl@gmail.com>
2020-03-17 20:06:09 +01:00
Georg Brandl b7d5f9097b
Fix tests
Co-Authored-By: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2020-03-17 16:49:48 +01:00
Georg Brandl 77b1ae3137 lib: overhaul docstrings 2020-03-17 15:16:30 +01:00
Georg Brandl a7a2ccb5ff
Apply suggestions from code review 2020-03-17 10:54:51 +01:00
Georg Brandl 4da5dbcd01
Apply suggestions from code review
Co-Authored-By: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2020-03-17 10:54:05 +01:00
Georg Brandl e649e58674 docstrings: fixes, also point to the new guide chapter 2020-03-17 10:04:29 +01:00
Yuji Kanagawa 1099974316
Merge pull request #811 from PyO3/python-3-9-dev
Use python 3.8 final and 3.9-dev on travis
2020-03-17 15:57:21 +09:00
kngwyu 88f0c7ec75 Use Ubuntu 18.04 bionic in travis 2020-03-17 13:42:13 +09:00
Georg Brandl fa2e22b9be
guide: add type overview (#801)
* book: add type overview

fixes #789

Co-Authored-By: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-Authored-By: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>

* Add concrete pointer types to the list.

* Add suggestions from @kngwyu

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2020-03-16 22:57:27 +09:00
Yuji Kanagawa d4281a0cd3
Merge pull request #809 from kngwyu/fix-module-dict
Fix PyModule::dict
2020-03-16 22:56:13 +09:00
konstin d69b815bb5
Use python 3.8 final and 3.9-dev on travis
Python 3.8 is released, python 3.9 is the current dev version.
2020-03-16 13:55:35 +01:00
Yuji Kanagawa e09873be31
Merge pull request #810 from kngwyu/fix-ci-error-around-proc-macro
Specify default-features = false for proc-macro related ctates
2020-03-16 20:49:12 +09:00
kngwyu 8480396a22 Specify default-features = false for proc-macro related ctates 2020-03-16 19:50:09 +09:00
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