You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
regrtest.py -u largefile test_io fails on OS X 10.5.6 #49080
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-01-04.15:38:34.654>created_at=<Date2009-01-04.11:25:36.904>labels= ['invalid', 'tests', 'type-crash']
title='regrtest.py -u largefile test_io fails on OS X 10.5.6'updated_at=<Date2009-01-04.17:38:26.106>user='https://bugs.python.org/ironsmith'
I'm running OS X 10.5.6 (uname -a == Darwin 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov
24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386) I get the following
error after compiling Python 3.0. Note that I have NOT installed it; I'm just trying
to run the regression tests on the build.
I suspect that tester is not using the newly built python 3.0, but is using whatever
is installed on the system, though I have not checked this at all.
Do you know how to get python to
run from the locally built directory without installing it?
Well, precisely as I told you, but unfortunately it seems it doesn't
work for you.
I'm no Mac OS X user, so I advise you search the tracker for similar
problems, it seems the build procedure on Mac hasn't been polished yet
for Python 3.0.
(in any case, you can't run Python 3.0 scripts with Python 2.x, because
there have been a few syntax changes)
Activity
ironsmith commentedon Jan 4, 2009
I'm running OS X 10.5.6 (uname -a == Darwin 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov
24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386) I get the following
error after compiling Python 3.0. Note that I have NOT installed it; I'm just trying
to run the regression tests on the build.
Python-3.0 cfkaran2$ ./Lib/test/regrtest.py -u largefile test_io
File "./Lib/test/regrtest.py", line 183
print(msg, file=sys.stderr)
^
SyntaxError: invalid syntax
I suspect that tester is not using the newly built python 3.0, but is using whatever
is installed on the system, though I have not checked this at all.
pitrou commentedon Jan 4, 2009
Well, you must indeed use the newly built python, that is "./python -m
test.regrtest [any arguments]".
Out of curiosity, why did you specifically run test_io? Any problem on
your platform?
pitrou commentedon Jan 4, 2009
Well, precisely as I told you, but unfortunately it seems it doesn't
work for you.
I'm no Mac OS X user, so I advise you search the tracker for similar
problems, it seems the build procedure on Mac hasn't been polished yet
for Python 3.0.
(in any case, you can't run Python 3.0 scripts with Python 2.x, because
there have been a few syntax changes)