Giles Cope
|
2688e26391
|
Bit more coverage
|
2021-06-24 08:59:35 +01:00 |
|
Giles Cope
|
aaad7ffd63
|
Need to be able to create structs via macro_rules
(Currently only possible using tt escape type.)
|
2021-06-24 08:40:49 +01:00 |
|
David Hewitt
|
a02353ce34
|
Merge pull request #1679 from messense/error-cause
Add support for setting and retrieving exception cause
|
2021-06-24 07:58:34 +01:00 |
|
David Hewitt
|
36ab8042fc
|
Merge pull request #1690 from davidhewitt/safety-docs
docs: implement final missing safety docs
|
2021-06-24 07:51:28 +01:00 |
|
David Hewitt
|
14808292fe
|
Merge pull request #1692 from GabrielMajeri/make-tracefunc-optional
Make the `Py_tracefunc` parameters optional
|
2021-06-24 07:29:47 +01:00 |
|
David Hewitt
|
8416433623
|
docs: implement final missing safety docs
|
2021-06-24 07:19:49 +01:00 |
|
messense
|
2bac6c5a3a
|
Add support for setting and retrieving exception cause
|
2021-06-23 20:14:49 +08:00 |
|
Gabriel Majeri
|
b048bfa75f
|
Update the changelog
|
2021-06-23 15:03:03 +03:00 |
|
Gabriel Majeri
|
84b2491cc9
|
Make the Py_tracefunc parameters optional
|
2021-06-23 14:59:13 +03:00 |
|
Aviram Hassan
|
13cd092c4e
|
Update class.md - add example of new returning a PyResult (#1688)
* Update class.md - add example of `new` returning a `PyResult`
* Update class.md
|
2021-06-23 17:40:01 +08:00 |
|
messense
|
dc66afa159
|
Merge pull request #1689 from messense/bench-badge
Add a badge and link to benchmark tracking page
|
2021-06-23 16:44:11 +08:00 |
|
messense
|
6504f2598b
|
Add a badge and link to benchmark tracking page
|
2021-06-23 15:35:07 +08:00 |
|
David Hewitt
|
2cba18f176
|
Merge pull request #1657 from davidhewitt/pycell-init
pyclass: refactor `tp_new` / `tp_dealloc` / remove `PyCellInner`
|
2021-06-23 08:22:23 +01:00 |
|
David Hewitt
|
f916867375
|
pyclass: refactor initialization, call native type dealloc
|
2021-06-23 07:45:51 +01:00 |
|
David Hewitt
|
ab8925572b
|
pyo3-benchmarks: add benchmark for class init
|
2021-06-22 07:33:46 +01:00 |
|
messense
|
64a0391fb1
|
Merge pull request #1685 from mejrs/fix_ui_tests
update error message for rust 1.53
|
2021-06-20 00:28:39 +08:00 |
|
mejrs
|
445f5163d4
|
update error message for rust 1.53
|
2021-06-19 16:11:03 +02:00 |
|
messense
|
9693604da7
|
Merge pull request #1676 from aviramha/patch-1
Add ormsgpack as an example in the README
|
2021-06-13 15:17:15 +08:00 |
|
Aviram Hassan
|
9f7dbceb19
|
Add ormsgpack as an example in the README
|
2021-06-13 07:54:41 +03:00 |
|
messense
|
a298db2c06
|
Merge pull request #1674 from mejrs/make-clippy-happy
allow useless conversion (on some platforms)
|
2021-06-12 05:35:36 +08:00 |
|
messense
|
159a93d7b7
|
Merge pull request #1673 from messense/detect-python-implementation
Detect Python implementation from `SOABI` on Unix
|
2021-06-12 05:34:33 +08:00 |
|
David Hewitt
|
05e4bdf69c
|
Merge pull request #1670 from mejrs/num-dependency
Add docs + slight refactor for num-complex and num-bigint dependencies
|
2021-06-11 19:10:58 +01:00 |
|
mejrs
|
c664ee77c9
|
allow useless conversion (on some platforms)
|
2021-06-11 19:56:17 +02:00 |
|
mejrs
|
f50521a083
|
use Python::with_gil in tests
|
2021-06-10 14:24:11 +02:00 |
|
mejrs
|
e2c698ad17
|
put * for version in cargo.toml examples
|
2021-06-09 15:39:33 +02:00 |
|
messense
|
ceb6dbf766
|
Detect Python implementation from SOABI on Unix
|
2021-06-09 09:03:23 +08:00 |
|
mejrs
|
14eab0e0da
|
remove must_use on pycomplex methods
|
2021-06-08 13:14:02 +02:00 |
|
mejrs
|
4a0ee6bf0f
|
removed nalgebra test dep, add updating pyo3 vers
|
2021-06-08 13:13:44 +02:00 |
|
mejrs
|
4677eddf5a
|
fixed dead module link on pypy
|
2021-06-08 13:11:04 +02:00 |
|
David Hewitt
|
b081e37de5
|
Merge pull request #1665 from PyO3/kwds_varargs
Argument parsing: use VARARGS for *any* function taking **kwds
|
2021-06-07 23:23:05 +01:00 |
|
David Hewitt
|
c0b0bb9f39
|
Merge pull request #1669 from PyO3/pymethod_cleanup
Reorganize method wrapper generation
|
2021-06-07 23:19:23 +01:00 |
|
mejrs
|
d5d2cf9fda
|
document + refactor numcomplex/bigint dependencies
|
2021-06-07 22:16:23 +02:00 |
|
mejrs
|
a74c2d346f
|
Merge branch 'PyO3:main' into num-dependency
|
2021-06-07 21:48:53 +02:00 |
|
Georg Brandl
|
b60a56d9fd
|
Reorganize method wrapper generation
Remove unneded splitting of functions in two, and reorder the
functions to order of the main match {} in gen_py_method().
|
2021-06-07 07:33:28 +02:00 |
|
Georg Brandl
|
6c3f688a60
|
Add more argument parsing benchmarks.
Change output so that benchmarks belonging together are shown together.
|
2021-06-06 16:20:09 +02:00 |
|
Georg Brandl
|
f12c1a4005
|
Argument parsing: use VARARGS for *any* function taking **kwds
|
2021-06-06 15:58:19 +02:00 |
|
David Hewitt
|
a290971759
|
Merge pull request #1650 from davidhewitt/pymodule-name
pymodule: accept `#[pyo3(name = "...")]` option
|
2021-06-06 11:11:10 +01:00 |
|
messense
|
abd258803e
|
Merge pull request #1666 from davidhewitt/bench-new-containers
benches: add benchmarks for container creation
|
2021-06-06 17:58:58 +08:00 |
|
Georg Brandl
|
f9a3da3e40
|
Merge pull request #1668 from PyO3/pylist_fix
|
2021-06-06 10:52:23 +02:00 |
|
Georg Brandl
|
98461a2ef6
|
PyList tests: simplify construction
|
2021-06-06 10:28:15 +02:00 |
|
Georg Brandl
|
cb6dedbe62
|
PyList: fix segfault on get_item with negative indices
See #1667.
|
2021-06-06 10:19:30 +02:00 |
|
David Hewitt
|
18e0aa17e0
|
pymodule: accept #[pyo3(name = "...")] option
|
2021-06-06 08:41:20 +01:00 |
|
David Hewitt
|
6b681143cc
|
Merge pull request #1664 from PyO3/pylist_opt
PyList: remove get_parked_item, use macros for speed on !abi3
|
2021-06-06 08:31:18 +01:00 |
|
David Hewitt
|
d6437af4a5
|
benches: add benchmarks for container creation
|
2021-06-06 08:26:20 +01:00 |
|
Georg Brandl
|
c57afeb332
|
Merge pull request #1661 from PyO3/optimize_forwarding
Optimize f(*args, **kwds) function argument "parsing"
|
2021-06-06 08:27:33 +02:00 |
|
Georg Brandl
|
3bebc19e2d
|
PyList: remove get_parked_item, use macros for speed on !abi3
|
2021-06-06 07:54:38 +02:00 |
|
Georg Brandl
|
bd6788b2fa
|
Argument parsing: optimize the f(*args, **kwds) case.
Use the VARARGS calling convention and just pass through the two objects.
|
2021-06-06 07:48:38 +02:00 |
|
Georg Brandl
|
4d2c173dbe
|
Merge pull request #1660 from PyO3/method_defs
|
2021-06-06 07:47:21 +02:00 |
|
Georg Brandl
|
60862c308b
|
Update changelog entry.
|
2021-06-06 07:08:23 +02:00 |
|
Georg Brandl
|
c670c57ddb
|
Refactor PyMethodDef creation too.
|
2021-06-06 07:07:48 +02:00 |
|