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

ValueError: time argument too large (pure python BSON decoder on 32-bit)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
    • Environment:
      pypy, cpython

      Description

      This crashes on PyPy 1.5, but works with CPython 2.7:

      from datetime import datetime
      import pymongo

      test = pymongo.Connection().test.test

      test.remove()
      test.insert(

      {'foo' : datetime(1,1,1,1,1,1,1)}

      )
      test.find_one()

      Full traceback: http://paste.pocoo.org/show/400008/

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: