[issue39284] Flexible indentation

2020-01-10 Thread Eric V. Smith


Eric V. Smith  added the comment:

Please discuss this idea on the python-ideas mailing list first. It would also 
certainly require a PEP.

But I don't want to get your hopes up: there's almost no chance that this would 
be accepted.

I'm going to close this issue. If the idea gains any traction, we can re-open 
it.

--
nosy: +eric.smith
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39284] Flexible indentation

2020-01-10 Thread aggu

New submission from aggu :

Indentation should not be "too strict", any number of leading whitespaces 
greater that its "parent" or "peer" should be allowed. For example, the 
following code should be allow:

a = 1
# step 1
# step 1.1
a = a + 1
# step 1.2
a = a * 2
# step 2
# …

, which is more readable, I think, than:

a = 1
# step 1
# step 1.1
a = a + 1
# step 1.2
a = a * 2
# step 2
# …

.

--
messages: 359712
nosy: aggu
priority: normal
severity: normal
status: open
title: Flexible indentation
type: enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com