Opened 9 years ago
Closed 9 years ago
#26460 closed Cleanup/optimization (fixed)
Don't call ``warnings.warn`` for each invalid character in a caching key
Description (last modified by ) ¶
BaseCache.validate_key() will call warnings.warn()
for each invalid character in the key. This is not a big issue since only one warning will appear but it is unnecessary.
Change History (3)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Component: | Uncategorized → Core (Cache system) |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Cleanup/optimization |
Version: | 1.9 → master |
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In d356bb6: