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 Unit03
Recipients Unit03, martin.panter, serhiy.storchaka
Date 2016-09-05.18:36:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473100614.91.0.0187747230256.issue27112@psf.upfronthosting.co.za>
In-reply-to
Content
> I would lean toward ensuring the test fails if someone adds a new implementation detail without an underscore prefix. It is also good to be explicit that the ISTERMINAL() etc functions are special cases.

Original patch meets these requirements. I've updated it with moving the test__all__ method to TestMisc class as suggested (tokenize_all.v2.patch).

I'm also attaching the alternative version (tokenize_all.v2.1.patch) that uses self.assertCountEqual instead of support.check__all__ and whitelisting as Serhiy suggested; this version of test doesn't meet the requirements above.

Yes, neither one challenge the tok_name (#25324) problem, I'm not really sure whether is should, though. I'll try to solve it with separate patch if I find some time.
History
Date User Action Args
2016-09-05 18:36:55Unit03setrecipients: + Unit03, martin.panter, serhiy.storchaka
2016-09-05 18:36:54Unit03setmessageid: <1473100614.91.0.0187747230256.issue27112@psf.upfronthosting.co.za>
2016-09-05 18:36:54Unit03linkissue27112 messages
2016-09-05 18:36:54Unit03create