blob: 8d7f8b1d94a748952f7d1f3f3b99ec16b0191451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
"""check reimport
"""
from __future__ import print_function
__revision__ = 0
import os
from os.path import join, exists
import os
import re as _re
_re.match('yo', '.*')
if __revision__:
print(os)
from os.path import exists
print(join, exists)
def func(yooo):
"""reimport in different scope"""
import os as ass
ass.remove(yooo)
import re
re.compile('.*')
if 1:
import sys
print(sys.modules)
else:
print('bla')
import sys
|