This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: cmd.py should track input file objects so macros with submacros can be easily written
Type: enhancement Stage:
Components: Extension Modules Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, gpolo, r.david.murray, rickbking
Priority: normal Keywords:

Created on 2008-04-07 23:13 by rickbking, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cmd.py rickbking, 2008-04-07 23:13 modified cmd.py implementing the feature request.
unnamed rickbking, 2009-03-30 14:39
Messages (5)
msg65128 - (view) Author: Richard King (rickbking) Date: 2008-04-07 23:13
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.
msg65135 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-04-08 02:15
You should include a diff, not the entire file with your changes
msg65138 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-04-08 02:28
Also, please make it against the current trunk.
msg84358 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-03-29 01:39
Since it's been almost a year and the OP hasn't responded with an
updated patch, I'm closing this as out of date.
msg84553 - (view) Author: Richard King (rickbking) Date: 2009-03-30 14:39
ok, thanks.

R. David Murray wrote:
> R. David Murray <rdmurray@bitdance.com> added the comment:
>
> Since it's been almost a year and the OP hasn't responded with an
> updated patch, I'm closing this as out of date.
>
> ----------
> nosy: +bitdancer
> resolution:  -> out of date
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue2577>
> _______________________________________
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.0.238 / Virus Database: 270.11.32/2030 - Release Date: 03/30/09 08:40:00
>
>
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46829
2009-03-30 14:39:50rickbkingsetfiles: + unnamed

messages: + msg84553
title: cmd.py should track input file objects so macros with submacros can be easily written -> cmd.py should track input file objects so macros with submacros can be easily written
2009-03-29 01:39:34r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg84358

resolution: out of date
2008-04-08 02:28:43benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg65138
2008-04-08 02:15:28gpolosetnosy: + gpolo
messages: + msg65135
2008-04-07 23:13:41rickbkingcreate