David Hewitt
2aa44b5c16
types: rework PyCapsule for soundness
2022-07-23 20:54:31 +01:00
David Hewitt
e40b25237d
Merge pull request #2518 from mejrs/acquire_gil_tests
...
Use Python::with_gil in tests
2022-07-20 06:54:35 +01:00
mejrs
1983671782
Try fix hashbrown version on msrv
2022-07-19 20:17:23 +02:00
mejrs
984fdf57c7
Use Python:;with_gil in tests
2022-07-19 19:34:23 +02:00
David Hewitt
2b6d59f889
Merge pull request #2515 from davidhewitt/changelog-tidy
...
changelog: tidy up & corrections
2022-07-17 07:44:23 +01:00
David Hewitt
fa19f322d2
Merge pull request #2503 from davidhewitt/extract_argument_holder
...
pyfunction: use extract_argument with holder to avoid extractext
2022-07-17 07:14:53 +01:00
David Hewitt
a8650f43e0
changelog: tidy up & corrections
2022-07-17 07:11:29 +01:00
messense
a00e9d553d
Update Python to 3.11.0b4 in emscripten test ( #2507 )
...
* Update Python to 3.11.0b4 in emscripten test
* Print traceback when import exception failed
* Try `ALLOW_MEMORY_GROWTH=1`
2022-07-15 20:39:58 +01:00
David Hewitt
de317a5667
Merge pull request #2512 from PWhiddy/patch-1
...
update url to renamed branch
2022-07-15 19:28:10 +01:00
Peter Whidden
bab9e07c42
update url to renamed branch
2022-07-15 13:38:49 -04:00
messense
3c0520da83
Add FFI definitions for Py_EnterRecursiveCall
and Py_LeaveRecursiveCall
( #2511 )
...
* Add FFI definitions for `Py_EnterRecursiveCall` and
`Py_LeaveRecursiveCall`
* Update pyo3-ffi/src/ceval.rs
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-07-15 15:45:15 +08:00
David Hewitt
5ff494c855
Merge pull request #2283 from davidhewitt/0.15-deprecations
...
refactor: remove all 0.15 deprecations
2022-07-15 07:49:51 +01:00
David Hewitt
d5e99b635d
refactor: remove all 0.15 deprecations
2022-07-15 06:33:14 +01:00
David Hewitt
5a1be18266
Merge pull request #2508 from davidhewitt/fix-fmt
...
fix formatting in datetime tests
2022-07-14 09:42:42 +01:00
David Hewitt
209c942277
pyfunction: use extract_argument with holder to avoid extractext
2022-07-14 08:42:22 +01:00
David Hewitt
2623ed5ac6
fix formatting in datetime tests
2022-07-14 08:35:24 +01:00
David Hewitt
379f29ade2
Merge pull request #2506 from messense/windows-pypy-import-lib
...
Add support for generating PyPy Windows import library
2022-07-14 08:30:00 +01:00
messense
dfe223619a
Add support for generating PyPy Windows import library
2022-07-14 14:22:33 +08:00
David Hewitt
402018e628
Merge pull request #1588 from davidhewitt/timezone_offset
...
datetime: support timezone bindings
2022-07-13 23:11:56 +01:00
David Hewitt
7babd13830
datetime: support timezone bindings
2022-07-13 22:05:17 +01:00
Jérome Eertmans
308ffa25b0
Prevent str
from converting to Vec<&str>
and Vec<String>
( #2500 )
2022-07-13 21:44:44 +01:00
David Hewitt
adfc83681d
Merge pull request #2504 from davidhewitt/fix-beta-clippy
...
clippy: fix some warnings from beta toolchain
2022-07-13 08:39:16 +01:00
David Hewitt
97ce1f6892
ci: fix nightly UI tests
2022-07-13 08:06:14 +01:00
David Hewitt
dae23ea08d
ci: fix build MSRV with hashbrown 0.12.2 release
2022-07-13 06:34:58 +01:00
David Hewitt
c4a2c6c912
clippy: fix some warnings from beta toolchain
2022-07-12 23:02:47 +01:00
David Hewitt
a95485cd0e
Merge pull request #2497 from aganders3/patch-1
...
Pin `plotters` to preserve MSRV (Take 2)
2022-07-06 06:22:01 +01:00
Ashley Anderson
b39871c4ac
Use proper method for pinning MSRV minimal package versions
2022-07-06 00:29:58 -04:00
Ashley Anderson
74bf971080
Pin plotters
to preserve MSRV
2022-07-05 23:50:46 -04:00
David Hewitt
eb2e080f3d
Merge pull request #2492 from davidhewitt/inventory-0.3
...
inventory: update to 0.3
2022-07-04 22:15:18 +01:00
Ivan Krivosheev
1cd1dbfe8b
Add super object ( #2486 )
2022-07-03 19:21:15 +01:00
David Hewitt
0391b3b0c1
inventory: update to 0.3
2022-07-03 15:22:25 +01:00
David Hewitt
17742dc766
Merge pull request #2491 from messense/mdbook
...
Upgrade mdbook to 0.4.19
2022-07-03 06:50:33 +01:00
messense
2782a4eb67
Upgrade mdbook to 0.4.19
2022-07-03 10:48:33 +08:00
Bruno Kolenbrander
58d4ba833e
Rust 1.62 ( #2489 )
...
* Rust 1.62
* Make rust happy
* Just use a doctest instead
Co-authored-by: mejrs <>
2022-07-02 16:08:01 +01:00
Bruno Kolenbrander
8babae655e
Merge pull request #2468 from mejrs/frozen
...
Add frozen documentation
2022-06-30 14:45:45 +02:00
mejrs
a62930bd95
Fix duplication
2022-06-28 19:53:45 +02:00
David Hewitt
101c11fb14
Merge pull request #2481 from davidhewitt/fix-address-sanitizer
...
security: fix use-after-free in PyCapsule implementation
2022-06-28 08:13:29 +01:00
David Hewitt
d5ac565f33
security: fix use-after-free in PyCapsule implementation
2022-06-26 07:18:23 +01:00
David Hewitt
ab0bc95152
sanitizers: fix use-after-free in test
2022-06-26 07:16:23 +01:00
David Hewitt
51c0ef5f7c
Merge pull request #2478 from davidhewitt/more-monomorphizations
...
opt: remove some generic code bloat
2022-06-25 22:25:43 +01:00
David Hewitt
4da9c3a55f
llvm-lines: use iterator to collect class items
2022-06-25 22:03:28 +01:00
David Hewitt
2bf2d49329
llvm-lines: use fn() pointers in extract_argument expansion
2022-06-25 22:03:28 +01:00
David Hewitt
2096e30bca
opt: fix generic code bloat in LazyStaticType::get_or_init
2022-06-25 22:03:28 +01:00
David Hewitt
1758b5337b
Merge pull request #2480 from davidhewitt/nightly-ui-tests
...
ci: fix nightly ui tests
2022-06-25 21:36:53 +01:00
David Hewitt
62f27caffe
ci: fix nightly ui tests
2022-06-25 21:12:14 +01:00
Andrew Burkett
3fd0c0e142
Fix PyObject_CallNoArgs python version cfg ( #2476 )
...
* Fix PyObject_CallNoArgs python version cfg
PyObject_CallNoArgs was added to python 3.9 but not to limited api until 3.10 per https://docs.python.org/3/c-api/call.html#c.PyObject_CallNoArgs
* Update change log
* Fix uses of PyObject_CallNoArgs
Co-authored-by: Andrew Burkett <andrew.burkett@crowdstrike.com>
2022-06-23 21:31:44 +01:00
Ashley Anderson
bde5102eb8
Increasing test coverage ( #2462 )
...
* cov: src/buffer.rs - add tests for debug and element from format
* cov: src/buffer.rs - add some fortran-specific calls in test_array_buffer
* fix issues in MSRV
* cov: src/types/function.rs - directly call PyCFunction::new and PyCFunction::new_with_keywords
* docs: clarify docs of PyCFunction::new and PyCFunction::new_with_keywords
* revert added rust-version for MSRV in Cargo.toml
* cov: src/types/slice.rs - simple tests for PySliceIndices::new
* fix for multi-platform
* Update src/types/function.rs
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
* cov: src/buffer.rs - a better PyBuffer Debug test
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-06-23 21:30:22 +01:00
David Hewitt
3a3a080c7d
Merge pull request #2473 from PyO3/typo-in-changelog
...
Fix a typo in CHANGELOG
2022-06-23 21:29:09 +01:00
messense
2ee15de6b7
Merge pull request #2475 from PyO3/revert-2474-gh-pages-force-orphan
...
Revert "CI: Add `force_orphan` to `actions-gh-pages`"
2022-06-23 20:01:34 +08:00
messense
a76764b791
Revert "CI: Add force_orphan
to actions-gh-pages
"
2022-06-23 18:58:06 +08:00