Hey there everyone ๐!
To all the Python lovers out there, the wait is OVER!!
๐ฎ History
Python is a high-level
, general-purpose
programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured, object-oriented and functional programming.
It was released on 20 February 1991, around 3 decades ago๐คฏ.
๐ฆ Python 3.11.0 update
Python released it's 3.11.0
update on 24 Oct, 2022. The update we've all been waiting for a long time. Head over to Python Site to download it.
Take a look at me already using it.
๐ฒ New Features
A lot of new features came into Python with this new update.
๐ General Changes
-
PEP 657
-- Include Fine-Grained Error Locations in Tracebacks -
PEP 654
-- Exception Groups andexcept*
-
PEP 680
--tomllib
: Support for Parsing TOML in the Standard Library -
gh-90908
-- Introduce task groups to asyncio -
gh-34627
-- Atomic grouping((?>...))
and possessive quantifiers(*+, ++, ?+, {m,n}+)
are now supported in regular expressions. - Python 3.11 is up to 10-60% faster than Python 3.10. On average, they measured a 1.22x speedup on the standard benchmark suite.
๐ฆ Type Changes
- Self Type
-
Variadic
Generics -
Arbitrary Literal String
Type - Marking individual
TypedDict
items asrequired
orpotentially-missing
-
Data Class
Transforms
๐ชธ Personal Views
I am a constant follower of python news and updates and the moment this update came out I started looking into it.
PEP 657
-- Include Fine-Grained Error Locations in Tracebacks
When printing tracebacks, the interpreter will now point to the exact expression that caused the error instead of just the line.
PEP 680
--tomllib
: Support for Parsing TOML in the Standard Library
A new module, tomllib
, was added for parsing TOML. (Contributed by Taneli Hukkinen in bpo-40059
)
Updated Modules
-
math.exp2()
: return 2 raised to the power of x. -
math.cbrt()
: return the cube root of x.
and many more...
๐ Connect with me
-
Mail -
akashpattnaik.github@gamil.com
-
Github -
BLUE-DEVIL1134