Jackson ; Wei Liu
> > Subject: [PATCH for-4.14] golang/xenlight: fix code generation for python
> > 2.6
> >
> > Before python 2.7, str.format() calls required that the format fields
> > were explicitly enumerated, e.g.:
> >
> > '{0} {1}'.format(
x27; ;
> >> [email protected]
> >> Cc: 'Nick Rosbrook' ; 'Ian Jackson'
> >> ; 'George
> >> Dunlap' ; 'Wei Liu'
> >> Subject: Re: [PATCH for-4.14] golang/xenlight: fix code generation f
rook' ; 'Ian Jackson'
>> ; 'George
>> Dunlap' ; 'Wei Liu'
>> Subject: Re: [PATCH for-4.14] golang/xenlight: fix code generation for
>> python 2.6
>>
>> On 21/07/2020 08:13, Paul Durrant wrote:
>>>> -Original Messa
nproject.org
> >> Cc: [email protected]; Nick Rosbrook ; George Dunlap
> >> ;
> >> Ian Jackson ; Wei Liu
> >> Subject: [PATCH for-4.14] golang/xenlight: fix code generation for python
> >> 2.6
> >>
> >> Before python 2.7, str.format() cal
On 21/07/2020 08:13, Paul Durrant wrote:
>> -Original Message-
>> From: Nick Rosbrook
>> Sent: 21 July 2020 00:55
>> To: [email protected]
>> Cc: [email protected]; Nick Rosbrook ; George Dunlap
>> ;
>> Ian Jackson ; Wei Liu
>> Sub
> -Original Message-
> From: Nick Rosbrook
> Sent: 21 July 2020 00:55
> To: [email protected]
> Cc: [email protected]; Nick Rosbrook ; George Dunlap
> ;
> Ian Jackson ; Wei Liu
> Subject: [PATCH for-4.14] golang/xenlight: fix code generation for python 2.
> Before python 2.7, str.format() calls required that the format fields
> were explicitly enumerated, e.g.:
>
> '{0} {1}'.format(foo, bar)
>
> vs.
>
> '{} {}'.format(foo, bar)
>
> Currently, gengotypes.py uses the latter pattern everywhere, which means
> the Go bindings do not build on python
Before python 2.7, str.format() calls required that the format fields
were explicitly enumerated, e.g.:
'{0} {1}'.format(foo, bar)
vs.
'{} {}'.format(foo, bar)
Currently, gengotypes.py uses the latter pattern everywhere, which means
the Go bindings do not build on python 2.6. Use the 2.6