Does Python really follow its philosophy of "Readability counts"?

James Mills prologic at shortcircuit.net.au
Wed Jan 21 08:03:03 CET 2009


On Wed, Jan 21, 2009 at 4:55 PM, Russ P. <Russ.Paielli at gmail.com> wrote:
> On Jan 20, 10:24 pm, alex23 <wuwe... at gmail.com> wrote:
>> This is pretty much what I had in mind when I said before that I
>> believed such concerns could be addressed externally of the
>> interpreter. Thankfully I thought to check Activestate before knocking
>> up my own as proof-of-concept :)
>>
>> With Python 2.6/3.0 Carl's code could be easily (almost said
>> 'trivially'...) extended to support the new __dir__ special method to
>> exclude anything marked as private from the dir() results.
>
> Looks interesting. If it can somehow be integrated into the language
> as full-fledged feature, then I'd say it has potential. As I said
> before, I am not looking for a hack or a quick fix. I am interested in
> well-engineered data hiding that is fully supported as part of the
> language. But I certainly appreciate Mr. Banks effort whether it ever
> reaches that level or not.

Then -don't- use python. Use some other boring
language. (!@#$!@#)

--JamesMills



More information about the Python-list mailing list