{"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\/sv\/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>Efter ett \u00e5rs utveckling har den nya stabila versionen av det tolkade programmeringsspr\u00e5ket Python 3.13 sl\u00e4ppts. Release inneh\u00e5ller \u00e4ndringar i sj\u00e4lva spr\u00e5ket och dess standardbibliotek. De viktigaste \u00e4ndringarna inkluderar anv\u00e4ndning av en ny <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/glossary.html#term-interactive\">interaktiv tolk<\/a> som standard, experimentellt st\u00f6d f\u00f6r drift i <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-free-threaded-cpython\">free-threaded-l\u00e4ge<\/a> (d.v.s. med avst\u00e4ngd <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>), och <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-jit-compiler\">JIT-kompilatorn<\/a> (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0744\/\">PEP 744<\/a>).<\/p>\n<p><\/noindex><\/noindex>  <noindex><\/p>\n<p>Fr\u00e5n och med denna release inleds \u00f6verg\u00e5ngen till en ny releasecykel f\u00f6r Python (Annual Release Cycle for Python, <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0602\/\">PEP 602<\/a>), p\u00e5 grund av str\u00e4van att ut\u00f6ka perioden f\u00f6r &laquo;fullt st\u00f6d&raquo; f\u00f6r nya utg\u00e5vor:<\/p>\n<p><\/noindex> <\/p>\n<ul>\n<li>Python 3.9\u20133.12 har ett och ett halvt \u00e5r med fullt st\u00f6d, f\u00f6ljt av tre och ett halvt \u00e5r med s\u00e4kerhetsfixar.<\/li>\n<li>Python 3.13 och senare versioner kommer att ha tv\u00e5 \u00e5r med fullt st\u00f6d och tre \u00e5r med s\u00e5rbarhetsfixar.<\/li>\n<\/ul>\n<p> <noindex><\/p>\n<p>Arbetet med <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-improved-error-messages\">att f\u00f6rb\u00e4ttra felmeddelanden<\/a>. Nu markeras traceback; standardf\u00e4rgen. Den inbyggda funktionen locals() har nu <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-locals-semantics\">definierad semantik<\/a> f\u00f6r att \u00e4ndra den returnerade mappningen (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0667\">PEP 667<\/a>), och typparametrar (typing.TypeVar, typing.ParamSpec, typing.TypeVarTuple) st\u00f6djer standardv\u00e4rden (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0696\/\">PEP 696<\/a>).<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>\u00c4ndringar i standardbiblioteket inkluderar borttagning av f\u00f6r\u00e5ldrade API:er och moduler (aifc, audioop, cgi, cgitb, chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu och xdrlib), samt vanliga f\u00f6rb\u00e4ttringar av anv\u00e4ndarv\u00e4nlighet och korrekthet. Flera moduler utesluts fr\u00e5n distributionen p\u00e5 grund av att de har f\u00f6rklarats f\u00f6r\u00e5ldrade i Python 3.11 (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0594\">PEP 594<\/a>), inklusive verktyget och biblioteket 2to3.<\/p>\n<p><\/noindex> <\/p>\n<p>Bland s\u00e4kerhetsf\u00f6rb\u00e4ttringarna b\u00f6r n\u00e4mnas att ssl.create_default_context() nu s\u00e4tter flaggorna ssl.VERIFY_X509_PARTIAL_CHAIN och ssl.VERIFY_X509_STRICT som standard.<\/p>\n<p> <noindex><\/p>\n<p>St\u00f6d f\u00f6r plattformar har lagts till: Apple iOS och Android \u00e4r nu officiella st\u00f6dda plattformar (<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 st\u00f6ds p\u00e5 niv\u00e5 <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0011\/#tier-2\">tier 2<\/a>, medan officiellt st\u00f6d f\u00f6r wasm32-emscripten har upph\u00f6rt.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p><em>F\u00f6r en mer grundlig introduktion till nyheterna i release, se den officiella dokumentationen (f\u00f6r <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/library\/index.html#library-index\">biblioteket<\/a>, f\u00f6r <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/reference\/index.html#reference-index\">spr\u00e5ket<\/a>). F\u00f6lj artikeln <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#porting-to-python-3-13\">&laquo;\u00d6verg\u00e5ng till Python 3.13&raquo;<\/a> f\u00f6r att uppdatera dina projekt till den nya versionen av spr\u00e5ket. Se \u00e4ven <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/changelog.html#changelog\">changelog<\/a>.<\/em><\/p>\n<p><\/noindex><\/p>\n<p>K\u00e4lla: <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.4 - 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\/sv\/blog\/news\/python-3-13\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\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\/sv\/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\/sv\/blog\/news\/python-3-13","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","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\/sv\/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\/sv\/wp-json\/wp\/v2\/posts\/120112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=120112"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/120112\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media\/120113"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=120112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=120112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=120112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}