And note that in Python 3 both would raise an exception.

Aaron Meurer

On Tue, Oct 29, 2013 at 7:05 AM, Julien Rioux <[email protected]> wrote:
> On Tuesday, 29 October 2013 08:40:39 UTC-4, gsagrawal wrote:
>>
>> try  sympify("026") -> 22
>> sympify("028") ->exception ???
>>
>> what is happening ??
>>
>
> In python, numbers with a leading zero are octal numbers; such numbers may
> only contain the digits 0 through 7.
>
> Cheers,
> Julien
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to