Podbean logo
  • Discover
  • Podcast Features
    • Podcast Hosting

      Start your podcast with all the features you need.

    • Podbean AI Podbean AI

      AI-Enhanced Audio Quality and Content Generation.

    • Blog to Podcast

      Repurpose your blog into an engaging podcast.

    • Video to Podcast

      Convert YouTube playlists to podcasts, videos to audios.

  • Monetization
    • Ads Marketplace

      Join Ads Marketplace to earn through podcast sponsorships.

    • PodAds

      Manage your ads with dynamic ad insertion capability.

    • Apple Podcasts Subscriptions Integration

      Monetize with Apple Podcasts Subscriptions via Podbean.

    • Live Streaming

      Earn rewards and recurring income from Fan Club membership.

  • Podbean App
    • Podcast Studio

      Easy-to-use audio recorder app.

    • Podcast App

      The best podcast player & podcast app.

  • Help and Support
    • Help Center

      Get the answers and support you need.

    • Podbean Academy

      Resources and guides to launch, grow, and monetize podcast.

    • Podbean Blog

      Stay updated with the latest podcasting tips and trends.

    • What’s New

      Check out our newest and recently released features!

    • Podcasting Smarter

      Podcast interviews, best practices, and helpful tips.

  • Popular Topics
    • How to Start a Podcast

      The step-by-step guide to start your own podcast.

    • How to Start a Live Podcast

      Create the best live podcast and engage your audience.

    • How to Monetize a Podcast

      Tips on making the decision to monetize your podcast.

    • How to Promote Your Podcast

      The best ways to get more eyes and ears on your podcast.

    • Podcast Advertising 101

      Everything you need to know about podcast advertising.

    • Mobile Podcast Recording Guide

      The ultimate guide to recording a podcast on your phone.

    • How to Use Group Recording

      Steps to set up and use group recording in the Podbean app.

  • All Arts Business Comedy Education
  • Fiction Government Health & Fitness History Kids & Family
  • Leisure Music News Religion & Spirituality Science
  • Society & Culture Sports Technology True Crime TV & Film
  • Live
  • How to Start a Podcast
  • How to Start a Live Podcast
  • How to Monetize a podcast
  • How to Promote Your Podcast
  • How to Use Group Recording
  • Log in
  • Start your podcast for free
  • Podcasting
    • Podcast Features
      • Podcast Hosting

        Start your podcast with all the features you need.

      • Podbean AI Podbean AI

        AI-Enhanced Audio Quality and Content Generation.

      • Blog to Podcast

        Repurpose your blog into an engaging podcast.

      • Video to Podcast

        Convert YouTube playlists to podcasts, videos to audios.

    • Monetization
      • Ads Marketplace

        Join Ads Marketplace to earn through podcast sponsorships.

      • PodAds

        Manage your ads with dynamic ad insertion capability.

      • Apple Podcasts Subscriptions Integration

        Monetize with Apple Podcasts Subscriptions via Podbean.

      • Live Streaming

        Earn rewards and recurring income from Fan Club membership.

    • Podbean App
      • Podcast Studio

        Easy-to-use audio recorder app.

      • Podcast App

        The best podcast player & podcast app.

  • Advertisers
  • Enterprise
  • Pricing
  • Resources
    • Help and Support
      • Help Center

        Get the answers and support you need.

      • Podbean Academy

        Resources and guides to launch, grow, and monetize podcast.

      • Podbean Blog

        Stay updated with the latest podcasting tips and trends.

      • What’s New

        Check out our newest and recently released features!

      • Podcasting Smarter

        Podcast interviews, best practices, and helpful tips.

    • Popular Topics
      • How to Start a Podcast

        The step-by-step guide to start your own podcast.

      • How to Start a Live Podcast

        Create the best live podcast and engage your audience.

      • How to Monetize a Podcast

        Tips on making the decision to monetize your podcast.

      • How to Promote Your Podcast

        The best ways to get more eyes and ears on your podcast.

      • Podcast Advertising 101

        Everything you need to know about podcast advertising.

      • Mobile Podcast Recording Guide

        The ultimate guide to recording a podcast on your phone.

      • How to Use Group Recording

        Steps to set up and use group recording in the Podbean app.

  • Discover
  • Log in
    Sign up free
