Commit Graph

17 Commits

Author SHA1 Message Date
Benjamin Peterson 60d9b24542 promote m.p.o links to https 2017-06-11 12:02:39 -07:00
Berker Peksag e3de43f0ae Restify PEP 232 2017-01-01 04:04:52 +03:00
Brett Cannon 8dc0e19ce5 Make Barry Warsaw's name consistent. 2007-06-28 19:53:41 +00:00
David Goodger c5b5d3c83d added Last-Modified headers to all PEPs without 2006-03-23 20:13:19 +00:00
Barry Warsaw 99ab3d4e0c Setting my address back to barry@python.org for consistency and better
spam fighting defenses.
2003-09-22 04:51:50 +00:00
Barry Warsaw d4979cd62a Resolution of SF bug # 446645 changes the semantics for __dict__ when
deleting it or getting an attribute before any have been set.
Previously, __dict__ could be None or {}, but now it must be a
dictionary (can never be None), and del'ing it is illegal.

Code changes to be made soon.
2001-08-14 17:52:06 +00:00
Barry Warsaw 295e210393 barry@digicool.com => barry@zope.com 2001-08-14 15:45:26 +00:00
Barry Warsaw addf2b8692 Mark this PEP as Final, as it is now in Python 2.1. Any future
elaborations (e.g. as described in the retained "Future Directions"
section), must be proposed in a new PEP.
2001-03-28 20:24:34 +00:00
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