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

is there a python implementation of the cpython commandline interpretor? #80717

Closed
wis mannequin opened this issue Apr 5, 2019 · 2 comments
Closed

is there a python implementation of the cpython commandline interpretor? #80717

wis mannequin opened this issue Apr 5, 2019 · 2 comments

Comments

@wis
Copy link
Mannequin

wis mannequin commented Apr 5, 2019

BPO 36536
Nosy @larryhastings, @wis

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 2019-04-05.12:41:50.730>
created_at = <Date 2019-04-05.12:40:52.341>
labels = ['invalid', 'expert-argument-clinic']
title = 'is there a python implementation of the cpython commandline interpretor?'
updated_at = <Date 2019-04-05.12:41:50.730>
user = 'https://github.com/wis'

bugs.python.org fields:

activity = <Date 2019-04-05.12:41:50.730>
actor = 'larry'
assignee = 'none'
closed = True
closed_date = <Date 2019-04-05.12:41:50.730>
closer = 'larry'
components = ['Argument Clinic']
creation = <Date 2019-04-05.12:40:52.341>
creator = 'wis'
dependencies = []
files = []
hgrepos = []
issue_num = 36536
keywords = []
message_count = 2.0
messages = ['339499', '339500']
nosy_count = 2.0
nosy_names = ['larry', 'wis']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue36536'
versions = []

@wis
Copy link
Mannequin Author

wis mannequin commented Apr 5, 2019

this algorithm:

config_parse_cmdline(_PyCoreConfig *config, _PyCmdline *cmdline,

I need a python library that does that to fix this answer
https://stackoverflow.com/a/55413882/4178053
I need to get the correct path of the script from the commandline of the python process.

I searched for libraries or implementations and couldn't find one, can someone help me? I can't read C.

@wis wis mannequin added the topic-argument-clinic label Apr 5, 2019
@larryhastings
Copy link
Contributor

The Python bug tracker is not your personal resource for answering programming questions.

@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
Projects
None yet
Development

No branches or pull requests

1 participant