Re: [PATCH 18/18] Corrected sympy.__version__

2009-04-18 Thread Ondrej Certik
On Sat, Apr 18, 2009 at 8:37 PM, Fabian Pedregosa wrote: > > Ondrej Certik wrote: >> On Sat, Apr 18, 2009 at 7:46 AM, Fabian Pedregosa wrote: >>> --- >>>  sympy/__init__.py |    2 +- >>>  1 files changed, 1 insertions(+), 1 deletions(-) >>> >>> diff --git a/sympy/__init__.py b/sympy/__init__.py

Re: [PATCH 19/19] Add a wrap option for the pretty printer.

2009-04-18 Thread Fabian Pedregosa
Ondrej Certik wrote: > On Sat, Apr 18, 2009 at 8:02 AM, Fabian Pedregosa wrote: >> That way we get a chance to disable line wrapping, which is interesting, for >> example >> for pretty printing to non-terminals (html, etc.) >> --- >> sympy/printing/pretty/pretty.py| 18 +++

Re: [PATCH 18/18] Corrected sympy.__version__

2009-04-18 Thread Fabian Pedregosa
Ondrej Certik wrote: > On Sat, Apr 18, 2009 at 7:46 AM, Fabian Pedregosa wrote: >> --- >> sympy/__init__.py |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/sympy/__init__.py b/sympy/__init__.py >> index 0d6055e..f4c7d3a 100644 >> --- a/sympy/__init__.py >> +++ b

Re: [PATCH 18/18] Corrected sympy.__version__

2009-04-18 Thread Ondrej Certik
On Sat, Apr 18, 2009 at 7:46 AM, Fabian Pedregosa wrote: > > --- >  sympy/__init__.py |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/sympy/__init__.py b/sympy/__init__.py > index 0d6055e..f4c7d3a 100644 > --- a/sympy/__init__.py > +++ b/sympy/__init__.py > @@ -10,7

Re: [PATCH 19/19] Add a wrap option for the pretty printer.

2009-04-18 Thread Ondrej Certik
On Sat, Apr 18, 2009 at 8:02 AM, Fabian Pedregosa wrote: > > That way we get a chance to disable line wrapping, which is interesting, for > example > for pretty printing to non-terminals (html, etc.) > --- >  sympy/printing/pretty/pretty.py                    |   18 +- >  sympy/p

Re: [PATCH 19/19] Add a wrap option for the pretty printer.

2009-04-18 Thread Vinzent Steinberg
Thank you! Fixed some whitespaces and pushed it in. Vinzent On Sat, Apr 18, 2009 at 05:02:51PM +0200, Fabian Pedregosa wrote: > > That way we get a chance to disable line wrapping, which is interesting, for > example > for pretty printing to non-terminals (html, etc.) > --- > sympy/printing/p

Re: [PATCH 18/18] Corrected sympy.__version__

2009-04-18 Thread Vinzent Steinberg
Thanks! I pushed it in. On Sat, Apr 18, 2009 at 04:46:22PM +0200, Fabian Pedregosa wrote: > > --- > sympy/__init__.py |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/sympy/__init__.py b/sympy/__init__.py > index 0d6055e..f4c7d3a 100644 > --- a/sympy/__init__.py >

Re: [PATCH] fix link to AUTHORS

2009-04-18 Thread Vinzent Steinberg
Thanks! http://git.sympy.org/?p=sympy.git;a=commit;h=590497ceb46ec7ce3d948fd8ba2a485e44e8abed Vinzent On Sat, Apr 18, 2009 at 04:44:53PM +0200, Fabian Pedregosa wrote: > > +1. Please commit. > > Vinzent Steinberg wrote: > > --- > > doc/src/aboutus.txt |7 --- > > 1 files changed, 4 i

[PATCH 19/19] Add a wrap option for the pretty printer.

2009-04-18 Thread Fabian Pedregosa
That way we get a chance to disable line wrapping, which is interesting, for example for pretty printing to non-terminals (html, etc.) --- sympy/printing/pretty/pretty.py| 18 +- sympy/printing/pretty/tests/test_pretty_unicode.py |6 ++ 2 files chang

[PATCH 18/18] Corrected sympy.__version__

