[Python-checkins] r53509 - in python/trunk: Lib/test/test_array.py Lib/test/test_deque.py Lib/test/test_itertools.py Lib/test/test_random.py Misc/NEWS Modules/_randommodule.c Modules/arraymodule.c Modules/collectionsmodule.c Modules/itertoolsmodu
Thomas Wouters
thomas at python.org
Tue Jan 23 11:07:11 CET 2007
On 1/21/07, georg.brandl <python-checkins at python.org> wrote:
> - if (!_PyArg_NoKeywords("array.array()", kwds))
> + if (type == &Arraytype && !_PyArg_NoKeywords("array.array()",
> kwds))
Wouldn't it be better for all these to use the Py<type>_CheckExact() macro,
where available? (There is an array_CheckExact(), for instance.)
--
Thomas Wouters <thomas at python.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-checkins/attachments/20070123/dafd82c0/attachment.htm
More information about the Python-checkins
mailing list