fjarri / reikna

Pure Python GPGPU library
http://reikna.publicfields.net/
MIT License
164 stars 16 forks source link

Python 2.6 #15

Closed SyamGadde closed 10 years ago

SyamGadde commented 10 years ago

There are several references to Python 2.6 (on pypi, release notes), but from what I can tell, reikna does not work on anything older than 2.7, due to the numerous uses of "dict comprehension" ( http://legacy.python.org/dev/peps/pep-0274/ ). It may be that those are the only reason it doesn't work on 2.6, and though it's a really neat and useful syntactic feature, reasonable alternatives to dict comprehension exist. RHEL6 and its derivatives still use Python 2.6. Would there be any interest in a patch to enable support for 2.6?

fjarri commented 10 years ago

Sure, if you have time, I'd really appreciate it. Honestly, I don't remember why I put Py2.6 in the list of classifiers, but if the only problem with it is dict comprehensions, I have no problem with equivalent expressions.

andyofmelbourne commented 10 years ago

I am running up against this at the moment (trying to build on a server with python 2.6.6).

SyamGadde commented 10 years ago

Sorry I got distracted since I posted about this. Here is a pull request for Python-2.6 support:

https://github.com/Manticore/reikna/pull/16

I don't think I necessarily got everything, but perhaps it's a start.

-syam

On 06/17/2014 10:05 AM, andyofmelbourne wrote:

I am running up against this at the moment (trying to build on a server with python 2.6.6).

— Reply to this email directly or view it on GitHubhttps://github.com/Manticore/reikna/issues/15#issuecomment-46310756.

fjarri commented 10 years ago

Just in case, I have released v0.6.3 with this fix included.