[Python-ideas] Re: Auto dedent -c arguments.

2023-04-09 Thread Barry Scott
On 04/04/2023 15:18, Jonathan Crall wrote: I have what I think is a fairly low impact quality of life improvement to suggest for the python CLI. When I'm not working in Python I tend to be working in bash. But often I want to break out and do something quick in Python. I find the `python -c

[Python-ideas] Re: Auto dedent -c arguments.

2023-04-09 Thread Jonathan Crall
There's no question that there are lots of ways you can work around the issue (I think the `if 1:` method is the easiest and most portable, but it still is boilerplate which can be confusing if you don't know why it's there). The question is: would enough people benefit from this to add the feature