Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Issue 643153006: IDL: Overwrite pickle file when an exception occurs (Closed)

Created:
6 years, 2 months ago by bashi
Modified:
6 years, 2 months ago
Reviewers:
haraken, Jens Widell
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

IDL: Overwrite pickle file when an exception occurs It seems that TypeErrors can be thrown when we modify the content of pickle files (e.g. InterfacesInfoCoreIndividual.pickle). We can just overwrite pickle files if pickle.load() throws an exception. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184334

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/bindings/scripts/utilities.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
bashi
Haraken-san, PTAL?
6 years, 2 months ago (2014-10-24 06:29:12 UTC) #2
Jens Widell
https://codereview.chromium.org/643153006/diff/1/Source/bindings/scripts/utilities.py File Source/bindings/scripts/utilities.py (right): https://codereview.chromium.org/643153006/diff/1/Source/bindings/scripts/utilities.py#newcode119 Source/bindings/scripts/utilities.py:119: except (EOFError, TypeError, pickle.UnpicklingError): Maybe just "except Exception:"? If ...
6 years, 2 months ago (2014-10-24 06:32:46 UTC) #4
bashi
On 2014/10/24 06:32:46, Jens Widell wrote: > https://codereview.chromium.org/643153006/diff/1/Source/bindings/scripts/utilities.py > File Source/bindings/scripts/utilities.py (right): > > https://codereview.chromium.org/643153006/diff/1/Source/bindings/scripts/utilities.py#newcode119 ...
6 years, 2 months ago (2014-10-24 06:37:06 UTC) #5
Jens Widell
LGTM
6 years, 2 months ago (2014-10-24 06:38:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643153006/20001
6 years, 2 months ago (2014-10-24 06:40:22 UTC) #8
haraken
LGTM
6 years, 2 months ago (2014-10-24 07:05:42 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 08:17:52 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 184334

Powered by Google App Engine
This is Rietveld 408576698