[ python-Bugs-687648 ] classic division in demos/ directory

SourceForge.net noreply at sourceforge.net
Tue Jan 10 23:51:43 CET 2006


Bugs item #687648, was opened at 2003-02-16 23:27
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=687648&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Demos and Tools
Group: Not a Bug
Status: Open
Resolution: None
>Priority: 4
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 09: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 14: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


More information about the Python-bugs-list mailing list