I support PEP 326

Andrew Koenig ark at acm.org
Tue Jan 27 10:54:18 EST 2004


> The issue is that when Min and None are in a sequence that gets sorted,
> you can end up with Minimums and Nones getting interspersed like so:
> [Min, None, Min...]

If Min and None were two different names for the same object, such behavior
would be moot.
However, the following anomalies might then appear:

    >>> None
    None
    >>> Min
    None

(after all, if they're the same object, how is the interpreter to know which
print name to use?)





More information about the Python-list mailing list