[Python-Dev] #pragmas and method attributes

Barry A. Warsaw bwarsaw@cnri.reston.va.us
Wed, 12 Apr 2000 14:31:27 -0400 (EDT)


>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> About a month ago I wrote (but did not publish) a proposal
    PP> that combined #pragmas and method attributes. The reason I
    PP> combined them is that in a lot of cases method "attributes"
    PP> are supposed to be available in the parse tree, before the
    PP> program begins to run. Here is my rough draft.

Very cool.  Combine them with Greg Wilson's approach and you've got my
+1 on the idea.  I still think it's fine that the func attr dictionary
is writable.

-Barry