This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mike.Graham
Recipients Mike.Graham, alex, eallik, r.david.murray
Date 2012-08-28.21:27:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346189279.66.0.447106090152.issue15801@psf.upfronthosting.co.za>
In-reply-to
Content
Line 13464 of unicodeobject.c is

    if (Py_TYPE(args)->tp_as_mapping && !PyTuple_Check(args) &&
        !PyUnicode_Check(args))

Too lazy to check, but don't user-created types have a tp_as_mapping? If so, I think it mistakes Foo() for a dict.
History
Date User Action Args
2012-08-28 21:27:59Mike.Grahamsetrecipients: + Mike.Graham, alex, r.david.murray, eallik
2012-08-28 21:27:59Mike.Grahamsetmessageid: <1346189279.66.0.447106090152.issue15801@psf.upfronthosting.co.za>
2012-08-28 21:27:59Mike.Grahamlinkissue15801 messages
2012-08-28 21:27:59Mike.Grahamcreate