Skip to content

Commit 7d21a0c

Browse files
committed
Revert "Patching in snapshot of (already closed) PR #4316"
This reverts commit 41bc371.
1 parent 41bc371 commit 7d21a0c

10 files changed

+0
-127
lines changed

include/pybind11/detail/internals.h

-5
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,6 @@ struct internals {
209209
PYBIND11_TLS_FREE(tstate);
210210
}
211211
#endif
212-
213-
std::unordered_map<std::type_index, std::vector<std::string>>
214-
std_type_index_registry_unnamed_namespace;
215-
std::unordered_map<std::type_index, std::vector<std::string>>
216-
std_type_index_registry_named_namespace;
217212
};
218213

219214
/// Additional type information which does not fit into the PyTypeObject.

tests/CMakeLists.txt

-6
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ set(PYBIND11_TEST_FILES
133133
test_eigen_tensor_avoid_stl_array.cpp
134134
test_enum
135135
test_eval
136-
test_exc_named_namespace_a.py
137-
test_exc_named_namespace_b.py
138136
test_exceptions
139137
test_factory_constructors
140138
test_gil_scoped
@@ -158,8 +156,6 @@ set(PYBIND11_TEST_FILES
158156
test_tagbased_polymorphic
159157
test_thread
160158
test_union
161-
test_unnamed_namespace_a
162-
test_unnamed_namespace_b
163159
test_virtual_functions)
164160

165161
# Invoking cmake with something like:
@@ -223,8 +219,6 @@ tests_extra_targets("test_exceptions.py;test_local_bindings.py;test_stl.py;test_
223219
# And add additional targets for other tests.
224220
tests_extra_targets("test_exceptions.py" "cross_module_interleaved_error_already_set")
225221
tests_extra_targets("test_gil_scoped.py" "cross_module_gil_utils")
226-
tests_extra_targets("test_exc_named_namespace_a.py" "named_namespace_a")
227-
tests_extra_targets("test_exc_named_namespace_b.py" "named_namespace_b")
228222

229223
set(PYBIND11_EIGEN_REPO
230224
"https://gitlab.com/libeigen/eigen.git"

tests/named_namespace_a.cpp

-25
This file was deleted.

tests/named_namespace_b.cpp

-14
This file was deleted.

tests/test_exc_named_namespace_a.py

-15
This file was deleted.

tests/test_exc_named_namespace_b.py

-5
This file was deleted.

tests/test_unnamed_namespace_a.cpp

-24
This file was deleted.

tests/test_unnamed_namespace_a.py

-15
This file was deleted.

tests/test_unnamed_namespace_b.cpp

-13
This file was deleted.

tests/test_unnamed_namespace_b.py

-5
This file was deleted.

0 commit comments

Comments
 (0)