new extension type inheriting from list

Discussion in 'Python' started by Robin Becker, Feb 1, 2004.

  1. Robin Becker

    Robin Becker Guest

    Is there any example anywhere of a new style extension type that
    inherits from a built in type. I would like to write a list based type,
    but although I see there is a tp_bases slot I suspect there's more that
    I need to know. How does one handle the forwarding of members and
    methods etc. How does one do explicit super etc?
    --
    Robin Becker
     
    Robin Becker, Feb 1, 2004
    #1
    1. Advertisements

  2. Robin Becker

    Robin Becker Guest

    In article <>, Tim
    Peters <> writes

    .......good stuff

    thanks for this.
    --
    Robin Becker
     
    Robin Becker, Feb 1, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Heiko Wundram
    Replies:
    0
    Views:
    339
    Heiko Wundram
    May 30, 2004
  2. Fabiano Sidler

    inheriting type or object?

    Fabiano Sidler, Apr 27, 2006, in forum: Python
    Replies:
    1
    Views:
    310
    James Stroud
    Apr 27, 2006
  3. dackz
    Replies:
    0
    Views:
    608
    dackz
    Feb 6, 2007
  4. Mangabasi
    Replies:
    3
    Views:
    448
  5. Paul  Moore
    Replies:
    2
    Views:
    389
    Paul Moore
    Nov 20, 2008
  6. Jean-Louis Leroy
    Replies:
    4
    Views:
    419
    Bo Persson
    Mar 5, 2009
  7. Swati

    Problem inheriting from the list control

    Swati, May 12, 2005, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    156
    Teemu Keiski
    May 13, 2005
  8. Replies:
    2
    Views:
    779
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...