Artwork

المحتوى المقدم من Michael Kennedy and Brian Okken. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرة بواسطة Michael Kennedy and Brian Okken أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
Player FM - تطبيق بودكاست
انتقل إلى وضع عدم الاتصال باستخدام تطبيق Player FM !

#460 Overlooked Python Typing

24:28
 
مشاركة
 

Manage episode 522185409 series 1305988
المحتوى المقدم من Michael Kennedy and Brian Okken. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرة بواسطة Michael Kennedy and Brian Okken أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
Topics covered in this episode:
Watch on YouTube
About the show

Sponsored by us! Support our work through:

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Brian #1: Advent of Code starts today

  • A few changes, like 12 days this year, which honestly, I’m grateful for.

Michael #2: Django 6 is coming

  • Expected December 2025
  • Django 6.0 supports Python 3.12, 3.13, and 3.14
  • Built-in support for the Content Security Policy (CSP) standard is now available, making it easier to protect web applications against content injection attacks such as cross-site scripting (XSS).
  • The Django Template Language now supports template partials, making it easier to encapsulate and reuse small named fragments within a template file.
  • Django now includes a built-in Tasks framework for running code outside the HTTP request–response cycle. This enables offloading work, such as sending emails or processing data, to background workers.
  • Email handling in Django now uses Python’s modern email API, introduced in Python 3.6. This API, centered around the email.message.EmailMessage class

Brian #3: Advanced, Overlooked Python Typing

  • get_args, TypeGuard, TypeIs, and more goodies

Michael #4: codespell

  • Learned from this PR for the Talk Python book.
  • Fix common misspellings in text files.
  • It's designed primarily for checking misspelled words in source code (backslash escapes are skipped), but it can be used with other files as well.
  • It does not check for word membership in a complete dictionary, but instead looks for a set of common misspellings. Therefore it should catch errors like "adn", but it will not catch "adnasdfasdf".
  • It shouldn't generate false-positives when you use a niche term it doesn't know about.

Extras

Michael:

  • Follow up on tach from Gerben Dekker:
    • tach has been unmaintained for a bit but is not anymore. It was the main product from Gauge which is a Y combinator startup that pivoted to something unrelated and abandoned tach. However, https://github.com/DetachHead forked it but now got access to the main repo and has committed to maintaining it.
    • ruff analyze graph is fully independent of tach - we actually started to look into alternatives for tach when it became unmaintained and then found ruff analyze graph.
    • For our use case, with just a bit of manipulation on top of ruff analyze graph we replaced our use of deptry (which was slower - and I try to be careful depending on one-man projects).
  • A Review of Michael Kennedy’s book, “Talk Python in Production” - Thanks Doug

Joke: NoaaS

  continue reading

464 حلقات

Artwork

#460 Overlooked Python Typing

Python Bytes

1,333 subscribers

published

iconمشاركة
 
Manage episode 522185409 series 1305988
المحتوى المقدم من Michael Kennedy and Brian Okken. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرة بواسطة Michael Kennedy and Brian Okken أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
Topics covered in this episode:
Watch on YouTube
About the show

Sponsored by us! Support our work through:

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Brian #1: Advent of Code starts today

  • A few changes, like 12 days this year, which honestly, I’m grateful for.

Michael #2: Django 6 is coming

  • Expected December 2025
  • Django 6.0 supports Python 3.12, 3.13, and 3.14
  • Built-in support for the Content Security Policy (CSP) standard is now available, making it easier to protect web applications against content injection attacks such as cross-site scripting (XSS).
  • The Django Template Language now supports template partials, making it easier to encapsulate and reuse small named fragments within a template file.
  • Django now includes a built-in Tasks framework for running code outside the HTTP request–response cycle. This enables offloading work, such as sending emails or processing data, to background workers.
  • Email handling in Django now uses Python’s modern email API, introduced in Python 3.6. This API, centered around the email.message.EmailMessage class

Brian #3: Advanced, Overlooked Python Typing

  • get_args, TypeGuard, TypeIs, and more goodies

Michael #4: codespell

  • Learned from this PR for the Talk Python book.
  • Fix common misspellings in text files.
  • It's designed primarily for checking misspelled words in source code (backslash escapes are skipped), but it can be used with other files as well.
  • It does not check for word membership in a complete dictionary, but instead looks for a set of common misspellings. Therefore it should catch errors like "adn", but it will not catch "adnasdfasdf".
  • It shouldn't generate false-positives when you use a niche term it doesn't know about.

Extras

Michael:

  • Follow up on tach from Gerben Dekker:
    • tach has been unmaintained for a bit but is not anymore. It was the main product from Gauge which is a Y combinator startup that pivoted to something unrelated and abandoned tach. However, https://github.com/DetachHead forked it but now got access to the main repo and has committed to maintaining it.
    • ruff analyze graph is fully independent of tach - we actually started to look into alternatives for tach when it became unmaintained and then found ruff analyze graph.
    • For our use case, with just a bit of manipulation on top of ruff analyze graph we replaced our use of deptry (which was slower - and I try to be careful depending on one-man projects).
  • A Review of Michael Kennedy’s book, “Talk Python in Production” - Thanks Doug

Joke: NoaaS

  continue reading

464 حلقات

ทุกตอน

×
 
Loading …

مرحبًا بك في مشغل أف ام!

يقوم برنامج مشغل أف أم بمسح الويب للحصول على بودكاست عالية الجودة لتستمتع بها الآن. إنه أفضل تطبيق بودكاست ويعمل على أجهزة اندرويد والأيفون والويب. قم بالتسجيل لمزامنة الاشتراكات عبر الأجهزة.

 

دليل مرجعي سريع

حقوق الطبع والنشر 2025 | سياسة الخصوصية | شروط الخدمة | | حقوق النشر
استمع إلى هذا العرض أثناء الاستكشاف
تشغيل