Commit Graph

2879 Commits

Author SHA1 Message Date
David Hewitt 1b0642fdd5 dict: use HashMap::with_capacity in extract 2020-11-26 10:02:59 +00:00
David Hewitt 02b90c462f benches: add map / set extraction 2020-11-26 10:02:59 +00:00
Yuji Kanagawa 47a731bd5d
Merge pull request #1287 from davidhewitt/vectorcall
vectorcall: fix bindings & use for call0 and call_method0
2020-11-26 18:18:59 +09:00
David Hewitt 87bacf1be5 performance: use vectorcall for call0 and call_method0 2020-11-25 20:59:11 +00:00
David Hewitt d1248d5743 benches: add bench_call 2020-11-25 20:54:12 +00:00
David Hewitt fc6fa9ead6 ffi: correct vectorcall bindings 2020-11-25 20:54:12 +00:00
David Hewitt 282fd803b2
readme: add pythonize 2020-11-24 19:48:08 +00:00
Yuji Kanagawa 6465766ebc
Merge pull request #1292 from davidhewitt/python-deprecations
python: deprecate some redundant methods
2020-11-23 15:06:22 +09:00
David Hewitt 7ca126cc5b python: deprecate some redundant methods 2020-11-22 20:04:45 +00:00
David Hewitt e0c7d828fa
Merge pull request #1276 from davidhewitt/pyany-isinstance
pyany: add is_instance
2020-11-22 19:42:57 +00:00
David Hewitt fc34e41163 pyany: add is_instance 2020-11-22 19:24:59 +00:00
David Hewitt db78cd76c8
Merge pull request #1290 from davidhewitt/anaconda-virtualenv
anaconda: fix for building in a virtualenv
2020-11-21 10:27:15 +00:00
David Hewitt 53ce423424 anaconda: fix for building in a virtualenv 2020-11-21 08:56:07 +00:00
Yuji Kanagawa 86f4d006b0
Merge pull request #1291 from AleksaC/reintroduce-pypy-to-ci
Reintroduce PyPy for Windows in CI
2020-11-21 14:23:37 +09:00
AleksaC f54769cd2a Reintroduce pypy for Windows in CI 2020-11-21 02:51:23 +01:00
Yuji Kanagawa c621b70168
Merge pull request #1282 from PyO3/char-support
Char support
2020-11-20 17:43:47 +09:00
kngwyu a2490e32ce Add a CHANGELOG entry for char support 2020-11-20 16:39:05 +09:00
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
kngwyu eae0d8682b Correct the definitions of abi3-py* features 2020-11-16 02:23:44 +09:00
David Hewitt 45599620b5 pyerr: improve debug & display impls 2020-11-15 16:22:45 +00:00
kngwyu 93282e9a70 Note abi3-py* features in the guide and Add CHANGELOG 2020-11-16 00:47:24 +09: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
kngwyu 597119d40a Add abi3-py* features 2020-11-16 00:39:54 +09: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