David Hewitt
9617edfca9
msrv: bump to 1.45
2020-11-12 11:33:08 +00:00
David Hewitt
470716e881
Merge pull request #1271 from davidhewitt/panic-abort-tests
...
coverage: simplify mechanism for panic=unwind tests
2020-11-12 11:10:26 +00:00
David Hewitt
96984b2860
coverage: simplify mechanism for panic=unwind tests
2020-11-12 09:37:41 +00:00
David Hewitt
fb02a582b8
Merge pull request #1267 from davidhewitt/build-for-musl
...
build: not cross-compiling when musl from gnu
2020-11-12 08:10:42 +00:00
David Hewitt
5daadd4e75
Merge pull request #1268 from davidhewitt/move-misc-test
...
rustapi_module: move issue_219 regression test
2020-11-10 14:45:09 +00:00
David Hewitt
126a74842f
rustapi_module: move issue_219 regression test
2020-11-10 14:23:08 +00:00
David Hewitt
9a703018a8
Merge pull request #1266 from davidhewitt/simplify-examples
...
examples: simplify tox instructions
2020-11-10 13:44:03 +00:00
David Hewitt
33b8aba3bb
examples: simplify tox instructions
2020-11-10 12:50:41 +00:00
David Hewitt
11cdc6abd1
Merge pull request #1247 from davidhewitt/python_init
...
ffi: add bindings for PEP 587
2020-11-10 08:31:41 +00:00
David Hewitt
cfa586c034
build: not cross-compiling when musl from gnu
2020-11-10 08:31:39 +00:00
David Hewitt
cd75895cd0
ffi: add bindings for PEP 587
2020-11-10 07:44:59 +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