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/2003-July/037338.html below:

[Python-Dev] A syntax for function attributes?

[Python-Dev] A syntax for function attributes? [Python-Dev] A syntax for function attributes?Mark Nottingham mnot@mnot.net
Wed, 30 Jul 2003 08:38:13 -0700
PEP 232 lists syntactic support for function attributions to be a 
possible future direction. I would very much like to use function 
attributes for associating metadata with functions and methods, but the 
lack of such syntactic support precludes their use, so I end up 
(ab)using __doc__.

Has there been much further consideration of this issue? I'm not too 
particular about the chosen syntax, I just need something that doesn't 
require qualification with the function name (which tends to reduce 
readability/typeability, in some cases drastically so).

I'm happy to write a PEP if that will help, but wanted to get a sense 
of what people's thinking was.

Cheers,

[ pls cc: me in responses ]




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