Commit graph

4700 commits

Author SHA1 Message Date
Ivan “CLOVIS” Canet d7c1a2906a
IntoPy and FromPyObject allow the retrieval of the type information 2022-09-06 21:30:36 +02:00
Ivan “CLOVIS” Canet 8898bc9900
Represent Python types
The TypeInfo structure represents Python types used in hints. Its Display implementation converts it to the exact syntax for it to appear in a type hint.
2022-09-06 21:30:16 +02:00
Ivan “CLOVIS” Canet 13e8efaeae
Added the missing 'Unreleased' section in the changelog 2022-09-06 21:30:09 +02:00
David Hewitt 3af18ea6f9
Merge pull request #2587 from davidhewitt/no-more-pyproto
pyproto: remove deprecated feature
2022-09-06 18:58:17 +01:00
David Hewitt 5718adeec7 pyproto: remove deprecated feature 2022-09-06 08:38:44 +01:00
David Hewitt 68f1729a7b
Merge pull request #2600 from PyO3/release-0.17.1
release: 0.17.1
2022-08-28 09:34:08 +01:00
David Hewitt caaf7bbda7 release: 0.17.1 2022-08-28 08:27:56 +01:00
messense 511303a102
Merge pull request #2599 from davidhewitt/no-main-gh-pages
gh-pages: stop building guide for main
2022-08-28 12:04:27 +08:00
David Hewitt 3e15bb963b gh-pages: stop building guide for main 2022-08-27 21:15:12 +01:00
David Hewitt 9e9e9131ad
Merge pull request #2595 from davidhewitt/kwargs-clippy
pyfunction: fix clippy lint on **kwargs argument
2022-08-26 23:06:25 +01:00
David Hewitt 058af11c4d pyfunction: fix clippy lint on **kwargs argument 2022-08-26 20:27:44 +01:00
David Hewitt 73c85327d0
Merge pull request #2592 from davidhewitt/issue-2280
pyfunction: fix from_py_with on Option<T> argument
2022-08-26 20:24:59 +01:00
David Hewitt 9d543b3f4b pyfunction: fix from_py_with on Option<T> argument 2022-08-25 18:57:17 +01:00
David Hewitt f927cdbba8
Merge pull request #2558 from mejrs/cargo
Call the right cargo binary
2022-08-25 18:25:02 +01:00
Eric Jolibois 611ecc15fa
fix: export new dict views types (#2590)
* fix: export new dict views types

* fix exposed PyDictItems

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

* add changelog entry

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-08-25 09:03:57 +01:00
David Hewitt c28e919f0f
Merge pull request #2589 from davidhewitt/netlify-redirects
netlify: fix redirects
2022-08-24 10:54:35 +01:00
David Hewitt e511b268b1 netlify: fix redirects 2022-08-24 10:25:58 +01:00
David Hewitt bf084c0692
Merge pull request #2575 from PyO3/release-0.17.0
release: 0.17.0
2022-08-23 22:47:52 +01:00
David Hewitt 04c1ac87f1 release: 0.17.0 2022-08-23 21:21:19 +01:00
David Hewitt bc03d6a98d
Merge pull request #2580 from davidhewitt/docs-bonanza
docs: pile of tweaks and additions
2022-08-23 21:19:13 +01:00
David Hewitt f7537909a1 guide: note existence of PyFunction::new_closure 2022-08-23 20:49:14 +01:00
David Hewitt 86a11164e0 guide: note __hash__ can have any integer type up to 64 bits 2022-08-23 20:49:14 +01:00
David Hewitt c5ecf47890 docs: note __richcmp__ disables default __hash__ 2022-08-23 20:49:14 +01:00
David Hewitt f7ebda8ce3 docs: note with_gil auto-creates thread state 2022-08-23 20:49:14 +01:00
David Hewitt fb05e1d7a7 guide: additional detail on how to handle foreign errors 2022-08-23 20:49:14 +01:00
David Hewitt 580e747521 guide: use sentence case, move function signatures to own section 2022-08-23 20:49:14 +01:00
David Hewitt af60a359c5 guide: don't use ::pyo3 2022-08-23 20:49:14 +01:00
David Hewitt ef8ccc0deb docs: demonstrate NotImplemented in __richcmp__ 2022-08-23 20:49:14 +01:00
David Hewitt f574168974
Merge pull request #2586 from mejrs/ffi2
ffi - Also update the readme
2022-08-23 15:58:02 +01:00
mejrs 26fe75e9b5 Also update the readme 2022-08-23 13:54:11 +02:00
Bruno Kolenbrander 0935ddcdd1
Merge pull request #2584 from yankun1992/main
Add fastbloom to examples
2022-08-23 12:46:33 +02:00
yankun1992 b97546aa6e
Merge branch 'PyO3:main' into main 2022-08-23 18:13:50 +08:00
David Hewitt 2f65abf6a9
Merge pull request #2585 from davidhewitt/ci-fixups
ci: unpin serde, fixup nightly ui tests
2022-08-23 08:59:22 +01:00
David Hewitt 554bc84c88
Merge pull request #2583 from mejrs/ffi
Improve ffi example and make const PyMethodDef::zeroed
2022-08-23 08:09:53 +01:00
David Hewitt 36ecadd69f ci: unpin serde, fixup nightly ui tests 2022-08-23 08:07:26 +01:00
yankun1992 74007d716b
Add fastbloom to examples 2022-08-23 10:42:53 +08:00
mejrs 5b845d3b1a Improve pyo3-ffi example 2022-08-22 22:27:05 +02:00
mejrs 3845e3fe33 Make a way to make const zeroed PyMethodDef 2022-08-22 22:25:02 +02:00
David Hewitt 2a3eb43ef6
Merge pull request #2578 from mejrs/proto
Fix pyproto documentation.
2022-08-22 20:51:09 +01:00
mejrs ae50da1e3e Mention a concrete pyo3 version 2022-08-22 21:14:07 +02:00
David Hewitt 34ed67aa72
Merge pull request #2573 from davidhewitt/netlify-badge
netlify: add badge, use github-pages domain rather than pyo3.rs
2022-08-21 18:48:47 +01:00
David Hewitt cc0833aef7 netlify: add badge, use github-pages domain rather than pyo3.rs 2022-08-21 18:13:27 +01:00
mejrs db8b55a3fc pyproto is no longer enabled by default 2022-08-21 17:51:11 +02:00
messense 819a28bdd4
Merge pull request #2577 from ravenexp/update-docs-for-python3-dll-a-v-0-2-6
docs: Update the guide for `python3-dll-a` v0.2.6
2022-08-21 20:16:39 +08:00
Sergey Kvachonok 97eaa77db8 docs: Update the guide for python3-dll-a v0.2.6
Bump the minimum `python3-dll-a` dependency version.

Document the implemented workaround for
https://github.com/PyO3/python3-dll-a/issues/28
2022-08-21 14:33:52 +03:00
David Hewitt d0492b7c72
Merge pull request #2570 from davidhewitt/pyclass-frozen-tidy
pyclass: tidy up frozen implementation
2022-08-21 09:35:51 +01:00
David Hewitt e6868016e6
Merge pull request #2572 from davidhewitt/pyclassimpl-tidy
pyclass: note removed members
2022-08-21 08:45:27 +01:00
David Hewitt 24456f3f41 pyclass: tidy up frozen implementation 2022-08-21 08:21:06 +01:00
David Hewitt e80431f7ff pyclass: note removed members 2022-08-21 07:51:26 +01:00
David Hewitt 7bdc504252
Merge pull request #2567 from davidhewitt/pyclass-sequence
pyclass: add `sequence` option to implement `sq_length`
2022-08-21 07:31:58 +01:00