David Hewitt
70030f130d
python: drop support for 3.6
2021-11-20 13:02:42 +00:00
David Hewitt
0dfe6b0274
Merge pull request #2008 from davidhewitt/build-config-no-resolve-default
...
pyo3-build-config: don't enable resolve-config by default
2021-11-20 12:56:31 +00:00
David Hewitt
3271b90320
Merge pull request #2009 from vxgmichel/pyobject-setattr
...
Add Py<T>.setattr method
2021-11-19 17:23:05 +00:00
David Hewitt
c9a4cd1f87
deprecations: remove items deprecated in PyO3 0.14
2021-11-19 16:33:29 +00:00
Vincent Michel
91caa814d0
Add `Py::setattr` method
2021-11-19 16:59:54 +01:00
David Hewitt
b9cc10f3fb
pyo3-build-config: don't enable resolve-config by default
2021-11-19 14:19:24 +00:00
David Hewitt
b0d957bc35
Merge pull request #2004 from davidhewitt/bump-msrv
...
msrv: bump to 1.48
2021-11-19 11:16:42 +00:00
David Hewitt
6a65f98bd2
msrv: bump to 1.48
2021-11-19 10:10:59 +00:00
David Hewitt
f29a8e1b91
Merge pull request #2003 from PyO3/release-0.15.1
...
release: 0.15.1
2021-11-19 10:08:00 +00:00
saidvandeklundert
fc3478c75e
Add link to article in readme ( #2005 )
...
* add Article
* Update README.md
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: Said van de Klundert <said.van.de.klundert@ibm.com>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-11-19 08:20:25 +00:00
David Hewitt
eb5059acc7
release: 0.15.1
2021-11-18 07:34:22 +00:00
David Hewitt
2f6ea2f96c
Merge pull request #1999 from dansvo/guide-link-repair
...
Fix broken relative markdown link in guide
2021-11-15 23:40:41 +00:00
Dan Svoboda
d9a3f67287
Fix broken relative markdown link in guide
...
This link needs to point up one dir to the location of class.md
2021-11-15 14:04:53 -05:00
David Hewitt
e790d55304
Merge pull request #1997 from davidhewitt/get-panic
...
macros: fix panic in __get__ implementation
2021-11-15 16:42:06 +00:00
David Hewitt
26ccc1ab37
macros: fix panic in __get__ implementation
2021-11-15 16:02:59 +00:00
David Hewitt
45059cbdb8
Merge pull request #1990 from davidhewitt/allow-threads-unwind
...
allow_threads: switch from `catch_unwind` to guard pattern
2021-11-15 13:03:43 +00:00
David Hewitt
1df68e852e
allow_threads: switch from `catch_unwind` to guard pattern
2021-11-15 12:25:53 +00:00
David Hewitt
3e16a2a453
Merge pull request #1995 from gertjanvanzwieten/fix-pycounter
...
add missing annotation to PyCounter.__call__
2021-11-15 10:42:30 +00:00
David Hewitt
8e41483bad
Merge pull request #1991 from messense/pypy-abi3
...
Don't emit `Py_LIMITED_API` cfg for PyPy
2021-11-15 10:13:23 +00:00
David Hewitt
9ae7e31e9c
Merge pull request #1977 from davidhewitt/traceback-type
...
types: add PyTraceback
2021-11-15 09:04:15 +00:00
Gertjan van Zwieten
0e40277112
add missing annotation to PyCounter.__call__
...
This patch annotates the `__call__` method of `PyCounter` in example: callable
objects with `#[args(args="*", kwargs="**")]`. Without it (at least in PyO3
0.15.0) the example fails with `TypeError: counter.__call__() missing 1
required positional argument: 'args'`.
2021-11-15 09:01:05 +01:00
messense
f01595163c
Don't link to python3.lib for PyPy on Windows
2021-11-15 15:40:29 +08:00
messense
e16024fc95
Test PyPy abi3 build on CI
2021-11-15 15:40:29 +08:00
messense
73c3911748
Don't emit `Py_LIMITED_API` cfg for PyPy
2021-11-15 15:40:27 +08:00
David Hewitt
543f4c1792
Merge pull request #1993 from messense/mingw
...
Fix mingw platform detection
2021-11-15 07:38:24 +00:00
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