Python Bytes

Python Bytes

Technology

#360 Happy Birthday!

#360 Happy Birthday!

2023-11-07
Download Right click and do "save link as"
Topics covered in this episode:
  • exclude_also with coverage.py
  • Writeside
  • Extra, extra, extra
  • Chrome not proceeding with Web Integrity API deemed by many to be DRM
  • Extras
  • Joke
Watch on YouTube

About the show

Sponsored by Scout APM

Connect with the hosts

  • Michael: @mkennedy@fosstodon.org
  • Brian: @brianokken@fosstodon.org
  • Show: @pythonbytes@fosstodon.org

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

Note: No episode next week. Michael will be at Microsoft Ignite in Seattle.

Happy Birthday to us (7 years old today)!

Brian #1: exclude_also with coverage.py

  • Interesting exchange between Pamela Fox, Hugo van Kemenade, and myself where we all discover exclude_also, even though it’s been there since February
  • This is cool because you can exclude common “should I cover this? It’s just for debugging.” kinda stuff, and other “I don’t wanna test that” places.
  • To exclude code blocks, we can use *# pragma: no cover* in the code.
  • Or we can list lines in coverage setting with exclude_lines, but you have to also list # pragma: no cover, which is weird.
  • exclude_also just just right. It leaves all the inline excludes alone, and adds some regexes, and you can even just have one if that’s all you need, like if __name__ == .__main__.:
  • See coverage docs

Michael #2: Writeside

  • An IDE for writing the docs
  • Write, test, build, and publish docs
  • Docs-as-code out of the box
  • Doc quality automation: Ensure documentation quality and integrity with 100+ on-the-fly inspections in the editor as well as tests in Live Preview and during build.
  • Comes as a separate IDE as well as a plugin for PyCharm, etc.
  • Pricing will be free + paid premium version (like PyCharm), fully free for now

Brian #3: Extra, extra, extra

  • Welcome Marie Nordin as the new PSF Community Communications Manager
    • Woohoo!
  • Pablo Galindo and Łukasz Langa started a podcast, called core.py
    • Inside look into Python 3.13
    • Two episodes so far
      • The first core sprint for 3.13
      • Details on removing the GIL
    • regexcrossword
      • Suggested by Kim van Wyk
      • actually really great for practicing regex rules

Michael #4: Chrome not proceeding with Web Integrity API deemed by many to be DRM

  • Google’s premise for the internet:
    • The Internet should be constructed so that users can be identified, tracked, retargeted (and hence resold). — Google
  • And privacy is important.
  • So how do we make both of these work.
    • FLOCs?
    • Privacy Sandboxes?
    • Web Integrity?
  • No, just no.
  • How about you sell us ads the same way you surface search results (by what is on the page, not who is visiting it)
  • Good riddance to this idea you corrupted organization.
  • What was wrong with Web Integrity? Some comments
    • Issue #134 calls the idea "absolutely unethical and against the open web."
    • Issue #113 say they "can't believe this is even proposed."
    • Issue #127 adds: "Have you ever stopped to consider that you're the bad guys?”

Extras

Brian:

  • Mock chapter of pytest: working with projects, the 2nd course in The Complete pytest Course series, is recorded and hopefully releasing today. At the very least some time this week.
  • PyCharm has sent me a bunch of coupon codes for students of The Complete pytest Course.
    • Sign up for the course and ask me for the code, and I’ll send it to you.
  • Nov 21 webinar with yours truly: Do You Do Enough Testing? pytest to the Rescue!

