Name Description Size 63
commands.json 715 Score how much we like each filename, lower wins, None rejects 5866 Custom metaclass that registers all the subclasses in the item_types dictionary according to the value of their item_type attribute, and otherwise behaves like an ABCMeta. 10900 2637 182 Dictionary subclass containing a TypeData instance for each test type, keyed by type name 16065 587
requirements.txt 18 Given a string `s` that ends with `old`, replace that occurrence of `old` with `new`. 38810 2751 3592
tests Dict-like object containing the TestItems for each test type. Loading an actual Item class for each test is unnecessarily slow, so this class allows lazy-loading of the test items. When the manifest is loaded we store the raw json corresponding to the test type, and only create an Item subclass when the test is accessed. In order to remain API-compatible with consumers that depend on getting an Item from iteration, we do egerly load all items when iterating over the class. 10100 3262 2377 get a set of files which have changed between HEAD and working copy 10954 An XML parser with support for XHTML DTDs and all Python-supported encodings This implements the API defined by xml.etree.ElementTree.XMLParser, but supports XHTML DTDs (therefore allowing XHTML entities) and supports all encodings Python does, rather than just those supported by expat. 5030