Paul Ganssle

6.1K posts

Paul Ganssle banner
Paul Ganssle

Paul Ganssle

@pganssle

Programmer working @Google in NYC. Maintainer of python-dateutil, Python core developer and general FOSS contributor. Fediverse: @[email protected]

Boston, MA, USA انضم Haziran 2015
323 يتبع2.4K المتابعون
Paul Ganssle
Paul Ganssle@pganssle·
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
English
0
0
0
75
Paul Ganssle
Paul Ganssle@pganssle·
I further contend that other than `contextlib.suppress`, there is no other situation where lazy imports in a context manager could be dangerous. #python
English
1
0
0
85
Paul Ganssle أُعيد تغريده
Lynn Root
Lynn Root@roguelynn·
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
Lynn Root tweet mediaLynn Root tweet media
English
0
4
29
1.4K
Paul Ganssle أُعيد تغريده
Guido van Rossum
Guido van Rossum@gvanrossum·
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.
English
14
65
562
88.1K
Paul Ganssle أُعيد تغريده
Łukasz Langa moved to 🦋
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-2b24-…
English
0
49
116
37.5K
Paul Ganssle
Paul Ganssle@pganssle·
@moreati Even better would be for timekeeping authorities to remove the concept entirely, since it is a "solution" to a non-problem in civil time. Would be cool if everyone dealing with datetimes got together and agreed to ignore any future leap seconds.
English
1
0
0
92
Alex Willmer
Alex Willmer@moreati·
How can I prevent Leap Seconds from occurring? We are thinking of organizing a day of everybody who is against leap seconds to run west. This will hopefully have the effect of changing the rotation of the earth and eliminate the need of the leap second. techcommunity.microsoft.com/t5/networking-…
English
1
0
1
152
Paul Ganssle
Paul Ganssle@pganssle·
@AdamChainz @BajoranEngineer Like, they're better than a for loop in your test *without* subtests, but if you want parameterized tests you should use `pytest.mark.parametrize` or some equivalent thing. Your reasons to not use subtest are the reasons I'd give for not using subtests *for parameterization*.
English
1
0
1
123
Paul Ganssle
Paul Ganssle@pganssle·
@AdamChainz @BajoranEngineer I am not sure that there's as much difference in our positions as you think, if I understand correctly. As I mention in my article, I don't really see subtests as a method for test parameterization.
English
1
0
0
113
mastodon.online/@bajoranengineer
mastodon.online/@bajoranengineer@BajoranEngineer·
I’m going to be writing a bunch of tests in a bunch of different ways today *cracks knuckles* - unittest -PyTest -factory boy -MagickMock - precommit perhaps? any other Python testing tools suggestions?
English
9
0
12
1.7K
Paul Ganssle
Paul Ganssle@pganssle·
I tried looking for an labs at Harvard and MIT, but I am not seeing any researchers there doing work that seems like it would need research subjects.
English
1
0
0
379
Paul Ganssle
Paul Ganssle@pganssle·
@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.
English
2
0
2
481
Paul Ganssle أُعيد تغريده
Paul Ganssle
Paul Ganssle@pganssle·
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.
Paul Ganssle tweet media
English
0
0
0
251
Paul Ganssle
Paul Ganssle@pganssle·
One day I hope ML technology advances to the point that I can describe a shirt and find out if someone is selling something like it.
English
1
0
0
343
Paul Ganssle أُعيد تغريده
Python Package Index
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.
English
2
15
71
31.6K
John Blanchard
John Blanchard@Blanchard_NMR·
tl;dr: Protect your students, yourself, and your equipment: don’t buy shitty cheap cables. 5/5
English
1
0
12
448
John Blanchard
John Blanchard@Blanchard_NMR·
Look closely and you can see why I’m furious about the existence of this power cable 1/
John Blanchard tweet mediaJohn Blanchard tweet media
English
5
2
18
3.8K