piiswrong commented on a change in pull request #10833: [WIP] Change class 
variables to thread local variables
URL: https://github.com/apache/incubator-mxnet/pull/10833#discussion_r187237163
 
 

 ##########
 File path: python/mxnet/name.py
 ##########
 @@ -62,14 +65,30 @@ def get(self, name, hint):
         return name
 
     def __enter__(self):
-        self._old_manager = NameManager.current
-        NameManager.current = self
+        if not hasattr(NameManager._current, "value"):
 
 Review comment:
   same

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to