copysort patch, was RE: [Python-Dev] inline sort option

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Sun Oct 19 19:34:47 EDT 2003


> From: Alex Martelli [mailto:aleaxit at yahoo.com]
> 
> I think we SHOULD have modules corresponding to built-in types,
> if there are important functions connected with those types but not
> appropriate as methods to populate them.  Perhaps we could use the 
> User*.py modules for the purpose, but making new ones seems
> better.

Well, we already have a precedent for this - the 'Sets' module.

So if we use the same naming convention ...

For discrete types:

    Lists
    Dicts
    Tuples
    Sets

for interfaces:

    Iterators
    Iterables

and for a catch-all

    Objects

Then we just have to argue over what goes where ;)

Tim Delaney



More information about the Python-Dev mailing list