Python 3.14.0 का आधिकारिक संस्करण जारी
(discuss.python.org)Python 3.14.0 का आधिकारिक संस्करण जारी 🐍
Python 3.14.0 का आधिकारिक संस्करण जारी कर दिया गया है। इस अपडेट में performance सुधार और नए features जोड़ने पर ज़ोर दिया गया है।
मुख्य features
- PEP 779: Free-threaded Python के लिए आधिकारिक समर्थन: अब कई threads में Python code को एक साथ चलाया जा सकता है, जिससे multicore processors का अधिक कुशल उपयोग संभव है।
- PEP 649: annotation evaluation को defer करना: type hints जैसी annotations के evaluation को बाद में टालकर startup time कम किया जाता है।
- PEP 750: template string literals (t-strings): f-string जैसे लेकिन अधिक सुरक्षित और flexible नए string format।
- PEP 734: stdlib में multiple interpreters: एक ही process में कई स्वतंत्र Python interpreters चलाए जा सकते हैं।
- PEP 784: नया
compression.zstdmodule: Zstandard compression algorithm के समर्थन से तेज़ और अधिक कुशल data compression संभव है। - PyREPL में syntax highlighting और color support:
unittest,argparse,json,calendarCLI में colors का समर्थन जोड़कर readability बेहतर की गई है।
मुख्य बदलाव
- PEP 761: release artifacts के लिए PGP signatures बंद: अब PGP signatures नहीं दिए जाएंगे और Sigstore के उपयोग की सिफारिश की गई है।
- experimental JIT compiler शामिल: आधिकारिक macOS और Windows release binaries में experimental JIT compiler शामिल है, जिससे performance बेहतर हो सकती है।
- आधिकारिक Android binary release: अब Android पर भी Python को आधिकारिक रूप से इस्तेमाल किया जा सकता है।
- नया Windows installer: इसे एक नए installer से बदला जा रहा है, जिसे Windows Store या download page से install किया जा सकता है।
5 टिप्पणियां
https://github.com/python/cpython/pull/125035
वाह, काफ़ी दिलचस्प है।
इंटरव्यू में जानकार दिखने के लिए GIL का नाम उछालने वाले दिन भी अब खत्म हो गए।
अब सचमुच यह Py(3.14)thon है
एक पल के लिए समझ ही नहीं आया कि क्या बात हो रही है हाहाहाहा