{"id":110635,"date":"2023-10-05T21:10:21","date_gmt":"2023-10-05T19:10:21","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-python-3-12"},"modified":"2023-10-05T21:10:21","modified_gmt":"2023-10-05T19:10:21","slug":"vypusk-python-3-12","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-python-3-12","title":{"rendered":"Lansarea Python 3.12","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Pe 2 octombrie 2023, a fost lansat\u0103 o nou\u0103 versiune stabil\u0103 a popularului limbaj de programare Python 3.12.<\/p>\n<p>Python este un limbaj de programare de nivel \u00eenalt, de uz general, cu o tipizare dinamic\u0103 strict\u0103 \u0219i gestionare automat\u0103 a memoriei, orientat spre cre\u0219terea productivit\u0103\u021bii dezvoltatorului, lizibilitatea codului \u0219i calitatea acestuia, precum \u0219i asigurarea portabilit\u0103\u021bii programelor scrise \u00een acesta.<\/p>\n<p>Ultima versiune stabil\u0103 Python 3.12 ofer\u0103 o mul\u021bime de modific\u0103ri \u00een limbaj \u0219i biblioteca standard. Modific\u0103rile din bibliotec\u0103 sunt orientate spre cur\u0103\u021barea API-urilor \u00eenvechite, \u00eembun\u0103t\u0103\u021birea u\u0219urin\u021bei de utilizare etc. Men\u021bion\u0103m c\u0103 pachetul distutils a fost eliminat din biblioteca standard (\u00een locul acestuia ar trebui s\u0103 se foloseasc\u0103 setuptools). Suportul pentru sistemul de fi\u0219iere \u00een os \u0219i pathlib a suferit o serie de \u00eembun\u0103t\u0103\u021biri, iar anumite module func\u021bioneaz\u0103 mai bine.<\/p>\n<p>Printre numeroasele modific\u0103ri \u0219i \u00eembun\u0103t\u0103\u021biri, se pot eviden\u021bia urm\u0103toarele: <\/p>\n<ul>\n<li> Analiza mai flexibil\u0103 a \u0219irurilor formatate f, permi\u021b\u00e2nd multe dintre lucrurile care anterior erau imposibile (PEP 701). <\/li>\n<li> Sintaxa \u00eembun\u0103t\u0103\u021bit\u0103 pentru specificarea parametrilor de tip la declararea unei clase generice, func\u021bii sau alias de tip (PEP 695). <\/li>\n<li> Nou API pentru profilere, debugger-e \u0219i alte instrumente pentru monitorizarea evenimentelor \u00een CPython (PEP 669). <\/li>\n<li> Suport pentru subinterpretoare izolate cu bloc\u0103ri globale separate ale interpretatorului GIL (PEP 684). Programele scrise utiliz\u00e2nd subinterpretoare pot beneficia de paralele multicore, care anterior erau imposibile din cauza GIL. <\/li>\n<li> Mesaje de eroare \u00eembun\u0103t\u0103\u021bite. \u00cen caz de erori cauzate de poten\u021biale gre\u0219eli de tipar, sunt oferite sugestii de corectare. <\/li>\n<li> Suport pentru profilerul de performan\u021b\u0103 Linux perf pentru a transmite numele func\u021biilor Python la debugger. <\/li>\n<li> Multe \u00eembun\u0103t\u0103\u021biri majore \u0219i minore ale performan\u021bei (de exemplu, vezi PEP 709, care abordeaz\u0103 \u00eembun\u0103t\u0103\u021birea performan\u021bei generatorului de liste list comprehension, suportul pentru optimizatorul binar BOLT etc.), asigur\u00e2nd o cre\u0219tere general\u0103 a performan\u021bei de aproximativ 5%. <noindex><\/li>\n<\/ul>\n<p><noindex><\/p>\n<p><a rel=\"nofollow\" href=\"https:\/\/www.python.org\/downloads\/release\/python-3120\/\">Anun\u021bul lans\u0103rii<\/a><\/p>\n<p><\/noindex><\/p>\n<p>O mic\u0103 not\u0103 de optimism poetic din partea editorilor edi\u021biei \u0219i Brian Bilston \ud83d\ude42<\/noindex> Ei nu au nevoie de ajutorul nostru A\u0219a c\u0103 nu-mi spune c\u0103 Aceste fe\u021be obosite ar putea apar\u021bine \u021bie sau mie Dac\u0103 via\u021ba ar fi oferit o alt\u0103 carte Trebuie s\u0103-i vedem pentru cine sunt cu adev\u0103rat \u0218mecheri \u0219i cer\u0219etori Z\u0103c\u0103tori \u0219i lene\u0219i Cu bombe ascunse \u00een m\u00e2neci T\u0103ietori de g\u00e2turi \u0219i ho\u021bi Nu sunt Bineveni\u021bi aici Trebuie s\u0103-i facem S\u0103 se \u00eentoarc\u0103 de unde au venit Nu pot \u00cemp\u0103r\u021bi hrana noastr\u0103 \u00cemp\u0103r\u021bi casele noastre \u00cemp\u0103r\u021bi \u021b\u0103rile noastre \u00cen schimb, s\u0103 construim Un zid pentru a-i \u021bine departe Nu este \u00een regul\u0103 s\u0103 spunem C\u0103 ace\u0219tia sunt oameni ca noi Un loc ar trebui s\u0103 apar\u021bin\u0103 doar celor care s-au n\u0103scut acolo Nu fii at\u00e2t de prost s\u0103 g\u00e2nde\u0219ti c\u0103 Lumea poate fi privit\u0103 altfel (acum cite\u0219te de la fund la v\u00e2rf)  <\/p>\n<p>Sursa: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/development\/17368812\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>2 \u043e\u043a\u0442\u044f\u0431\u0440\u044f 2023 \u0433\u043e\u0434\u0430 \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 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\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.12. Python \u2014 \u044d\u0442\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c\u044e, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u043a\u043e\u0434\u0430 \u0438 \u0435\u0433\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043d\u0451\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f Python 3.12 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-110635","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"2 \u043e\u043a\u0442\u044f\u0431\u0440\u044f 2023 \u0433\u043e\u0434\u0430 \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 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\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.12.Python \u2014 \u044d\u0442\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438.\" \/>\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\/vypusk-python-3-12\" \/>\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\udd47\u0412\u044b\u043f\u0443\u0441\u043a Python 3.12 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"2 \u043e\u043a\u0442\u044f\u0431\u0440\u044f 2023 \u0433\u043e\u0434\u0430 \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 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\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.12.Python \u2014 \u044d\u0442\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-python-3-12\" \/>\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=\"2023-10-05T19:10:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-10-05T19:10:21+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\udd47Lansarea Python 3.12 | ProHoster","description":"Pe 2 octombrie 2023 a fost lansat\u0103 o nou\u0103 versiune stabil\u0103 a limbajului de programare popular Python 3.12. Python este un limbaj de programare de nivel \u00eenalt, de uz general, cu tipare dinamice stricte.","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-python-3-12","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\udd47\u0412\u044b\u043f\u0443\u0441\u043a Python 3.12 | ProHoster","og:description":"2 \u043e\u043a\u0442\u044f\u0431\u0440\u044f 2023 \u0433\u043e\u0434\u0430 \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 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\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.12.Python \u2014 \u044d\u0442\u043e \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u0433\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438.","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/vypusk-python-3-12","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":"2023-10-05T19:10:21+00:00","article:modified_time":"2023-10-05T19:10:21+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/110635","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=110635"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/110635\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=110635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=110635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=110635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}