Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2531

Delivery tag is str while it should be bytes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • python-binding
    • None

    Description

      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)?

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jmennius Ievgen Popovych

            Dates

              Created:
              Updated:

              Slack

                Issue deployment