[Python-Dev] [Python-checkins] r43126 - in python/trunk: Doc/lib/libsocket.tex Lib/socket.py Lib/test/test_socket.py Misc/NEWS Modules/socketmodule.c (original) (raw)

Georg Brandl g.brandl at gmx.net
Tue Mar 21 19:19:36 CET 2006


Tim Peters wrote:

[Guido]

Accessor functions are typical for APIs translated too literally from Java. (threading.py being an example :-( )

I'd like to change this as long as we're doing greenfield API design. [Georg Brandl] Does that mean to change it to attributes? (since I'm no professional BDFL channeler I could have misread your sentence ;) Yup, that's what it means. In addition, the "greenfield" part meant specifically they should be changed to read-only attributes.

Thank you! Changed in rev. 43196.

One trick to professional channeling is to do the Pythonic thing, and then just pretend you read Guido's mind. Of course I'm way beyond that :-)

One day, I want to become like you! ;)

Cheers, Georg



More information about the Python-Dev mailing list