homepage

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 ezio.melotti
Recipients Arfrever, cmn, eli.bendersky, ezio.melotti
Date 2012年05月18日.10:59:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337338792.81.0.876765595639.issue14818@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch fixes Element constructor to accept 'attrib' as keyword arg. I couldn't find a way to make this work using PyArg_ParseTupleAndKeywords, so I ended up parsing the kwds by hand.
While adding more tests I found out another difference with the Python version. The C version raises a TypeError if attrib is not a dict, whereas the Python version raises an AttributeError while attempting to do a .copy() of the object. I changed the Python version to raise a TypeError too.
History
Date User Action Args
2012年05月18日 10:59:52ezio.melottisetrecipients: + ezio.melotti, Arfrever, eli.bendersky, cmn
2012年05月18日 10:59:52ezio.melottisetmessageid: <1337338792.81.0.876765595639.issue14818@psf.upfronthosting.co.za>
2012年05月18日 10:59:52ezio.melottilinkissue14818 messages
2012年05月18日 10:59:52ezio.melotticreate

AltStyle によって変換されたページ (->オリジナル) /