Path to this page:
Subject: CVS commit: pkgsrc/devel/py-pybind11
From: Tobias Nygren
Date: 2021-04-05 20:31:56
Message id: 20210405183156.C48AEFA95@cvs.NetBSD.org
Log Message:
py-pybind11: update to 2.6.2
New features in 2.6.x:
Keyword-only arguments supported in Python 2 or 3 with py::kw_only().
Positional-only arguments supported in Python 2 or 3 with py::pos_only().
py::is_final() class modifier to block subclassing (CPython only).
Added py::prepend(), allowing a function to be placed at the beginning of the \
overload chain.
Access to the type object now provided with py::type::of<T>() and \
py::type::of(h).
Perfect forwarding support for methods.
Added py::error_already_set::discard_as_unraisable().
py::hash is now public.
py::class_<union_type> is now supported.
Classes now check local scope when registering members
Files: