Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Include/pystate.h

    r2 r391  
    9696    long thread_id; /* Thread id where this tstate was created */
    9797
     98    int trash_delete_nesting;
     99    PyObject *trash_delete_later;
     100
    98101    /* XXX signal handlers should also be here */
    99102
     
    106109
    107110PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *);
     111PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *);
     112PyAPI_FUNC(void) _PyThreadState_Init(PyThreadState *);
    108113PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *);
    109114PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *);
     
    167172/* Helper/diagnostic function - get the current thread state for
    168173   this thread.  May return NULL if no GILState API has been used
    169    on the current thread.  Note the main thread always has such a
     174   on the current thread.  Note that the main thread always has such a
    170175   thread-state, even if no auto-thread-state call has been made
    171176   on the main thread.
Note: See TracChangeset for help on using the changeset viewer.