You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/04/07 12:56:05 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13016802#comment-13016802 ]
Hudson commented on ZOOKEEPER-1028:
-----------------------------------
Integrated in ZooKeeper-trunk #1146 (See [https://hudson.apache.org/hudson/job/ZooKeeper-trunk/1146/])
ZOOKEEPER-1028. In python bindings, zookeeper.set2() should return a stat dict but instead returns None. (Chris Medaglia and Ivan Kelly via mahadev)
> 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