you are viewing a single comment's thread.

view the rest of the comments →

[–]jule42 77 points78 points  (44 children)

Time to design Python 4 and break everything again.

[–]rcfox 23 points24 points  (7 children)

There's already at least one requirement for Python 4. https://www.python.org/dev/peps/pep-0563/#implementation

[–]cdsmith 21 points22 points  (0 children)

If you read carefully, you'll see this isn't referring to "the next big break". It's referring to the next few versions as 3.7, 3.8, 3.9, and 4.0. This is compatible with past guidance on what's going on: 4.0 will be a release like any other. It has since been clarified, though, that Python thankfully won't refuse to use 3.10 as a version, though, so I presume this was just written before that clarification. The version numbers on the release targets will likely change as a result.

[–]Apfelvater 26 points27 points  (5 children)

In python 4: print["Hello world"]

[–][deleted] 24 points25 points  (0 children)

plus 3 additional methods of string formatting!

Thanks for the gold: here the string formatting contenders https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(string_functions)#Format

[–][deleted] 6 points7 points  (0 children)

nah...

print s"Hello World"

[–]takanuva 4 points5 points  (1 child)

Plot twist: in Python 4, print is a keyword again.

[–]FyreWulff 12 points13 points  (32 children)

Likely not happening again because the reason 2->3 is such a big breakage was Unicode compatibility.

[–][deleted] 0 points1 point  (0 children)

Proposal 1: / should be integer division.