Elektrine lite

โ† Feed

Brett Cannon

brettcannon@mastodon.social

<p><a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="tag">#<span>Python</span></a> core developer; snarky <a href="https://mastodon.social/tags/Canadian" class="mention hashtag" rel="tag">#<span>Canadian</span></a></p>

Posts

  • Post #4086844

    RE: https://mastodon.social/@knoppix95/116841096898280132 Apparently LG was also using a silent app install mechanism in Windows 11 to push McAfee ads. Never buying LG again. https://www.theverge.com/tech/970489/lg-mcafee-ads-windows-microsoft-crackdown

  • Post #4022981

    RE: https://mastodon.online/@mullvadnet/116957571811403553 Unfortunately the blog post is the usual &quot;it&#39;s the individual, not the company&quot; line without acknowledging that people are upset because the company sends money to said individual. People don&#39;t want to be indirectly funding these politics and unless you say that person is no longer directly getting money from the company which facilitates that money, I don&#39;t want to give you my money.

  • Post #3974801

    Wasmtime now has GC and exception handling support! https://bytecodealliance.org/articles/wasmtime-gc The GC support is useful for having **much** smaller Wasm files when you compile straight to Wasm (i.e. my WASI builds won&#39;t use it). The exception handling support should help with long jumps in C code. For Python that would be useful for porting MicroPython to WASI.

  • Post #2531216

    Collection of Python core devs: https://mastodon.social/collections/116540107831540575

  • Post #1834565

    @digiglean I just listened to episode 292 and you can tell the other Christopher that I appreciate the support with PEP 832 and that some version of the PEP will get submitted if simply because I think I have enough support from tool authors to make it worth it.

  • Post #1834564

    For those interested in a very simple build back-end for Python extension modules, I came across https://just-buildit.github.io/just-buildit/ .

  • Post #1756714

    RE: https://mastodon.social/@sethmlarson/116477240088086817 Note the &quot;install from pylock.toml&quot;! It&#39;s experimental, but having PEP 751 reaching this point is big!

  • Post #1262318

    PEP 832: virtual environment discovery https://discuss.python.org/t/106998 @pauleveritt and the PyCharm folks would probably be interested in this one. This PEP also puts me in a tie with @vstinner for being the 4th most prolific PEP (co-)author. ๐Ÿ˜…

  • Post #1202773

    OpenAI is buying Astral https://openai.com/index/openai-to-acquire-astral/ 1. I&amp;#39;m happy Astral got their exit (which we all knew was the end goal) 2. I&amp;#39;m glad no one will accuse me of trying to kill the company anymore by working on standards or saying there are other workflow tools 3. I&amp;#39;m taking a wait-and-see view (e.g. Astral already said more AI is coming to their tools https://blog.pamelafox.org/2026/03/learnings-from-pyai-conference.html#:~:text=Astral%20is%20also%...

  • Post #1054144

    My latest blog post got into the recent edition of the Crux by @daedalus and now I feel like I&amp;#39;ve met a goal I didn&amp;#39;t know I had (been a reader for while now). Next goal: to be called a &amp;quot;friend-of-the-Crux&amp;quot; in a future newsletter ๐Ÿ˜

  • Post #851592

    RE: https://fosstodon.org/@jni/116287554201659198 I said digital attestations and `pylock.toml` would have helped with the litellm attack. People asked for more details, so I wrote a blog post explaining why. It also hopefully acts at motivation for people to use: - Trusted publishing - Digital attestations - Lock files, and `pylock.toml` specifically https://snarky.ca/why-pylock-toml-includes-digital-attestations/ So yes, @jni , I have a &amp;quot;human-readable intro&amp;quot; because I wr...

  • Post #776120

    RE: https://infosec.exchange/@dangoodin/116285175398594132 Notice how the compromised releases were directly uploaded. This is why `pylock.toml` includes attestation data and trusted publishing is important. If the project used trusted publishing then their the lack of attestation data could have been noticed in a diff of the lock file as it would have suddenly disappeared (which is also why `pylock.toml` was designed to be human-readable).

  • Post #625207

    Wrote a blog post to give a status update on WASI support for CPython as PEP 816 got accepted! https://snarky.ca/state-of-wasi-support-for-cpython-march-2026/

  • Post #615394

    The Q&amp;amp;A from EuroPython for the special 20 minute preview cut of the Python documentary that covered @mariatta and @mitsuhiko &amp;#39;s sections is now up! https://www.youtube.com/watch?v=Sf2AqQ5a38Y

  • Post #615390

    The final release of Python 3.9 is out! https://discuss.python.org/t/the-final-python-3-9-security-fix-release-is-out/104666 May you all enjoy using the features added in Python 3.10 if that&amp;#39;s now your oldest version. ๐Ÿ˜ https://docs.python.org/3/whatsnew/3.10.html

  • Post #316956

    Because @tiangolo isn&amp;#39;t too active over here, there&amp;#39;s a mini-doc on FastAPI https://www.youtube.com/watch?v=mpR8ngthqiE