"Make lists subclassable"? 
Author Message
 "Make lists subclassable"?

It appears from this check in comment that one will be able to subclass
a python list in some future revision.

Is this assumption true?
If so is is it slated for version 2.2 and how will it work?  (class
NewList(list): ...   ?)

Norman Shelley

  http://www.*-*-*.com/

...
Revision 2.92.6.3 / (download) / (as text) - annotate - [select for
diffs] , Fri May 4 17:12:53 2001 UTC (3 weeks, 4 days ago) by
gvanrossum
Branch: descr-branch
CVS Tags: before-call-reorg, after-call-reorg
Changes since 2.92.6.2: +20 -0 lines
Diff to previous 2.92.6.2 to a branchpoint 2.92

Make lists subclassable.  Add code that frees ob_item when empty.



Mon, 17 Nov 2003 00:23:55 GMT  
 "Make lists subclassable"?

    Norman> It appears from this check in comment that one will be able to
    Norman> subclass a Python list in some future revision.

    Norman> Is this assumption true?

Yup.

    Norman> If so is is it slated for version 2.2 and how will it work?

I believe 2.2 is the target.  Take a look here for details:

    http://python.sourceforge.net/peps/pep-0252.html
    http://python.sourceforge.net/peps/pep-0253.html

--

(847)971-7098



Mon, 17 Nov 2003 02:23:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. string.join(["Tk 4.2p2", "Python 1.4", "Win32", "free"], "for")

2. making it more "efficient"

3. Colors in "self-made" queue-browse

4. Making F83s6 Desqview "Aware"

5. Kids and "The Making of Android"

6. Kids and "The Making of Android"

7. MAKING "ECHO OFF" SIL

8. making ethernet "driver"

9. Making source code "pretty"

10. gtcatalog (was: "Re: Simple, customizable PHP shopping cart?", but google made me change it)

11. What makes code "readable"?

12. Making a "deep" copy

 

 
Powered by phpBB® Forum Software