Merge lp:~james-w/python-oops-amqp/bson-compat into lp:python-oops-amqp
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Ian Booth |
Approved revision: | 12 |
Merged at revision: | 11 |
Proposed branch: | lp:~james-w/python-oops-amqp/bson-compat |
Merge into: | lp:python-oops-amqp |
Diff against target: |
153 lines (+49/-14) 8 files modified
NEWS (+5/-2) oops_amqp/__init__.py (+1/-1) oops_amqp/anybson.py (+31/-0) oops_amqp/publisher.py (+1/-1) oops_amqp/receiver.py (+1/-2) oops_amqp/tests/test_publisher.py (+4/-4) oops_amqp/tests/test_receiver.py (+4/-2) setup.py (+2/-2) |
To merge this branch: | bzr merge lp:~james-w/python-oops-amqp/bson-compat |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ian Booth (community) | code | Approve | |
Review via email: mp+92389@code.launchpad.net |
Description of the change
Hi,
The world has two bson libraries with incompatible APIs. This is unfortunate.
However, we can make the world bright again if we support either API. This
is my attempt to do that.
Have a nice day!
James
To post a comment you must log in.
Thanks for this change to improve the robustness of our tools. It looks like a nice solution to a problem not of our making. I wonder, do we have a preferred bson library or can people just install whatever and hence we need this fix to cope with that?