You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2013/12/09 19:46:08 UTC

[jira] [Resolved] (PROTON-475) [python] Proton wrapper API's use of time values is inconsistent

     [ https://issues.apache.org/jira/browse/PROTON-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti resolved PROTON-475.
-------------------------------

    Resolution: Fixed

> [python] Proton wrapper API's use of time values is inconsistent
> ----------------------------------------------------------------
>
>                 Key: PROTON-475
>                 URL: https://issues.apache.org/jira/browse/PROTON-475
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.5
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>             Fix For: 0.6
>
>
> The precision used for timeout values in the Python API is inconsistent.  In some case (messenger's timeout for example), timeouts are expressed in seconds using a float.   In other cases, (driver wait(), etc), timeouts are expressed in milliseconds.
> To be consistent with the Python time module, we should be expressing timeout values as seconds using a float.  
> There should be no change to the AMQP timestamp type, of course, which is defined as milliseconds since unix epoch.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)