Command line option -Q (floor division)

Discussion in 'Python' started by Christoph Zwerschke, Mar 23, 2006.

  1. I noticed that contrary to what is said in,
    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, Mar 23, 2006
    1. Advertisements

  2. 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
    Christoph Zwerschke, Mar 28, 2006
    1. Advertisements

  3. Christoph Zwerschke

    Georg Brandl Guest

    Now it does, thanks for the nudge. ;)
    Most certainly.

    Georg Brandl, Mar 29, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.