commit | dd13e4f91ff2d8824e852afaec59d95d7dd409b3 | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Sun Aug 27 20:31:27 2000 +0000 |
committer | Thomas Wouters <thomas@python.org> | Sun Aug 27 20:31:27 2000 +0000 |
tree | 89497ccf5d8b6307d7b32bb71a8142c00b494bfa | |
parent | e868211e106d4da348925e1c1bd1ea62b3560721 [diff] |
Replace the run-time 'future-bytecode-stream-inspection' hack to find out how 'import' was called with a compiletime mechanism: create either a tuple of the import arguments, or None (in the case of a normal import), add it to the code-block constants, and load it onto the stack before calling IMPORT_NAME.