summaryrefslogtreecommitdiff
path: root/python/apt_instmodule.cc
AgeCommit message (Collapse)AuthorFilesLines
2009-04-15* Introduce support for Python 3 (Closes: #523645)Julian Andres Klode1-1/+34
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-13* python/*.cc: Use PyObject_AsFileDescriptor instead of fileno(PyFile_AsFile)Julian Andres Klode1-6/+15
Replace support for file objects with a more generic support for any object providing a fileno() method and for file descriptors (integers). This also helps us to port to Python 3, where the previously used PyFile_ functions are not available anymore.
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode1-13/+13
2008-07-31* python/apt_instmodule.cc:Michael Vogt1-2/+2
- fix bug in Rootdir cwd code
2008-07-31* python/apt_instmodule.cc:Michael Vogt1-3/+10
- do not change working dir in debExtractArchive() (LP: #184093)
2008-05-16Remove trailing whitespace.Ben Finney1-13/+13
2007-07-30* apt/debfile.py:Michael Vogt1-1/+30
- added wrapper around apt_inst.debExtract() - support dictionary like access * python/apt_instmodule.cc: - added arCheckMember()
2005-11-21* apt_inst.debExtractArchive() addedMichael Vogt1-0/+38
2004-11-24Changed include pathsArch Librarian1-2/+2
Author: jgg Date: 2002-01-08 06:53:04 GMT Changed include paths
2004-11-24Tar examining supportArch Librarian1-3/+6
Author: jgg Date: 2001-09-30 03:52:58 GMT Tar examining support
2004-11-24Initial revisionArch Librarian1-0/+83
Author: jgg Date: 2001-02-20 06:32:01 GMT Initial revision