Reference count

Discussion in 'Python' started by Pablo Yabo, Aug 11, 2003.

  1. Pablo Yabo

    Pablo Yabo Guest

    Hi,
    I need to keep a object alive even if its reference count if zero.
    Is there any way to increment its reference count using Python code, not
    Py_INCREF or there is any way to avoid deletion of the object?

    Thanks, in advance

    Pablo Yabo
    Pablo Yabo, Aug 11, 2003
    #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. Christophe Vanfleteren

    Re: can I get the reference count

    Christophe Vanfleteren, Aug 9, 2003, in forum: Java
    Replies:
    9
    Views:
    3,404
    Tor Iver Wilhelmsen
    Aug 11, 2003
  2. Peter Jones

    setting a reference count to zero

    Peter Jones, Jan 8, 2006, in forum: Java
    Replies:
    10
    Views:
    629
    Dimitri Maziuk
    Jan 10, 2006
  3. Fredrik Lundh

    Re: Reference count question

    Fredrik Lundh, Feb 2, 2005, in forum: Python
    Replies:
    2
    Views:
    307
    Fredrik Lundh
    Feb 3, 2005
  4. flupke
    Replies:
    7
    Views:
    586
    Terry Reedy
    Apr 21, 2005
  5. efelnavarro09
    Replies:
    2
    Views:
    900
    efelnavarro09
    Jan 26, 2011
Loading...

Share This Page