python 3 8 new features

Published: 18 October 2019
on channel: 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  


On this page of the site you can watch the video online python 3 8 new features with a duration of hours minute second in good quality, which was uploaded by the user Softhints - Python, Linux, Pandas 18 October 2019, share the link with friends and acquaintances, this video has already been watched 1,046 times on youtube and it was liked by 11 viewers. Enjoy your viewing!