Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1153

Documentation should build and test under python 3.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.9.4, 3.4
    • None
    • None

    Description

      Currently the documentation either can't build, can't test, or both under python 3.x. In the v2.9 branch the source needs to run through 2to3 before the docs are built. In v2.9 and master the documentation has to be updated to be python 3.x compatible. This mostly appears to involve changing lines like:

      print foo
      

      to

      print(foo)
      

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: