[Python-3000] Best Practices essays
Edward C. Jones
edcjones at comcast.net
Fri Mar 24 03:05:01 CET 2006
"Brett Cannon" <brett at python.org> wrote:
> Right. I am really starting to think that having a group of Best
> Practices essays that discuss common Python idioms might be handy.
> Part tutorial, part advanced usage, they would provide a way for
> people to have a place to go to find out expected usage of things
> such as iterators without having to discover this kind of thing the
> hard way. Could also help us see where possible improvements could
> come in for Py3K if we write them from the perspective of 2.x, or
> even how things improve if we write them for Py3K.
That's a good idea. Include everything from m * [n * [0]] to pickling
classes with __new__. For the latter, Google on "pickling a
subclass of tuple".
More information about the Python-3000
mailing list