Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Anachronistic use of PyUnicode_FromString in _namemapper.c #4

Open
pflarr opened this issue Oct 15, 2010 · 1 comment
Open

Anachronistic use of PyUnicode_FromString in _namemapper.c #4

pflarr opened this issue Oct 15, 2010 · 1 comment

Comments

@pflarr
Copy link

pflarr commented Oct 15, 2010

I'm stuck with using a somewhat older version of python (2.4) for development, and have run into an issue building the cheetah package. In the C version of _namemapper.c, cheetah uses the PyUnicode_FromFormat function. While this is fine for python version 3.0+, this function doesn't appear anywhere in the python C API documentation for the 2.x versions. It is, however, present in the C API starting in at least 2.6 for some reason.

This appears to be the only thing holding cheetah back from being compatible with 2.4. The fix is trivial, and I've got a patch if you'd like it.

@rtyler
Copy link
Owner

rtyler commented Oct 15, 2010

Send a patch along :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants