Update weakreflist.py

Long ago i was able to come up with a comparable, and i believe simpler, implementation that takes into account slicing. What do you think?