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

[python] List of API calls using deprecated C API calls

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: python-binding
    • Labels:
      None

      Description

      The following deprecated C API calls are used within the Python API:

      proton/_endpoints.py:

      Python API call Used Deprecated C API Call Replacement C API Call
      Connection.error() pn_error_code pn_connection_condition

      proton/_transport.py:

      Python API call Used Deprecated C API Call Replacement C API Call
      Transport.bind() pn_transport_bind pn_connection_driver_init
      Transport.bind_nothrow() pn_transport_bind pn_connection_driver_init
      Transport.unbind() pn_transport_unbind pn_connection_driver_destroy
      Transport.capacity() pn_transport_capacity Use the connection_driver API
      Transport.push() pn_transport_push Use the connection_driver API
      Transport.close_tail() pn_transport_close_tail Use the connection_driver API
      Transport.pending() pn_transport_pending Use the connection_driver API
      Transport.peek() pn_transport_peek Use the connection_driver API
      Transport.pop() pn_transport_pop Use the connection_driver API
      Transport.close_head() pn_transport_close_head Use the connection_driver API
      Transport.closed() pn_transport_closed Use the connection_driver API
      Transport.frames_output() pn_transport_get_frames_output No replacement
      Transport.frames_input() pn_transport_get_frames_input No replacement
      SASL.done() pn_sasl_done Do not use. There is no correct way to use this
      SSLDomain.allow_unsecured_client() pn_ssl_domain_allow_unsecured_client pn_transport_require_encrytion

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kpvdr Kim van der Riet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: