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
awesome as always 😀
One thing that bothers me in Python is that Async Task exceptions are not handled until you await them. This causes headaches in debugging.
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
Жыл бұрын
Thanks for the correction. I guess I confused waiting for the task to start with waiting for the tasks to end.
Splendid
@prettyprinted
Жыл бұрын
Thanks for watching!
great vid
@prettyprinted
Жыл бұрын
Thanks for watching!
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.😄
Can you make a video of some projects on 3.11
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
Жыл бұрын
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.
Pretty printed Is Best!