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
David Hewitt
c05815520c
Release 0.12.1
2020-09-16 21:45:36 +01:00
David Hewitt
037ec83d6e
Merge pull request #1198 from PyO3/davidhewitt-patch-5
...
Fix doc update on release
2020-09-16 21:39:37 +01:00
David Hewitt
ba360bc3cf
Fix doc update on release
...
Sorry for the noise, there were some errors in #1197 which github did not show until after I merged 😞
2020-09-16 21:11:31 +01:00
David Hewitt
88358dee08
Merge pull request #1197 from davidhewitt/update-doc-redirect
...
Fix doc redirect on release
2020-09-16 21:07:26 +01:00
David Hewitt
2213ab37b0
Fix doc redirect on release
2020-09-16 20:43:44 +01:00
Yuji Kanagawa
c1b3e06a98
Merge pull request #1196 from alex/patch-1
...
fixed markdown syntax
2020-09-16 23:26:49 +09:00
David Hewitt
309ab16b20
Merge pull request #1194 from syrusakbary/patch-1
...
Update Wasmer Python extension link
2020-09-16 14:32:09 +01:00
Alex Gaynor
5fe1a44277
fixed markdown syntax
2020-09-16 08:47:58 -04:00
Syrus Akbary
e0775c363b
Update Wasmer Python extension link
2020-09-16 11:57:46 +03:00
David Hewitt
f36fb4a08b
Merge pull request #1192 from PyO3/davidhewitt-patch-5
...
Fix link in changelog
2020-09-16 07:27:36 +01:00
David Hewitt
07f9ae2498
Fix link in changelog
...
Looks like this just got out of date at some point.
2020-09-15 22:33:30 +01:00
Matthew Treinish
a0960f8918
Fix compilation on platforms that don't use i8 for c_char ( #1182 )
...
* Fix compilation on platforms that don't use i8 for c_char
This commit changes the cast of an c_char to be a c_char type instead of
i8. On x86 platforms i8 == c_char, but it can also be u8 on other
platforms. [1][2] This should fix compilation on those platforms by just
using the c_char type so that we're casting as the right type regardless
of which platform PyO3 is being built for.
Fixes #1181
[1] https://doc.rust-lang.org/std/os/raw/type.c_char.html
[2] https://github.com/rust-lang/rust/blob/master/library/std/src/os/raw/mod.rs#L55-L99
* Add changelog entry
2020-09-14 11:27:38 +01:00
Yuji Kanagawa
448f0bb738
Merge pull request #1179 from alex/patch-1
...
Don't consider it cross-compilation when building for 32-bit Windows on 64-bit windows
2020-09-13 15:08:35 +09:00
Alex Gaynor
10f8c24931
Update CHANGELOG.md
2020-09-12 19:41:02 -04:00
Alex Gaynor
8c011620fe
Merge branch 'master' into patch-1
2020-09-12 19:39:54 -04:00
David Hewitt
00a87008dc
Merge pull request #1178 from davidhewitt/fix-changelog-date
...
Fix date in changelog
2020-09-13 00:35:18 +01:00
Alex Gaynor
d530e462f9
Update CHANGELOG.md
2020-09-12 19:19:33 -04:00