8000 ``Tools/cases_generator/optimizer_generator`` CLI does not work without explicit arguments · Issue #116000 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Tools/cases_generator/optimizer_generator CLI does not work without explicit arguments #116000

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

Closed
Eclips4 opened this issue Feb 27, 2024 · 0 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member
Eclips4 commented Feb 27, 2024

Bug report

Bug description:

python3.11 optimizer_generator.py 
usage: optimizer_generator.py [-h] [-o OUTPUT] [-d] input ...
optimizer_generator.py: error: the following arguments are required: input, base

I think it should work as the other generators.

However, these lines suggests that it should work:

if len(args.base) == 0:
args.input.append(DEFAULT_INPUT)
args.input.append(DEFAULT_ABSTRACT_INPUT)

cc @Fidget-Spinner

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant
0