[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library
rurpy at yahoo.com
Sun Apr 21 07:44:31 CEST 2013
On 04/20/2013 10:55 PM, Rurpy wrote:
> But it is not true that unique values are *required* for
> storing enumeration values in a database.
I should have added that allowing mixed types for values (e.g.
as discussed in
is far more problematic for database storage than non-unique
values are. Nearly all databases (Sqlite being an exception)
don't allow different types in a column. (Not sure if mixed
types is still an open issue or not...)
More information about the Python-Dev