Skip to content

[smart_holder] git merge master #3813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 18, 2022
Merged

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Mar 18, 2022

Description

Helper/scratch PR for testing.

Suggested changelog entry:

oleksandr-pavlyk and others added 4 commits March 11, 2022 12:18
…ind#3797)

* PYBIND11_OBJECT_CVT should use namespace for error_already_set()

This change makes the macro usable outside of pybind11 namespace.

* added test for use of PYBIND11_OBJECT_CVT for classes in external to pybind11 namespaces

* Extended test_pytypes.cpp and test_pytest.py

The added test defines a dummy function that takes a custom-defined class external::float_
that uses PYBIND11_OBJECT_CVT

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed issues pointed out by CI

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed memory leak in default constructor

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](asottile/pyupgrade@v2.31.0...v2.31.1)
- [github.com/sirosen/texthooks: 0.2.2 → 0.3.1](sirosen/texthooks@0.2.2...0.3.1)
- [github.com/hadialqattan/pycln: v1.2.4 → v1.2.5](hadialqattan/pycln@v1.2.4...v1.2.5)
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](pre-commit/mirrors-mypy@v0.931...v0.940)
- [github.com/mgedmin/check-manifest: 0.47 → 0.48](mgedmin/check-manifest@0.47...0.48)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
laramiel and others added 7 commits March 18, 2022 11:10
Nearly every call site of cast_op<T> uses an r-value reference.

Except stl.h variant_caster::load_alternative for handling std::variant.

Fix that.
…ind#3797)

* PYBIND11_OBJECT_CVT should use namespace for error_already_set()

This change makes the macro usable outside of pybind11 namespace.

* added test for use of PYBIND11_OBJECT_CVT for classes in external to pybind11 namespaces

* Extended test_pytypes.cpp and test_pytest.py

The added test defines a dummy function that takes a custom-defined class external::float_
that uses PYBIND11_OBJECT_CVT

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed issues pointed out by CI

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixed memory leak in default constructor

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](asottile/pyupgrade@v2.31.0...v2.31.1)
- [github.com/sirosen/texthooks: 0.2.2 → 0.3.1](sirosen/texthooks@0.2.2...0.3.1)
- [github.com/hadialqattan/pycln: v1.2.4 → v1.2.5](hadialqattan/pycln@v1.2.4...v1.2.5)
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](pre-commit/mirrors-mypy@v0.931...v0.940)
- [github.com/mgedmin/check-manifest: 0.47 → 0.48](mgedmin/check-manifest@0.47...0.48)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The docs were not 100% the same as we advertise with our
tooling function: most users do not want to strip symbols
in Debug builds.
@rwgk rwgk force-pushed the sh_merge_master branch from cea66db to 2a93b34 Compare March 18, 2022 18:20
@rwgk
Copy link
Collaborator Author

rwgk commented Mar 18, 2022

Force push was after

@rwgk
Copy link
Collaborator Author

rwgk commented Mar 18, 2022

The one CI failure is an infrastructure flake (pypy-3.7 • windows-2022 • x64). Safe to ignore, based on all the previous testing.

@rwgk rwgk merged commit 2a93b34 into pybind:smart_holder Mar 18, 2022
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Mar 18, 2022
@rwgk rwgk deleted the sh_merge_master branch March 18, 2022 18:59
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants