Re: [Python-Dev] Approaches to argument type-checking

2009-03-11 Thread Benjamin Peterson
2009/3/11 Tennessee Leeuwenburg : > Is there a general strategy used in Python development which I should be > aware of? i.e. is it customary to type-check every argument of an interface > method? Or is it customary not to perform type checking up-front and simply > allow the exception to occur dee

[Python-Dev] Approaches to argument type-checking

2009-03-11 Thread Tennessee Leeuwenburg
Hi all, I am currently looking at issue 5236. This issue regards the exception raised when a bytes string is passed into time.strptime. In addition to the specific question I have regarding this issue, I wasn't sure if this was something for python-dev or for the issue comment. However, it does co