{"id":120112,"date":"2024-10-09T01:09:20","date_gmt":"2024-10-08T23:09:20","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/python-3-13"},"modified":"2024-10-09T01:09:20","modified_gmt":"2024-10-08T23:09:20","slug":"python-3-13","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/python-3-13","title":{"rendered":"Python 3.13","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/images\/21496\/original.png\" itemprop=\"contentURL\">            <img decoding=\"async\" alt=\"Python 3.13\" src=\"\/wp-content\/uploads\/2024\/10\/29fbb8b096afc4b042cb5a082bf17061.jpg\" style=\"display:block;margin: 0 auto;\" \/>                   <\/a>                         <noindex>      <noindex><\/p>\n<p>Dup\u0103 un an de dezvoltare, a fost lansat\u0103 o nou\u0103 versiune stabil\u0103 a limbajului de programare interpretat Python 3.13. Aceast\u0103 versiune include modific\u0103ri \u00een limbajul propriu-zis \u0219i \u00een biblioteca sa standard. Cele mai importante modific\u0103ri includ utilizarea noului <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/glossary.html#term-interactive\">interpreter interactiv<\/a> implicit, suport experimental pentru func\u021bionarea \u00een <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-free-threaded-cpython\">mod free-threaded<\/a> (adic\u0103 cu dezactivarea <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/glossary.html#term-global-interpreter-lock\">global interpreter lock<\/a>) (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0703\/\">PEP 703<\/a>), \u0219i <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-jit-compiler\">un compilator JIT<\/a> (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0744\/\">PEP 744<\/a>).<\/p>\n<p><\/noindex><\/noindex>  <noindex><\/p>\n<p>\u00cencep\u00e2nd cu aceast\u0103 versiune, a fost implementat un nou ciclu de lans\u0103ri Python (Ciclul de Lans\u0103ri Annual pentru Python, <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0602\/\">PEP 602<\/a>), datorit\u0103 dorin\u021bei de a extinde perioada &laquo;suportului complet&raquo; pentru noile versiuni:<\/p>\n<p><\/noindex> <\/p>\n<ul>\n<li>Python 3.9\u20133.12 beneficiaz\u0103 de un an \u0219i jum\u0103tate de suport complet, urmate de trei ani \u0219i jum\u0103tate de corecturi de securitate.<\/li>\n<li>Python 3.13 \u0219i versiunile ulterioare vor avea doi ani de suport complet \u0219i trei ani de corecturi pentru vulnerabilit\u0103\u021bi.<\/li>\n<\/ul>\n<p> <noindex><\/p>\n<p>Se continu\u0103 lucr\u0103rile pentru <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-improved-error-messages\">\u00eembun\u0103t\u0103\u021birea mesajelor de eroare<\/a>. Acum, traceback-urile sunt eviden\u021biate \u00een mod implicit cu culoare. Func\u021bia \u00eencorporat\u0103 locals() are acum <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-locals-semantics\">o semnifica\u021bie specific\u0103<\/a> pentru modificarea mapei returnate (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0667\">PEP 667<\/a>), iar parametrii de tip (typing.TypeVar, typing.ParamSpec, typing.TypeVarTuple) accept\u0103 valori implicite (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0696\/\">PEP 696<\/a>).<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Modific\u0103rile din biblioteca standard includ eliminarea unor API-uri \u0219i module \u00eenvechite (aifc, audioop, cgi, cgitb, chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu \u0219i xdrlib), precum \u0219i \u00eembun\u0103t\u0103\u021biri \u00een domeniul prieteniei utilizatorului \u0219i al corectitudinii. Mai multe module sunt excluse din livrare deoarece au fost declarate \u00eenvechite \u00een Python 3.11 (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0594\">PEP 594<\/a>), inclusiv instrumentul \u0219i biblioteca 2to3.<\/p>\n<p><\/noindex> <\/p>\n<p>Dintre \u00eembun\u0103t\u0103\u021birile de securitate, merit\u0103 men\u021bionat c\u0103 ssl.create_default_context() seteaz\u0103 implicit flag-urile ssl.VERIFY_X509_PARTIAL_CHAIN \u0219i ssl.VERIFY_X509_STRICT.<\/p>\n<p> <noindex><\/p>\n<p>A fost ad\u0103ugat suport pentru platforme: Apple iOS \u0219i Android sunt acum platforme oficial suportate (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0011\/#tier-3\">tier 3<\/a>) (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0730\/\">PEP 730<\/a>, <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0738\/\">738<\/a>). wasm32-wasi este suportat la nivelul <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0011\/#tier-2\">tier 2<\/a>, iar suportul oficial pentru wasm32-emscripten a fost \u00eencetat.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p><em>Pentru o prezentare mai am\u0103nun\u021bit\u0103 a nout\u0103\u021bilor din versiune, consulta\u021bi documenta\u021bia oficial\u0103 (pentru <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/library\/index.html#library-index\">biblioteca<\/a>, pentru <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/reference\/index.html#reference-index\">limbaj<\/a>). Urma\u021bi articolul <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#porting-to-python-3-13\">&laquo;Trecerea la Python 3.13&raquo;<\/a> pentru a actualiza proiectele voastre la noua versiune a limbajului. Consulta\u021bi de asemenea. <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/changelog.html#changelog\">changelog<\/a>.<\/em><\/p>\n<p><\/noindex><\/p>\n<p>Sursa: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/development\/17751719\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u0433\u043e\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u044b\u0448\u043b\u0430 \u043d\u043e\u0432\u0430\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python 3.13. \u0420\u0435\u043b\u0438\u0437 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044f\u0437\u044b\u043a\u0435 \u0438 \u0435\u0433\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435. \u041a \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 free-threaded (\u0442. \u0435. \u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c global interpreter lock) (PEP 703), \u0438 JIT-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 (PEP 744). \u0421 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u043b\u0438\u0437\u0430 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0451\u043d [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":120113,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-120112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/news\/python-3-13\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Python 3.13 | ProHoster\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/python-3-13\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-10-08T23:09:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-10-08T23:09:20+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Python 3.13 | ProHoster","description":"","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/python-3-13","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ro_RO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Python 3.13 | ProHoster","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/python-3-13","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2024-10-08T23:09:20+00:00","article:modified_time":"2024-10-08T23:09:20+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"120112","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 07:10:22","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 07:10:22","updated":"2026-01-23 07:10:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/120112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=120112"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/120112\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media\/120113"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=120112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=120112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=120112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}