4 ms·
Why is it flagged ? The article is imperfect, but midly useful. It does forget to mention very important topics: - type hints are finally useful, thanks to be
by BiteCode_dev 5y ago
Why is it flagged ? The article is imperfect, but midly useful.
It does forget to mention very important topics:
- type hints are finally useful, thanks to better mypy default and support, and allowing built-in, protocols and shortcuts into the syntax
- 3.10 ships with pattern matching and, I must insist, absolutely better error messages (being waiting for that for a while)
- black is the status quo formatting tool in the community
- pydantic base libs are getting a lot of traction (the article does mention typer, but not fast api)
- dephell allow you to convert between all those mess of various build systems so you can easily start with pip and move to poetry
- a new dev is now PAID by the PSF to work on python
- __pypackages__ is being actively experimented with, with initiatives like the pdm, the py launcher or pyflow (which also aims to take pyenv job, but saving you the compilation)
- plenty of speed work being done by MS, but also 2 other projects
- pyproject.toml is has now enough PEP to be better than setup.cfg , including one for a lock file
- vscode is now the most popular python ide, their language server pylance rocks and does feature auto imports now
- zipapps with shiv and compiled apps with nuitka changed the game of python deployment
- brett canon decided to use doit as a build tool publicly for new projects so it's getting traction. Ok, I kinda oversold it to him, but it's a good tool, it's worth checking out.
- asyncio is not a curiosity anymore, and the ecosystem is pretty mature, with uvloop, aiohttp, httpx, trio, etc. And the work for a integrated nurseries into the stdlib is on the way
- concurrency in Python has seen a boost because of the stdlib ShareMemory module, and sub interpretter are now being tested by popular projects
- python 2.7 has been dead for 1 year and it's business as uasual
- python 3.6 is the "old python" now. Funny, considering we used to thing f-string were the new toy
- rust is becomming python best friend, with more and more extensions being written in rust, and even one python implementation
- pyiodine makes it trivial to test real python code in a webpage. For web dev it's not usable, but for teaching it's been awesome:. Type to use sqlite in there, it's works magically, despite never touching the server : https://notebook.basthon.fr/ https://notebook.basthon.fr/
- htmx (the js lib) is getting used by pythonista that don't like js much
- wagtail, the cms, has become a thing of beauty
I probably forget a lot of things.
- Silhouette 5y agoI agree it's unfortunate that this submission was flagged. The original article wasn't perfect but it has prompted several informative comments including the parent of this one, which most people presumably won't see now.