|
Does anyone have a good best practice for type hinting on widely shared stuff? It definitely clears things up, but a lot of it is so new and it seems like the choices are to have people always on the latest version or not use stuff like the Filename type for a few years. Oh never mind it sounds like Filename is our own specific type. I'm still interested in the question, but it's easier since type hints aren't changing as much as I thought StumblyWumbly fucked around with this message at 18:23 on Mar 22, 2024 |
# ¿ Mar 22, 2024 18:16 |
|
|
# ¿ May 14, 2024 14:09 |
|
My excuse: the Literal type came out in 3.8, and it caused some friction between the folks who like the new stuff and the folks who like running with old-ish Python and not having it crash. I was doing a PR and got a flashback when I saw the new type, before I realized adding the type was part of the PR.
|
# ¿ Mar 23, 2024 05:30 |
|
Any recommendations for places to start with interfacing dlls and python? I'm interested in playing around with this and trying to make some file parsing stuff faster by reading binary data in c, then passing it to python for the higher level stuff. I've used ctypes before, but I'm under the impression dll stuff has changed in the last 4 versions or so, and I'm worried searching will suggest bad habits.
|
# ¿ Apr 27, 2024 15:33 |