[IronPython] Type analysis of expression

Christian Schmidt christian2.schmidt at gmx.de
Mon Oct 19 21:52:32 CEST 2009


Stephen,

> Would it be possible to leave the columns as text then coerce at the
> time the data is read from the database?  In other words, convert the
> result of the python expression to a string and store the string in
> the database.  Then, when the result is needed, coerce the string to
> a more suitable type.  In other words, defer when the type needs to
> be known until the value is used.

This would not be an option, because a reading system is normally not 
pythonic. And it would not be very user friendly.
In normal circumstances the result type should be very easily 
identifyable - at least for a programmer user...




More information about the Ironpython-users mailing list