Commit Graph

2709 Commits

Author SHA1 Message Date
kngwyu 7d217d2f1f Use some more anonymous lifetimes 2020-11-20 14:55:24 +09:00
kngwyu 3435014188 Add a failure case test for extracting char 2020-11-20 14:55:07 +09:00
kngwyu e98ad64f09 Use Python::with_gil in test codes in string.rs 2020-11-20 14:42:26 +09:00
kngwyu 830c68648c Support conversion between char and PyString 2020-11-20 14:42:26 +09:00
Yuji Kanagawa 096b0a3ac6
Merge pull request #1286 from roblabla/fix-1285
Fix #1285, text_signature and raw ident interaction
2020-11-20 14:29:47 +09:00
David Hewitt d3f993a03e
Merge pull request #1284 from davidhewitt/fix-rust-1_48
CI fixes for Rust 1.48
2020-11-19 20:48:11 +00:00
roblabla d479b54b94 Fix #1285, text_signature and raw ident interaction 2020-11-19 17:21:02 +00:00
David Hewitt 8a8c098a2e rust-1.48: fix tests and warnings 2020-11-19 12:49:29 +00:00
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