I think I should have used Cunningham's law instead of asking questions in this post: discuss.python.org/t/pep-810…
I suspect I would have gotten more people weighing in.
#python
I further contend that other than `contextlib.suppress`, there is no other situation where lazy imports in a context manager could be dangerous.
#python
Though I will admit that there are also NO OTHER REASONS for putting lazy imports in a context manager. It's just the backwards compatibility use case and no others.
#python
While I’ve hosted lightning talks at #PyConUS before, I’ve finally given one today! Enforce documentation coverage with `interrogate`! It’s got a cute logo 😍🦥 interrogate.readthedocs.io
ALT Me (Lynn Root) on stage giving my lightning talk (photo taken by @psobot)
Dear #pycon presenters. Here are my accessibility requests for next year. 1. No colorized code on black backgrounds. Blue or purple or gray is really hard to read. 2. Use large text please. I cannot read your regular terminal font. PLEASE.
Hey, do you know the @ThePSF is hiring for a full-time position called the Deputy CPython Developer in Residence?
It's a special role where you'd work with me and the rest of the core team on directly shaping the future of #Python.
Want to know more?
lukasz.langa.pl/40b601fc-2b2…
@GregNuckols@EricTrexler Hey guys, I've been listening to your podcast for a while and I'm curious to know if you have any advice for someone interested in being in an exercise or diet study. I live in the Boston area so I feel like there should be many exercise depts. around.
A perfect illustration of why clinical trial registration needs an upgrade to a full #RegisteredReports model. @RegReports
There are some logistical challenges, but they are solvable. The alternative is this👇
cc @eturnermd1
19% of 755 phase 3 cancer trials had changes to the primary end points in the paper compared to the registration.
70% of those were not disclosed in the paper.
Changes were associated with likelihood of a positive outcome (OR=1.86).
jamanetwork.com/journals/jam…
Carter's has this shirt for kids, but I can't find an adult version anywhere. Trying to tell Amazon or a search engine that it's important that the shirt have all three colors (much less in a specific order) seems impossible.
ALT A color-block polo shirt that is light blue on the top with a gray-ish stripe in the center and dark blue on the bottom.
PEP 658 has finally landed on PyPI!
Wheels uploaded as of about 15 minutes ago now have the appropriate information served from the simple APIs, and METADATA files available on files.pythonhosted.org.
datetime.utcnow and datetime.utcfromtimestamp will be deprecated in #python 3.12: github.com/python/cpython/is…
If you maintain a package, now is probably a good time to grep your source code for utcnow and utcfromtimestamp to get out ahead of the deprecation warnings. 📅🕐
It's relatively easy to make a drop-in replacement for these, but also we're deprecating them because they're conceptually the wrong thing to do, so it's best to migrate to using aware datetimes if possible: blog.ganssle.io/articles/201…
Psst. Next year is a leap year. Depending on your deployment story, now (or 3 months ago😅) might be a good time to start looking into logic that won't handle leap years correctly.
"Oh I need to communicate with someone on Discord quickly, guess I’ll launch it. Oh, there’s an update available, so Discord prevents me from opening their application."
Reason #215 to avoid #discord.
ALT "Must be your lucky day, there's a new update!" Dialogue requiring you to upgrade Discord.