@adamw Definitely is part of Python: https://peps.python.org/pep-0453/
You should absolutely include your tests in your coverage measurement.
https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html
@coveragepy Oh in the issue I guess you mention you just do line-wise regex matching.
@coveragepy How bulletproof of a solution do you want here?
Do you already have some model of the structure of the code or the context of a given method definition?
Solutions needed: Is it possible for coverage.py to automatically exclude Protocols from measurement?
Should coverage.py report a missing branch if a comprehension doesn't run to completion? https://github.com/nedbat/coveragepy/issues/1617#issuecomment-1535647011
Would it be better if instead of "2->exit" it said "completion(2)" ?
@jonafato "No, no, no, you've got us all wrong. We're trying to store it as a string, but sometimes Excel automatically turns it into an integer if it starts with a 0."
@wrog Interesting, though I think the Gregorian calendar is Good Enough™ at this point, and changing calendars would do more harm than good.
We won't be out of sync with the solar year by a margin of one day for another 2900 years. By then I fully expect us to either be extinct or at a level of technology where the seasons on Earth are not that important. Even if they are, there are still tens of thousands of years before things other than "hmm, the equinoxes seem to be off by a day" start to become obvious.
Bugs like `dt.replace(year=dt.year + 1)`, code that works with ordinal day-of-year, etc.
@astrojuanlu Matrix is not great (literally nothing in this or the adjacent "SMS replacement" space is, in my opinion), but E2EE that is both secure and good UX is like... obscenely hard.
@astrojuanlu I mean, that's from E2E encryption, which I think Discord doesn't support at all? You can turn that off, and it's pretty easy to share keys between devices.
@rober Lol, "Our user experience is trash, but we also have a different trash UX that is complementary to the other one!"
I appreciate the helpful tip, but also I'm not sure I want to encourage the continued existence of Discord.
@drewtoynbee This may be of interest to you, @astrojuanlu
"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 appliaction*."
Reason #215 to avoid #discord.
Just released Typer 0.8.0 🔖
With support for ✨ custom param types ✨
Thanks to John Purviance for the work in the PyCon sprint! 🍰
https://typer.tiangolo.com/tutorial/parameter-types/custom-types/
Post-conference notes from my experience at PyCon 2023. I think I am squeaking under the wire for these to still be relevant…
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.