Novidades da versão 3.13 do Python | Live de Python #275
Nessa live vamos conversar sobre as novidades da versão 3.13, o que temos de novo e como usar as novidades. Como: - A adição experimental do JIT - A remoção experimental do GIL. - As novidades de typing como TypeIs, Generics com defaults e Read-Onbly para typedDicts. - O novo shell interativo - Erros com cores - O novo CLI para random - Sobre a adição do copy.replace, warnings.deprecated, - A resolução de locals() em funções - Suporte a plataformas móveis E muito mais.... ------------------- O canal é mantido por uma iniciativa de financiamento coletivo: Apoia-se: https://apoia.se/livedepython picpay: @dunossauro Chave pix: [email protected] Meus contatos e redes: http://dunossauro.com/ ------------------- Código e Slides: https://github.com/dunossauro/live-de-python Telegram da live: https://t.me/livepython Temas das próximas lives: https://github.com/dunossauro/live-de-python/issues/359 -------------------- Links citados e referências: O que há de novo?: https://docs.python.org/pt-br/3/whatsnew/3.13.html Random CLI: https://docs.python.org/3/library/random.html#command-line-usage PEPs: 11 - CPython platform support: https://peps.python.org/pep-0011/ 647 - User-Defined Type Guards: https://peps.python.org/pep-0647/ 667 - Consistent views of namespaces: https://peps.python.org/pep-0667/ 696: https://peps.python.org/pep-0696/ 702 - Marking deprecations using the type system: https://peps.python.org/pep-0702/ 703 - Making the Global Interpreter Lock Optional in CPython: https://peps.python.org/pep-0703/ 705 - TypedDict: Read-only items: https://peps.python.org/pep-0705/ 724 - Stricter Type Guards: https://peps.python.org/pep-0724/ 730 - Adding iOS as a supported platform: https://peps.python.org/pep-0730/ 738 - Adding Android as a supported platform: https://peps.python.org/pep-0738/ 742 - Narrowing types with TypeIs: https://peps.python.org/pep-0742/ 744 - JIT Compilation: https://peps.python.org/pep-0744/ Compilador JIT: Discussão sobre a PEP do JIT: https://discuss.python.org/t/pep-744-jit-compilation/ Live sobre o interpretador adaptativo especializado: https://youtu.be/c8ZxdwTv8N8 Python free thread: Remoção experimental da GIL: https://docs.python.org/3/howto/free-threading-python.html platform tags: https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#platform-compatibility-tags biblioteca que já funcionam no free thread: https://py-free-threading.github.io/tracking/ Blog post do Nilo: https://blog.nilo.pro.br/posts/2024-10-08-python313/ Minha adaptação do conteúdo do nilo: https://gist.github.com/dunossauro/afea7800f06d7bd1b23f8bff71bc74e1
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.