Any news on support for Python 3.2?

32 views
Skip to first unread message

leac...@gmail.com

unread,
Mar 11, 2013, 12:21:38 AM3/11/13
to couch...@googlegroups.com
Any news on support for Python 3.2?

Benoit Chesneau

unread,
Mar 11, 2013, 2:04:34 AM3/11/13
to couch...@googlegroups.com


On Monday, March 11, 2013 5:21:38 AM UTC+1, leac...@gmail.com wrote:
Any news on support for Python 3.2?

it's on my list this month, but no deadline yet.  I still need to port restkit to 3.3 couchdbkit should be straightforward.

Maybe I will sprint on it during the Pycon.

- benoît





James Dingwall

unread,
Mar 13, 2013, 12:45:27 PM3/13/13
to couch...@googlegroups.com
This afternoon I managed to get restkit 4.2.1 and couchdbkit 0.6.4 working with Python 3.2 for at least this to print out my document.

                client_opts = {}
                client_opts["ca_certs"] = "ca.crt"
                client_opts["certfile"] = "client.crt"
                client_opts["keyfile"] = "client.key"
                server = Server(uri="https://someserver:6984", **client_opts)
                db = server.get_db("a_database")
                doc = db.get("a_doc_id")
                print(doc)

If it is of interest I can fork the repo on github with my changes.  I've not done much Python so I can't say much about the correctness of my code and I'm pretty sure some of it would break compatibility with Python2.x.

Regards,
James

Benoit Chesneau

unread,
Apr 12, 2013, 1:45:13 AM4/12/13
to couch...@googlegroups.com
Pleqse send a PR to the project, if all tests pass it can be merged.

- benoit 
Reply all
Reply to author
Forward
0 new messages