#14952: non-pythonic if and while expressions in logic module
-------------------------+---------------------------------
Reporter: pmscurek | Owner: Paul Scurek
Type: task | Status: new
Priority: minor | Milestone: sage-5.11
Component: misc | Keywords: syntax, logic
Merged in: | Authors: Paul Scurek
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Dependencies: #14951 | Stopgaps:
-------------------------+---------------------------------
The syntax for the if and while expressions in the logic module is
inconsistant. Most of the time, python conventions are not followed.
Here is what most of the expressions look like:
{{{
#!python
if(<expression>):
<stuff>
while(<expression>):
<stuff>
}}}
Conventionally, if and while expressions are not in parentheses. The task
is to change all if and while expressions to the following:
{{{
#!python
if <expression>:
<stuff>
while <expression>:
<stuff>
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/14952>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.