[Rivet] Python 3

David Grellscheid david.grellscheid at durham.ac.uk
Mon Nov 20 13:08:27 GMT 2017


Hi Andy,

2to3 doesn't cover text IO very much, where Py3 (rightly) forces you to
be careful about the encoding, and makes a strongly typed distinction
between texts and byte sequences.

  David


Once it's checked, we can have emoji .info files ;-)



On 18/11/2017 12:56, Andy Buckley wrote:
> Thanks David. Actually, I thought I'd already done everything flagged
> up by 2to3 other than the overzealous list() calls on every returned
> iterator... guess I missed some.
> 
> Andy
> 
> 
> On 17 November 2017 at 22:33, David Grellscheid
> <david.grellscheid at durham.ac.uk> wrote:
>> Hi all,
>>
>> I've gone through the core features of YODA and Rivet, and made them
>> Python-3-compatible on the default branches. I have not tested all
>> helper scripts yet, so if you notice anything odd, please let me know,
>> and I'll fix it. I'll go through everything in the next days.
>>
>> Also, I haven't run a python 2.6 test yet, most likely the UI is broken
>> for such old pythons now, and I'm not sure how much effort the
>> compatibility would be yet, we'll need to see if it's even worth trying.
>> Python 2.7.3 (April 2012) onwards should work.
>>
>> See you,
>>
>>   David
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet
> 
> 
> 


More information about the Rivet mailing list