Python -builtin constructors silently ignored keyword arguments.

Instead of silenty ignoring them, now a "TypeError: f() takes no keyword arguments"
exception is thrown if keyword arguments are used. Hence constructors and normal
methods/functions behave in the same way.

Closes issue #1595
This commit is contained in:
William S Fulton 2020-01-05 14:06:03 +00:00
commit 67e8334ac8
6 changed files with 376 additions and 4 deletions

View file

@ -159,6 +159,7 @@ CPP_TEST_CASES += \
cpp_enum \
cpp_namespace \
cpp_nodefault \
cpp_parameters \
cpp_static \
cpp_typedef \
cpp14_binary_integer_literals \