You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Chris Medaglia (JIRA)" <ji...@apache.org> on 2011/03/24 21:35:05 UTC

[jira] [Updated] (ZOOKEEPER-1028) In python bindings, zookeeper.set2() should return a stat dict but instead returns None

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

Chris Medaglia updated ZOOKEEPER-1028:
--------------------------------------

    Attachment: ZOOKEEPER-1028.patch

The patch includes the change to zookeeper.c and to get_set_test.py.

> In python bindings, zookeeper.set2() should return a stat dict but instead returns None
> ---------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1028
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1028
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib-bindings
>    Affects Versions: 3.3.3
>         Environment: All environments.
>            Reporter: Chris Medaglia
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4
>
>         Attachments: ZOOKEEPER-1028.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> There is a small bug in the python bindings, specifically with the zookeeper.set2() call. This method should return a stat dictionary, but actually returns None. The fix is a one-character change to zookeeper.c such the return value is '&stat' rather than 'stat'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira