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

test_cmd_line starts python without -E #45397

Closed
Yhg1s opened this issue Aug 29, 2007 · 2 comments
Closed

test_cmd_line starts python without -E #45397

Yhg1s opened this issue Aug 29, 2007 · 2 comments
Assignees
Labels
tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@Yhg1s
Copy link
Member

Yhg1s commented Aug 29, 2007

BPO 1056
Nosy @Yhg1s, @ncoghlan

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 = 'https://github.com/ncoghlan'
closed_at = <Date 2007-09-11.14:03:59.760>
created_at = <Date 2007-08-29.13:12:47.808>
labels = ['tests', 'type-crash']
title = 'test_cmd_line starts python without -E'
updated_at = <Date 2007-09-11.14:03:59.755>
user = 'https://github.com/Yhg1s'

bugs.python.org fields:

activity = <Date 2007-09-11.14:03:59.755>
actor = 'ncoghlan'
assignee = 'ncoghlan'
closed = True
closed_date = <Date 2007-09-11.14:03:59.760>
closer = 'ncoghlan'
components = ['Tests']
creation = <Date 2007-08-29.13:12:47.808>
creator = 'twouters'
dependencies = []
files = []
hgrepos = []
issue_num = 1056
keywords = []
message_count = 2.0
messages = ['55418', '55823']
nosy_count = 2.0
nosy_names = ['twouters', 'ncoghlan']
pr_nums = []
priority = 'high'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue1056'
versions = ['Python 2.6']

@Yhg1s
Copy link
Member Author

Yhg1s commented Aug 29, 2007

test_cmd_line tests various things by spawning sys.executable.
Unfortunately it does so without passing the -E argument (which 'make
test' does do) so environment variables like PYTHONHOME and PYTHONPATH
can cause the test to fail.

@Yhg1s Yhg1s added tests Tests in the Lib/test dir type-crash A hard crash of the interpreter, possibly with a core dump labels Aug 29, 2007
@ncoghlan
Copy link
Contributor

Fixed for 2.6 in rev 58103

(Is the head still being merged to the py3k branch? Or does this need to
be forward-ported manually?)

@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

2 participants