[issue1689617] Intel icc build fails with optimizations -O2

2007-11-10 Thread Michael Forbes

Michael Forbes added the comment:

This appears to have been a bug with the intel compilers.  With the latest 
version 10.1 20070913 everything seems to work.

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1689617>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21617] importlib reload can fail with AttributeError if module removed from sys.path

2018-07-15 Thread Michael Forbes


Michael Forbes  added the comment:

What is the status of this issue?  Is there a work-around?  The 3.7 codebase 
raises an exception, but what is the correct solution for reloading a module 
that was loaded dynamically without modifying `sys.path`?

--
nosy: +mforbes

___
Python tracker 
<https://bugs.python.org/issue21617>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21617] importlib reload can fail with AttributeError if module removed from sys.path

2018-07-15 Thread Michael Forbes


Michael Forbes  added the comment:

It seems that a reasonable workaround (if you generate your own `spec`) is to 
call `spec.loader.exec_module(mod)`.  This seems to reload the module into the 
same namespace. (I was afraid that it might replace the namespace hence the 
desire to use `importlib.reload()` explicitly.)

--

___
Python tracker 
<https://bugs.python.org/issue21617>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com