Age | Commit message (Collapse) | Author | Files | Lines |
|
This fixes a small compiler notice.
|
|
|
|
|
|
|
|
Developers should use the class-based API instead.
|
|
This is the final commit which Closes: #536096, as everything
doable with the functions can now be done using the classes.
|
|
|
|
This is part one of wishlist Bug#536096, introducing classes in
apt_inst.
|
|
This was copied over from "Porting Extension Modules to 3.0", and is not
really needed.
|
|
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).
|
|
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.
|
|
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.
|
|
|
|
- fix bug in Rootdir cwd code
|
|
- do not change working dir in debExtractArchive() (LP: #184093)
|
|
|
|
- added wrapper around apt_inst.debExtract()
- support dictionary like access
* python/apt_instmodule.cc:
- added arCheckMember()
|
|
|
|
Author: jgg
Date: 2002-01-08 06:53:04 GMT
Changed include paths
|
|
Author: jgg
Date: 2001-09-30 03:52:58 GMT
Tar examining support
|
|
Author: jgg
Date: 2001-02-20 06:32:01 GMT
Initial revision
|