Add Self to annotate methods that return an instance of their class.Required and NotRequired to mark whether individual TypedDict items must be present.Add TypeVarTuple, enabling parameterisation with an arbitrary number of types.New -P command line option and PYTHONSAFEPATH environment variable.Point to exact expression that caused error when printing tracebacks.Add the tomllib module to the standard library for parsing TOML.Add add_note() method to BaseException to enrich exceptions.Exception Groups and except* to raise and handle multiple unrelated exceptions simultaneously. Python 3.11 claimed to be 10-60% faster than the previous 3.10, and features: Here’s the new features and how to install guide for all current Ubuntu releases. The popular Python programming language released version 3.11 today.
0 Comments
Leave a Reply. |