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

Georg Brandl g.brandl at gmx.net
Tue Mar 21 13:23:03 CET 2006


Guido van Rossum wrote:

>> Looking into the library, I see many accessor
>> functions starting with either get_ or get; however, I don't
>> recall why that could have been relevant for socket objects.
>>
>> If you think that should be changed to attributes, we should
>> do that.
> 
> 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.

Does that mean to change it to attributes?
(since I'm no professional BDFL channeler I could have misread your sentence ;)

Georg



More information about the Python-checkins mailing list