Commit Graph

9 Commits

Author SHA1 Message Date
Barry Warsaw 63478e96e1 Added reference to Michael Hudson's SF implementation of the "having"
syntax.
2001-02-26 18:13:05 +00:00
Barry Warsaw f18e64ab07 Some further clarifications:
- func.__dict__ starts out as None until the first attribute is
  assigned, at which time, it turns into a dictionary.

- del func.__dict__ sets it back to None

- It is legal to assign None to func.__dict__; this is equivalent to
  del func.__dict__

Slight rewording to clarify the BDFL's position on special syntax.
2001-02-26 18:03:35 +00:00
Barry Warsaw b7f81f2915 Removed doctest as a justification for funcattrs. :) 2001-02-20 21:44:54 +00:00
Barry Warsaw b075e5b7ae Moving this PEP back to Draft after some internal discussions raised
more problems with method attributes as previously proposed.

Now, setting attributes on either bound or unbound methods will be
disabled for Python 2.1, but potentially re-enabled for Python 2.2
using a different mechanism.  Getting method attributes is unchanged
for Python 2.1 (but may be elaborated in Python 2.2).
2001-02-20 20:11:04 +00:00
Barry Warsaw 0529b5cfe0 Mark this PEP as final, and do a few minor updates. Guido's accepted
it and the patch is in the cvs tree.
2001-01-15 20:47:14 +00:00
Barry Warsaw 2e3839e1ed Rewritten a bit for clarity, add a note about what you can set
func.__dict__ to, added a note in the open issues about support for
built-in function attributes, and included a link to the SF patch
#103123.
2001-01-06 07:03:11 +00:00
Barry Warsaw 11a0deaf25 Another suggested syntax for inlining attributes, by Aaron Digulla. 2000-12-20 16:42:59 +00:00
Barry Warsaw 34fe472b9e fix a url 2000-12-14 17:20:46 +00:00
Barry Warsaw f32c7da17c PEP 232, Function Attributes, Barry Warsaw 2000-12-13 02:11:58 +00:00