Skip to content

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

Closed

Description

@ironsmith
mannequin
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']

Activity

  1. ironsmith commented on Jan 4, 2009

    ironsmithmannequin
    MannequinAuthor

    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.

  2. added
    testsTests in the Lib/test dir
    type-crashA hard crash of the interpreter, possibly with a core dump
    on Jan 4, 2009
  3. pitrou commented on Jan 4, 2009

    @pitrou
    Member

    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?

  4. pitrou commented on Jan 4, 2009

    @pitrou
    Member

    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)

  5. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions