mrkipling/maraschino — pull request #187 by erebos42 (2012-08-01 10:21:18+00:00)
Title: Cleanup

Hey,

As I was going through some of the source code I added some comments and docstrings more or less for myself. I thought I'd share this with you.

Also I've defined the source file encoding to utf-8 and added a magic comment to Maraschino.py so it can be directly executed. Since many files are touched by this PR, this would be a good time to add a copyright statement to the files (which license should it be? Maybe AGPL, LGPL?).

I'm not sure if this should be another PR, but also did some code cleanup regarding the safe_server_address() and format_number(num) functions and some user input check (port) at startup.