Some New Features in Python 3.11

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 😀

  • @sinancetinkaya
    @sinancetinkaya Жыл бұрын

    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 Жыл бұрын

    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

    Жыл бұрын

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

  • @nanayaw7159
    @nanayaw7159 Жыл бұрын

    Splendid

  • @prettyprinted

    @prettyprinted

    Жыл бұрын

    Thanks for watching!

  • @doremiyang6040
    @doremiyang6040 Жыл бұрын

    great vid

  • @prettyprinted

    @prettyprinted

    Жыл бұрын

    Thanks for watching!

  • @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.😄

  • @priyachoudhary8614
    @priyachoudhary8614 Жыл бұрын

    Can you make a video of some projects on 3.11

  • @jacksonkerr4268
    @jacksonkerr4268 Жыл бұрын

    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

    Жыл бұрын

    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.

  • @slz_sphinxz
    @slz_sphinxz Жыл бұрын

    Pretty printed Is Best!