[Stackless] Weakref support for tasklets

Christian Tismer tismer at stackless.com
Thu Jan 29 22:52:29 CET 2004

Bob Ippolito wrote:


> You should also consider that one word might not make a difference.  The 
> allocator on Mac OS X, for example, always returns 128bit aligned 
> pointers as an optimization for the AltiVec unit.  It completely ignores 
> the low 3 bits of any address, so working with unaligned data is a chore!

Har har :)

More thoughts on this:
We also *might* consider to introduce another derived
type which has this feature enabled.
For the moment, I don't propose that.
Is it possible to derive a type in Python with weakref
enabled? That would be a reason to disable it by default
and to give the user the option.


> I'll go ahead and add weakref support to them as well.

If it is doable from Python, then we don't need to
enforce it in the implementation. Well, I don't know.

ciao - chris
Christian Tismer             :^)   <mailto:tismer at stackless.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  mobile +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list