That caused the error, instead of just the line. When printing tracebacks, the interpreter will now point to the exact expression New Features ¶ PEP 657: Fine-grained error locations in tracebacks ¶ Macros converted to static inline functions Py_UNICODE encoder APIs have been removed Many legacy standard library modules have been deprecated and will be removed in Python 3.13 Important deprecations, removals and restrictions: PEP 655: Marking individual TypedDict items as required or not-required Variable to disable automatically prepending potentially unsafe paths to sys.path New -P command line option and PYTHONSAFEPATH environment PEP 657: Fine-grained error locations in tracebacks Support for parsing TOML in the Standard Library PEP 678: Exceptions can be enriched with notes On average, we measured a 1.25x speedup on the standard benchmark suite. Python 3.11 is between 10-60% faster than Python 3.10. This article explains the new features in Python 3.11, compared to 3.10.įor full details, see the changelog. I don’t see any speedups in my workload.How should I write my code to utilize these speedups?.PEP 659: Specializing Adaptive Interpreter.PEP 655: Marking individual TypedDict items as required or not-required.PEP 678: Exceptions can be enriched with notes.PEP 657: Fine-grained error locations in tracebacks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |