[sage-devel] Re: [sage-support] Re: Make doc error

2015-06-04 Thread Volker Braun
The docstring might have to be declared unicode (haven't actually looked at it): def foo(): u""" unicode string """ On Thursday, June 4, 2015 at 2:24:47 AM UTC+2, John H Palmieri wrote: > > Earlier in the docbuilding, I see this: > > [combinat ] building [inventory]: targets for 2 s

[sage-devel] Full-time developer position in Bordeaux for Fall 2015

2015-06-04 Thread Vincent Delecroix
Dear all, In the context of the OpenDreamKit project, a position is opened for a full-time developer for 1 to 4 years at the University of Bordeaux starting in Fall 2015 http://opendreamkit.org/2015/05/29/developer-position-bordeaux/ Please forward this announcement where you see appropriate

[sage-devel] Re: Full-time developer position in Bordeaux for Fall 2015

2015-06-04 Thread kcrisman
> > > In the context of the OpenDreamKit project, a position is opened for a > full-time developer for 1 to 4 years at the University of Bordeaux > starting in Fall 2015 > > Note that http://opendreamkit.org/joinus/ has the spelling "developper". -- You received this message because you ar

Re: [sage-devel] Re: Extremely broad bug in Sage Integral Computations

2015-06-04 Thread kcrisman
1. anyone who believes that sqrt(x^2) is |x| is mistaken. As Bill Page > says, there are two values. > Ah, the old 'function versus expression' debate. I really missed that. > 2. any system that automatically produces |x| can be tricked into > committing serious errors. >Currently

[sage-devel] Re: Full-time developer position in Bordeaux for Fall 2015

2015-06-04 Thread mmarco
Maybe you should specify the duration of the position in the page that you link. It is specified in the job opening page, but not in the page of the specific offer. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group a

Re: [sage-devel] Re: Extremely broad bug in Sage Integral Computations

2015-06-04 Thread Bill Page
On 4 June 2015 at 09:21, kcrisman wrote: > >> 1. anyone who believes that sqrt(x^2) is |x| is mistaken. As Bill Page >> says, there are two values. > > Ah, the old 'function versus expression' debate. I really missed that. > It is not clear to me what this has to do with 'function versus expr

[sage-devel] Re: [sage-support] Re: Make doc error

2015-06-04 Thread Viviane Pons
The problem was indeed the accent, we tried John's fix with # -*- coding: utf-8 -*- and it worked! Thank you for your help, it was kind of tricky. Best Viviane 2015-06-04 3:03 GMT-05:00 Volker Braun : > The docstring might have to be declared unicode (haven't actually looked > at it): > > def

Re: [sage-devel] Re: Extremely broad bug in Sage Integral Computations

2015-06-04 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
Dr. David Kirkby Ph.D CEng MIET Kirkby Microwave Ltd Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, Essex, CM3 6DT, UK. Registered in England and Wales, company number 08914892. http://www.kirkbymicrowave.co.uk/ Tel: 07910 441670 / +44 7910 441670 (0900 to 2100 GMT only please) On 4 J

[sage-devel] Re: UTF-8 and old terminals (new startup banner)

2015-06-04 Thread Bill Janssen
It's hard to sufficiently emphasize how ugly this looks in an Emacs shell buffer. I use the Inconsolata font with emacs, and it doesn't have those characters (the dashes and corner characters), so Emacs goes to a different fixed-width font for them, and that font has a different width, so the

[sage-devel] Using hidden attributes in methods

2015-06-04 Thread Bruno Grenet
Dear all, Many classes in SageMath (most of them? all of them? I don't know...) have their attributes hidden by a leading `__`. Yet in Python hidden attributes are never really hidden, since it is possible to access the attribute `__hidden` of the class `MyClass` as `_MyClass__hidden`. What

Re: [sage-devel] Re: Extremely broad bug in Sage Integral Computations

2015-06-04 Thread Emmanuel Charpentier
Bill, Sagemath cloud complains that your worksheet does not exist. Anyway : sage: integrate(sqrt(cot(x)^2),x).trig_reduce().trig_simplify().log_expand() log(sin(x)) sage: integrate(sqrt(cot(x)^2), x,algorithm="fricas").trig_reduce(). trig_simplify().log_expand() log(sin(x)) sage: integrate(sqrt(c

Re: [sage-devel] Using hidden attributes in methods

2015-06-04 Thread David Roe
I would say that it's fine, especially in a subclass. David On Thu, Jun 4, 2015 at 9:23 AM, Bruno Grenet wrote: > Dear all, > > Many classes in SageMath (most of them? all of them? I don't know...) have > their attributes hidden by a leading `__`. Yet in Python hidden attributes > are never re

Re: [sage-devel] Re: Extremely broad bug in Sage Integral Computations

2015-06-04 Thread Bill Page
On 4 June 2015 at 14:14, Emmanuel Charpentier wrote: > Bill, Sagemath cloud complains that your worksheet does not exist. > Sorry. I was cleaning up and deleted it by mistake. Here it is again, thanks to SMC snapshots.. >> >> https://cloud.sagemath.com/projects/b04b5777-e269-4c8f-a4b8-b21dbe1c9

Re: [sage-devel] Using hidden attributes in methods

2015-06-04 Thread William Stein
On Thu, Jun 4, 2015 at 11:16 AM, David Roe wrote: > I would say that it's fine, especially in a subclass. > David > And I would say it's not fine. If you have to explicitly de-mangle an attribute name, then the overall code is structured badly. The whole point of __ attributes in Python is to h

Re: [sage-devel] Re: Extremely broad bug in Sage Integral Computations

2015-06-04 Thread Bill Page
Just for fun, here is a prettier version of this worksheet on SMC https://cloud.sagemath.com/projects/b04b5777-e269-4c8f-a4b8-b21dbe1c93c6/files/integral2.sagews On 4 June 2015 at 14:29, Bill Page wrote: > On 4 June 2015 at 14:14, Emmanuel Charpentier > wrote: >> Bill, Sagemath cloud complains