Merge lp:~gz/brz/py3_static_tuple_import into lp:brz
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~gz/brz/py3_static_tuple_import |
Merge into: | lp:brz |
Diff against target: |
113 lines (+17/-27) 3 files modified
breezy/_export_c_api.h (+5/-7) breezy/_import_c_api.h (+9/-17) setup.py (+3/-3) |
To merge this branch: | bzr merge lp:~gz/brz/py3_static_tuple_import |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+326329@code.launchpad.net |
Commit message
Switch _*_c_api.h helpers from PyCObject to PyCapsule
Description of the change
#3 of the options on making _static_tuple_c imports work for Python 3, and the wimp-out-est method.
Just switches from CObject to Capsule leaving all the existing semantics alone. This is safe(*), but there's still a huge pile of logic to support imports for just one c module.
Drive-by moves the order in setup.py around as a bunch of stuff depends on StaticTuple anyway so it's best to fail early when changing things.
(*) I think.
To post a comment you must log in.