#2318: @paginate API breakage in 1.0.8
------------------------+---------------------------------------------------
Reporter: lmacken | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 1.0.8
Severity: major | Resolution:
Keywords: Patch |
------------------------+---------------------------------------------------
Comment (by chrisz):
Actually `max_limit` takes precedence, except for one corner case where
`max_limit=0` and `allow_limit_override=True`. This is because the default
value for `max_limit` is 0, so we can't check whether this 0 was
excplicitly passed or is the default value. We would need to use a
`NoDefault` class or something to check that, but I think we don't really
need to care, since we never defined what happens if you set conflicting
parameters and you get a deprecation message anyway.
--
Ticket URL: <http://trac.turbogears.org/ticket/2318#comment:8>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---