| 203 |
| 204 |
| 205 |
| 206 |
| 207 |
| 208 |
| 209 |
| 210 |
| 211 |
| 212 |
| 213 |
| 214 | |
def compile_(source, filename=None, mode='exec', flags= |
generators.compiler_flag, dont_inherit=0): |
""" compile the given source to a raw code object, |
which points back to the source code through |
"co_filename.__source__". All code objects |
contained in the code object will recursively |
also have this special subclass-of-string |
filename. |
""" |
s = Source(source) |
-> co = s.compile(filename, mode, flags) |
return co | |