This repository was archived by the owner on Mar 2, 2022. It is now read-only.
Commit 3f7be6b
committed
Use Python 3.7 generator when running on Python 3.7
Summary: This is the start of actually being able to really use the Python 3.7 compiler - we'll now switch the default compilation mode based upon the version in sys.version_info. We also now need to define the SETUP_ANNOTATIONS opcode to be able to import the compiler on 3.7 similar to how we define LOAD_METHOD/CALL_METHOD on 3.6
Test Plan: ./python -m test.test_compiler1 parent ea2deb8 commit 3f7be6b
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
1975 | 1975 | | |
1976 | 1976 | | |
1977 | 1977 | | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
1978 | 1981 | | |
| 1982 | + | |
1979 | 1983 | | |
1980 | 1984 | | |
1981 | 1985 | | |
| |||
0 commit comments