[Python-3000] sort vs order (was: What should the focus for 2.6 be?)

Ron Adam rrr at ronadam.com
Fri Aug 25 21:08:50 CEST 2006


Jim Jewett wrote:

> The end result is that even if I find a solution that works, I think
> it will be common (and bug-prone) enough that it really ought to be in
> the language, or at least the standard library -- as it is today for
> objects that don't go out of their way to prevent it.

The usual way to handle this in databases is to generate an unique 
id_key when the data is entered.  That also allows for duplicate entries 
such as people with the same name, or multiple items with the same part 
number.





More information about the Python-3000 mailing list