diff options
author | Guido van Rossum <guido@python.org> | 2001-09-04 03:26:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-04 03:26:15 (GMT) |
commit | 61c345fa37573005b708d239c0911218ca22383c (patch) | |
tree | 04268dbacb57123832b70f49b555af6671b03e56 /Misc | |
parent | a1c1b0f46865bddd9a84dfae6c146a0e010a4496 (diff) | |
download | cpython-61c345fa37573005b708d239c0911218ca22383c.zip cpython-61c345fa37573005b708d239c0911218ca22383c.tar.gz cpython-61c345fa37573005b708d239c0911218ca22383c.tar.bz2 |
Rename the -D option to -Q, to avoid a Jython option name conflict.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -32,14 +32,14 @@ Core this situation, and -Werror::OverflowWarning to revert to the old OverflowError exception. -- A new command line option, -D<arg>, is added to control run-time +- A new command line option, -Q<arg>, is added to control run-time warnings for the use of classic division. (See PEP 238.) Possible - values are -Dold, -Dwarn, and -Dnew. The default is -Dold, meaning + values are -Qold, -Qwarn, and -Qnew. The default is -Qold, meaning the / operator has its classic meaning and no warnings are issued. - Using -Dwarn issues a run-time warning about all uses of classic - division for int, long, float and complex arguments. Using -Dnew is + Using -Qwarn issues a run-time warning about all uses of classic + division for int, long, float and complex arguments. Using -Qnew is questionable; it turns on new division by default, but only in the - __main__ module. You can usefully combine -Dwarn and -Dnew: this + __main__ module. You can usefully combine -Qwarn and -Qnew: this gives the __main__ module new division, and warns about classic division everywhere else. |