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/2000-April/003539.html below:

Arbitrary attributes on funcs and methods)

[Python-Dev] Object customization (was: Arbitrary attributes on funcs and methods) [Python-Dev] Object customization (was: Arbitrary attributes on funcs and methods)Skip Montanaro skip@mojam.com (Skip Montanaro)
Fri, 14 Apr 2000 11:29:34 -0500 (CDT)
    Paul> I posted a proposal a few days back that does not use the "."
    Paul> SetAttr syntax and is clearly distinguisable (visually and by the
    Paul> compiler) from runtime property assignment.

    Paul> http://www.python.org/pipermail/python-dev/2000-April/004875.html

    Paul> The response was light but positive...

Paul,

I have a question.  Given the following example from your note:

    decl {type:"def(myint: int) returns bar",
	  french_doc:"Bonjour",
	  english_doc: "Hello"}
    def func( myint ):
	    return bar()

how is the compiler supposed to associate a particular "decl {...}" with a
particular function?  Is it just by order in the file?

-- 
Skip Montanaro | http://www.mojam.com/
skip@mojam.com | http://www.musi-cal.com/



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