[
https://issues.apache.org/jira/browse/ZOOKEEPER-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flavio Junqueira updated ZOOKEEPER-732:
---------------------------------------
Attachment: ZOOKEEPER-732-trunk.patch
ZOOKEEPER-732-b3.4.patch
Patch didn't apply cleanly so I have updated and uploaded new patches.
> Improper translation of error into Python exception
> ---------------------------------------------------
>
> Key: ZOOKEEPER-732
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-732
> Project: ZooKeeper
> Issue Type: Bug
> Components: contrib-bindings
> Affects Versions: 3.3.0
> Reporter: Gustavo Niemeyer
> Assignee: Lei Zhang
> Priority: Minor
> Fix For: 3.4.6, 3.5.0
>
> Attachments: ZOOKEEPER-732-b3.4.patch, ZOOKEEPER-732.patch,
> ZOOKEEPER-732.patch, ZOOKEEPER-732-trunk.patch
>
>
> Apparently errors returned by the C library are not being correctly converted
> into a Python exception in some cases:
> >>> zookeeper.get_children(0, "/", None)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> SystemError: error return without exception set
--
This message was sent by Atlassian JIRA
(v6.1#6144)