git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python 2 EOL; what about P2 packages


On 12.05.2019 16:38, GerritM wrote:
> Any suggestions how to port to Python 3, when using Python 2 only packages?

You need to decide for each package whether to port it or to replace it.

HTMLgen is probably a pure Python package. It should not be too hard to 
port it to Python 3 yourself.

At the time, mx.DateTime filled a gap. Python has had a standard module 
'datetime' for some years now. When moving to Python 3 I replaced my 
usages of mx.DateTime with datetime and pytz.

Regards,

Dietmar