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
It takes the descriptor under the slot and replace it (__slots__ underly special descriptors, but they remains descriptors after all).
It needs adjustments with your code in order to work... I use it with metclass so it got instaciate after the creation of a class wich have __slots__.
My demand is between a bug report, a feature request and an enhacement proposal!
The text was updated successfully, but these errors were encountered:
Hi. Very interresting project.
I was about to develop the same thing, but made a research first and found this
The problem is that it doesn't support the use of
__slots__
Demonstration:
I have a little wrapper for this named
slot_wrapper
somewhere.Here is a simplified version:
It takes the descriptor under the slot and replace it (
__slots__
underly special descriptors, but they remains descriptors after all).It needs adjustments with your code in order to work... I use it with metclass so it got instaciate after the creation of a class wich have
__slots__
.My demand is between a bug report, a feature request and an enhacement proposal!
The text was updated successfully, but these errors were encountered: