summaryrefslogtreecommitdiff
path: root/python/acquire-item.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-03-01* python/acquire-item.cc:Julian Andres Klode1-0/+7
- Add AcquireItem.partialsize member.
2010-02-27* python:Julian Andres Klode1-12/+1
- Handle deprecated attributes and methods in the tp_gettattro slot, this allows us to easily warn if a deprecated function is used.
2010-01-27Merge the CppOwnedPyObject C++ class into CppPyObject.Julian Andres Klode1-9/+9
2010-01-27Drop the segfault prevention measures from the Acquire code, as they failJulian Andres Klode1-47/+1
to work. A replacement will be added once destruction callbacks are added in APT.
2010-01-24python/acquire-item.cc: Add GC support to AcquireItem.Julian Andres Klode1-3/+4
AcquireItem is owned and owned items need to support the GC in case someone subclasses Acquire and creates a circular reference.
2010-01-23python/acquire-item.cc: Support items without an owner set.Julian Andres Klode1-18/+20
2009-07-22python: 2nd part of the acquire fixes (one PyObject per C++ object).Julian Andres Klode1-5/+9
2009-07-22python: First step of fixing acquire stuff.Julian Andres Klode1-0/+357
Basically, we only want to have on PyAcquireItem per pkgAcquire::Item, and one PyAcquireItemDesc per pkgAcquire::ItemDesc. Therefore, we store them so we can return them at a later time.