[Python-Dev] Re: Suggested memory API rules for 2.3 (original) (raw)
Tim Peters tim.one@comcast.net
Wed, 03 Apr 2002 18:47:39 -0500
- Previous message: [Python-Dev] Re: Suggested memory API rules for 2.3
- Next message: [Python-Dev] Re: Suggested memory API rules for 2.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Tim]
That still needs to be done for PyObjectGCxyz. "Shall not mix", "shall hold the GIL", "guaranteed binary compatibility",
[Neil, the PyObject_GC Master]
Yes.
"shall not use in contexts requiring function designators"
People need some form of GC free to initialize tpfree. Extensions can't really use PyObjectGCDel, can they?
No they can't. So we promise that PyObject_GC_Del can be used in contexts requiring function designators. We're sure that PyObject_GC_{New, NewVar, Resize} can't, since they cast their results to a type "passed" as an argument.
Harmonic convergence?
- Previous message: [Python-Dev] Re: Suggested memory API rules for 2.3
- Next message: [Python-Dev] Re: Suggested memory API rules for 2.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]