Askaholic
6724783395
Change wording of PyDowncastError display implementation
...
Displays type(obj) instead of repr(obj) and uses `cannot` instead of
`can't`
to be more consistent with existing python error messages.
See discussion at #1212 .
2020-10-14 17:32:00 -08:00
Askaholic
19889bc6b9
Add argument name to TypeError messages caused during argument conversion
2020-10-14 17:32:00 -08:00
Askaholic
007bfb7ab0
Refactor py_expect_exception to also verify error string representation
2020-10-13 14:02:14 -08:00
David Hewitt
95cebd8fee
Merge pull request #1217 from PyO3/remove-python-3-10-removals
...
Remove symbols that are removed in python 3.10
2020-10-13 00:48:45 +01:00
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
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
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