summaryrefslogtreecommitdiff
path: root/python/acquire-item.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-05-22rename "md5" keyword argument in AcquireFile() to "hash" and add backward ↵Michael Vogt1-9/+26
compatiblity
2013-10-08apt_pkg: Support paths supplied as bytes objects (See: #680971)Julian Andres Klode1-3/+6
We should be done now. DO NOT MERGE
2013-09-11Remove old API compatibility C++ support codeJulian Andres Klode1-38/+0
2011-04-12apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820)Julian Andres Klode1-5/+5
This fix is large, but simple in concept. Instead of relying on Py_BuildValue and type signatures, or type-specific conversion functions, create a new set of overloaded MkPyNumber() functions that automatically do the right thing for each numerical type.
2010-09-28python/acquire-item.cc: strprintf() to have a working %lluMichael Vogt1-8/+13
2010-09-24* python/acquire-item.cc:Michael Vogt1-2/+2
- fix two more int -> long long change to follow the changes from libapt
2010-09-24merge fix from Steven Chamberlain <steven@pyro.eu.org> forMichael Vogt1-1/+1
crash in unattended-upgrades, many many thanks (closes: #596408)
2010-04-21python: Commit documentation changes suggested by debian-l10n-english.Julian Andres Klode1-14/+25
2010-04-01python: Document every class, function, property.Julian Andres Klode1-15/+45
Finally, a complete reference to apt_pkg available via pydoc and __doc__ attributes.
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.