4 ms·
And the multiprocessing and threading pools. And collections.ChainMap. And f-strings. And yield from. And type hints. And statistics. And ipadress. And s
by sametmax 9y ago
And the multiprocessing and threading pools.
And collections.ChainMap.
And f-strings.
And yield from.
And type hints.
And statistics.
And ipadress.
And secrets.
And matmul.
And subprocess.run.
Come on, Python 3 is packed with awesomeness !
- dozzie 9y agoEvery time somebody mentions how awsome f-strings are makes me laugh. It was around ten years ago when Python community was looking down at Perl and shell with their string interpolation, but now that Python got pretty much the same it's suddenly not considered a misfeature.
- has2k1 9y agoHave you considered that maybe the language had not evolved enough for them to be appealing. With b'' and u'' string syntax coming into the language, there is a realisation that string interpolation can be an opt-in feature among other reasons. What you have is decision making analogous to the function evaluate(string_interpolation, python_ecosystem) which is different from evaluate(string_interpolation)
- dozzie 9y ago> With b'' and u'' string syntax coming into the language, there is a realisation that string interpolation can be an opt-in feature among other reasons. This argument won't fly. Did you know that string interpolation in Perl and shell was always an opt-in feature? And despite that it was frowned upon by Python community.
- sametmax 9y agoWe were wrong. We aknowledged it and improved. It's a good thing.
- dagw 9y agomultiprocessing and threading pools While certainly awesome, these are in python 2.7 as well. Although I don't remember if they where in 2.7 first of back-ported to 2.7 from 3.