Re: [sympy] Import combinatorics in __init__

2011-12-12 Thread Aaron Meurer
Aside from naming conventions, I think another thing we should consider when looking what (if anything) to import is which are SymPy objects and which are just regular Python functions. For example, Permutation is Basic, but everything in generators is a Python function (a generator). I do agree

Re: [sympy] Import combinatorics in __init__

2011-12-12 Thread Ondřej Čertík
On Mon, Dec 12, 2011 at 12:58 PM, Aaron Meurer asmeu...@gmail.com wrote: Aside from naming conventions, I think another thing we should consider when looking what (if anything) to import is which are SymPy objects and which are just regular Python functions.  For example, Permutation is Basic,

[sympy] Import combinatorics in __init__

2011-12-11 Thread Matt Habel
So, I was doing a GCI task that involved cleaning up doctests in combinatorics, and I thought, why isn't this imported initially? So, I imported it, ran timeit tests with and without it being imported, and the difference is only about .04-.05 seconds (.36 - ~.4). What do you think about keeping it

Re: [sympy] Import combinatorics in __init__

2011-12-11 Thread Ondřej Čertík
Hi Matt, On Sun, Dec 11, 2011 at 6:40 PM, Matt Habel habel...@gmail.com wrote: So, I was doing a GCI task that involved cleaning up doctests in combinatorics, and I thought, why isn't this imported initially? So, I imported it, ran timeit tests with and without it being imported, and the