- 18 May, 2023 2 commits
-
-
While working on https://github.com/pybind/pybind11/pull/4674 I came to realize that this include is not needed here. Note however that the pybind11/cast.h changes under https://github.com/pybind/pybind11/pull/4601 are still needed, therefore pybind11_abseil still requires current pybind11 master. PiperOrigin-RevId: 533182724
Ralf W. Grosse-Kunstleve committed -
PiperOrigin-RevId: 532970607
Xiaofei Wang committed
-
- 16 May, 2023 3 commits
-
-
PiperOrigin-RevId: 532586991
Ralf W. Grosse-Kunstleve committed -
PiperOrigin-RevId: 532576894
Ralf W. Grosse-Kunstleve committed -
PiperOrigin-RevId: 532564187
Xiaofei Wang committed
-
- 04 May, 2023 1 commit
-
-
Make `absl::Time` from-python conversion (almost) identical to a Google-internal implementation under absl/python. Note that the unit tests are unchanged (in the entire Google codebase). The remaining very subtle differences between `type_caster<absl::Time>::load()` and the corresponding from-python conversion under absl/python are related to the pybind11 two-pass overload resolution feature that does not exist in PyCLIF. As a side-effect, this change removes long-obsolete remnants of Python 2 support. PiperOrigin-RevId: 529457660
Ralf W. Grosse-Kunstleve committed
-
- 03 May, 2023 2 commits
-
-
Add support for `absl::InfiniteFuture`, `absl::InfinitePast`, matching established Google-internal conventions under absl/python. Also replace floating-point arithmetic in the handling of microseconds with integer arithmetic, to sidestep subtle round-off issues. See the source code comment in the new `internal::GetTimestampMicrosFromDateTimeObj()` function for details. PiperOrigin-RevId: 529169464
Ralf W. Grosse-Kunstleve committed -
This conversion muddles the concepts of * a particular point of time in a day, **independent of a particular date**, and * a particular date + time. This conversion was added only recently, but after more consideration, that was a mistake. PiperOrigin-RevId: 529062347
Ralf W. Grosse-Kunstleve committed
-
- 24 Apr, 2023 1 commit
-
-
For compatibility with Google-internal Clif_PyObjAs/From implementations. This is to support the PyCLIF-pybind11 integration. PiperOrigin-RevId: 526718225
Ralf W. Grosse-Kunstleve committed
-
- 19 Apr, 2023 1 commit
-
-
Civil Time Unit conversions compatibility between pybind11_abseil & Google-internal Clif_PyObjAs/From implementations. This is to support the PyCLIF-pybind11 integration. PiperOrigin-RevId: 525462353
Ralf W. Grosse-Kunstleve committed
-
- 14 Apr, 2023 1 commit
-
-
PiperOrigin-RevId: 524369017
Xiaofei Wang committed
-
- 30 Mar, 2023 1 commit
-
-
PiperOrigin-RevId: 520495543
Xiaofei Wang committed
-
- 29 Mar, 2023 1 commit
-
-
PiperOrigin-RevId: 520478536
Xiaofei Wang committed
-
- 28 Feb, 2023 1 commit
-
-
PiperOrigin-RevId: 512783089
Xiaofei Wang committed
-
- 13 Feb, 2023 1 commit
-
-
PiperOrigin-RevId: 509255012
pybind11_abseil authors committed
-
- 10 Feb, 2023 1 commit
-
-
PiperOrigin-RevId: 508543167
pybind11_abseil authors committed
-
- 09 Feb, 2023 1 commit
-
-
PiperOrigin-RevId: 508428006
Xiaofei Wang committed
-
- 08 Feb, 2023 1 commit
-
-
PiperOrigin-RevId: 508145496
pybind11_abseil authors committed
-
- 01 Feb, 2023 1 commit
-
-
PiperOrigin-RevId: 506344539
pybind11_abseil authors committed
-
- 06 Jan, 2023 1 commit
-
-
The file doesn't exist, and using the exported target causes downstream errors. For one, TensorFlow's license checker errors on these non-existing LICENSE files PiperOrigin-RevId: 500257122
pybind11_abseil authors committed
-
- 20 Dec, 2022 1 commit
-
-
This change replaces references to a number of deprecated NumPy type aliases (np.bool, np.int, np.float, np.complex, np.object, np.str) with their recommended replacement (bool, int, float, complex, object, str). NumPy 1.24 drops the deprecated aliases, so we must remove uses before updating NumPy. PiperOrigin-RevId: 496626719
Peter Hawkins committed
-
- 13 Dec, 2022 1 commit
-
-
PiperOrigin-RevId: 495002753
Ralf W. Grosse-Kunstleve committed
-
- 06 Dec, 2022 1 commit
-
-
PiperOrigin-RevId: 493294082
Ralf W. Grosse-Kunstleve committed
-
- 05 Dec, 2022 1 commit
-
-
To enable (limited) testing of `@pybind11_abseil:status` without the `@pybind11_abseil/tests:status_example_test` dependency. PiperOrigin-RevId: 493092289
Ralf W. Grosse-Kunstleve committed
-
- 01 Dec, 2022 1 commit
-
-
This change supports the PyCLIF-pybind11 integration. PiperOrigin-RevId: 492044996
Ralf W. Grosse-Kunstleve committed
-
- 30 Nov, 2022 1 commit
-
-
This change supports the PyCLIF-pybind11 integration. PiperOrigin-RevId: 491973864
Ralf W. Grosse-Kunstleve committed
-
- 21 Nov, 2022 1 commit
-
-
PiperOrigin-RevId: 489996384
Ralf W. Grosse-Kunstleve committed
-
- 12 Nov, 2022 1 commit
-
-
PiperOrigin-RevId: 487943835
Ralf W. Grosse-Kunstleve committed
-
- 08 Nov, 2022 2 commits
-
-
PiperOrigin-RevId: 487063854
Ralf W. Grosse-Kunstleve committed -
For interoperability with other Python binding systems (e.g. SWIG). PiperOrigin-RevId: 487000705
Ralf W. Grosse-Kunstleve committed
-
- 02 Nov, 2022 2 commits
-
-
PiperOrigin-RevId: 485653868
Xiaofei Wang committed -
Current motivation: Testing after https://github.com/pybind/pybind11_bazel/pull/46 was merged. Convert pybind11_bazel dependency to FLOATING (we own it). PiperOrigin-RevId: 485626325
Ralf W. Grosse-Kunstleve committed
-
- 01 Nov, 2022 1 commit
-
-
PiperOrigin-RevId: 485430599
Xiaofei Wang committed
-
- 31 Oct, 2022 1 commit
-
-
Preparation for enabling presubmit UBSAN testing. UBSAN error fixed by this CL: ``` SUMMARY: UndefinedBehaviorSanitizer: nullptr-with-nonzero-offset third_party/pybind11_abseil/tests/status_example.cc:111:66 in ``` PiperOrigin-RevId: 485136235
Ralf W. Grosse-Kunstleve committed
-
- 17 Oct, 2022 1 commit
-
-
PiperOrigin-RevId: 481681036
Ralf W. Grosse-Kunstleve committed
-
- 04 Oct, 2022 1 commit
-
-
Make pybind11_abseil `StatusNotOk.__str__` compatible with long-established Google-internal behavior. For example: * Old: `INTERNAL: GetMemoryInfo error` * New: `GetMemoryInfo error [INTERNAL]` This behavior change is likely to only affect asserts in test code. PiperOrigin-RevId: 478905904
Ralf W. Grosse-Kunstleve committed
-
- 30 Sep, 2022 1 commit
-
-
PiperOrigin-RevId: 477876254
Ralf W. Grosse-Kunstleve committed
-
- 27 Sep, 2022 1 commit
-
-
Changes behavior of code introduced with https://github.com/pybind/pybind11_abseil/commit/4b5def2c2cdb16e9e099ed521acb03445cf44c3f on May 31, 2022, motivated by Google-internal developments. PiperOrigin-RevId: 477289838
Ralf W. Grosse-Kunstleve committed
-
- 26 Sep, 2022 1 commit
-
-
PiperOrigin-RevId: 476925555
Ralf W. Grosse-Kunstleve committed
-
- 23 Sep, 2022 1 commit
-
-
Before this change, `__repr__` is identical to `__str__`. There are countless articles on the web explaining the expected difference, for example: * https://www.tutorialspoint.com/str-vs-repr-in-python Quoting "Key differences": * str(): Make object readable; Generate output to end user * repr(): Required code that reproduces object; Generate output for developer "Required code that reproduces object" is impractical for `Status`, mainly because there is not good way to concisely include the payload, but even just the `.message()` can potentially be very long. Therefore it is best to simply use the default `__repr__`, as is the case for the vast majority of types of significant complexity. PiperOrigin-RevId: 476406024
Ralf W. Grosse-Kunstleve committed
-