copying classes?

Discussion in 'Python' started by harold fellermann, Dec 29, 2004.

  1. Hi all,

    In the documentation of module 'copy' it is said that "This version
    does not copy types like module, class, function, method, stack trace,
    stack frame, file, socket, window, array, or any similar types."

    Does anyone know another way to (deep)copy objects of type class? What
    is special about the objects of these types that they cannot be easily
    copied?

    Any help appreciated,

    - harold -


    --
    I like pigs. Dogs look up to us. Cats look down to us.
    Pigs treat us as equal.
    -- Winston Churchill
     
    harold fellermann, Dec 29, 2004
    #1
    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. David

    Classes within classes

    David, Jul 21, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    5,007
    David
    Jul 22, 2005
  2. lonelyplanet999
    Replies:
    1
    Views:
    2,288
    VisionSet
    Nov 13, 2003
  3. Carfield Yim
    Replies:
    1
    Views:
    1,553
    Andrew Thompson
    May 31, 2004
  4. Bob Van Zant

    Re: copying classes?

    Bob Van Zant, Dec 29, 2004, in forum: Python
    Replies:
    3
    Views:
    287
    Alex Martelli
    Dec 31, 2004
  5. Jeff Epler

    Re: copying classes?

    Jeff Epler, Dec 29, 2004, in forum: Python
    Replies:
    1
    Views:
    468
    Hans Nowak
    Dec 30, 2004
Loading...

Share This Page