[Dy2Static] fix non-local error while dealing push_pop names (#45828)
* 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
Showing
想要评论请 注册 或 登录