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. Advertising

  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. Advertising

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:
    276
    Heiko Wundram
    May 30, 2004
  2. Fabiano Sidler

    inheriting type or object?

    Fabiano Sidler, Apr 27, 2006, in forum: Python
    Replies:
    1
    Views:
    242
    James Stroud
    Apr 27, 2006
  3. Mangabasi
    Replies:
    3
    Views:
    345
  4. Paul  Moore
    Replies:
    2
    Views:
    258
    Paul Moore
    Nov 20, 2008
  5. Jean-Louis Leroy
    Replies:
    4
    Views:
    310
    Bo Persson
    Mar 5, 2009
Loading...

Share This Page