Hans Meine wrote: > VarProxy.__new__ even has a default of "value = None" although None does not > seem to work here (Python 2.4.2).
No, None does not work. Right now, you can't set a config variable to None, it has to have some value because None has no type. Well, maybe it could be added, not sure.... > In tvdev/ivtv.py, it's the config parsing in Config.__init__ which again has > lots of None's as default values below "# TODO: add nice default values and > descriptions". ... because that is ugly. I have no idea about the ivtv stuff, but why does the ivtv.py code has no default values for all the parameter. Using None is a very bad coding style. Instead of fixing the config reader, I guess this should be fixed. Anyone? Dischi -- If you receive something that says 'Send this to everyone you know,' pretend you don't know me. (Roy Johnson)
pgpsC2iOqZSgK.pgp
Description: PGP signature
