Command line option -Q (floor division)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christoph Zwerschke

    #1

    Command line option -Q (floor division)

    I noticed that contrary to what is said in
    http://www.python.org/doc/2.2.3/whatsnew/node7.html,
    namely that integer divison should print deprecation
    warnings beginning with Python 2.3, even Python 2.4
    is still quiet about it, i.e. you still need to explicitely
    set the -Q warn option to see the warnings.
    Is that by intent or has it simply been forgotten?

    -- Christoph
  • Christoph Zwerschke

    #2
    Re: Command line option -Q (floor division)

    Just for the records, Anthony Baxter explained that this is by intent,
    because it would be still too disruptive a change. The testsuite does
    not even run completely with -Qnew yet. So it will be probably only
    changed with Python 3.0.

    -- Christoph

    Comment

    • Georg Brandl

      #3
      Re: Command line option -Q (floor division)

      Christoph Zwerschke wrote:[color=blue]
      > Just for the records, Anthony Baxter explained that this is by intent,
      > because it would be still too disruptive a change. The testsuite does
      > not even run completely with -Qnew yet.[/color]

      Now it does, thanks for the nudge. ;)
      [color=blue]
      > So it will be probably only changed with Python 3.0.[/color]

      Most certainly.

      Georg

      Comment

      Working...