[Python-Dev] Re: [Python-checkins] python/dist/src/Objects typeobject.c, 2.254, 2.255 (original) (raw)
Raymond Hettinger python at rcn.com
Sun Dec 14 11:57:09 EST 2003
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Objects typeobject.c,2.254,2.255
- Next message: [Python-Dev] urllib2 patch reviewer (852995)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> + static int > + checknumargs(PyObject *ob, int n) > + { > + if (!PyTupleCheckExact(ob)) {
Is it actually possible for this check to fail? I spent a while trying to make it fail, but couldn't manage it.
I would support changing this to an assertion.
Raymond
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Objects typeobject.c,2.254,2.255
- Next message: [Python-Dev] urllib2 patch reviewer (852995)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]