[RFC] Blank lines at the end of files
ian.clatworthy at internode.on.net
Fri Jun 29 01:00:31 BST 2007
John Arbash Meinel wrote:
> I've noticed Aaron comment on blank lines at the end of files. I wasn't
> aware that it was a strict requirement/anything we have ever discussed.
> Obviously Aaron feel like they shouldn't be there. I don't really care.
> For me, I feel like they actually 'terminate' the file, rather than
> ending in the middle of a sentence. Maybe I'm just used to other
> languages where you have a closing brace. But without the trailing
> newline, it actually feels like the file isn't finished yet.
Me too. I like/expect a single blank line at the end of a Python file
such that going to the last line/character in the file puts me below
existing code, not to the right of it.
More information about the bazaar