why () is () and [] is [] work in other way?

john.tantalo at gmail.com john.tantalo at gmail.com
Sat Apr 21 00:34:37 EDT 2012


On Friday, April 20, 2012 12:34:46 PM UTC-7, Rotwang wrote:

> I believe it says somewhere in the Python docs that it's undefined and 
> implementation-dependent whether two identical expressions have the same 
> identity when the result of each is immutable

I was curious where that might be on my system, and found the disagreement with the ((),) case and up.

(Python 2.7.1, Darwin 11.3.0, GCC 4.2.1)



More information about the Python-list mailing list