Opened 2 years ago

#5678 defect new

Zero value for the cacheTime parameter accepted by CacheResolver.cacheResult mishandled

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: names Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

The documentation for the cacheTime parameter says:

@param cacheTime: The time (seconds since epoch) at which the entry is

considered to have been added to the cache. If C{None} is given,
the current time is used.

However, if cacheTime is 0, the current time is also used.

Introduced by #5638, which added the cacheTime parameter to this API.

Attachments (1)

zero-cacheTime.diff (614 bytes) - added by acidfoo 2 years ago.

Download all attachments as: .zip

Change History (1)

Changed 2 years ago by acidfoo

Note: See TracTickets for help on using tickets.