[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#481061: marked as done (python-apt: Rename API methods to conform with PEP 8)

Your message dated Fri, 05 Jun 2009 18:17:31 +0000
with message-id <E1MCdyt-0005uw-Du@ries.debian.org>
and subject line Bug#481061: fixed in python-apt 0.7.91
has caused the Debian Bug report #481061,
regarding python-apt: Rename API methods to conform with PEP 8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

481061: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481061
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.5
Severity: normal

The coding style guide for Python 
<URL:http://www.python.org/dev/peps/pep-0008> is also a convention for 
code in the Python community.

Please rename the API methods of python-apt to conform with PEP 8 
guidelines. E.g.:

* 'apt.SizeToString' is a function, so should be named 

* 'apt.package.Package.markKeep' is a method, so should be named 

* 'apt.cache.FilteredCache.filterCachePostChange' should be named

* 'apt.package.Dependency.candidateInstalledSize' is an attribute, so 
  should be named 'apt.package.Dependency.candidate_installed_size'

I'm happy to create patches to address this bug if that would be 

--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.7.91

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive:

  to pool/main/p/python-apt/python-apt-dbg_0.7.91_amd64.deb
  to pool/main/p/python-apt/python-apt_0.7.91.dsc
  to pool/main/p/python-apt/python-apt_0.7.91.tar.gz
  to pool/main/p/python-apt/python-apt_0.7.91_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 481061@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: RIPEMD160

Format: 1.8
Date: Fri, 05 Jun 2009 19:36:45 +0200
Source: python-apt
Binary: python-apt python-apt-dbg
Architecture: source amd64
Version: 0.7.91
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
 python-apt - Python interface to libapt-pkg
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
Closes: 481061 523998 525134 527543
 python-apt (0.7.91) experimental; urgency=low
   [ Julian Andres Klode ]
   * Rename where needed according to PEP 8 conventions (Closes: #481061)
   * Where possible, derive apt.package.Record from collections.Mapping.
   * ActionGroups can be used as a context manager for the 'with' statement.
   * utils/migrate-0.8.py: Helper to check Python code for deprecated functions,
     attributes,etc. Has to be run from the python-apt source tree, but can be
     used for all Python code using python-apt.
   * debian/control: Only recommend libjs-jquery (Closes: #527543).
   [ Stefano Zacchiroli ]
   * debian/python-apt.doc-base: register the documentation with the
     doc-base system (Closes: #525134)
   [ Sebastian Heinlein ]
   * apt/package.py: Add Package.get_version() which returns a Version instance
     for the given version string or None (Closes: #523998)
 7db1a920e99437f6af248afacb0bb2a178cf0a41 1206 python-apt_0.7.91.dsc
 d5d80c467cc79c2bb408413ea9de891739ce6e41 696938 python-apt_0.7.91.tar.gz
 0feea5afd5dbcd81edbebef7f7777ffcc8b1696a 535492 python-apt_0.7.91_amd64.deb
 9fd4d849d7d7f3e9d7a441d03c6f792e0cc4b28c 2342294 python-apt-dbg_0.7.91_amd64.deb
 4d013a8186dde0ccf94f2792d53d17355990b028224caa443efaaa7d9d2d4dff 1206 python-apt_0.7.91.dsc
 65fbf854155e34cddac25c6c8dddc2824ad571876a9850c586ae833377b0099d 696938 python-apt_0.7.91.tar.gz
 e0a0564ce832abb91bba023ad9debb1a2275b248a7de85d6aa44daa09bc76b60 535492 python-apt_0.7.91_amd64.deb
 3d268c0287149e589acf3a909381ac3e1a9c57b0fe5a3cf6e97cb9676ac8d8a0 2342294 python-apt-dbg_0.7.91_amd64.deb
 2cd04f3add696860379ad13cba9464b3 1206 python optional python-apt_0.7.91.dsc
 dc4180b119d217e29660122735581a95 696938 python optional python-apt_0.7.91.tar.gz
 092d42c8f6da5f4c36effb4e1d00f7ef 535492 python optional python-apt_0.7.91_amd64.deb
 994940fa4488f0c40eaea87d2a5f42c0 2342294 debug extra python-apt-dbg_0.7.91_amd64.deb

Version: GnuPG v1.4.9 (GNU/Linux)


--- End Message ---

Reply to: