[jira] [Commented] (ZOOKEEPER-877) zkpython does not work with python3.1

2013-10-08 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789112#comment-13789112
 ] 

Hudson commented on ZOOKEEPER-877:
--

SUCCESS: Integrated in ZooKeeper-trunk #2082 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2082/])
ZOOKEEPER-877. zkpython does not work with python3.1 (Daniel Enman via phunt) 
(phunt: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1530166)
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/contrib/zkpython/src/c/zookeeper.c
* /zookeeper/trunk/src/contrib/zkpython/src/python/zk.py
* /zookeeper/trunk/src/contrib/zkpython/src/test/connection_test.py
* /zookeeper/trunk/src/contrib/zkpython/src/test/get_set_test.py
* /zookeeper/trunk/src/contrib/zkpython/src/test/zktestbase.py


> zkpython does not work with python3.1
> -
>
> Key: ZOOKEEPER-877
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-877
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: contrib-bindings
>Affects Versions: 3.3.1
> Environment: linux+python3.1
>Reporter: TuxRacer
>Assignee: Daniel Enman
> Fix For: 3.4.6, 3.5.0
>
> Attachments: Doc.tgz, tests_py3k.tgz, ZOOKEEPER-877.patch, 
> zookeeper.c, zookeeper.c.patch.v1, zookeeper.c.patch.v2, zookeeper.c.v2, 
> zookeeper.rst
>
>
> as written in the contrib/zkpython/README file:
> "Python >= 2.6 is required. We have tested against 2.6. We have not tested 
> against 3.x."
> this is probably more a 'new feature' request than a bug; anyway compiling 
> the pythn module and calling it returns an error at load time:
> python3.1
> Python 3.1.2 (r312:79147, May  8 2010, 16:36:46) 
> [GCC 4.4.4] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import zookeeper
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: /usr/local/lib/python3.1/dist-packages/zookeeper.so: undefined 
> symbol: PyString_AsString
> are there any plan to support Python3.X?
> I also tried to write a 3.1 ctypes wrapper but the C API seems in fact to be 
> written in C++, so python ctypes cannot be used.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (ZOOKEEPER-877) zkpython does not work with python3.1

2013-05-14 Thread Flavio Junqueira (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657687#comment-13657687
 ] 

Flavio Junqueira commented on ZOOKEEPER-877:


@phunt, should we try to get this in?

> zkpython does not work with python3.1
> -
>
> Key: ZOOKEEPER-877
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-877
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: contrib-bindings
>Affects Versions: 3.3.1
> Environment: linux+python3.1
>Reporter: TuxRacer
>Assignee: Daniel Enman
> Fix For: 3.5.0
>
> Attachments: Doc.tgz, tests_py3k.tgz, ZOOKEEPER-877.patch, 
> zookeeper.c, zookeeper.c.patch.v1, zookeeper.c.patch.v2, zookeeper.c.v2, 
> zookeeper.rst
>
>
> as written in the contrib/zkpython/README file:
> "Python >= 2.6 is required. We have tested against 2.6. We have not tested 
> against 3.x."
> this is probably more a 'new feature' request than a bug; anyway compiling 
> the pythn module and calling it returns an error at load time:
> python3.1
> Python 3.1.2 (r312:79147, May  8 2010, 16:36:46) 
> [GCC 4.4.4] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import zookeeper
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: /usr/local/lib/python3.1/dist-packages/zookeeper.so: undefined 
> symbol: PyString_AsString
> are there any plan to support Python3.X?
> I also tried to write a 3.1 ctypes wrapper but the C API seems in fact to be 
> written in C++, so python ctypes cannot be used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira