Commit graph

2814 commits

Author SHA1 Message Date
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
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 0fde737da4
Merge pull request #1207 from alex/abi3-link-python3
Link python3.lib instead of python3x.lib on Windows in abi3 mode
2020-09-28 15:28:22 +09:00
Alex Gaynor c22dd6c54c Remove symbols not available in abi3 2020-09-23 22:30:07 -04:00
Alex Gaynor e615ce8c05 Start documenting abi3 support 2020-09-23 18:42:49 -04:00
Alex Gaynor d8c8c1760e Link python3.lib instead of python3x.lib on Windows in abi3 mode 2020-09-23 08:32:30 -04: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
Yuji Kanagawa e33e58fc72
Merge pull request #1201 from alex/abi3-text-signature
Hack __text_signature__ back to working with abi3
2020-09-20 16:46:04 +09:00
kngwyu 1985578bb7 Don't compile extends=PyDict test in class.md with abi3 2020-09-20 16:20:08 +09:00
kngwyu 869a5e2f20 Fix an abi3 ui test for the latest Rustc 2020-09-20 15:33:55 +09:00
Yuji Kanagawa 4862f569ea
Merge pull request #1202 from alex/patch-1
Run abi3 tests in CI
2020-09-20 01:14:16 +09:00
Alex Gaynor 9d8559158b Hack __text_signature__ back to working with abi3 2020-09-19 11:43:57 -04:00
kngwyu 7644d67ad8 Inhibit subclassing native types with ABI3 set 2020-09-20 00:42:55 +09:00
Alex Gaynor 2a85c17f11
Run abi3 tests in CI 2020-09-19 11:27:06 -04:00
kngwyu c07e1aa40a Use abi3 feature, instead of unstable-api 2020-09-20 00:06:14 +09: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
Yuji Kanagawa c87a59c19d
Merge pull request #1189 from alex/abi3-tests-compile
Get all the tests building and passing!
2020-09-18 13:34:47 +09:00
Sebastian Pütz 0a346dfa7c Add documentation for raw_pycfuntion 2020-09-17 09:47:53 +02:00