Closed 495c5ecb-2b62-4218-a59d-3f9b8cae27c6 closed 23 years ago
I confirm that, to the best of my knowledge and belief, this contribution is free of any claims of third parties under copyright, patent or other rights or interests ("claims"). To the extent that I have any such claims, I hereby grant to CNRI a nonexclusive, irrevocable, royalty-free, worldwide license to reproduce, distribute, perform and/or display publicly, prepare derivative versions, and otherwise use this contribution as part of the Python software and its related documentation, or any derivative versions thereof, at no cost to CNRI or its licensed users, and to authorize others to do so.
I acknowledge that CNRI may, at its sole discretion, decide whether or not to incorporate this contribution in the Python software and its related documentation. I further grant CNRI permission to use my name and other identifying information provided to CNRI by me for use in connection with the Python software and its related documentation.
Problem: A Python program can be completed and reformatted using Tools/scripts/pindent.py. Unfortunately there is no option for removal of the generated "# end"-tags. Although a few Python commands or a "grep -v '# end '" can do wonders here, there are two drawbacks:
Solution: add extra option "-e" (eliminate) to pindent.py
Guido van Rossum wrote:
Looks okay to me.
--Guido van Rossum (home page: http://www.python.org/~guido/)
I guess I can take that as +0, right?
Does anybody feel like commenting on it or just checking it in?
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: ```python assignee = 'https://github.com/gvanrossum' closed_at =
created_at =
labels = []
title = 'pindent: add functionality to remove #END tags'
updated_at =
user = 'https://bugs.python.org/nowonder'
```
bugs.python.org fields:
```python
activity =
actor = 'nowonder'
assignee = 'gvanrossum'
closed = True
closed_date = None
closer = None
components = ['None']
creation =
creator = 'nowonder'
dependencies = []
files = ['2459']
hgrepos = []
issue_num = 400545
keywords = ['patch']
message_count = 4.0
messages = ['32805', '32806', '32807', '32808']
nosy_count = 2.0
nosy_names = ['gvanrossum', 'nowonder']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue400545'
versions = []
```