Some New Features in Python 3.11

Поделиться
HTML-код
  • Опубликовано: 25 окт 2022
  • In this video I go over four new features in Python 3.11: improve precision of traceback messages, task groups for asyncio tasks, exception groups, and exception notes.
    docs.python.org/3.11/whatsnew...
    Get the code from this video here: prettyprinted.com/l/XxU
    Need one-on-one help with your project? I can help through my coaching program. Learn more here: prettyprinted.com/coaching
    Twitter: / pretty_printed
    Github: github.com/prettyprinted

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

  • @rangabharath4253
    @rangabharath4253 Год назад

    awesome as always 😀

  • @nanayaw7159
    @nanayaw7159 Год назад

    Splendid

  • @doremiyang6040
    @doremiyang6040 Год назад

    great vid

  • @sinancetinkaya
    @sinancetinkaya Год назад +2

    One thing that bothers me in Python is that Async Task exceptions are not handled until you await them. This causes headaches in debugging.

  • @rohitbhanot7809
    @rohitbhanot7809 Год назад +1

    One correction, you don't really need to schedule an asyncio task via asyncio.gather, when u wrap a coroutine a with create_task it automatically schedules it for execution, the gather is more useful when u have coroutines that you want to schedule for execution and essentially gather also turns these coroutines into Tasks under the hood.

    • @prettyprinted
      @prettyprinted  Год назад +1

      Thanks for the correction. I guess I confused waiting for the task to start with waiting for the tasks to end.

  • @priyachoudhary8614
    @priyachoudhary8614 Год назад

    Can you make a video of some projects on 3.11

  • @jacksonkerr4268
    @jacksonkerr4268 Год назад +2

    Good video but you might want to increase your microphone volume. Whenever I switch to your channel after watching another youtube video it's super quiet.

    • @prettyprinted
      @prettyprinted  Год назад +2

      Thanks for letting me know. I haven't had a consistent setup in the past couple of months, so the sound is varying a lot between videos. I should have something permanent soon, so I'll try to fix all the issues then.

  • @nonamearmyid50
    @nonamearmyid50 Год назад

    1:38 I think that in previous versions of python 3.5 there was already a difference between the previous versions using list arrays or tuples.😄

  • @sphinxz_gaming
    @sphinxz_gaming Год назад

    Pretty printed Is Best!