Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-102

motor module is practically empty on python 3.5

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

      ```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:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            mikeyhew Michael Hewson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: