Really want the gdata API and all the service specific API to support
I need the gdata for python 3.0 too. Not to my surprise, 2to3 does not work
well. It is possible to change the code mannually, but an official package
I gave up on this for the time being, what I did was cheat and installed
Python 2 and then have system calls to invoke the GData components in
Python 2 I just had a wrapper that accepts files to contain the commands
and data that I have to pass in. So push comes to shove there is a way,
not elegant but still a way.
Is there any news about python 3 support?
It would be very useful for a lot of people.
Comment #11 on issue 229 by afs...@google.com: Support Python 3
(No comment was entered for this change.)
Issue 370 has been merged into this issue.
Are there any plans to fix it?
What I can suggest:
- make some changes that will not break compatibility with 2.x:
- "print something" -> "print(something)"
- "except ExceptionName, something" -> "except ExceptionName as something"
- ensure that 2to3 does its job right
- use distutils' built-in tool for running 2to3 while building (from
distutils.command.build_py import build_py_2to3); many modules use that,
check python-markdown as an example
We at ReText (retext.sf.net) are very interested in python3 version of
If you want our help, please feel free to email me.
See http://wiki.python.org/moin/PortingPythonToPy3k for more details on
Thanks for the input, realistically this is not something we are going to
take on at this stage. I am happy to review any patches to make this work.
I've almost finsished the patch to use 2to3 during build, just one question:
Where is DocsClient.Upload fuction? (It was there in 2.0.14, and the
documentation still mentions it. All other functions seem to be still
there). And what's the replacement?
>>> import gdata.docs.client
>>> gdClient = gdata.docs.client.DocsClient()
>>> 'Upload' in dir(gdClient)
Hi, it is not there, upload is handled transparently now if there is media
to upload in create_resource etc.
Can somebody please reply my support request at
https://groups.google.com/forum/#!forum/google-help-dataapi (it's awaiting
moderator approve)? I still can't test my patch because of that thing. :(
This patch is really short, and the previous comment mentions not being
able to test it... but that was a month earlier.
If it is tested, I'd like to try it out, and since it is so short, I'm
wondering why it isn't applied and released.
I suppose I need to get a newer gdata to start from, though, is there a
known minimum released version for this patch, or does the patch only work
with unreleased versions?
> Is there a known minimum released version for this patch, or does the
> patch only work with unreleased versions?
It works with 2.0.15/16/trunk, and should work with some older versions,
> The previous comment mentions not being able to test it.
This patch should make most services support Python 3, if there are some
service-specific issues, please let me know. (I'm not sure if I'll be able
to fix those because Documents is the only service I worked with).