Opened 18 years ago
Closed 18 years ago
#3377 closed (fixed)
[patch] Infinite loop in LazyDate
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | LazyDate pickle | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
__getattr__
and __get_value__
methods of LazyDate creates infinite recursion if object hasn't got a delta attribute. Normally it shouldn't happen, but in some case, for example if we try to unpickle LazyDate object, it starts looping.
Attachments (2)
Change History (4)
by , 18 years ago
Attachment: | __init__.py added |
---|
by , 18 years ago
Attachment: | __init__.diff added |
---|
comment:1 by , 18 years ago
Summary: | Infinite loop in LazyDate → [patch] Infinite loop in LazyDate |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry for that above. I hope this will be ok.