2009-04-18 Thread Fabian Pedregosa
--- sympy/__init__.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sympy/__init__.py b/sympy/__init__.py index 0d6055e..f4c7d3a 100644 --- a/sympy/__init__.py +++ b/sympy/__init__.py @@ -10,7 +10,7 @@ http://code.google.com/p/sympy/ """ -__version__ = "0.6.4-g

Re: [PATCH] fix link to AUTHORS

2009-04-18 Thread Fabian Pedregosa
+1. Please commit. Vinzent Steinberg wrote: > --- > doc/src/aboutus.txt |7 --- > 1 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/doc/src/aboutus.txt b/doc/src/aboutus.txt > index 047d933..f0f68d9 100644 > --- a/doc/src/aboutus.txt > +++ b/doc/src/aboutus.txt > @@ -76,

[PATCH] fix link to AUTHORS

2009-04-18 Thread Vinzent Steinberg
--- doc/src/aboutus.txt |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/src/aboutus.txt b/doc/src/aboutus.txt index 047d933..f0f68d9 100644 --- a/doc/src/aboutus.txt +++ b/doc/src/aboutus.txt @@ -76,9 +76,10 @@ want to be mentioned here, so see our repository hi

[PATCH 3/3] Add code quality tests concerning exceptions

2009-04-18 Thread Tomasz Buchert
1) Forbid string exceptions globally (issue 715 related) 2) Forbid generic exceptions (i.e. 'raise Exception(...)') --- sympy/utilities/tests/test_code_quality.py |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/sympy/utilities/tests/test_code_quality.py b/sympy/

[PATCH 2/3] Removal of all generic exceptions from SymPy

2009-04-18 Thread Tomasz Buchert
--- examples/advanced/gibbs_phenomenon.py |2 +- sympy/core/basic.py|4 ++-- sympy/core/function.py |2 +- sympy/core/numbers.py |2 +- sympy/core/power.py|4 ++-- sympy/geometry/ellipse.py

[PATCH 1/3] Removed string exceptions from SymPy (issue 715)

2009-04-18 Thread Tomasz Buchert
--- sympy/core/basic.py |2 +- sympy/matrices/matrices.py| 20 ++-- sympy/physics/matrices.py |4 ++-- sympy/physics/paulialgebra.py |2 +- sympy/series/gruntz.py|2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sym

Re: [PATCH 2/3] Removal of all generic exceptions from SymPy

2009-04-18 Thread Tomek Buchert
Vinzent Steinberg pisze: > I can't apply this patch: > > error: patch failed: sympy/solvers/solvers.py:244 > error: sympy/solvers/solvers.py: patch does not apply > > Vinzent > I forgot to rebase. I will send the patch in a moment. Tomek --~--~-~--~~~---~--~~

Re: [PATCH 2/3] Removal of all generic exceptions from SymPy

2009-04-18 Thread Vinzent Steinberg
I can't apply this patch: error: patch failed: sympy/solvers/solvers.py:244 error: sympy/solvers/solvers.py: patch does not apply Vinzent On Samstag 18 April 2009 10:31:18 Tomasz Buchert wrote: > --- > examples/advanced/gibbs_phenomenon.py |2 +- > sympy/core/basic.py|

[PATCH 3/3] Add code quality tests concerning exceptions

2009-04-18 Thread Tomasz Buchert
1) Forbid string exceptions globally (issue 715 related) 2) Forbid generic exceptions (i.e. 'raise Exception(...)') --- sympy/utilities/tests/test_code_quality.py |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/sympy/utilities/tests/test_code_quality.py b/sympy/

[PATCH 2/3] Removal of all generic exceptions from SymPy

2009-04-18 Thread Tomasz Buchert
--- examples/advanced/gibbs_phenomenon.py |2 +- sympy/core/basic.py|4 ++-- sympy/core/function.py |2 +- sympy/core/numbers.py |2 +- sympy/core/power.py|4 ++-- sympy/geometry/ellipse.py

[PATCH 1/3] Removed string exceptions from SymPy (issue 715)

2009-04-18 Thread Tomasz Buchert
--- sympy/core/basic.py |2 +- sympy/matrices/matrices.py| 20 ++-- sympy/physics/matrices.py |4 ++-- sympy/physics/paulialgebra.py |2 +- sympy/series/gruntz.py|2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sym