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
  • НаукаНаука

Комментарии • 23

  • @Doggy_Styles_Coding
    @Doggy_Styles_Coding 9 месяцев назад +9

    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

  • @paulthomas1052
    @paulthomas1052 9 месяцев назад +1

    Thanks for the updates. 😄

  • @ItzPranad
    @ItzPranad 9 месяцев назад +11

    I love Your Videos Please continuoue the ai projects playlist more

  • @julianreichelt1719
    @julianreichelt1719 9 месяцев назад +2

    Very Useful Thanks!

  • @karmatick4418
    @karmatick4418 2 месяца назад

    Can you make a playlist for these? Kindaike patch notes i each versions..... It would be easier

  • @gamingarea.eltayeb
    @gamingarea.eltayeb 9 месяцев назад

    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 ??

  • @guilherme5094
    @guilherme5094 9 месяцев назад

    Really nice👍!

  • @satwikawasthi2002
    @satwikawasthi2002 9 месяцев назад +4

    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

    • @jeansreal
      @jeansreal 9 месяцев назад +1

      I found that restrictedpython is not yet supported for v3.12
      Maybe that is

    • @amj.composer
      @amj.composer 9 месяцев назад +1

      What's the specific error message? Did you change default interpreter?

    • @sarfaraz73
      @sarfaraz73 9 месяцев назад

      I changed interpreter manually and the error is gone.

  • @wasgeht2409
    @wasgeht2409 9 месяцев назад +2

    Thx

  • @immortalsun
    @immortalsun 7 месяцев назад

    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.

    • @achrafelbrigui7687
      @achrafelbrigui7687 5 месяцев назад

      I agree with you ! You can use directly list instead of importing it from typing since Python 3.10

  • @lancemax857
    @lancemax857 9 месяцев назад

    Didn't python already overrides methods from the base class?
    I love the introduction of generic types but I wish they added interfaces instead.

    • @user-vt9bp2ei1w
      @user-vt9bp2ei1w 9 месяцев назад

      Python already has Protocol and Abstract Class. Doesn’t Protocol meet your needs?

    • @lancemax857
      @lancemax857 9 месяцев назад

      @@user-vt9bp2ei1w To be honest this is the first time I heard about Protocols and yeah it does fit my needs. Thanks.

  • @jmirodg7094
    @jmirodg7094 9 месяцев назад +1

    I can not wait for the GIL to be removed.... this is really limiting Python when you have a large amount of cores

    • @Tri-Technology
      @Tri-Technology 8 месяцев назад

      It is but the announced feature sounds still annoying to me. We will see how it turns out.

    • @jmirodg7094
      @jmirodg7094 8 месяцев назад

      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

  • @aharongina5226
    @aharongina5226 9 месяцев назад +2

    thumb down, sure

  • @79texx
    @79texx 8 месяцев назад

    Nice video, but please next time drink more water before recording, because we can hear your dry mouth…^^