Commit Graph

11 Commits

Author SHA1 Message Date
Guido van Rossum a921257c6a Simplify the attribute descriptor spec: the only attributes defined
are now __name__, __doc__, __objclass__, __get__ and __set__.  This is
also what's implemented now.  A bunch of things (including the
precedence rules used when an attribute exists both in the instance
__dict__ and in the class __dict__) are clarified.

The C API and other stuff still need to be fleshed out.
2001-07-09 19:05:39 +00:00
Guido van Rossum 96eb7ba974 Conform to Barry's new PEP referencing guidelines. 2001-07-05 19:00:02 +00:00
Guido van Rossum 8727f5379f Fix typo reported by Andrew MacKeith. 2001-06-18 20:46:13 +00:00
Guido van Rossum afd299ae13 I just figured out how to make automatic hyperlinks to other PEPs. 2001-06-08 20:50:31 +00:00
Guido van Rossum af71a6d5d2 Add implementation information. 2001-05-22 03:04:27 +00:00
Guido van Rossum e5aa4a1379 Typo: has_item() should be has_key(). Thanks Moshe. 2001-04-28 16:10:39 +00:00
Guido van Rossum 701fba5cdb Added attribute descriptor API.
Still need to do the signature object API.
2001-04-23 21:19:03 +00:00
Guido van Rossum bad454ef15 Check in a little more about attribute descriptors. More to follow
later today.
2001-04-23 16:35:33 +00:00
Guido van Rossum 2893fa23ef Correct typo found by Thomas Heller (swapped __methods__ and
__members__).
2001-04-20 13:46:17 +00:00
Guido van Rossum eb32cf6554 Some more writing, specifying the core elements of the class-based
introspection API.  I'll add attribute descriptors tomorrow.
2001-04-20 04:01:57 +00:00
Guido van Rossum 3fbd95d184 Add the first bits of PEP 252, Making Types Look More Like Classes. 2001-04-19 21:27:25 +00:00