Commit Graph

  • 704e9fc7b5 `Py2` -> `Bound` David Hewitt 2023-12-21 12:04:45 +0000
  • 2f080f4075 `Py2Borrowed` -> `Borrowed` David Hewitt 2023-12-21 12:02:56 +0000
  • 2788f4a110
    Merge pull request #3680 from davidhewitt/list2 David Hewitt 2023-12-21 11:13:04 +0000
  • 5b12cf1b8a
    Merge pull request #3683 from PyO3/use-type-ref-helper Adam Reichold 2023-12-21 10:46:56 +0000
  • ee1272ed76 implement `Copy` for `Py2Borrowed` David Hewitt 2023-12-20 15:42:43 +0000
  • de82e2d6e2 add `Py2Borrowed::to_owned` David Hewitt 2023-12-21 08:58:42 +0000
  • 337e48328f implement `PyListMethods` David Hewitt 2023-12-20 15:02:09 +0000
  • 3c97167fd1 Use write_unraisable to report errors loading type objects for ABC checks. Adam Reichold 2023-12-21 09:59:24 +0100
  • c1f4db0a9b Increase use of common get_or_try_init_type_ref helper when caching type objects. Adam Reichold 2023-12-21 09:55:54 +0100
  • 7f626b26d4
    Merge pull request #3678 from davidhewitt/mapping2 Adam Reichold 2023-12-21 09:47:35 +0000
  • 43827e39ee
    Merge pull request #3677 from davidhewitt/string2 David Hewitt 2023-12-20 22:04:23 +0000
  • f4f3169cad implement `PyStringMethods` David Hewitt 2023-12-20 13:33:49 +0000
  • 8bd2972201
    Merge pull request #3675 from davidhewitt/dict2-try2 David Hewitt 2023-12-20 14:59:15 +0000
  • 8e7c90733d implement `PyMappingMethods` David Hewitt 2023-11-21 13:01:09 +0000
  • 15d309eb1f implement `PyDictMethods` David Hewitt 2023-12-20 12:44:00 +0000
  • fd2fc983b1
    Merge pull request #3676 from davidhewitt/any-iter Adam Reichold 2023-12-20 13:31:15 +0000
  • 1b3dc6d7ac
    Merge pull request #3661 from PyO3/iter-output-type Adam Reichold 2023-12-20 12:53:42 +0000
  • 5181e35a61 tidy up some Py2 <-> gil-ref conversions David Hewitt 2023-12-20 12:50:15 +0000
  • 5528895f3e Relax the error type in the Result<Option<T>, E>> specializations for __(a)next__. Adam Reichold 2023-12-20 13:12:16 +0100
  • a605308cee Add change log and migration guide entries. Adam Reichold 2023-12-19 18:54:56 +0100
  • a3c92fa319
    Merge pull request #3601 from davidhewitt/deprecate-pytryfrom David Hewitt 2023-12-20 11:55:35 +0000
  • bc87b7bac6 deprecate `PyTryFrom` and `PyTryInto` David Hewitt 2023-11-27 21:27:34 +0000
  • 83697f0c62 Also replace IterANextOutput by autoref-based specialization to allow returning arbitrary values Adam Reichold 2023-12-19 10:27:53 +0100
  • ca7d90dcf3 Replace IterNextOutput by autoref-based specialization to allow returning arbitrary values Adam Reichold 2023-12-18 16:26:33 +0100
  • d75d4bdf81 Fix some holdouts from using argument holders for lifetime extensions. Adam Reichold 2023-12-19 18:42:41 +0100
  • 3583b9ac67
    Merge pull request #3670 from Tpt/duration Adam Reichold 2023-12-20 08:10:55 +0000
  • 0752942c3f Duration: drops truncation warning Tpt 2023-12-19 20:55:53 +0100
  • 8b614745cf Adds std::duration::Duration from/to Python conversions Tpt 2023-12-18 17:29:48 +0100
  • ee54132ff6
    Merge pull request #3671 from davidhewitt/dh/downcast-error-split Adam Reichold 2023-12-19 21:31:38 +0000
  • 1451418ee4 Add `Py2` variants of `PyDowncastError` David Hewitt 2023-12-19 20:06:59 +0000
  • 54ba6e82ca
    Merge pull request #3651 from davidhewitt/bytes2 David Hewitt 2023-12-19 19:56:16 +0000
  • 35f7f1a78c use Py2Borrowed to make PyBytesMethods slightly nicer David Hewitt 2023-12-14 19:07:47 +0000
  • 8bb64377b8
    Merge pull request #3638 from PyO3/call-op-bool Adam Reichold 2023-12-19 18:52:55 +0000
  • 4177dfcc81 Apply __bool__ conversion only to numpy.bool_ to avoid false positives. Adam Reichold 2023-12-17 14:45:05 +0100
  • 57002d2389 Align error message when no method __bool__ is defined with CPython's general style. Adam Reichold 2023-12-16 09:35:18 +0100
  • 3e10d64fa2 Avoid attribute lookup overhead for __bool__ if the unlimited API is available. Adam Reichold 2023-12-10 20:21:11 +0100
  • 8133aaa5d8 Try harder by looking for a __bool__ magic method when extracing bool values from Python objects. Adam Reichold 2023-12-10 16:55:13 +0100
  • e727640ef3
    Merge pull request #3664 from Tpt/chrono-abi3 David Hewitt 2023-12-19 17:53:30 +0000
  • c5dce0172b implement `PyBytesMethods` and `PyByteArrayMethods` David Hewitt 2023-12-14 17:59:55 +0000
  • 87e42c96be
    Merge pull request #3660 from PyO3/type-name-fast-path Adam Reichold 2023-12-19 16:36:44 +0000
  • 68f417fb1c Defend against mutable type objects when extracting their full name. Adam Reichold 2023-12-19 14:59:38 +0100
  • 416d3c488f Rename name to qualname and full_name to name to better match Python Adam Reichold 2023-12-19 11:51:06 +0100
  • 86989a7329
    Merge pull request #3667 from PyO3/extend-holder-lifetime-redux Adam Reichold 2023-12-19 15:46:15 +0000
  • f03ccf204c Also apply holder lifetime extension to slot implementations. Adam Reichold 2023-05-06 13:19:52 +0200
  • 27019b5523 Use local variables to extend lifetime of holder references. Adam Reichold 2023-05-06 12:42:27 +0200
  • 2fdd52003e Add PyType::full_name which is tp_name and has an abi3 fallback. Adam Reichold 2023-12-18 09:57:37 +0100
  • d7eac6527b Chrono: compatibility with abi3 Tpt 2023-12-19 10:13:31 +0100
  • 1dca87972a
    Merge pull request #3662 from Tpt/chrono-test David Hewitt 2023-12-19 08:26:21 +0000
  • 12b44ea16d
    Merge pull request #3663 from Tpt/chrono-generic-datetime David Hewitt 2023-12-19 08:22:47 +0000
  • 0d2387e858 Chrono: makes FromPyObject impl on DateTime generic Tpt 2023-12-18 16:00:07 +0100
  • 7705181049 Chrono: makes test independent of datetime C-API Tpt 2023-12-18 15:30:35 +0100
  • ff50285d1f
    Merge pull request #3657 from PyO3/is-truthy Adam Reichold 2023-12-16 13:16:49 +0000
  • ced97f80d1 Transition is_true to is_truthy to clarify that the test is not based on identity with or equality to the True singleton. Adam Reichold 2023-12-16 11:43:40 +0100
  • 867a273afc
    Merge pull request #3648 from Tpt/timezone-constructor David Hewitt 2023-12-15 16:12:32 +0000
  • dcaed199c7 Adds internal timezone_from_offset function Tpt 2023-12-14 16:50:52 +0100
  • 118d578ac1
    Merge pull request #3652 from davidhewitt/bool2 Adam Reichold 2023-12-15 14:55:56 +0000
  • d7adc74ba5 implement `PyBoolMethods` David Hewitt 2023-12-14 18:01:23 +0000
  • 97cf9b834c
    Merge pull request #3653 from davidhewitt/native-type-source David Hewitt 2023-12-14 22:33:49 +0000
  • ef8532b175 Add `AsRefSource` to `PyNativeType`. David Hewitt 2023-12-14 18:35:06 +0000
  • d1b4b9e7d4
    Merge pull request #3650 from davidhewitt/float2 Adam Reichold 2023-12-14 18:07:32 +0000
  • 8a7c5002bd rename `floatob.rs` to `float.rs` David Hewitt 2023-12-14 17:14:17 +0000
  • 8bdae345f3 implement `PyFloatMethods` David Hewitt 2023-11-20 15:04:12 +0000
  • 763ecb381b
    Merge pull request #3649 from davidhewitt/module-name-lifetime Adam Reichold 2023-12-14 16:54:23 +0000
  • 015f028589 hold onto module name properly in `PyCFunction::internal_new` David Hewitt 2023-11-21 11:41:50 +0000
  • 79a54cfc05
    Merge pull request #3572 from davidhewitt/sequence2-try2 David Hewitt 2023-12-14 13:27:32 +0000
  • 82ac801be4 introduce traits to make ffi ptr handling cleaner David Hewitt 2023-12-14 10:51:18 +0000
  • ac4ee2841b implement `PySequenceMethods` David Hewitt 2023-10-20 16:19:53 +0100
  • fc82c9f870
    Merge pull request #3636 from PyO3/more-async-self-hints Adam Reichold 2023-12-14 10:58:48 +0000
  • a010da2c58
    Merge pull request #3647 from PyO3/fix-msrv David Hewitt 2023-12-14 10:58:30 +0000
  • 97e0998ac2 Fix the Crossbeam ecosystem to point releases before it required Rust 1.61. Adam Reichold 2023-12-14 11:35:20 +0100
  • 42601f3af9
    Merge pull request #3642 from PyO3/dependabot/github_actions/actions/setup-python-5 messense 2023-12-12 02:55:22 +0000
  • 20e9680a81
    build(deps): bump actions/setup-python from 4 to 5 dependabot[bot] 2023-12-11 20:04:18 +0000
  • b0d4ef3525 Expand guide on async methods borrowing self. Adam Reichold 2023-12-09 11:46:52 +0100
  • 24d9113974
    Merge pull request #3632 from messense/extract-frozen-set David Hewitt 2023-12-07 16:17:51 +0000
  • 601d9573c8
    Merge pull request #3631 from wyfo/doc_typo messense 2023-12-07 12:29:00 +0000
  • c21a84d999
    Add support for extracting Rust set types from `frozenset` messense 2023-12-07 20:19:51 +0800
  • e73c795967
    docs: fix typos Joseph Perez 2023-12-07 10:10:15 +0100
  • 07726aefc4
    Merge pull request #3609 from wyfo/async_receiver David Hewitt 2023-12-07 07:38:25 +0000
  • f34c70c2da
    feat: allow async methods to accept `&self`/`&mut self` Joseph Perez 2023-11-30 03:10:26 +0100
  • 4baf0235c3
    Merge pull request #3616 from neachdainn/3615-gilprotected-pyvisit Adam Reichold 2023-12-05 20:43:38 +0000
  • 3249feb85c
    Enable `GILProtected` access via `PyVisit` Nathan Kent 2023-11-30 13:27:57 -0800
  • 856c573231
    Merge pull request #3600 from davidhewitt/pytypecheck David Hewitt 2023-12-05 09:52:35 +0000
  • de6d8b7d30
    Merge pull request #3629 from davidhewitt/pytests-debug David Hewitt 2023-12-05 05:30:57 +0000
  • ed87637ebb replace `PyTryFrom` by splitting `PyTypeInfo` David Hewitt 2023-11-27 20:19:44 +0000
  • 5326bce57f ci: fixup pytests to compile in debug David Hewitt 2023-12-05 08:01:02 +0300
  • 93370d9f6c
    Merge pull request #3627 from davidhewitt/codspeed-fixup David Hewitt 2023-12-04 22:51:55 +0000
  • 2a5dedcbb5 ci: refactor pytests dev dependencies David Hewitt 2023-12-04 22:03:56 +0300
  • 16ae0e2efe
    Merge pull request #3608 from wyfo/remove_futures David Hewitt 2023-12-04 19:17:43 +0000
  • 2ca9f59d6f
    refactor: drop futures_util dependency Joseph Perez 2023-11-25 07:30:41 +0100
  • e8f852bce7
    Merge pull request #3599 from wyfo/coroutine_cancel David Hewitt 2023-12-04 12:44:36 +0000
  • 8a674c2bd3
    feat: add `coroutine::CancelHandle` Joseph Perez 2023-11-25 07:30:41 +0100
  • 38beac4fb2
    Merge pull request #3622 from messense/pyimport-frozen-ffi David Hewitt 2023-12-04 05:09:56 +0000
  • 28dda997f9
    Add additional definitions for `_PyImport_Frozen*` messense 2023-12-03 21:47:00 +0800
  • 1556845e78
    Merge pull request #3619 from PyO3/portable-atomic David Hewitt 2023-12-03 07:16:33 +0000
  • e6457c5e99 Use portable-atomic for targets which lack 64-bit atomics used to check interpreter ID. Adam Reichold 2023-12-02 07:52:33 +0100
  • 81ad2e8bab
    Merge pull request #3598 from davidhewitt/clippy-beta David Hewitt 2023-11-29 06:47:21 +0000
  • 016b11069e
    Merge pull request #3604 from alex/monomorphize-create_type_object David Hewitt 2023-11-29 06:47:03 +0000
  • dd6e0339d3 Refactor create_type_object so that most of the code is monomorphic Alex Gaynor 2023-11-28 20:01:10 -0500
  • cf67c2ce46 fix test-serde beta clippy warning David Hewitt 2023-11-26 10:26:21 +0000
  • 41842f9e4b fix pyo3-ffi beta clippy warnings David Hewitt 2023-11-26 10:23:39 +0000