{"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\/no\/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>Etter ett \u00e5r med utvikling er den nye stabile versjonen av det tolket programmeringsspr\u00e5ket Python 3.13 n\u00e5 tilgjengelig. Utgivelsen inneholder endringer i selve spr\u00e5ket og dets standardbibliotek. De viktigste endringene inkluderer bruken av den nye <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/glossary.html#term-interactive\">interaktive tolken<\/a> som standard, eksperimentell st\u00f8tte for drift i <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-free-threaded-cpython\">free-threaded-modus<\/a> (dvs. med global <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/glossary.html#term-global-interpreter-lock\">interpreter lock<\/a>) (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0703\/\">PEP 703<\/a>), og <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-jit-compiler\">JIT-kompilatoren<\/a> (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0744\/\">PEP 744<\/a>).<\/p>\n<p><\/noindex><\/noindex>  <noindex><\/p>\n<p>Fra denne utgivelsen er overgangen til den nye utgivelsessyklusen Python (\u00c5rlig utgivelsessyklus for Python, <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0602\/\">PEP 602<\/a>), i forbindelse med \u00f8nsket om \u00e5 utvide perioden for \u00abfull st\u00f8tte\u00bb for nye utgivelser:<\/p>\n<p><\/noindex> <\/p>\n<ul>\n<li>Python 3.9\u20133.12 har ett og et halvt \u00e5r med full st\u00f8tte, etterfulgt av tre og et halvt \u00e5r med sikkerhetsoppdateringer.<\/li>\n<li>Python 3.13 og senere utgivelser vil ha to \u00e5r med full st\u00f8tte og tre \u00e5r med s\u00e5rbarhetsrettelser.<\/li>\n<\/ul>\n<p> <noindex><\/p>\n<p>Arbeidet med <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-improved-error-messages\">forbedring av feilmeldinger<\/a>. N\u00e5 er traceback-defaultene uthevet med farge. Den innebygde funksjonen locals() har n\u00e5 <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-locals-semantics\">en bestemt semantikk<\/a> for \u00e5 endre den returnerte mappingen (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0667\">PEP 667<\/a>), og typeparametere (typing.TypeVar, typing.ParamSpec, typing.TypeVarTuple) st\u00f8tter standardverdier (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0696\/\">PEP 696<\/a>).<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Endringene i standardbiblioteket inkluderer fjerning av utdaterte API-er og moduler (aifc, audioop, cgi, cgitb, chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu og xdrlib), samt vanlige forbedringer n\u00e5r det gjelder brukervennlighet og korrekthet. Flere moduler er utelatt fra distribusjonen p\u00e5 grunn av at de ble erkl\u00e6rt utdaterte i Python 3.11 (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0594\">PEP 594<\/a>), inkludert verkt\u00f8yet og biblioteket 2to3.<\/p>\n<p><\/noindex> <\/p>\n<p>Blant sikkerhetsforbedringene kan nevnes at ssl.create_default_context() n\u00e5 setter standardflaggene ssl.VERIFY_X509_PARTIAL_CHAIN og ssl.VERIFY_X509_STRICT.<\/p>\n<p> <noindex><\/p>\n<p>St\u00f8tte for plattformer: Apple iOS og Android er n\u00e5 offisielt st\u00f8ttede plattformer (<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\u00f8ttes p\u00e5 niv\u00e5 <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0011\/#tier-2\">tier 2<\/a>, og den offisielle st\u00f8tten for wasm32-emscripten er avsluttet.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p><em>For en mer omfattende forst\u00e5else av nyhetene i utgivelsen, vennligst se den offisielle dokumentasjonen (for <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/library\/index.html#library-index\">biblioteket<\/a>, for <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/reference\/index.html#reference-index\">spr\u00e5ket<\/a>). Vennligst se artikkelen <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#porting-to-python-3-13\">\u00abOvergangen til Python 3.13\u00bb<\/a> for \u00e5 oppdatere prosjektene dine til den nye versjonen av spr\u00e5ket. Se ogs\u00e5 <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/changelog.html#changelog\">changelog<\/a>.<\/em><\/p>\n<p><\/noindex><\/p>\n<p>Kilde: <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.6.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\/no\/blog\/news\/python-3-13\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.6.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"nn_NO\" \/>\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\/no\/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\/no\/blog\/news\/python-3-13","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"nn_NO","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\/no\/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\/no\/wp-json\/wp\/v2\/posts\/120112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/comments?post=120112"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts\/120112\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/media\/120113"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/media?parent=120112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/categories?post=120112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/tags?post=120112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}