David Hewitt
cfa586c034
build: not cross-compiling when musl from gnu
2020-11-10 08:31:39 +00:00
Yuji Kanagawa
3b3ba4e3ab
Merge pull request #1152 from PyO3/abi3
...
Complete abi3 support
2020-10-27 23:30:36 +09:00
kngwyu
eb0e6f6b55
Note the minimum required version of maturin supporting abi3
2020-10-27 13:19:01 +09:00
Yuji Kanagawa
95bec25803
Merge pull request #1254 from PyO3/abi3-new-proto
...
Renew #[pyproto] implementation for abi3 branch
2020-10-27 12:54:36 +09:00
kngwyu
16ad3bf676
Use TypedSlot as internal representation of ffi::PyType_Slot
2020-10-27 00:43:26 +09:00
David Hewitt
522ebeee57
Merge pull request #1260 from aviramha/fix_pycodeobj_struct
...
Fix PyCodeObject struct
2020-10-25 08:04:41 +00:00
Aviram Hassan
c982639503
Added missing field to PyCodeObject.
2020-10-25 06:54:04 +02:00
Yuji Kanagawa
33ec5b56a4
Merge pull request #1259 from aviramha/add_contextvars
...
Add context.h functions (PyContext_New, PyContext*)
2020-10-23 16:26:04 +09:00
Aviram Hassan
0fd500fb0f
Add context.h functions (PyContext_New, PyContext*)
...
Formatting
2020-10-22 10:18:17 +03:00
Yuji Kanagawa
864eecac49
Merge pull request #1256 from Daggy1234/master
...
Docs: Fixed example word_count
2020-10-22 01:17:51 +09:00
Arnav Jindal
042337b423
Update lib.rs
2020-10-21 19:37:23 +05:30
Yuji Kanagawa
33a602d76a
Merge pull request #1255 from aviramha/add_profiling_functions
...
Add PyEval_SetProfile, PyEval_SetTrace
2020-10-21 18:38:19 +09:00
Aviram Hassan
7baa89e8d9
Add PyEval_SetProfile, PyEval_SetTrace
...
add changelog
2020-10-21 10:46:46 +03:00
Yuji Kanagawa
3ebe96d5fa
Merge pull request #1243 from davidhewitt/call-python-from-rust-docs
...
guide: improve "calling Python from Rust" section
2020-10-21 16:18:46 +09:00
Arnav Jindal
a3d0c86c1c
Docs: Fixed example word_count
2020-10-21 12:36:36 +05:30
kngwyu
6627658127
Renew proc-macros for new `#[pyproto]` backend
2020-10-21 01:29:28 +09:00
kngwyu
eb8ff1581b
Renew PyProtoMethods for new ABI3-based type construction
2020-10-21 01:13:31 +09:00
Yuji Kanagawa
c6adde8ad5
Merge pull request #1253 from PyO3/davidhewitt-patch-8
...
build.rs: use inclusive range syntax
2020-10-20 19:07:18 +09:00
David Hewitt
b4b5f2323c
build.rs: use inclusive range syntax
2020-10-20 08:53:28 +01:00
David Hewitt
f74b64993e
Merge pull request #1245 from alex/abi3-merge-master
...
Merge master into abi3 branch, resolving conflicts
2020-10-19 22:11:47 +01:00
Alex Gaynor
90a825d0c2
Merge branch 'master' into abi3-merge-master
2020-10-19 14:32:49 -04:00
David Hewitt
5a196c35e9
Merge pull request #1250 from davidhewitt/drop-python-3.5
...
Drop support for Python 3.5
2020-10-19 18:23:30 +01:00
David Hewitt
ef50a10537
Merge pull request #1248 from davidhewitt/freelist-lifetime
...
Fix lifetime soundness in freelist
2020-10-18 22:43:19 +01:00
Alex Gaynor
781bb9f602
Merge branch 'master' into abi3-merge-master
2020-10-18 17:28:02 -04:00
David Hewitt
95ed5bb0b2
Merge pull request #1246 from alex/freelist-sound
...
Make get_free_list API sound
2020-10-18 20:31:08 +01:00
David Hewitt
afd9b823d2
Drop support for Python 3.5
2020-10-18 19:02:27 +01:00
Alex Gaynor
bb3b8122aa
Make get_free_list API sound
...
Without having a Py (which ensures the GIL is held) multiple thraeds could call get_free_list concurrently.
2020-10-18 13:41:33 -04:00
David Hewitt
7ddcf45ec5
Fix lifetime soundness in freelist
2020-10-18 18:36:31 +01:00
Alex Gaynor
265db337c2
Fixes for PyIterator
2020-10-18 11:31:42 -04:00
Alex Gaynor
ba6f0ecdfa
Merge branch 'master' into abi3-merge-master
2020-10-18 10:47:06 -04:00
Yuji Kanagawa
46dc8b0194
Merge pull request #1244 from PyO3/davidhewitt-patch-7
...
examples: add Pyre
2020-10-18 18:53:48 +09:00
David Hewitt
d463d2dfd2
examples: add Pyre
2020-10-18 10:14:06 +01:00
David Hewitt
84b893b261
guide: improve "calling Python from Rust" section
2020-10-18 10:08:11 +01:00
David Hewitt
27f2d0ee3b
Merge pull request #1212 from Askaholic/issue/#1055-add-arg-name-to-conversion-error
...
Enhance error messages of conversion errors
2020-10-18 09:15:42 +01:00
David Hewitt
242f75d199
Merge pull request #1240 from PyO3/davidhewitt-patch-7
...
guide: fix broken link
2020-10-18 09:13:03 +01:00
David Hewitt
4a916eb3ed
guide: fix broken link
2020-10-16 09:00:46 +01:00
Askaholic
1d7034478c
Add entries to changelog
2020-10-15 12:02:58 -08:00
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
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