aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/compat.py
AgeCommit message (Collapse)Author
2013-06-14compat/server/utils: Jettison pre python 2.7.3 workaroundsRichard Purdie
Now we've moved to require python 2.7.3, we can jettison the compatibility workarounds/hacks for older python versions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09lib: Use modern expcetion syntaxRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06compat/utils: Add copy of python multiprocessing pool for pre 2.7.3 issuesRichard Purdie
python 2.7 shows hangs with issues in its pool implmenetation. Rather than try and hack around these, add a copy of the working pool implementation to the compat module from 2.7.3. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20compat, event: use OrderedDict from py2.7 for the event handlersChristopher Larson
This ensures that our event handlers get run in registration order, making the behavior more deterministic. I pulled in the python2.7 OrderedDict to avoid essentially reimplementing a version of it ourselves, figuring we can drop it when we bump our required python version next. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-05persist_data: implement comparison, same as dictChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>