Closed
Bug 1053080
Opened 10 years ago
Closed 10 years ago
Improve mozbuild.util.memoize and add memoized_property
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla34
People
(Reporter: glandium, Assigned: glandium)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
6.13 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8472176 -
Flags: review?(gps)
Comment 2•10 years ago
|
||
Comment on attachment 8472176 [details] [diff] [review] Improve mozbuild.util.memoize and add memoized_property Review of attachment 8472176 [details] [diff] [review]: ----------------------------------------------------------------- ::: python/mozbuild/mozbuild/test/test_util.py @@ +483,5 @@ > + # same type should give us the same id. > + instance_id = id(instance) > + del instance > + instance = foo() > + self.assertEqual(instance_id, id(instance)) I /think/ this is a CPython implementation detail (objects are refcounted and destroyed immediately). Meh.
Attachment #8472176 -
Flags: review?(gps) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/44b0dcb52a8c
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/44b0dcb52a8c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
QA Whiteboard: [qa-]
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•