Message376766
# I create a module:
# \sys.path\xxx.py
a = 9
# And:
>>> import xxx
>>> xxx.a
9
# I delete this imported module and modified this module:
del xxx
# \sys.path\xxx.py
a = 9
b = 8
# And re-import:
>>> import xxx
>>> xxx.b
# But:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'xxx' has no attribute 'b' |
|
Date |
User |
Action |
Args |
2020-09-12 03:00:15 | prasechen | set | recipients:
+ prasechen, paul.moore, tim.golden, zach.ware, steve.dower |
2020-09-12 03:00:14 | prasechen | set | messageid: <1599879614.84.0.25424318959.issue41770@roundup.psfhosted.org> |
2020-09-12 03:00:14 | prasechen | link | issue41770 messages |
2020-09-12 03:00:14 | prasechen | create | |
|