Closed
Bug 859367
Opened 12 years ago
Closed 12 years ago
make xpt.py use unpack_from instead of unpack
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: froydnj, Unassigned)
Details
Attachments
(1 file)
12.88 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Reporter | |
Comment 1•12 years ago
|
||
Makes the code look a bit better, might even be more efficient.
Attachment #734683 -
Flags: review?(khuey)
Attachment #734683 -
Flags: review?(khuey) → review?(ted)
Comment 2•12 years ago
|
||
Comment on attachment 734683 [details] [diff] [review]
make xpt.py use unpack_from instead of unpack
Review of attachment 734683 [details] [diff] [review]:
-----------------------------------------------------------------
I have no idea why I didn't write it like this in the first place.
Attachment #734683 -
Flags: review?(ted) → review+
![]() |
Reporter | |
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c302ab916b3
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2)
> I have no idea why I didn't write it like this in the first place.
Probably because unpack_from was added relatively recently (2.5) and xpt.py predates that?
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Comment 5•12 years ago
|
||
(In reply to Nathan Froyd (:froydnj) from comment #3)
> Probably because unpack_from was added relatively recently (2.5) and xpt.py
> predates that?
I wrote pyxpt in mid-2010, so I suspect it's not that. I probably just missed this method. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•