Bug#481061: [RFC PATCH] Re: Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-06-05 Thread Julian Andres Klode
On Fri, Jun 05, 2009 at 10:46:16AM +1000, Ben Finney wrote: > On 04-Jun-2009, Julian Andres Klode wrote: > > You have to compile apt_pkg. You can build it with compatibility using: > > python setup.py build_ext --inplace -DCOMPAT_0_7 > > If you don't want compatibility (apt_pkg._COMPAT_0_7 == 0

Bug#481061: [RFC PATCH] Re: Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-06-04 Thread Ben Finney
On 04-Jun-2009, Julian Andres Klode wrote: > You have to compile apt_pkg. You can build it with compatibility using: > python setup.py build_ext --inplace -DCOMPAT_0_7 > If you don't want compatibility (apt_pkg._COMPAT_0_7 == 0), use: > python setup.py build_ext --inplace It seems to r

Bug#481061: [RFC PATCH] Re: Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-06-04 Thread Julian Andres Klode
On Thu, Jun 04, 2009 at 07:45:42PM +0200, Julian Andres Klode wrote: > You can fetch the latest build, 0.7.91~r249 ('jak' branch, rev. 249), > which I am running without any problems on my machine in source form and > binaries for amd64 from my (unsigned) repository: > > deb http://people.debian

Bug#481061: [RFC PATCH] Re: Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-06-04 Thread Julian Andres Klode
On Thu, Jun 04, 2009 at 08:50:22PM +1000, Ben Finney wrote: > On 03-Jun-2009, Julian Andres Klode wrote: > > The jak branch follows PEP 8 naming conventions in almost all places > > now. Not finished yet are apt_pkg.Version, apt_pkg.PackageFile, > > apt_pkg.MetaIndex and apt.progress.*. > > Thank

Bug#481061: [RFC PATCH] Re: Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-06-04 Thread Ben Finney
On 03-Jun-2009, Julian Andres Klode wrote: > The jak branch follows PEP 8 naming conventions in almost all places > now. Not finished yet are apt_pkg.Version, apt_pkg.PackageFile, > apt_pkg.MetaIndex and apt.progress.*. Thank you for this request for review. The ‘tests/’ directory has many unit t

Bug#481061: [RFC PATCH] Re: Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-06-03 Thread Julian Andres Klode
On Tue, May 13, 2008 at 11:00:00PM +1000, Ben Finney wrote: > Package: python-apt > Version: 0.7.5 > Severity: normal > > The coding style guide for Python > http://www.python.org/dev/peps/pep-0008> is also a convention for > code in the Python community. > > Please rename the API methods of py

Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-04-16 Thread Ben Finney
On 11-Apr-2009, Julian Andres Klode wrote: > I am attaching the current state of a apt.deprecation module, which > will be used for this. This can be used for apt.** and aptsources.*, > but not for apt_pkg and apt_inst. As you can see, parts are written > by you. Thanks, I'm glad that it's proven

Bug#481061: python-apt: Rename API methods to conform with PEP 8

2009-04-11 Thread Julian Andres Klode
On Tue, May 13, 2008 at 11:00:00PM +1000, Ben Finney wrote: > Package: python-apt > Version: 0.7.5 > Severity: normal > > The coding style guide for Python > http://www.python.org/dev/peps/pep-0008> is also a convention for > code in the Python community. > > Please rename the API methods of py

Bug#481061: python-apt: Rename API methods to conform with PEP 8

2008-05-13 Thread Otavio Salvador
Ben Finney <[EMAIL PROTECTED]> writes: > Package: python-apt > Version: 0.7.5 > Severity: normal > > The coding style guide for Python > 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 wi

Bug#481061: python-apt: Rename API methods to conform with PEP 8

2008-05-13 Thread Ben Finney
Package: python-apt Version: 0.7.5 Severity: normal The coding style guide for Python 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 f