Commit Graph

3445 Commits

Author SHA1 Message Date
David Hewitt 4001fdf56f
Merge pull request #1716 from PyO3/release-0.14.1
release: 0.14.1
2021-07-04 22:23:06 +01:00
David Hewitt 3f8c4ad38e release: 0.14.1 2021-07-04 16:49:36 +01:00
David Hewitt fde4211081
Merge pull request #1707 from nw0/doc
Document some undocumented items
2021-07-04 16:35:17 +01:00
David Hewitt 4ed0383e41
Merge pull request #1713 from PyO3/pypy_macros
PyPy: the PyList/Tuple_GET/SET macros are defined as functions
2021-07-04 15:59:56 +01:00
Georg Brandl f7235482eb PyPy: the PyList_GET/SET macros are defined as functions, the PyTuple_ ones do not exist 2021-07-04 15:54:40 +02:00
Nicholas Sim fa7588aa7f
Apply suggestions that make doc take the plural form
Co-authored-by: Georg Brandl <georg@python.org>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-07-04 19:32:40 +08:00
messense 9cdb6a0d63
Merge pull request #1712 from messense/pathbuf-into-py
Implement `IntoPy<PyObject>` for `&PathBuf` and `&OsString`
2021-07-04 16:45:16 +08:00
messense eaf5dcaab7 Implement `IntoPy<PyObject>` for `&PathBuf` and `&OsString` 2021-07-04 16:18:04 +08:00
David Hewitt 4b88dd156e
Merge pull request #1698 from PyO3/release-0.14
release: 0.14.0
2021-07-03 22:29:05 +01:00
David Hewitt adf6bdba8e release: 0.14.0 2021-07-03 08:37:00 +01:00
David Hewitt 5715683892
Merge pull request #1711 from mejrs/macro
Add full path for PyCell
2021-07-03 08:19:30 +01:00
mejrs c07c5a4c93 Add full path for PyCell 2021-07-03 07:51:18 +01:00
Nicholas Sim 3ecb0f6e64 exceptions: new_err: generic docstring 2021-06-30 18:55:51 +08:00
Nicholas Sim 71799c3099 buffer, cmp doc 2021-06-30 18:31:27 +08:00
Nicholas Sim dc5648733e doc iterators 2021-06-30 18:30:03 +08:00
Nicholas Sim d0b54666a1 simple module doc 2021-06-30 18:03:53 +08:00
Nicholas Sim 2b06df33ff types: datetime: doc 2021-06-30 17:55:44 +08:00
Nicholas Sim ce44eacc84 ffi: allow(missing_docs) 2021-06-30 17:36:02 +08:00
David Hewitt c179c8844f
Merge pull request #1706 from davidhewitt/ignore-coverage-tests
coverage: ignore tests
2021-06-30 08:58:01 +01:00
David Hewitt 542a6124b1
Merge pull request #1696 from scalexm/unwrap
Unwrap `syn::*::Group` in a few places
2021-06-29 22:12:49 +01:00
David Hewitt c257c676f4 coverage: ignore tests 2021-06-29 22:11:08 +01:00
Nicholas Sim abaf09e428 add documentation 2021-06-29 18:35:28 +08:00
David Hewitt 0215054012
Merge pull request #1702 from ohadravid/to-python-set-non-default-hashbuilder
Make `ToPyObject` impl for `HashSet` accept non-default hashers.
2021-06-27 17:29:00 +01:00
David Hewitt 9249527b63
Merge pull request #1699 from ohadravid/size_hints
Added `size_hint` impls for `{PyDict,PyList,PySet,PyTuple}Iterator`s
2021-06-27 17:27:26 +01:00
Ohad Ravid fcffcdfae5 Added `size_hint` impls for `{PyDict,PyList,PySet,PyTuple}Iterator`s 2021-06-27 16:10:53 +03:00
Ohad Ravid 43fca5dad7 Make `ToPyObject` impl for `HashSet` accept non-default hashers. 2021-06-27 15:19:01 +03:00
David Hewitt 11f1a1d6f0
Merge pull request #1700 from messense/cross-compile
Add cross compilation test in CI
2021-06-27 09:18:27 +01:00
messense 3e851bb5e6 Add cross compilation test in CI 2021-06-27 15:08:41 +08:00
David Hewitt b58fe202eb
Merge pull request #1648 from davidhewitt/fix-cross-compile-config
pyo3-build-config: fix cross compilation
2021-06-26 20:06:40 +01:00
David Hewitt 5cc1e0f6dd pyo3-build-config: increased test coverage 2021-06-26 19:30:26 +01:00
David Hewitt 8fb4ce6fbc pyo3-build-config: fix cross compilation 2021-06-26 14:19:03 +01:00
messense e16bc16568
Merge pull request #1697 from scalexm/lifetime
Use explicit lifetimes in proc-macro expansion
2021-06-25 10:53:22 +08:00
scalexm 7e8eeec02f Add a test 2021-06-25 00:18:53 +02:00
scalexm 20fa398fdb Unwrap `syn::*::Group` in a few places 2021-06-25 00:12:38 +02:00
scalexm 53773d5484 Use explicit lifetimes in proc-macro expansion 2021-06-25 00:02:21 +02:00
David Hewitt e8b9a991d3
Merge pull request #1694 from mejrs/pyo3version
automagically update pyo3 version in toml examples
2021-06-24 20:24:57 +01:00
David Hewitt 6009cc82cb
Merge pull request #1695 from messense/wrap-function-prelude
Add `wrap_pyfunction` macro to prelude
2021-06-24 20:23:30 +01:00
messense b5b9a480cd Add `wrap_pyfunction` macro to prelude 2021-06-24 22:34:55 +08:00
messense 3bf283d36c
Merge pull request #832 from gilescope/macro
Need to be able to create structs via macro_rules
2021-06-24 22:14:56 +08:00
mejrs 455cc95c54
implement ffi/cpython/pystate (#1687)
* dont reexport cpython items twice

* add ffi module level doc

* reorder to header file order

* cargo fmt

* implement cpython/pystate

* fix import errors

* make PyInterpreterState opaque

* update changelog

* fix formatting
2021-06-24 20:05:15 +08:00
mejrs cfedd87696 automagically update pyo3 version in toml examples 2021-06-24 12:38:15 +02:00
David Hewitt 67948a24f7 while let unwrap_group 2021-06-24 09:11:27 +01:00
Giles Cope 08802e2024 property rename via macro 2021-06-24 09:06:47 +01:00
Giles Cope 2688e26391 Bit more coverage 2021-06-24 08:59:35 +01:00
Giles Cope aaad7ffd63 Need to be able to create structs via macro_rules
(Currently only possible using tt escape type.)
2021-06-24 08:40:49 +01:00
David Hewitt a02353ce34
Merge pull request #1679 from messense/error-cause
Add support for setting and retrieving exception cause
2021-06-24 07:58:34 +01:00
David Hewitt 36ab8042fc
Merge pull request #1690 from davidhewitt/safety-docs
docs: implement final missing safety docs
2021-06-24 07:51:28 +01:00
David Hewitt 14808292fe
Merge pull request #1692 from GabrielMajeri/make-tracefunc-optional
Make the `Py_tracefunc` parameters optional
2021-06-24 07:29:47 +01:00
David Hewitt 8416433623 docs: implement final missing safety docs 2021-06-24 07:19:49 +01:00
messense 2bac6c5a3a Add support for setting and retrieving exception cause 2021-06-23 20:14:49 +08:00