[
https://issues.apache.org/jira/browse/PROTON-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937473#comment-17937473
]
Andrew Stitcher commented on PROTON-2879:
-----------------------------------------
To amplify a little more: The intention of the Python bindings is that the high
level bindings stand entirely alone and should be usable with just {{import
proton.}} I regard the {{cproton}} module as purely an internal implementation
detail of the bindings. So any necessary use of {{import cproton}} is an api
bug and should be fixed!
In this case I think the simplest (although not fully idiomatic) fix would be
to add {{unsettled_head}} and {{unsettled_next}} properties to the {{Link}} and
{{Delivery}} classes respectively.
> pn_unsettled_head/_next not available in Python bindings
> --------------------------------------------------------
>
> Key: PROTON-2879
> URL: https://issues.apache.org/jira/browse/PROTON-2879
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Affects Versions: proton-c-0.40.0
> Reporter: Pete Fawcett
> Assignee: Pete Fawcett
> Priority: Major
>
> The C functions {{pn_unsettled_head}} and {{pn_unsettled_next}} are not
> currently available in the Python bindings.
> These functions are used to examine the list of unsettled deliveries on a
> given link.
> The functions were available in older versions, but seem to have been missed
> in the transition from SWIG to CFFI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]