#108 — Call signature of get*Entries methods

by Tim Hicks last modified Jan 08, 2009 04:01 PM
State Resolved
Version: 1.6
Area Functionality
Issue type Bug
Severity Critical
Submitted by Tim Hicks
Submitted on Sep 20, 2007
Responsible Tom Lazar
Target release: 1.6
The call signature of all get*Entries methods should be changed, both in implementation and in interfaces, to the equivalent of:

  def getEntries(self, maximum=None, offset=0):

At present, in some places the signature is:

  def getEntries(self, max=None, offset=0):

... which ends up masking the `max' builtin function... which seems like bad form.

As this is an interface issue, I consider it a blocker to a 1.6 beta release.
Added by Tom Lazar on Sep 21, 2007 12:26 PM
Issue state: unconfirmedresolved
implemented in r49845

No responses can be added.