Message173292
I find the following to be unintuitive:
Python 3.3.0rc1 (default, Sep 6 2012, 16:02:32)
[GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.58)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from collections import namedtuple
>>> F = namedtuple("F", "x")
>>> G = namedtuple("G", "y")
>>> F(12) == G(12)
True
I'm OK with not taking the class name into account, that sounds reasonable, but I think field names should make those unequal. |
|
Date |
User |
Action |
Args |
2012-10-18 19:59:43 | Julian | set | recipients:
+ Julian, rhettinger |
2012-10-18 19:59:43 | Julian | set | messageid: <1350590383.92.0.380750579544.issue16279@psf.upfronthosting.co.za> |
2012-10-18 19:59:43 | Julian | link | issue16279 messages |
2012-10-18 19:59:43 | Julian | create | |
|