A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062723.html below:

[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

[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 [Python-Dev] [Python-checkins] r43126 - in python/trunk: Doc/lib/libsocket.tex Lib/socket.py Lib/test/test_socket.py Misc/NEWS Modules/socketmodule.cTim Peters tim.peters at gmail.com
Tue Mar 21 18:57:29 CET 2006
[attribution lost]
>>>> 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.

[attribution lost]
>>> If you think that should be changed to attributes, we should
>>> do that.

[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.

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 :-)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4