spec.py assumes constant values are unique
------------------------------------------

                 Key: QPID-505
                 URL: https://issues.apache.org/jira/browse/QPID-505
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
            Reporter: Gordon Sim
            Assignee: Rafael H. Schloming
            Priority: Minor


The spec file contains <constant> elements. The spec.py code that processes the 
spec file(s) assumes that the value of each constant will be unique. It uses 
this assumption to create an index by id, which is then used to process 
incoming frame types.

In general values need not be unique so this should be altered in some way. (To 
be useful, some of the constants should really be defined as enums to show the 
relationship between them, but that would need to be taken up with the protocol 
working group).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to