Commit Graph

3948 Commits

Author SHA1 Message Date
David Hewitt 88ca6bbbab types: add PyTraceback 2021-11-15 07:25:57 +00:00
messense 2325c283b0 Fix mingw platform detection 2021-11-15 15:15:16 +08:00
David Hewitt 3044bd9615
Merge pull request #1975 from davidhewitt/multiple-os-coverage
ci: try running coverage for all OSes
2021-11-13 11:04:13 +00:00
David Hewitt 41280c01cd ci: try running coverage for all OSes
Co-authored-by: Taiki Endo <te316e89@gmail.com>
2021-11-13 10:14:56 +00:00
David Hewitt c65055413e
Merge pull request #1682 from moriyoshi/allow-as-ref-pysequence
Allow calling Py::as_ref() and Py::into_ref() against PySequence, PyIterator and PyMapping.
2021-11-13 08:55:19 +00:00
Moriyoshi Koizumi ae05020b13 Support Py::as_ref() and Py::into_ref() for PySequence, PyIterator and PyMapping. 2021-11-13 08:23:40 +00:00
David Hewitt 14269d538e
Merge pull request #1988 from davidhewitt/tidy-fetch-take
err: tidy up some uses of PyErr::occurred
2021-11-12 22:16:38 +00:00
David Hewitt 436b8b0b35 err: tidy up some uses of PyErr::occurred 2021-11-12 21:13:28 +00:00
David Hewitt a978b0875a
Merge pull request #1968 from KRunchPL/guide-python-typing-hints
#1959 - Add Python Typing Hints to the Guide
2021-11-11 23:00:53 +00:00
David Hewitt 50025be764
Merge pull request #1981 from mejrs/flags
add doc_auto_cfg feature
2021-11-11 22:47:05 +00:00
David Hewitt 20091826a5
Merge pull request #1976 from davidhewitt/pyo3-build-config-docs
docs: pyo3 config files
2021-11-11 08:53:36 +00:00
David Hewitt 2784b31bea
Merge pull request #1971 from davidhewitt/disable-unwanted-protos
pymethods: test and document opt-out of protos
2021-11-11 08:52:58 +00:00
David Hewitt 23778f5386 pymethods: test and document opt-out of protos 2021-11-10 23:28:01 +00:00
mejrs a156158d7b add doc_auto_cfg feature 2021-11-10 22:37:20 +01:00
David Hewitt b0af3ec25f docs: pyo3 config files 2021-11-10 08:34:54 +00:00
David Hewitt 5c828b6170
Merge pull request #1972 from davidhewitt/document-from-py-with
guide: document `#[pyo3(from_py_with)]`
2021-11-09 20:42:20 +00:00
David Hewitt 3d1bcae3aa guide: document `#[pyo3(from_py_with)]` 2021-11-07 12:57:40 +00:00
KRunchPL a0716ce519 Description of simple solution implemented in Maturin guide 2021-11-06 17:29:02 +01:00
KRunchPL 5011ac7ce8 Fix formatting 2021-11-06 17:26:43 +01:00
KRunchPL 1531ac8d7e #1959 - Add Python Typing Hints to the Guide 2021-11-06 15:34:30 +01:00
David Hewitt 00c84eb0ba
Merge pull request #1949 from PyO3/release-0.15
release: 0.15.0
2021-11-03 23:29:31 +00:00
David Hewitt 47747444c7 release: 0.15.0 2021-11-03 23:00:38 +00:00
David Hewitt 64df791741
Merge pull request #1964 from PyO3/pymethods-args
guide: add hints for the signature of pymethods protos
2021-11-03 08:15:27 +00:00
Georg Brandl 9ce363a125 guide: add hints for the signature of pymethods protos 2021-11-03 08:00:09 +01:00
David Hewitt 39d2b9d964
Merge pull request #1957 from davidhewitt/fetch-if-set
err: add `PyErr::take`
2021-11-03 00:02:03 +00:00
David Hewitt f801c19efe err: add `PyErr::take` 2021-11-02 23:12:36 +00:00
Bruno Kolenbrander 7b9ae8e663
Clean up `Python` documentation (#1963)
* Clean up `Python` documentation

* Apply suggestion

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>

* Fix some things

* Fix PyPy link

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-11-02 23:05:44 +00:00
David Hewitt 0f92f28ffd
Merge pull request #1958 from davidhewitt/pymethods-protos-arguments-cleanup
macros: clean up protocol argument extraction a bit
2021-10-31 15:58:24 +00:00
David Hewitt 6a3e1e7339 macros: clean up protocol argument extraction a bit 2021-10-31 11:30:34 +00:00
David Hewitt bfe708683b
Merge pull request #1954 from PyO3/feature-fix
add two missing feature restrictions for nightly
2021-10-30 11:20:52 +01:00
David Hewitt 50df2c7b95
Merge pull request #1955 from PyO3/cargo-toml-deps
Cargo.toml: sort dependencies by type
2021-10-30 11:19:26 +01:00
David Hewitt 615876d612
Merge pull request #1956 from PyO3/complex-doc-fix
complex: fix a rustdoc warning and fix crate name
2021-10-30 11:15:43 +01:00
Georg Brandl 2c00866596 complex: fix a rustdoc warning and fix crate name 2021-10-30 11:31:21 +02:00
Georg Brandl 4bbfee831f Cargo.toml: sort dependencies by type
In particular, distinguish optional crates between those
that are necessary for some named feature (e.g. macros),
and those that can be activated as their own feature
(e.g. anyhow).
2021-10-30 10:07:22 +02:00
Georg Brandl 5764355c2d add two missing feature restrictions for nightly
Found with `cargo hack --feature-powerset test`.
2021-10-30 09:40:55 +02:00
David Hewitt 833f365aad
Merge pull request #1953 from davidhewitt/contributing-docs
contributing: add command for docs build
2021-10-28 04:16:23 +01:00
David Hewitt eda3f6c027
Merge pull request #1952 from davidhewitt/add-rust-toolchain
rust-toolchain: add file to require rust-src
2021-10-28 04:15:59 +01:00
David Hewitt d59ef542b2 contributing: add command for docs build 2021-10-27 23:21:08 +01:00
David Hewitt 2d98011e0c rust-toolchain: add file to require rust-src 2021-10-27 23:15:46 +01:00
David Hewitt a5bc0a6b64
Merge pull request #1948 from davidhewitt/pypy-3.8
pypy: support 3.8
2021-10-27 23:15:02 +01:00
David Hewitt 6b1afa4040 pypy: support 3.8 2021-10-27 22:17:45 +01:00
David Hewitt 13fc4f1ea9
Merge pull request #1950 from indygreg/pymem-use
ffi: expose pymem APIs
2021-10-25 07:45:42 +01:00
Gregory Szorc 604d55cf71 ffi: expose pymem APIs
These symbols were inadvertently dropped in commit
0a50b42352. I found this when
testing the 0.15 release branch for PyOxidizer.
2021-10-24 14:17:58 -07:00
David Hewitt f5d1d4f6e7
Merge pull request #1945 from davidhewitt/pymethods-proto-docs
guide: magic methods in pymethods
2021-10-24 21:25:35 +01:00
David Hewitt 3ab32ff01f guide: magic methods in pymethods 2021-10-24 15:59:22 +01:00
David Hewitt fc6b4d1021
Merge pull request #1947 from davidhewitt/msrv-python-3.10
ci: test MSRV and coverage with Python 3.10
2021-10-24 15:55:23 +01:00
David Hewitt d15e5ea254 ci: test Python 3.10 in coverage jobs 2021-10-24 11:25:10 +01:00
David Hewitt 4a6149ca40 ci: test MSRV with Python 3.10 2021-10-24 11:21:23 +01:00
David Hewitt b709781d83
Merge pull request #1946 from davidhewitt/test-descr-delete
pymethods: test __delete__
2021-10-24 10:24:55 +01:00
David Hewitt 0236879e8e pymethods: test __delete__ 2021-10-24 09:40:32 +01:00