Edgewall Software

Changeset 1247


Ignore:
Timestamp:
Feb 16, 2014, 7:32:21 PM (10 years ago)
Author:
hodgestar
Message:

Disable the speedups C extension on CPython >= 3.3 since Genshi doesn't support the new Unicode C API yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup.py

    r1211 r1247  
    6666
    6767if Feature:
     68    # Optional C extension module for speeding up Genshi:
     69    # Not activated by default on:
     70    # - PyPy (where it harms performance)
     71    # - CPython >= 3.3 (the new Unicode C API is not supported yet)
    6872    speedups = Feature(
    6973        "optional C speed-enhancements",
    70         standard = not is_pypy,
     74        standard = not is_pypy and sys.version_info < (3, 3),
    7175        ext_modules = [
    7276            Extension('genshi._speedups', ['genshi/_speedups.c']),
Note: See TracChangeset for help on using the changeset viewer.