[sage-devel] Re: Python complex number syntax, e.g., "2j"

2008-11-13 Thread Ronan Paixão
> > I vote for 1j being the Python complex number. This is because the only > people I can ever imagine using the notation "j" in Sage are numerical > numpy-type users who would be very annoyed to get Sage complex numbers > ever. Actually, at least Electric/Electronic Engineering doesn't use i

[sage-devel] Re: Python complex number syntax, e.g., "2j"

2008-11-12 Thread William Stein
On Wed, Nov 12, 2008 at 9:06 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Python supports creating complex numbers using the following syntax: > > imagnumber ::= (floatnumber | intpart) ("j" | "J") > > Right now, the preparser botches this and makes it give an error: > > sage: 1j > -