Hello guys,

the most part of code is adapted to be compatible with Python 2/3 already. So, 
before contribute new Python code, please read this docs/articles:

1) https://wiki.python.org/moin/PortingToPy3k/BilingualQuickRef
2) http://python3porting.com/differences.html?highlight=raise#raise

Pay attention on a fact, that our python code is compatible with Python 2.4 
too, and we would like to save backward compatibility (if you see 'strange' 
construction in code, this is
because of Python 2.4).


----- Original Message -----
From: "Gennadii Altukhov" <galtu...@redhat.com>
To: spacewalk-devel@redhat.com
Sent: Tuesday, May 3, 2016 10:31:11 AM
Subject: Re: [Spacewalk-devel] Python 2/3 compatibility

Hi,
We have already added changes w/o 'six'. We use only data types and reraise 
from 'six', so we extract this into our own micro-six.


----- Original Message -----
From: "Duncan Mac-Vicar P." <dmacvi...@suse.de>
To: spacewalk-devel@redhat.com
Sent: Monday, May 2, 2016 10:37:11 PM
Subject: Re: [Spacewalk-devel] Python 2/3 compatibility

On 04/07/2016 06:41 PM, Gennadii Altukhov wrote:
> PS Yes, I know about 'six' module, but I'm not sure we will use it.

Can you explain why?

-- 
Duncan Mac-Vicar P. - http://www.suse.com/

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu,
Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany




_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to