Author bhy
Recipients alexandre.vassalotti, amaury.forgeotdarc, benjamin.peterson, bhy
Date 2008-07-24.06:46:01
SpamBayes Score 0.00102353
Marked as misclassified No
Message-id <>
I found the explanation of why buitl-ins are immutable:

For the curious: there are two reasons why changing built-in classes is 
disallowed. First, it would be too easy to break an invariant of a 
built-in type that is relied upon elsewhere, either by the standard 
library, or by the run-time code. Second, when Python is embedded in 
another application that creates multiple Python interpreters, the 
built-in class objects (being statically allocated data structures) are 
shared between all interpreters; thus, code running in one interpreter 
might wreak havoc on another interpreter, which is a no-no.


Is the statement still valid for current version of Python?
Date User Action Args
2008-07-24 06:46:05bhysetspambayes_score: 0.00102353 -> 0.00102353
recipients: + bhy, amaury.forgeotdarc, alexandre.vassalotti, benjamin.peterson
2008-07-24 06:46:05bhysetspambayes_score: 0.00102353 -> 0.00102353
messageid: <>
2008-07-24 06:46:04bhylinkissue3208 messages
2008-07-24 06:46:02bhycreate