Opened 17 years ago
Last modified 14 years ago
#7343 closed
django.utils.functional.lazy fails for datetime.date.today — at Version 1
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Normal | Keywords: | lazy functional |
| Cc: | nowellpublic@…, simon@…, jwilk@… | Triage Stage: | Accepted |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
When attempting to create a lazily evaluated version of datetime.date.today -- lazy(datetime.date.today, datetime.date) -- the lazy function returns an error because datetime.date.today does not have a __dict__ attribute. This used to work with the old version of lazy (my old version was from r4944).
Note:
See TracTickets
for help on using tickets.