python 3 8 new features

Publié le: 18 octobre 2019
sur la chaîne: Softhints - Python, Linux, Pandas
1,046
11

Python 3.8 New Features - code name walrus

https://blog.softhints.com/python-3-8...

For me the most interesting new features are 3:

1. The Walrus Operator
2. Positional-only parameters
3. f-strings support =

Interesting language changes:

1. continue statement is now allowed in finally clause
2. new method as_integer_ratio() for bool, int and Fraction types
3. Added support of \N{name} escapes in regular expressions
4. When the Python interpreter is interrupted by Ctrl-C (SIGINT) and the resulting KeyboardInterrupt exception is not caught, the Python process now exits via a SIGINT signal

other new changes:

Parallel filesystem cache for compiled bytecode files
Debug build uses the same ABI as release build
PEP 578: Python Runtime Audit Hooks
PEP 587: Python Initialization Configuration
Vectorcall: a fast calling protocol for CPython
Pickle protocol 5 with out-of-band data buffers

---------------------------------------------------------------------------------------------------------------------------------------------------------------
Bonus resources

https://docs.python.org/3/whatsnew/3....
https://www.python.org/downloads/rele...
https://tio.run/#python38pr

---------------------------------------------------------------------------------------------------------------------------------------------------------------
Code store

github: https://github.com/softhints/python/
bitbucket: https://bitbucket.org/softhints/

Socials

site: https://softhints.com/
Facebook:   / 435421910242028  
Facebook:   / softhints  
Twitter:   / softwarehints  
Discord:   / discord  


Sur cette page du site, vous pouvez voir la vidéo en ligne python 3 8 new features durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Softhints - Python, Linux, Pandas 18 octobre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,046 fois et il a aimé 11 téléspectateurs. Bon visionnage!