Commit graph

2581 commits

Author SHA1 Message Date
David Hewitt 579fdfc1f7
Merge pull request #1176 from birkenfeld/pyiter
Remove special case of PyIterator
2020-10-13 00:38:07 +01:00
David Hewitt 15b0e19266
Merge pull request #1235 from davidhewitt/remove-python3-feature
Remove unused `python3` feature
2020-10-13 00:13:47 +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
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
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
kngwyu f45242f053 Move From<&T> for Py<T> impl to pyobject_native_type_core 2020-10-12 13:59:52 +09: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
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
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
Yuji Kanagawa 7dadafb31a
Merge pull request #1215 from PyO3/actions-pypy-fix
Exclude PyPy CI for windows
2020-10-08 17:26:07 +09:00
kngwyu 2e22066feb Do not test PyPy on Windows 2020-10-08 16:29:50 +09:00
Yuji Kanagawa 37ce406ba1
Merge pull request #1210 from PyO3/kwoa-changelog
Add CHANGELOG entry for #1209.
2020-10-01 17:05:10 +09:00
David Hewitt 41bd448431 Add CHANGELOG entry for #1209. 2020-10-01 08:15:27 +01:00
dvermd df984ec8df
Keyword only arguments (#1209)
* allow keyword arguments without default value

* allow keyword-only arguments
2020-10-01 13:34:54 +09:00
Yuji Kanagawa 63ea36fb90
Merge pull request #1204 from PyO3/dependabot/cargo/paste-1.0.1
Update paste requirement from 0.1.6 to 1.0.1
2020-09-23 17:15:08 +09:00
dependabot[bot] 61c388ef6c
Update paste requirement from 0.1.6 to 1.0.1
Updates the requirements on [paste](https://github.com/dtolnay/paste) to permit the latest version.
- [Release notes](https://github.com/dtolnay/paste/releases)
- [Commits](https://github.com/dtolnay/paste/compare/0.1.6...1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-21 06:09:24 +00:00
David Hewitt 0ec10a2449
Merge pull request #1174 from sebpuetz/raw-pycfun-docs
Add documentation for raw_pycfuntion
2020-09-19 08:22:27 +01:00
Sebastian Pütz 0a346dfa7c Add documentation for raw_pycfuntion 2020-09-17 09:47:53 +02:00
David Hewitt 00440a79a1
Merge pull request #1199 from PyO3/davidhewitt-patch-6
Tidy up guide release
2020-09-17 05:12:03 +01:00
David Hewitt fcf1d0ca9a
Tidy up guide release 2020-09-16 22:25:43 +01:00
David Hewitt 15587f1b58
Merge pull request #1191 from PyO3/release-0.12.1
Release 0.12.1
2020-09-16 22:17:23 +01:00