Command line option -Q (floor division)

  • Thread starter Christoph Zwerschke
  • Start date
C

Christoph Zwerschke

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
 
C

Christoph Zwerschke

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
 
G

Georg Brandl

Christoph said:
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.

Now it does, thanks for the nudge. ;)
So it will be probably only changed with Python 3.0.

Most certainly.

Georg
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top