Message171162
What do you mean by "does not preserve set identity"? Because I see:
$ ./python.exe
Python 3.3.0rc2+ (default:178f9042af81+, Sep 24 2012, 18:54:31)
[GCC 4.2.1 Compatible Apple Clang 2.1 (tags/Apple/clang-163.7.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = set(range(1))
[65967 refs]
>>> b = set(range(20))
[65989 refs]
>>> id(a)
4540421032
[65992 refs]
>>> a -= b
[65991 refs]
>>> id(a)
4540421032 |
|
Date |
User |
Action |
Args |
2012-09-24 17:02:39 | maker | set | recipients:
+ maker, rhettinger, mark.dickinson, belopolsky, eric.smith, stutzbach, ezio.melotti, r.david.murray, abacabadabacaba, serhiy.storchaka |
2012-09-24 17:02:39 | maker | set | messageid: <1348506159.01.0.984834469804.issue8425@psf.upfronthosting.co.za> |
2012-09-24 17:02:38 | maker | link | issue8425 messages |
2012-09-24 17:02:38 | maker | create | |
|