If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Python 3.6 Released With Async Generators/Comprehensions
Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Nice, I have looked forward to the new r-strings, like r"My name is {name}, I am {age} old". Same thing is available in other languages such as C# and JavaScript.
It is nicer than string.format() and do things like "My name is {}, I am {} old".format(name, age);
Nice, I have looked forward to the new r-strings, like r"My name is {name}, I am {age} old". Same thing is available in other languages such as C# and JavaScript.
It is nicer than string.format() and do things like "My name is {}, I am {} old".format(name, age);
You mean 'f-strings', 'r-strings' have existed forever. They're used to escape control characters line "\n", generally in strings for regex.
All this incompatibility between Python2 and Python3, for no apparent reason making me tired of Python. Trying to support packages for both 2 and 3 is a mess and most of the backwards incompatible changes to Python3 makes no sense at all (for example the previously nice map/imap, zip/izip separation gone). New strings is a mess too, maybe nice for some rare presentation layer case but scripts "out there" is decoding everything without a clue. Why are you doing this to us?
The field is wide open for others to take Python's spot (especially scientific).
Comment