Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regrtest.py -u largefile test_io fails on OS X 10.5.6 #49080

Closed
ironsmith mannequin opened this issue Jan 4, 2009 · 3 comments
Closed

regrtest.py -u largefile test_io fails on OS X 10.5.6 #49080

ironsmith mannequin opened this issue Jan 4, 2009 · 3 comments
Labels
tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@ironsmith
Copy link
Mannequin

ironsmith mannequin commented Jan 4, 2009

BPO 4830
Nosy @pitrou

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 = None
closed_at = <Date 2009-01-04.15:38:34.654>
created_at = <Date 2009-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 = <Date 2009-01-04.17:38:26.106>
user = 'https://bugs.python.org/ironsmith'

bugs.python.org fields:

activity = <Date 2009-01-04.17:38:26.106>
actor = 'pitrou'
assignee = 'none'
closed = True
closed_date = <Date 2009-01-04.15:38:34.654>
closer = 'pitrou'
components = ['Tests']
creation = <Date 2009-01-04.11:25:36.904>
creator = 'ironsmith'
dependencies = []
files = []
hgrepos = []
issue_num = 4830
keywords = []
message_count = 3.0
messages = ['79044', '79067', '79071']
nosy_count = 2.0
nosy_names = ['pitrou', 'ironsmith']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue4830'
versions = ['Python 3.0']

@ironsmith
Copy link
Mannequin Author

ironsmith mannequin commented 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.

@ironsmith ironsmith mannequin added tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump labels Jan 4, 2009
@pitrou
Copy link
Member

pitrou commented 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 pitrou closed this as completed Jan 4, 2009
@pitrou pitrou added the invalid label Jan 4, 2009
@pitrou
Copy link
Member

pitrou commented Jan 4, 2009

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)

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

1 participant