• X
    [Dy2Static] fix non-local error while dealing push_pop names (#45828) · 67d77846
    xiongkun 提交于
    * 1. fix non-local error while dealing push_pop names
    2. escape "'" in push_pop_names to avoid syntax errors.
    3. unified the non-local stmt creation processes in getter and setter.
    4. split the nonlocal_names and getter/setter names.
    
    * fix bugs
    
    * 1. revert setter and getter, push_pop_names must have non-local
    
    * fix bugs.
    
    * code format
    67d77846
utils.py 49.9 KB