Skip to content

-c code argument should be dedented #8055

@roryyorke

Description

@roryyorke

Feature

As of CPython 3.14, the argument to -c is dedented; see python/cpython#103998

Python Documentation or reference to CPython source code

Documented at https://docs.python.org/3/using/cmdline.html#cmdoption-c

What's new announcement in https://docs.python.org/3/whatsnew/3.14.html#command-line-and-environment

The associated test is test.test_cmd_line.CmdLineTest.test_cmd_dedent, which is marked with @unittest.expectedFailure # TODO: RUSTPYTHON in RustPython.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPython

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions