Title: -3 commandline option documented differently via man
Type: behavior Stage: needs patch
Components: Documentation Versions: Python 2.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: berker.peksag, docs@python, mgilson
Priority: normal Keywords: easy

Created on 2016-07-08 16:23 by mgilson, last changed 2017-02-18 09:35 by subho.

Pull Requests
URL Status Linked Edit
PR 150 open subho, 2017-02-18 09:35
Messages (1)
msg269994 - (view) Author: Matthew Gilson (mgilson) * Date: 2016-07-08 16:23
The man page for python says:

> Warn about Python 3.x incompatibilities that 2to3 cannot trivially fix.

The official documentation ( does not mention 2to3 at all:

> Warn about Python 3.x possible incompatibilities by emitting a DeprecationWarning for features that are removed or significantly changed in Python 3.

This seems like a pretty big oversight when the following code issues no warnings (presumably because 2to3 can trivially handle this change):

from __future__ import print_function

class test(object):
    def __nonzero__(self):
        return False

t = test()
if t:
Date User Action Args
2017-02-18 09:35:33subhosetpull_requests: + pull_request113
2016-09-28 00:42:40berker.peksagsetkeywords: + easy
nosy: + berker.peksag

type: behavior
stage: needs patch
2016-07-08 16:23:05mgilsoncreate