[
https://issues.apache.org/jira/browse/ZOOKEEPER-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012964#comment-13012964
]
Chris Medaglia commented on ZOOKEEPER-1028:
-------------------------------------------
Hmm, sorry about that. When I made that change, the function returned the stat
dict properly, whereas prior to the change, it just returned None. Thanks for
taking a closer look and finding a better solution.
> 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
> Assignee: Chris Medaglia
> Priority: Minor
> Labels: patch
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1028.diff, 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
> that 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