| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This changes the progress classes to use PEP 8 names. Due to the concept of the
deprecation system, this causes methods of subclasses not to be called at all.
If a class implements a command with underscores, it is called. If the class
also implements the version in mixedCase, this is ignored. This means that
all subclasses will not work correctly, because only the method from the
parent class is called.
|
|
The function deprecated_args() is used in case a function name is kept, but
the function previously had parameters in mixedCase names.
|
|
A new module, apt.deprecation, is introduced containing functions and
classes which assist in the deprecation.
The apt_pkg extension gets a new attribute, _COMPAT_0_7 which can be set
by defining COMPAT_0_7 at compile time (-DCOMPAT_0_7).
The names are changed, and compatibility functions are enabled if
bool(apt_pkg._COMPAT_0_7) == True, i.e. if the package has been built with
backward compatibility fixes.
This commit changes the apt and aptsources packages, the apt_pkg and
apt_inst extensions will be the next renames.
|