diff options
author | Georg Brandl <georg@python.org> | 2012-09-29 09:34:13 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-09-29 09:34:13 +0200 |
commit | 08a9012352933e09b4e5338adbe802b814183758 (patch) | |
tree | d48730b0107a85b9f44a685bb9a9d7aea323f833 /PC/python33gen.py | |
parent | c7d7136c695fd31d29a83fa2de5823c9202d9392 (diff) | |
download | cpython-git-08a9012352933e09b4e5338adbe802b814183758.tar.gz |
Bump version to 3.4.0 alpha 0.
Diffstat (limited to 'PC/python33gen.py')
-rw-r--r-- | PC/python33gen.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/PC/python33gen.py b/PC/python33gen.py deleted file mode 100644 index 21b9f56982..0000000000 --- a/PC/python33gen.py +++ /dev/null @@ -1,26 +0,0 @@ -# Generate python33stub.def out of python3.def -# The regular import library cannot be used, -# since it doesn't provide the right symbols for -# data forwarding -out = open("python33stub.def", "w") -out.write('LIBRARY "python33"\n') -out.write('EXPORTS\n') - -inp = open("python3.def") -line = inp.readline() -while line.strip().startswith(';'): - line = inp.readline() -line = inp.readline() # LIBRARY -assert line.strip()=='EXPORTS' - -for line in inp: - # SYM1=python33.SYM2[ DATA] - head, tail = line.split('.') - if 'DATA' in tail: - symbol, tail = tail.split(' ') - else: - symbol = tail.strip() - out.write(symbol+'\n') - -inp.close() -out.close() |