Nick Coghlan
d075538695
Withdraw PEP 422 in favour of PEP 487
2015-03-02 22:32:31 +10:00
Brett Cannon
cbaecb2fab
Fix syntax error
2015-02-27 09:34:48 -05:00
Nick Coghlan
4cf8410bc9
PEP 422: Make __autodecorate__ a true decorator
...
* __autodecorate__ is now defined as a true decorator that can
replace the class object entirely
* question whether the namespace parameter is sufficiently
valuable to be worth the extra complexity, or if Eric Snow's
idea of using an ordered dict by default would suffice
2015-02-23 21:34:36 +10:00
Nick Coghlan
271fd62543
PEP 422: Update Deferral note & other tweaks
2015-02-23 01:14:58 +10:00
Nick Coghlan
a9817b6218
PEP 422: Rename init_class as autodecorate
2015-02-23 00:47:12 +10:00
Nick Coghlan
0655256bf1
Defer PEP 422 (too many other things going on)
2013-09-16 00:36:52 +10:00
Nick Coghlan
76b6778d04
Minor wording nit
2013-03-05 22:34:43 +10:00
Nick Coghlan
fe1f501b5a
Missed a ref to the old API in PEP 422
2013-03-05 22:32:26 +10:00
Nick Coghlan
f6cc8f4a1f
Fix markup
2013-03-05 22:25:52 +10:00
Nick Coghlan
cc2b99b5ad
Adjust the redrafted PEP 422 to match reality
2013-03-05 22:22:20 +10:00
Nick Coghlan
685514f87a
Fix markup
2013-03-05 01:57:51 +10:00
Nick Coghlan
043d7cfaaa
Revised PEP 422, now with the namespace setting
...
This revealed an interesting conflict between the use of __prepare__ to share a namespace between two different class instances, and the assumption in the cache invalidation for type attribute lookup thatthe class fully controls the contents of the underlying namespace.
2013-03-05 01:54:19 +10:00
Nick Coghlan
c0a1e03125
Update PEP 422 post history
2013-02-10 22:25:46 +10:00
Nick Coghlan
9a660dde6b
Add Daniel as PEP 422 co-author, misc fixes
2013-02-10 22:13:58 +10:00
Nick Coghlan
a7dc8cb417
Reference implementation for PEP 422
2013-02-10 21:47:22 +10:00
Nick Coghlan
fa7af10a99
Update 422 based on python-dev feedback
2012-06-07 22:08:41 +10:00
Nick Coghlan
59de0218af
Eliminate a typo. Also wonder how many times I can use the word 'simple' or a derivative in one PEP.
2012-06-06 21:49:50 +10:00
Nick Coghlan
acc053fc60
Reword a confusing sentence
2012-06-06 21:45:26 +10:00
Nick Coghlan
2e9b04a22a
Fix numbered bullet points
2012-06-06 21:44:01 +10:00
Nick Coghlan
7bac3da1c4
PEP 422 rewrite to present an idea that a) isn't crazy and b) it turns out Thomas Heller proposed back in 2001
2012-06-06 21:40:04 +10:00
Nick Coghlan
ea2123adbb
Add PEP 422: Dynamic Class Decorators
2012-06-05 22:09:20 +10:00