[issue2577] cmd.py should track input file objects so macros with submacros can be easily written

Richard King report at bugs.python.org
Tue Apr 8 01:13:43 CEST 2008


New submission from Richard King <rickbking at users.sourceforge.net>:

Add an "input" method or property that saves the current input file
object and resets the input file object; when input results in an "EOF",
the input file object stack is popped and reading continues from there.
A modified cmd.py is attached.

----------
components: Extension Modules
files: cmd.py
messages: 65128
nosy: rickbking
severity: normal
status: open
title: cmd.py should track input file objects so macros with submacros can be easily written
type: feature request
versions: Python 2.4
Added file: http://bugs.python.org/file9974/cmd.py

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2577>
__________________________________


More information about the Python-bugs-list mailing list