Add methods to int?

Reinhold Birkenfeld reinhold-birkenfeld-nospam at
Wed Jun 16 20:52:45 CEST 2004

Peter Otten wrote:
> Reinhold Birkenfeld wrote:
>> So why does "print int.__dict__" produce a value?
> Because I was wrong, I suppose. Anyway, there is code in descrobject.c that
> wraps a dictionary/sequence type to ensure that it is readonly.
> As to why it doesn't show up in dir() and why it is read-only, I have no
> idea.

So would that be a point where to make improvements?


Wenn eine Linuxdistribution so wenig brauchbare Software wie Windows
mitbrächte, wäre das bedauerlich.  Was bei Windows der Umfang eines
"kompletten Betriebssystems" ist, nennt man bei Linux eine Rescuedisk.
  -- David Kastrup in de.comp.os.unix.linux.misc

More information about the Python-list mailing list