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 gvanrossum
Recipients benjamin.peterson, eric.araujo, gvanrossum, stutzbach
Date 2010-09-01.15:16:22
SpamBayes Score 0.00015807233
Marked as misclassified No
Message-id <AANLkTimrOyov=nFR798bjHkne_xYrNJoFQBRZJ5-AtDS@mail.gmail.com>
In-reply-to <1283353319.39.0.651386874255.issue9731@psf.upfronthosting.co.za>
Content
> Would it be useful to provide a separate function to perform the check, which could be used by lint-style tools as well as automated tests?
>
> It would be great if every call to .register in the standard library had a corresponding test that verified that the appropriate methods were defined.  That would prevent future oversights where methods are missing entirely.

Yeah, that makes sense. You could put those checks in the unittests.
History
Date User Action Args
2010-09-01 15:16:27gvanrossumsetrecipients: + gvanrossum, benjamin.peterson, stutzbach, eric.araujo
2010-09-01 15:16:22gvanrossumlinkissue9731 messages
2010-09-01 15:16:22gvanrossumcreate