[pyar] Problemas de memory leak

John Rowland Lenton john.lenton en canonical.com
Mar Oct 5 14:40:18 ART 2010


On Tue, Oct 05, 2010 at 02:35:32PM -0300, Roberto Alsina wrote:
> On Tuesday 05 October 2010 14:21:49 John Rowland Lenton wrote:
> > agregale __getattr__ (y __setattr__, y __delattr__ si son relevantes),
> > que sean copias de (o proxies para) __getitem__ y etc.
> 
> Tiene sentido...

y cuando dije "copias" quise decir que, si ya tenés __getitem__,
después de su definición hagas __getattr__ = __getitem__ :)
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20101005/1ac88296/attachment.sig>


More information about the pyar mailing list