motor module is practically empty on python 3.5

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Blocker - P1
    • 0.6
    • Affects Version/s: 0.7
    • Component/s: None
    • None
    • Environment:
      installed with pip, then with pip from github master. On Ubuntu 14.04.3 LTS
    • None
    • None
    • None
    • None
    • None
    • None

      ```python
      >>> import motor
      >>> motor._dict_.keys()
      dict_keys(['__package__', '__loader__', '__builtins__', '__cached__', 'tornado', '__name__', 'absolute_import', 'pymongo', 'motor_py3_compat', 'text_type', '__file__', 'get_version_string', 'unicode_literals', '__spec__', 'version', '__path__', 'expected_pymongo_version', 'version_tuple', '__doc__'])
      ```
      There's no `motor_asyncio` or `MotorClient`, so motor is effectively unusable.
      Also note on python 3.4, there is no `motor_asyncio` attribute - I'm guessing the stuff under `motor_asyncio` was moved into the top-level namespace - so the tutorial is inaccurate.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              Michael Hewson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: