Linux distributions and Python 2
Linux distributions and Python 2
Posted Jun 15, 2018 15:28 UTC (Fri) by togga (subscriber, #53103)In reply to: Linux distributions and Python 2 by remicardona
Parent article: Linux distributions and Python 2
My experience is the opposite. With a py3 project, you are almost guaranteed to end up in an encoding hell. For me, py3 projects raises the "over-engineered" or "system architecture by syntax convenience" flags and you may find yourself in a world of software pain.
Posted Mar 5, 2021 11:22 UTC (Fri)
by LtWorf (subscriber, #124958)
[Link] (3 responses)
Posted Mar 5, 2021 12:02 UTC (Fri)
by pizza (subscriber, #46)
[Link] (2 responses)
Posted Mar 5, 2021 15:59 UTC (Fri)
by LtWorf (subscriber, #124958)
[Link] (1 responses)
Anyway for "random data in the world" python3 is way better than python2. Which is why the change was made.
In python2 you couldn't really rely on ranges or indexes on strings, because you never knew if you would be splitting a unicode sequence and creating something broken.
But, it worked most of the times… it would just fail when unexpected unicode sequences appeared.
Posted Mar 5, 2021 16:15 UTC (Fri)
by foom (subscriber, #14868)
[Link]
But, it works most of the time… it will just fail when unexpected unicode sequences appear (combining accents, or emoji skin tone modifiers, or flags, or ...)
Contrast this with perl6, which has built in support for correctly preserving grapheme clusters in it's string methods.
Linux distributions and Python 2
Linux distributions and Python 2
Linux distributions and Python 2
Linux distributions and Python 2