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

Delivery tag is str while it should be bytes

    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

          People

            Unassigned Unassigned
            jmennius Ievgen Popovych
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: