Commit Graph

2701 Commits

Author SHA1 Message Date
David Hewitt 5ac213fac4 derive-backend: fix clippy warning for strip_prefix 2020-11-19 11:37:59 +00:00
Yuji Kanagawa dcca3f828c
Merge pull request #1280 from davidhewitt/cross-module-pyfunction
wrap_pyfunction: allow working on all crate functions
2020-11-17 15:03:21 +09:00
David Hewitt fbcf3eb1ac wrap_pyfunction: allow working on all crate functions 2020-11-15 21:34:41 +00:00
David Hewitt aa30163e4f
Merge pull request #1278 from davidhewitt/pytypeinfo-check
pytypeinfo: rename is_instance to is_type_of
2020-11-15 18:51:36 +00:00
David Hewitt 1ce14d77e4 pytypeinfo: rename is_instance to is_type_of 2020-11-15 18:35:16 +00:00
David Hewitt 9fc73d1a63
Merge pull request #1275 from davidhewitt/pyerr-debug
pyerr: improve debug & display impls
2020-11-15 17:39:39 +00:00
David Hewitt 45599620b5 pyerr: improve debug & display impls 2020-11-15 16:22:45 +00:00
David Hewitt 029de7b3cb
Merge pull request #1277 from davidhewitt/doc-fixes-20201115
docs: fix a couple of small typos
2020-11-15 15:43:30 +00:00
David Hewitt d56666e212 docs: fix a couple of small typos 2020-11-15 15:01:58 +00:00
David Hewitt 8b61830787
Merge pull request #1270 from dvermd/refactor_MethodProto
refactor pyproto internals
2020-11-13 22:16:26 +00:00
dvermd dcad61066d refactor pyproto internals 2020-11-13 22:15:58 +01:00
David Hewitt 519fd6188a
Merge pull request #1272 from davidhewitt/bump-msrv
msrv: bump to 1.45
2020-11-12 18:33:23 +00:00
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