What's New in Python 3.12?
HTML-код
- Опубликовано: 10 июл 2024
- Today we discuss what is new in Python 3.12.
Docs: docs.python.org/3/whatsnew/3....
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
Timestamps:
(0:00) Intro
(0:16) Better Performance & Error Messages
(2:37) F-String Updates
(6:10) Generic Types
(8:48) Type Aliases
(9:40) Typed Dictionaries
(10:20) Override Decorator
(11:23) Per-Interpreter GIL
(13:04) Summary
(14:04) Outro Наука
Why was the Python programmer always calm and relaxed? Because he had no "stress" libraries.
Thanks for the video. Still working with 3.10 though :P
We all use 3.10😅😅
Thanks for the updates. 😄
I love Your Videos Please continuoue the ai projects playlist more
Very Useful Thanks!
Can you make a playlist for these? Kindaike patch notes i each versions..... It would be easier
i have a db file fifa patch and i want open it in SQLCipher but i can't because password so how i can breake this password ??
Really nice👍!
I install today 3.12 but I am getting unknown error while installing any library from pip in pycharm ide in this 3.1 2 (virtual environment) while i install in 3.9 (virtual environment) installed as regular installation, what is that
I found that restrictedpython is not yet supported for v3.12
Maybe that is
What's the specific error message? Did you change default interpreter?
I changed interpreter manually and the error is gone.
Thx
7:55 Are you sure about that? You should be able to just use list, rather than List, since 3.10, unless I’m missing something.
I agree with you ! You can use directly list instead of importing it from typing since Python 3.10
Didn't python already overrides methods from the base class?
I love the introduction of generic types but I wish they added interfaces instead.
Python already has Protocol and Abstract Class. Doesn’t Protocol meet your needs?
@@user-vt9bp2ei1w To be honest this is the first time I heard about Protocols and yeah it does fit my needs. Thanks.
I can not wait for the GIL to be removed.... this is really limiting Python when you have a large amount of cores
It is but the announced feature sounds still annoying to me. We will see how it turns out.
it is a very slow and careful roll-out by the time it is actually useful we will have 64 cores in mainstream computers and still only be using one@@Tri-Technology
thumb down, sure
Nice video, but please next time drink more water before recording, because we can hear your dry mouth…^^