You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jimmy John (JIRA)" <qp...@incubator.apache.org> on 2007/05/24 18:49:16 UTC
[jira] Updated: (QPID-498) python code.py handling of data types
beyond acceptable range.
[ https://issues.apache.org/jira/browse/QPID-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy John updated QPID-498:
----------------------------
Attachment: exception.py
constants.py
codec.py
Attached are the files that resolve this issue.
All files to be placed in python/qpid directory
code.py
------------
1. added doc strings for all functions
2. added appropriate range checks
exception.py
---------------------
new exception module that describes the channel and connection exceptions. I think that all exceptions should be subclasses from these. Utility methods are provided to extract the error code, error descriptions etc.
constants.py
-------------------
module containing the global error codes and error descriptions. Global data can be placed here.
The unit test tests_0-9/codec.py now passes successfully.
Let me know if you have any questions....
Jimmy
> python code.py handling of data types beyond acceptable range.
> --------------------------------------------------------------
>
> Key: QPID-498
> URL: https://issues.apache.org/jira/browse/QPID-498
> Project: Qpid
> Issue Type: Bug
> Components: Python Client
> Reporter: Jimmy John
> Priority: Minor
> Attachments: codec.py, constants.py, exception.py
>
>
> Perform range checking on all data types such as octet[0,255], short[0,65535], long etc. [Refer QPID-497 for unit test that detects these bugs]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.