| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use C3 (mostly) to compute IRO.issue21 | Jason Madden | 2020-03-15 | 1 | -31/+137 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #21 The 'mostly' is because interfaces are used in cases that C3 forbids; when there's a conflict, we fallback to the legacy algorithm. It turns out there are few conflicts (13K out of 149K total orderings in Plone). I hoped the fix for #8 might shake out automatically, but it didn't. Optimize the extremely common case of a __bases__ of length one. In the benchmark, 4/5 of the interfaces and related objects have a base of length one. Fix the bad IROs in the bundled ABC interfaces, and implement a way to get warnings or errors. In running plone/buildout.coredev and tracking the RO requests, the stats for equal, not equal, and inconsistent-so-fallback, I got {'ros': 148868, 'eq': 138461, 'ne': 10407, 'inconsistent': 12934} Add the interface module to the Attribute str. This was extremely helpful tracking down the Plone problem; IDate is defined in multiple modules. | ||||
| * | Use .. caution:: to warn about the the old class-advice based APIsdocs-in-py3 | Marius Gedminas | 2019-11-11 | 1 | -3/+3 |
| | | |||||
| * | Move the @provider example into the right section | Marius Gedminas | 2019-11-11 | 1 | -9/+8 |
| | | | | | | | | | | Explain that implements()/implementsOnly()/classProvides() not only should not be "preferred", but are entirely not functional on Python 3. (These notes should probably use some Sphinx directive to stand out better, but I'm not well versed in Sphinx and I don't know which one I should use.) | ||||
| * | Port the documentation examples to Python 3 | Marius Gedminas | 2019-11-11 | 1 | -53/+76 |
| | | |||||
| * | Reorganize the 'declarations' document by functional group. | Jason Madden | 2018-07-19 | 1 | -489/+401 |
| | | | | | Add cross references and some formatting fixes. | ||||
| * | Basic API reference documentation reorg: split into four functional parts. | Jason Madden | 2018-07-19 | 1 | -0/+908 |
| Add some missing documentation for the events component registries create. | |||||
