Added a check for version of python, because the feature "allow_no_value" is not available in Python 2.6
removed un-needed comments