Re: [Python] Problema con __getattr__

2008-10-26 Per discussione Daniele Varrazzo
On Sun, 26 Oct 2008 22:44:41 +0100, Listemessaggi CoPlast <[EMAIL PROTECTED]> wrote: > Ma se come detto, faccio l'overloading di questo operatore, cioè con: > > class Commuter: > def __init__(self, val): > self.val = val > def __getattr__(self, nome): > print("BO") > >

[Python] Problema con __getattr__

2008-10-26 Per discussione Listemessaggi CoPlast
Ciao a tutti, ho un problema con l'overloading dell'operatore in oggetto. Cerco di spiegarlo con un esempio semplice. Col seguente: class Commuter: def __init__(self, val): self.val = val se scrivo: c = Commuter(23) print(c) ottengo: <__main__.Commuter instance at 0xb7ddbfcc> e f

[Python] [Announce] PySwfdec 0.8.0

2008-10-26 Per discussione Gian Mario Tagliaretti
I am pleased to announce version 0.8.0 of the Python bindings for Swfdec. It is available at: http://www.gnome.org/~gianmt/pyswfdec-0.8.0.tar.gz MD5: 5116b455413dd1e9ddec35df6cfc0b7b The bindings are updated with the new Swfdec API 0.8.x PySwfdec 0.8.0 (Oct 26 2008) =