lp:~zyga/checkbox/fix-1444996
- Get this branch:
- bzr branch lp:~zyga/checkbox/fix-1444996
Branch merges
- Maciej Kisielewski: Approve
-
Diff: 489 lines (+186/-121)1 file modifiedplainbox/plainbox/impl/pod.py (+186/-121)
Related bugs
Bug #1444996: POD classes require a specific meta-class | Wishlist | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 3703. By Zygmunt Krynicki
-
plainbox:pod: refresh __all__
Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3702. By Zygmunt Krynicki
-
plainbox:pod: add @podify decorator
This patch adds a new decorator, @podify, that converts any class that
inherits from PODBase to a POD-lookalike. This way one can make PODs out
of classes with custom metaclasses as well as use POD-based exceptions.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3701. By Zygmunt Krynicki
-
plainbox:pod: move POD methods to new PODBase class
This patch moves all of the methods unique to a POD to the new PODBase
class. This class has no metaclass and can be inherited by anything that
wants to do so.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3700. By Zygmunt Krynicki
-
plainbox:pod: use field.counter to determine field ordering
This patch changes _FieldCollectio
n.inspect_ namespace( ) to use
field.counter to detect ordering of Field() entries as they appear in
the source code. This will make it possible to drop the requirement to
use the __prepare__() method later.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3699. By Zygmunt Krynicki
-
plainbox:pod: add .counter to each Field.
This patch adds a ever-incrementing counter to each Field instance. This
field can be used to look at the order in which particular fields were
defined when we cannot control the namespace in which a class is defined
in (via the __prepare__ metaclass method)Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3698. By Zygmunt Krynicki
-
plainbox:pod: fix PEP-8 issues
Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3697. By Zygmunt Krynicki
-
plainbox:pod: fix PEP257 issues
Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3696. By Zygmunt Krynicki
-
"automatic merge of lp:~zyga/checkbox/pre-release-stuff/ by tarmac [r=kissiel]
[bug=][ author= zyga]" - 3695. By Maciej Kisielewski
-
"automatic merge of lp:~kissiel/checkbox/fix-1392123/ by tarmac [r=zyga][bug=1392123][author=kissiel]"
- 3694. By Po-Hsu Lin
-
"automatic merge of lp:~cypressyew/checkbox/thunderbolt-testing/ by tarmac [r=zyga][bug=1443372][author=
cypressyew] "
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox