[Pyrex] weak references to Pyrex instances?

vng1 at mac.com vng1 at mac.com
Wed Oct 6 15:14:56 CEST 2004


I'd also vote for having weak references by default. I don't really 
care if there is an option to turn off weak references.  Having an 
extra pointer doesn't seem like such a big deal to me.

vic

On 5-Oct-04, at 12:20 PM, Matthias Baas wrote:

> Greg Ewing wrote:
>> Also, I haven't decided whether all extension types should
>> be weak referenceable automatically, or whether it should
>> be an option. Any thoughts on that from people?
>
> If the only disadvantage is the storage cost for one more pointer, 
> then it's ok with me if every extension type is automatically weak 
> referenceable.
>
> If you choose to make it configurable I'd vote for enabling weak 
> referencing by default as it is also the case in pure Python programs. 
> And as programming in Pyrex still feels very "Pythonic" I'd suggest to 
> keep things as similar as possible to how it's done in Python.
>
> - Matthias -
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3901 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20041006/5fa4504b/smime.bin


More information about the Pyrex mailing list