removed allow_no_value for python 2.6 compatibility