[Python-bugs-list] [ python-Bugs-687648 ] classic division in demos/ directory
SourceForge.net
noreply@sourceforge.net
Thu, 22 May 2003 00:59:31 -0700
Bugs item #687648, was opened at 2003-02-16 17:27
Message generated for change (Comment added) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=687648&group_id=5470
Category: Demos and Tools
Group: Not a Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Jp Calderone (kuran)
Assigned to: Nobody/Anonymous (nobody)
Summary: classic division in demos/ directory
Initial Comment:
PEP 238 states:
- The standard library will use the future
division statement and
the // operator when appropriate, so as to
completely avoid
classic division.
While the demos/ directory is not technically part of
the standard library, it does contain code that should
work, and that newbies may examine in the course of
learning Python. Python source there should follow the
same rules as anyplace else.
I'll volunteer to make the changes and submit a
patch, if it is agreed that the changes should indeed
be made.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2003-05-22 02:59
Message:
Logged In: YES
user_id=80475
Is this still open or is there a patch forthcoming?
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2003-02-23 08:48
Message:
Logged In: YES
user_id=6380
Excellent. I hope you'll try to also make a judgement (at
least in some cases) whether a particular piece of demo code
is still relevant -- there is unfortunately a lot of stale
demo code.
Also see if there are other kinds of modernization that
could be done (see PEP 290).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=687648&group_id=5470