diff --git a/ChangeLog.rst b/ChangeLog.rst index 8090a2bc..163e88fa 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,7 @@ +3.8.6 +----- +* The `frame.f_locals` of `wrapper` and wrapped function return an empty dictionary, all the other frames still return original value. + 3.8.5 ----- * The `frame.f_locals` of all frames will always return an empty dictionary to protect runtime data. diff --git a/src/platforms/README.md b/src/platforms/README.md index e6f27d75..8521716f 100644 --- a/src/platforms/README.md +++ b/src/platforms/README.md @@ -1,8 +1,8 @@ # Downlaods for Pyarmor Prebuilt Dynamic Library # -Latest version: **3.3.0** +Latest version: **3.3.1** -Build date: 2018-4-4 +Build date: 2018-4-6 The core of Pyarmor is written by C, the prebuilt dynamic libraries include the common platforms and some embeded platforms. It's not @@ -45,6 +45,11 @@ The name of platform is decomposed from distutils.util.get_platform() ## Change Logs +### 3.3.1 + +* `__wraparmor__` only clears frame of `wrapper` and wrapped function when exception raised. +* Refine setter of `frame.f_locals`, only `wrapper` and wrapped function return empty dictionary. + ### 3.3.0 * Add extra argument `tb` when call `__wraparmor__` in decorator, None if no exception.