Sorry, I don't know what is the "no constant arguments" guideline refers to. Could you give me some more explanation?
By the way, I feel adding separate functions is not quiet worthy for such a function. On Tue, Jul 20, 2010 at 7:11 AM, Greg Ewing <greg.ew...@canterbury.ac.nz>wrote: > Ray Allen wrote: > > I think both os.mkdir() and os.makedirs() should add a keyword argument to >> suppress the "OSError: [Errno 17] File exists". >> > > This could be seen as violating the "no constant arguments" > guideline. Maybe separate function would be better? > > > -- > Greg > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/ysj.ray%2Bpython-dev%40gmail.com > -- Ray Allen Best wishes!
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com