Alex Gaynor
f7a487b809
Use a TypeError, rather than a ValueError, when refusing to treat a str as a Vec
...
This is far more consistent with how these exceptions are usually used
2022-11-07 07:48:13 -05:00
David Hewitt
8e8b484169
add #[pyo3(signature = (...))]
attribute ( #2702 )
2022-10-25 07:23:21 +01:00
Adam Reichold
f456ed7586
Also relax the PySequence check when extracting fixed-sized arrays.
2022-10-13 09:43:45 +02:00
Adam Reichold
b2da5b20b1
Add a Python test exploring from which types a Vec can be extracted.
2022-09-21 09:47:05 +02:00
mejrs
fc6121eafe
Deprecate acquire_gil
2022-08-15 03:34:47 +02:00
David Hewitt
78ba70d2b4
pymodule: only allow initializing once per process
2022-08-09 19:52:25 +01:00
Ivan Tham
a1f97f164d
Add PyTzInfoAccess
2022-04-13 00:00:08 +08:00
Bruno Kolenbrander
16ad15e04f
Expand on xtask ( #2176 )
...
* Fix Windows OSError
* Ignore .pyd files
* Put things in modules
* Rename functions to `run`
* Expand on cargo xtask
* Try to work around missing installs
* Run all things by default, but not llvm-cov
* Test msrv
* Fix more OSErrors
* Various refinements and docs
* Various refinements
* Various refinements
2022-03-18 22:13:23 +00:00
David Hewitt
3ed0df1169
update black to 22.1.0
2022-02-14 07:42:06 +00:00
David Hewitt
8b47f4f120
pytests: merge benchmark and test crates
2022-02-05 10:16:46 +00:00