You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Set tp_new slot when build heap/static type
* Improve type tp_call impl to check tp_new existence and error if not exist
* Set DISALLOW_INSTANTIATION flag on several types according to cpython impl
* Allow #[pyslot] for function pointer
* Fix DISALLOW_INSTANTIATION
---------
Signed-off-by: snowapril <sinjihng@gmail.com>
Co-authored-by: snowapril <sinjihng@gmail.com>
// bail_span!(item, "#[pyclass(with(...))] does not have a Constructor. Either #[pyclass(with(Constructor, ...))] or #[pyclass(with(Unconstructible, ...))] is mandatory. Consider to add `impl DefaultConstructor for T {{}}` or `impl Unconstructible for T {{}}`.")
0 commit comments