Opened 7 years ago

#5678 defect new

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

Reported by: Jean-Paul Calderone Owned by:
Priority: normal Milestone:
Component: names Keywords:
Cc: Branch:


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 Andrew Snowden 7 years ago.

Download all attachments as: .zip

Change History (1)

Changed 7 years ago by Andrew Snowden

Attachment: zero-cacheTime.diff added
Note: See TracTickets for help on using tickets.