classification
Title: IMPORT_NAME Documentation is incomplete
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, pib
Priority: normal Keywords:

Created on 2008-04-14 18:22 by pib, last changed 2008-04-19 16:59 by georg.brandl. This issue is now closed.

Messages (2)
msg65471 - (view) Author: Paul Bonser (pib) Date: 2008-04-14 18:22
The documentation for IMPORT_NAME at
http://docs.python.org/lib/bytecodes.html doesn't mention the fact that
the instruction requires two parameters to be on the stack.

TOS and TOS1 should map to the fromlist and level parameters to the
builtin function __import__, respectively.
msg65634 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-04-19 16:59
Fixed in r62392.
History
Date User Action Args
2008-04-19 16:59:38georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg65634
2008-04-14 18:22:10pibcreate