← Back to team overview

u1db-discuss team mailing list archive

Re: python 3

 

On Sat, Feb 25, 2012 at 12:51 PM, John Arbash Meinel
<john@xxxxxxxxxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2/25/2012 2:05 AM, Pavol Klacansky wrote:
>> Hi,
>>
>> I would like to start write daemon in python 3, which uses u1db
>> for storing data. Is there any plans for supporting python 3? I can
>> possibly make port
>>
>> Thanks
>>
>
> I think we would be happy to have a python 3 port, and would be
> willing to accommodate some changes. At the moment, our target is
> still Python 2 because that is still the primary python on Ubuntu,
> though that is likely to change over the next year or so.
>
> I don't expect there to be much difficulty in porting to Python 3 for
> the pure-python implementation.
>
> Probably the biggest issue is dependencies. I believe testtools and
> likely testscenarios have Python 3 support, json support shouldn't be
> an issue, etc.
>

testtools has Python 3 support, as it's written in the much reviled
intersection between 2 and 3. `testtools.compat` is a good starting
point for doing the same.[1]

jml

[1] http://mumak.net/testtools/apidocs/testtools.compat.html
> ATM, it isn't a key issue for us, but it is likely to happen eventually.


References