- Notifications
You must be signed in to change notification settings - Fork768
Domain reload test cases fixes#1287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
fc7da1d72fafdd20861b22253ef3635edac0ee931e3dad96e90a81f310276f14d0e2ce02fa24591c881c284e8e1fe967816ff9e0b4d2d05b5f061bc3adc559e8543cf61b0d8cc8bacf3cde5c23a956773ee3b3919b4d5f9a2f329446dcb9d10116bb102054e329de5df97262bceb3fab2d6ae4c16a39a6ace340d78a80883232f7987287a544b480079516f1421f6655e4c9769d1991abcf0cd673e5a6b510a7ae21eb14c59e81e21383b5afbc06efb3e86da0b027c6b4533c40a3f044639236a30692855c14aad00c19d5833e83662ae107eedbae573f39bcFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -346,10 +346,13 @@ protected override void OnSave(InterDomainContext context) | ||
| { | ||
| Runtime.PyDict_DelItemString(dict, pair.Key); | ||
| pair.Value.DecrRefCount(); | ||
| if (Exceptions.ExceptionMatches(Exceptions.KeyError)) | ||
| ||
| { | ||
| // Trying to remove a key that's not in the dictionary | ||
| // raises an error. We don't care about it. | ||
lostmsu marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| Runtime.PyErr_Clear(); | ||
| } | ||
| } | ||
| cache.Clear(); | ||
| } | ||