You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ievgen Popovych (Jira)" <ji...@apache.org> on 2022/04/13 11:59:00 UTC

[jira] [Created] (PROTON-2531) Delivery tag is str while it should be bytes

Ievgen Popovych created PROTON-2531:
---------------------------------------

             Summary: Delivery tag is str while it should be bytes
                 Key: PROTON-2531
                 URL: https://issues.apache.org/jira/browse/PROTON-2531
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
            Reporter: Ievgen Popovych


According to AMQP standard delivery tag is ??up to 32 octets of binary data??. Proton C library also has it in binary format.
But in the Python binding {{Delivery.tag}} is a string, which causes issues when trying to use it (i.e. print/visualize).

As far as I understand this is down to Swig {{python/cproton.i}} {{wrap_pn_delivery_tag}} (since typemap for {{pn_delivery_tag_t}} seems to be correct)?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org