Afterword
Python is a language for consenting adults.
Alan Runyan, Cofounder of Plone
Alan’s pithy definition expresses one of the best qualities of Python: it gets out of the way and lets you do what you must. This also means it doesn’t give you tools to restrict what others can do with your code and the objects it builds.
Of course, Python is not perfect. Among the top irritants to me is the inconsistent use of CamelCase
, snake_case
and joinedwords
in the standard library. But the language definition and the standard library are only part of an ecosystem. The community of users and contributors is the best part of the Python ecosystem.
Here is one example of the community at its best: one morning while writing about asyncio
I was frustrated because the API has many functions, dozens of which are coroutines, and you have to call the coroutines with yield from
but you can’t do that with regular functions. This was documented in the asyncio
pages, but sometimes you had to read a few paragraphs to find out whether a particular function was a coroutine. So I sent a message to python-tulip titled “Proposal: make coroutines stand out in the asyncio docs”. Victor Stinner, an asyncio
core developer, Andrew Svetlov, main author of aiohttp
, Ben Darnell, lead developer of Tornado, and Glyph Lefkowitz, inventor of Twisted, joined the conversation. Darnell suggested a solution, Alexander Shorin explained how to implement it in Sphinx, and Stinner added the necessary configuration and markup. ...
Get Fluent Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.