[Python-Dev] Move sets and `cogen' into a math module

Raymond Hettinger python@rcn.com
Tue, 27 Aug 2002 01:59:52 -0400

I think of sets as being more closely affiliated with heapq, UserDict, and array
and being less affiliated with math, cmath, random, etc.

Raymond Hettinger

----- Original Message ----- 
From: "Michael McLay" <mclay@nist.gov

With sets and possibly cogen being added to the standard library is it likely 
that additional interesting math capabilities will creep into the standard 
Python libraries? Reducing the clutter of the top level namespace is hard to 
do if code depends on it, so better to do it right from the start. Do these 
modules belong at the top level?  Would it make sense to change the math 
module into a package and move the new module inside that the math package?

Python-Dev mailing list