Message75589
| Author |
christian.heimes |
| Recipients |
amaury.forgeotdarc, barry, christian.heimes, loewis, vstinner |
| Date |
2008年11月07日.01:48:23 |
| SpamBayes Score |
7.823541e-09 |
| Marked as misclassified |
No |
| Message-id |
<1226022505.33.0.480862133361.issue4236@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Strange, I can't reproduce the problem with any Python version. Even
py3k doesn't crash with either "import imp" and "import warnings".
$ cat ../issue4236.py
class Crasher(object):
def __del__(self):
print("__del__ called")
import imp
crasher = Crasher()
$ python2.4 issue4236.py
__del__ called
Exception exceptions.ImportError: 'No module named imp' in <bound method
Crasher.__del__ of <__main__.Crasher object at 0x7f0e6c4e44d0>> ignored
$ python2.5 issue4236.py
__del__ called
Exception exceptions.ImportError: 'No module named imp' in <bound method
Crasher.__del__ of <__main__.Crasher object at 0x7fbbde5ef1d0>> ignored
$ python2.6 issue4236.py
__del__ called
Exception ImportError: 'No module named imp' in <bound method
Crasher.__del__ of <__main__.Crasher object at 0x7f3d810dbf90>> ignored
$ py3k/python issue4236.py
__del__ called
Exception ImportError: 'No module named imp' in <bound method
Crasher.__del__ of <__main__.Crasher object at 0x9ab3e0>> ignored |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月07日 01:48:25 | christian.heimes | set | recipients:
+ christian.heimes, loewis, barry, amaury.forgeotdarc, vstinner |
| 2008年11月07日 01:48:25 | christian.heimes | set | messageid: <1226022505.33.0.480862133361.issue4236@psf.upfronthosting.co.za> |
| 2008年11月07日 01:48:24 | christian.heimes | link | issue4236 messages |
| 2008年11月07日 01:48:23 | christian.heimes | create |
|