Michael:

  • We Just Gave $500,000 to Open Source Maintainers - Sentry (thank you)
  • ruff format + pycharm follow up
  • JetBrains AI is getting very good a commit messages
    • Add exception handling in background_service.py:
    • Introduced try-except blocks to handle potential exceptions in the 'pending_jobs', 'start_job_processing', and 'run_pending_job' methods in background_service.py. This change enhances error handling and makes the service more robust by preventing crashes if a job or episode cannot be fetched or if an unknown job action is encountered.
    • Add assemblyai to requirements and update ruff version:
    • This commit includes the addition of assemblyai package as part of the requirements.txt file, required to introduce new speech-to-text feature in our application. Ruff version is also updated from 0.1.3 to 0.1.4 due to bug fixes and stability improvements in the new version. Assemblyai also includes dependencies like pydantic and websockets.
  • GPT4All follow up
  • Got some nice feedback on my statement on PyCon 2024’s health and safety policy
    • More I think about it, the more out of touch it seems
    • Comparisons, no mask requirements for any of:
      • GitHub Universe - N,NNN? attendees
      • CES - 180,000 attendees
      • SXSW - 152,000 attendees
      • KubeCon - 12,000 attendees
      • Adobe Summit - 10,000 attendees
      • Mobile World Conference - 109,500 attendees
      • DeveloperWeek - 2,000 attendees
      • Microsoft Ignite - 4,000 attendees
      • WWDC - unkown

Joke:

  • The plural of regex is regrets.
view more

More Episodes

#282 Don't Embarrass Me in Front of The Wizards
2022-05-03
#281 ohmyzsh + ohmyposh + mcfly + pls + nerdfonts = wow
2022-04-28
#280 Easy terminal scripts by sourcing your Py
2022-04-21
#279 Autocorrect and other Git Tricks
2022-04-15
#278 Multi-tenant Python applications
2022-04-08
#277 It's a Python package showdown!
2022-04-02
#276 Tracking cyber intruders with Jupyter and Python
2022-03-23
#275 Airspeed velocity of an unladen astropy
2022-03-16
#274 12 Questions You Should Be Asking of Your Dependencies
2022-03-09
#273 Getting dirty with __eq__(self, other)
2022-03-04
#272 The tools episode
2022-02-24
#271 CPython: Async Task Groups in Python 3.11
2022-02-16
#270 Can errors really be beautiful?
2022-02-10
#269 Get Rich and replace your cat
2022-02-03
#268 Wait, you can Google that?
2022-01-27
#267 Python on the beach
2022-01-21
#266 Python has a glossary?
2022-01-13
#265 Get asizeof pympler and muppy
2022-01-05
#264 We're just playing games with Jupyter at this point
2021-12-22
#263 It’s time to stop using Python 3.6
2021-12-15
  • ←
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • →
012345678910111213141516171819

Get this podcast on your
phone, FREE

Download Podbean app on App Store Download Podbean app on Google Play

Create your
podcast in
minutes

  • Full-featured podcast site
  • Unlimited storage and bandwidth
  • Comprehensive podcast stats
  • Distribute to Apple Podcasts, Spotify, and more
  • Make money with your podcast
Get started

It is Free

  • Podcast Services

    • Podcast Features
    • Pricing
    • Enterprise Solution
    • Private Podcast
    • The Podcast App
    • Live Stream
    • Audio Recorder
    • Remote Recording
    • Podbean AI
  •  
    • Create a Podcast
    • Video Podcast
    • Start Podcasting
    • Start Radio Talk Show
    • Education Podcast
    • Church Podcast
    • Nonprofit Podcast
    • Get Sermons Online
    • Free Audiobooks
  • MONETIZATION & MORE

    • Podcast Advertising
    • Dynamic Ads Insertion
    • Apple Podcasts Subscriptions
    • Switch to Podbean
    • YouTube to Podcast
    • Blog to Podcast
    • Submit Your Podcast
    • Podbean Plugins
    • Developers
  • KNOWLEDGE BASE

    • How to Start a Podcast
    • How to Start a Live Podcast
    • How to Monetize a Podcast
    • How to Promote Your Podcast
    • Mobile Podcast Recording Guide
    • How to Use Group Recording
    • Podcast Advertising 101
  • Support

    • Support Center
    • What’s New
    • Free Webinars
    • Podcast Events
    • Podbean Academy
    • Podbean Amplified Podcast
    • Badges
    • Resources
  • Podbean

    • About Us
    • Podbean Blog
    • Careers
    • Press and Media
    • Green Initiative
    • Affiliate Program
    • Contact Us
  • Privacy Policy
  • Cookie Policy
  • Terms of Use
  • Consent Preferences
  • Copyright © 2015-2025 Podbean.com