Closed Bug 859367 Opened 12 years ago Closed 12 years ago

make xpt.py use unpack_from instead of unpack

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: froydnj, Unassigned)

Details

Attachments

(1 file)

No description provided.
Makes the code look a bit better, might even be more efficient.
Attachment #734683 - Flags: review?(khuey)
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+
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?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
(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.

Attachment

General

Created:
Updated:
Size: