[Python-ideas] Pythonic buffering in Py3 print()
wuwei23 at gmail.com
Wed Jan 11 02:43:54 CET 2012
On Jan 10, 11:27 pm, anatoly techtonik <techto... at gmail.com> wrote:
> To get back on topic, let me give a definition. To me "pythonic" means
> "intuitive" in the first place. And "intuitive" means "up to user
No, what "pythonic" means here is "up to anatoly's expectations".
If I could kill one idea dead about Python it's this persistent belief
that you shouldn't need to read any documentation in order to be able
to use it.
> "intuitive" also means that users won't have to consult user documentation
> for every basic thing it needs
Well, clearly that's not true, as your intuition about print's
behaviour was wrong. Other people's "intuitive" understanding of
mutable default arguments gets them into trouble; you can either "fix"
this behaviour so it's inconsistent with the rest of Python's object
model, or you can recommend they read the docs so their understanding
changes and they know what it means. The latter is the only sane
Similarly, every time your intuition is wrong doesn't make it a
regression or bug.
More information about the Python-ideas