#11316: Changeset [10966] broken python 2.3 support ------------------------------------------+--------------------------------- Reporter: kylef | Owner: kylef Status: new | Milestone: 1.0.3 Component: Database layer (models, ORM) | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 1 | ------------------------------------------+--------------------------------- "FutureWarning: x<<y losing bits or changing sign will return a long in Python 2.4 and up"
Changeset [10966] used 1<<32 which will return 0 in python 2.3, and 4294967296L in newer versions. I have simply changed 1<<32 and hard coded the value in (4294967296L) -- Ticket URL: <http://code.djangoproject.com/ticket/11316> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---