{"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\/pl\/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>Po rocznej pracy nad rozwojem, ukaza\u0142a si\u0119 nowa stabilna wersja interpretowanego j\u0119zyka programowania Python 3.13. Wydanie zawiera zmiany w samym j\u0119zyku oraz w jego standardowej bibliotece. Do najwa\u017cniejszych zmian nale\u017cy nowe <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/glossary.html#term-interactive\">interaktywne \u015brodowisko<\/a> domy\u015blnie, eksperymentalne wsparcie dla pracy w <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-free-threaded-cpython\">trybie free-threaded<\/a> (tzn. z wy\u0142\u0105czeniem <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>), oraz <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-jit-compiler\">kompilator JIT<\/a> (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0744\/\">PEP 744<\/a>).<\/p>\n<p><\/noindex><\/noindex>  <noindex><\/p>\n<p>Z tego wydania wprowadzono nowy cykl wydania Pythona (Annual Release Cycle for Python, <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0602\/\">PEP 602<\/a>), w zwi\u0105zku z d\u0105\u017ceniem do wyd\u0142u\u017cenia okresu &laquo;pe\u0142nego wsparcia&raquo; nowych wyda\u0144:<\/p>\n<p><\/noindex> <\/p>\n<ul>\n<li>Python 3.9\u20133.12 ma pe\u0142ne wsparcie przez p\u00f3\u0142tora roku, a nast\u0119pnie trzy i p\u00f3\u0142 roku poprawek bezpiecze\u0144stwa.<\/li>\n<li>Python 3.13 i p\u00f3\u017aniejsze wydania b\u0119d\u0105 mia\u0142y dwa lata pe\u0142nego wsparcia oraz trzy lata poprawek zabezpiecze\u0144.<\/li>\n<\/ul>\n<p> <noindex><\/p>\n<p>Prace nad <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-improved-error-messages\">ulepszaniem komunikat\u00f3w o b\u0142\u0119dach<\/a>. Teraz tracebacki s\u0105 domy\u015blnie pod\u015bwietlane na kolorowo. Wbudowana funkcja locals() teraz ma <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#whatsnew313-locals-semantics\">okre\u015blon\u0105 semantyk\u0119<\/a> do zmiany zwracanego mapowania (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0667\">PEP 667<\/a>), a parametry typ\u00f3w (typing.TypeVar, typing.ParamSpec, typing.TypeVarTuple) wspieraj\u0105 warto\u015bci domy\u015blne (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0696\/\">PEP 696<\/a>).<\/p>\n<p><\/noindex> <noindex><\/p>\n<p>Zmiany w standardowej bibliotece obejmuj\u0105 usuni\u0119cie przestarza\u0142ych interfejs\u00f3w API i modu\u0142\u00f3w (aifc, audioop, cgi, cgitb, chunk, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu i xdrlib), a tak\u017ce typowe usprawnienia w zakresie przyjazno\u015bci dla u\u017cytkownika i poprawno\u015bci. Kilka modu\u0142\u00f3w zosta\u0142o wykluczonych z dystrybucji z powodu og\u0142oszenia ich przestarza\u0142ymi w Pythonie 3.11 (<a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0594\">PEP 594<\/a>), w tym narz\u0119dzie oraz biblioteka 2to3.<\/p>\n<p><\/noindex> <\/p>\n<p>Do poprawy bezpiecze\u0144stwa warto zauwa\u017cy\u0107, \u017ce ssl.create_default_context() ustawia domy\u015blnie flagi ssl.VERIFY_X509_PARTIAL_CHAIN oraz ssl.VERIFY_X509_STRICT.<\/p>\n<p> <noindex><\/p>\n<p>Dodano wsparcie dla platform: Apple iOS i Android s\u0105 teraz oficjalnie wspieranymi platformami (<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 jest wspierany na poziomie <a rel=\"nofollow\" href=\"https:\/\/peps.python.org\/pep-0011\/#tier-2\">tier 2<\/a>, zako\u0144czono oficjalne wsparcie dla wasm32-emscripten.<\/p>\n<p><\/noindex> <noindex><\/p>\n<p><em>Aby dok\u0142adniej zapozna\u0107 si\u0119 z nowo\u015bciami w wydaniu, nale\u017cy zapozna\u0107 si\u0119 z oficjaln\u0105 dokumentacj\u0105 (odno\u015bnie do <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/library\/index.html#library-index\">biblioteki<\/a>, dotycz\u0105cej <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/reference\/index.html#reference-index\">j\u0119zyka<\/a>). Skorzystaj z artyku\u0142u <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/3.13.html#porting-to-python-3-13\">&laquo;Przej\u015bcie na Pythona 3.13&raquo;<\/a> , aby zaktualizowa\u0107 swoje projekty do nowej wersji j\u0119zyka. Sprawd\u017a tak\u017ce <a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3.13\/whatsnew\/changelog.html#changelog\">changelog<\/a>.<\/em><\/p>\n<p><\/noindex><\/p>\n<p>\u0179r\u00f3d\u0142o: <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.1.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\/pl\/blog\/news\/python-3-13\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\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\/pl\/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\/pl\/blog\/news\/python-3-13","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pl_PL","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\/pl\/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\/pl\/wp-json\/wp\/v2\/posts\/120112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/comments?post=120112"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/120112\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media\/120113"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media?parent=120112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/categories?post=120112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/tags?post=120112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}