Watch on YouTube
About the show
Sponsored by Microsoft for Startups Founders Hub.
Connect with the hosts
- Michael: @mkennedy@fosstodon.org
- Brian: @brianokken@fosstodon.org - may be a minute or two late.
- Show: @pythonbytes@fosstodon.org
- Special guest: Pamela Fox - @pamelafox@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.
Michael #1: camply
Brian #2: hatch-fancy-pypi-readme
- Your ✨Fancy✨ Project Deserves a ✨Fancy✨ PyPI Readme! 🧐
- Hynek Schlawack
- Include lots of extras in a README.md
- text fragments
- files, like AUTHORS.md or Changelog.md, with custom start, stop, pattern includes, etc.
- regular expression substitutions
- Several projects with examples, including black.
Pamela #3: Pyodide dev branch now supports 3.11
- Python 3.11 PR
- Benchmark Py3.11 and Py3.10
- pyodide console
- TODO list for 0.23.0 alpha release
- Dis-this: specializing adaptive interpreter
- Recursion visualizer
Michael #4: EU hates open source?
- via Pamphile Roy
- The Cyber Resilience Act (CRA) is an interesting and important proposal for a European law that aims to drive the safety and integrity of software
- The proposal includes a requirement for self-certification by suppliers of software to attest conformity with the requirements of the CRA including security, privacy and the absence of Critical Vulnerability Events (CVEs).
- We recognize that the European Commission has framed an exception in recital 10 attempting to ensure these provisions do not accidentally impact Open Source software.
- However, drawing on more than two decades of experience, we at the Open Source Initiative can clearly see that the current text will cause extensive problems for Open Source software.
- Since the goal is to avoid harming Open Source software this goal should be stated at the start of the paragraph as the rationale, replacing the introductory wording about avoiding harm to "research and innovation" to avoid over-narrowing the exception.
- The reference to "non-commercial" as a qualifier should be substituted. The term “commercial” has always led to legal uncertainty for software and is a term which should not be applied in the context of open source
- OSI recommends further work on the Open Source exception to the requirements within the body of the Act to exclude all activities prior to commercial deployment of the software and to clearly ensure that responsibility for CE marks does not rest with any actor who is not a direct commercial beneficiary of deployment.
Brian #5: So, Single (‘) or Double (“) Quotes in Python?
- Marcin Kozak
- PEP8 doesn’t recommend anything.
- REPL uses single quotes.
>>> x = "one"
>>> x
'one'
- Black sides with “double quotes”, due to the apostrophe in the string problem.
- 'Don\'t be so sad.' vs “Don’t be sad.”
- You get to pick, and don’t be bullied by black-fanatics.
- There’s always blue, which is just like black, but
- defaults to single-quotes
- line length defaults to 79, not black’s 88.
- preserves whitespace before hash marks for right hanging comments (so multiple lines can line up).
Pamela #6: Frozen-Flask
- Pamela’s PR for moving to Frozen Flask
- Stepping down as a maintainer
Extras
Brian:
- What does everyone think of GitHub pricing?
Michael:
- Much much better transcripts, for example, last episode 322.
- Means our search works way better too
- The AI search wars have begun
- Google Panics Over ChatGPT [The AI Wars Have Begun] video
- Microsoft Bing rockets to the top of the App Store after announcing ChatGPT integration
- Google shares lose $100 billion after company's AI chatbot makes an error during demo
- Free PyCharm for all the Talk Python customers
- Thanks for the help with finding a good Flutter dev.
- Important Talk Python episode: Fusion Ignition Breakthrough and Python
Pamela:
- Github pyproject.toml support.
- Python Package Template
Jokes:
- $McTitle
- Worst input fields