summaryrefslogtreecommitdiff
path: root/python/cdrom.cc
AgeCommit message (Collapse)AuthorFilesLines
2009-07-13python: No zero-size arrays for char *kwlist[].Julian Andres Klode1-1/+1
2009-07-13python: Rename all PyTypeObject's to conform to PEP 7.Julian Andres Klode1-2/+2
This is the first step towards implementing coding guidelines for the C++ code and providing an usable C++ API.
2009-07-12python/cdrom.cc: Remove PkgCdromStruct, use pkgCdrom directly.Julian Andres Klode1-12/+6
2009-06-25python: Use PyVarObject_HEAD_INIT() instead of PyObject_HEAD_INIT().Julian Andres Klode1-4/+1
This is related to PEP 3123 and fixes some compiler warnings.
2009-06-21python: Add DeprecationWarning to functions which were replaced by classes.Julian Andres Klode1-0/+2
2009-06-09Allow types providing __new__() to be subclassed.Julian Andres Klode1-1/+2
2009-06-05python/: Put all deprecated Get*() functions into #ifdef COMPAT_0_7.Julian Andres Klode1-0/+2
2009-06-03python/: Convert most names to PEP8 naming conventions (except ↵Julian Andres Klode1-0/+4
Version,PackageFile,MetaIndex). On our way to close Bug#481061, this converts almost all names to PEP 8 naming conventions. Missing are now apt_pkg.Version, apt_pkg.PackageFile, apt_pkg.MetaIndex and apt.progress.*. In case of the missing apt_pkg classes, they are not converted yet because they do not use getset descriptors yet. apt.progress.* has not been converted yet because the extension interacts with it, and we first need to modify the extension to recognize the new names, as well as the old names (old applications shouldn't break).
2009-04-19* python/*.cc: Export all types and add a __new__() method to them.Julian Andres Klode1-9/+29
Some names may be changed before the release, but this is a good draft.
2009-04-15* Introduce support for Python 3 (Closes: #523645)Julian Andres Klode1-0/+2
This is the first initial port to Python 3. The API is almost completely identical to the one found in Python 2, except that functions working with binary data require bytes (md5sum,sha1sum,sha256sum,Base64Encode). Using setup3.py to install the modules will not work, because the apt package still has to be converted to Python 3. For the package, we call 2to3-3.1 in debian/rules to do this automatically.
2009-04-14* Remove any trailing whitespaceJulian Andres Klode1-3/+3
2009-04-13* python/cdrom.cc, python/depcache.cc: Use tp_methods for Cdrom, ↵Julian Andres Klode1-14/+18
ProblemResolver, ActionGroup
2008-05-16Remove trailing whitespace.Ben Finney1-6/+6
2005-12-09* CdromProgress.totalSteps added Michael Vogt1-4/+2
2005-04-11* added Cdrom.Ident(), improved the examplesMichael Vogt1-4/+11
2005-04-11* cdrom interface addedMichael Vogt1-0/+105