Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 364 Bytes
## WARNING: can only be killed with SIGTERM (^\), not SIGINT (^C)
## Causes fatal memory leak of size 2^51 objects in CPython, please kill
class LearneanPydra:
def __init__(self, neck):
self.neck = neck
def __del__(self):
print self.neck
LeftHead = LearneanPydra(self.neck + "l")
RightHead = LearneanPydra(self.neck + "r")
LearneanPydra("")