This post originated from an RSS feed registered with Python Buzz
by Matt Grayson.
Original Post: Is It Supposed to Work That Way?
Feed Title: the forty-second parallel
Feed URL: /archive/python/index.xml?ABCDEFGH
Feed Description: The latest incarnation of the musings from the mind of one Matt Grayson - technology coordinator and all around geek for the School of Information Sciences at the University of Tennessee.
Noticed Hans Nowak's observations on an area where Python's dynamic typing falls short in regards to refactoring. Read it; thought "yeah, ok. good point." and moved on. Fast forward and zoom to my world. I'm working on a Python web app (in webware, btw) that has an object which contains a tuple. This tuple is populated by a bunch of integers that are retrieved from a database table. So far, so good. Well, I have a case where I need to pass an integer from a webpage and determine if that integer is in the aforementioned tuple - seems straightforward....