[Python-bugs-list] [Bug #131239] -x flag is ignored on non pyc files
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 09 Feb 2001 15:37:18 -0800
Bug #131239, was updated on 2001-Feb-06 02:30
Here is a current snapshot of the bug.
Project: Python
Category: Python Interpreter Core
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: mpmak
Assigned to : tim_one
Summary: -x flag is ignored on non pyc files
Details:
simple script x.bat will raise syntax error in line 1
@python -x "%~f0" %* & goto :EOF
print 'ok'
maybe_pyc_file in pythonrun.c does not save/restore file position when
reading non pyc file which was given as argument on command line.
Follow-Ups:
Date: 2001-Feb-09 15:37
By: jhylton
Comment:
No clue what the .bat file is trying to do.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131239&group_id=5470