__new__

Mel mwilson at the-wire.com
Mon Aug 4 10:26:06 EDT 2008


Ethan Furman wrote:

> Emile van Sebille wrote:
>> Ethan Furman wrote:
>>>     --> d25._int = (1, 5)
>> 
>> Python considers names that start with a leading underscore as internal
>> or private, and that abuse is the burden of the abuser...
>> Is bytecodehacks still around?  That was serious abuse  :)
> 
> Good point.  What I'm curious about, though, is the comment in the code
> about making the Decimal instance immutable.  I was unable to find docs
> on that issue.

There's something in the Language Reference, chapter 3.1 'Objects, Values
and Types'.

        Mel.




More information about the Python-list mailing list