Commit Graph

3786 Commits

Author SHA1 Message Date
David Hewitt 429843575e
Merge pull request #1237 from alex/abi3-merge-master
merge master into abi3 branch to resolve conflicts
2020-10-13 00:02:34 +01:00
David Hewitt 732ad45075
Merge pull request #1236 from PyO3/release-0.12.3
Release 0.12.3
2020-10-12 23:31:42 +01:00
Alex Gaynor 2923b4dff1 Fix for MSRV 2020-10-12 18:19:50 -04:00
Alex Gaynor 5060379185 Fix changelog 2020-10-12 18:11:38 -04:00
Alex Gaynor 9e34835b76 Merge branch 'master' into abi3-merge-master 2020-10-12 18:03:14 -04:00
David Hewitt fc7cb2e772
Merge pull request #1234 from davidhewitt/fix-msrv-ci
Fix MSRV CI to correctly use MSRV
2020-10-12 22:51:49 +01:00
David Hewitt 6e46bca536
Merge pull request #1233 from alex/patch-1
Update environment setting for Github Actions API updates
2020-10-12 21:35:40 +01:00
Alex Gaynor f855daf7e2
Update environment setting for Github Actions API updates 2020-10-12 16:19:34 -04:00
David Hewitt d6e624ba65
Merge pull request #1225 from PyO3/release-0.12.2
Release 0.12.2
2020-10-12 20:57:37 +01:00
David Hewitt 576c6b191c
Merge pull request #1231 from PyO3/dont-watch-path
Don't watch PYTHON_SYS_EXECUTABLE and PATH when unnecessary
2020-10-12 18:14:47 +01:00
konstin 2c3ee2c97a Update CHANGELOG.md
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2020-10-12 17:39:14 +01:00
konstin 5f109743a7 Remove symbols that are removed in python 3.10
Those functions and variable are listed in https://docs.python.org/3.10/whatsnew/3.10.html#id4
2020-10-12 17:38:16 +01:00
David Hewitt 1c84539ef9 rustfmt 2020-10-12 17:37:53 +01:00
David Hewitt 482ee3a8b2 Add changelog entry and test 2020-10-12 17:37:53 +01:00
Georg Brandl 7b90a9b13e implement PyIterator without additional lifetime
This lets us treat it no different from other types
like PySequence.
2020-10-12 17:34:21 +01:00
Georg Brandl 70a3785383 improve PyIterator docs a little 2020-10-12 17:34:21 +01:00
David Hewitt 1539db762b Remove unused `python3` feature 2020-10-12 16:53:49 +01:00
David Hewitt 38af32e33e Release 0.12.3 2020-10-12 16:18:25 +01:00
David Hewitt 7b3dd68bfb Fix support for MSRV
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2020-10-12 15:46:40 +01:00
kngwyu 41cfa6b2e9 Don't watch PYTHON_SYS_EXECUTABLE and PATH when unnecessary 2020-10-12 23:22:14 +09:00
David Hewitt 1cecad884a Release 0.12.2 2020-10-12 12:56:46 +01:00
David Hewitt 1749747ad4
Merge pull request #1228 from PyO3/exclude-py-coversion
Move impl From for Py<T> to macros not used in rust-numpy
2020-10-12 09:00:57 +01:00
David Hewitt 0665c02b4f
Merge pull request #1230 from alex/abi3-final
Assorted updates to the abi3 branch from review
2020-10-12 08:56:02 +01:00
kngwyu f45242f053 Move From<&T> for Py<T> impl to pyobject_native_type_core 2020-10-12 13:59:52 +09:00
Alex Gaynor aabad7cf7f Assorted updates to the abi3 branch from review 2020-10-11 19:51:27 -04:00
David Hewitt 137196d8c3
Merge pull request #1227 from alex/abi3-improvements
Improved documentation for abi3
2020-10-11 21:12:02 +01:00
Alex Gaynor 877667a1c6 Improved documentation 2020-10-11 15:18:05 -04:00
Yuji Kanagawa 21463a9941
Merge pull request #1226 from davidhewitt/ci-python-versions
Use stable Python 3.9 on CI
2020-10-11 15:17:33 +09:00
David Hewitt 8641852fa7
Merge pull request #1223 from davidhewitt/tweak-downcast-error-doc
Tweak doc for PyDowncastError
2020-10-10 18:39:53 +01:00
David Hewitt 1dcb3da351
Merge pull request #1222 from davidhewitt/tweak-migration-guide
migration guide: tiny typo fix
2020-10-10 18:13:18 +01:00
David Hewitt 6c9d26f55c
Merge pull request #1218 from davidhewitt/contributing-benchmarks
contributing.md: add note on benchmarking
2020-10-10 17:57:09 +01:00
Yuji Kanagawa d42dbdab7f
Merge pull request #1220 from alex/abi3-merge-master
Merge master into the abi3 branch to resolve conflicts
2020-10-11 00:33:50 +09:00
Alex Gaynor 398369f299 Fixed warning 2020-10-10 10:13:05 -04:00
Alex Gaynor 140790b15f Merge branch 'master' into abi3-merge-master 2020-10-10 10:11:49 -04:00
David Hewitt bac1771de8 Update Python versions on CI 2020-10-10 10:40:21 +01:00
David Hewitt f6644d51f3 Tweak doc for PyDowncastError 2020-10-10 06:37:48 +01:00
Yuji Kanagawa cb90c5171d
Merge pull request #1169 from PyO3/doc-null-check
Add null-check for function's documents
2020-10-10 14:35:44 +09:00
David Hewitt 23d9d259a7 migration guide: tiny typo fix 2020-10-10 06:24:57 +01:00
David Hewitt 06b15862dc contributing.md: add note on benchmarking 2020-10-10 06:08:44 +01:00
David Hewitt 20a93ed883
Merge pull request #1203 from alex/abi3-docs
Start documenting abi3 support
2020-10-09 21:26:56 +01:00
kngwyu 2684547c98 Make types in class::methods #[doc(hidden)] 2020-10-10 00:39:13 +09:00
kngwyu e7092fe630 Make PyCFunction more backward-compatible 2020-10-09 01:35:55 +09:00
Yuji Kanagawa 1d34ed772b
Merge pull request #1214 from birkenfeld/signals
Add wrapper for PyErr_CheckSignals() to Python.
2020-10-09 00:42:54 +09:00
kngwyu 359d878fb6 Fix clippy warnings 2020-10-09 00:28:16 +09:00
kngwyu ff644316d7 Add a CHANGELOG entry 2020-10-08 23:31:17 +09:00
Georg Brandl 4d008218a0 Add wrapper for PyErr_CheckSignals() to Python.
This is a useful API in long-running Rust code, which lets users
cancel evaluation by pressing Ctrl-C, and run any other signal
handlers that have been set using the signal module.
2020-10-08 15:22:30 +02:00
kngwyu 9ee6da8f82 Add more comments to class/methods.rs and Reduce LOC 2020-10-08 19:56:53 +09:00
kngwyu b42886a38a Change PyCFunction to take &'static str as a function name 2020-10-08 17:26:55 +09:00
kngwyu 41c2f5a748 Use &'static CStr for representing method names and docs 2020-10-08 17:26:55 +09:00
kngwyu ddfbee4b3c Add null-check for function's documents 2020-10-08 17:26:55 +09:00