Skip to content

Request for Python 3.2 support #29

Closed

Description

@pboehm

Hello,

I've come across this amazing library and found a possible bug on Python 3.2. I found this in a django extension which is tested by Travis against 2.7, 3.2 and 3.3 and on 3.2 the tests fail because of an SyntaxError in future/utils/init.py.

Traceback (most recent call last):
...
  File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/future/utils/__init__.py", line 419
    return isinstance(obj, type(u''))
                                  ^
SyntaxError: invalid syntax

This only occurs on 3.2 as you can see here https://travis-ci.org/pboehm/django-data-migration/builds/16821855 . For me this looks like a weird error because I couldn't see and error in this line ...

Activity

  1. added a commit that references this issue on Jan 13, 2014
  2. edschofield commented on Jan 13, 2014

    @edschofield
    Contributor

    @pboehm: Thanks for mentioning this. Python 3.2 was released before PEP 414 was ratified, so future currently supports Python 3.3+ only in the 3.x series. (See here.)

    The FAQ now mentions this issue as the place to request support for Python 3.2. Adding support for Python 3.2 to future would likely impose a penalty with performance and/or maintainability, so we would only do this if there were significant demand.

  3. pboehm commented on Jan 13, 2014

    @pboehm
    Author

    Okay sounds reasonable. I have excluded 3.2 from testing ...

  4. changed the title [-]SyntaxError in utils/__init__.py on Python 3.2[/-] [+]Request for Python 3.2 support[/+] on May 19, 2014
  5. davidak commented on May 22, 2016

    @davidak

    Python 3.2 is available on Ubuntu 12.04 LTS which is still supported until 2017, but 2.7 is installed by default.

    Also PyPy3 is based on Python 3.2.5. (but it works)

  6. jmadler commented on Sep 10, 2018

    @jmadler
    Contributor

    Py3.2 is now EOL, and this request is a bit dated. Closing! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions