News for hackers. Stuff that matters.
Re:Pony ORM - Use Pure Python to Speak to Your Data by ronnix on Friday April 19, 2013 @05:22AM (#5575662)
> I'm not very familiar with the culture of the Python community so this might come across as offending, but why such an obsession with "pure" Python?

I think it refers to the implementation, meaning the library has no C modules and is written 100% in Python.

This means it should be able to run on all Python implementations, including Jython, IronPython, PyPy, Google App Engine...

Re:Pony ORM - Use Pure Python to Speak to Your Data by amalashkevich on Friday April 19, 2013 @07:14AM (#5575964)
I'm Alexey Malashkevich, one of the Pony ORM authors. For now Pony ORM runs on CPython only because there is no access to frames in other implementations. "Pure Python" means that you can write queries in term of objects using Python generators.
Re:Pony ORM - Use Pure Python to Speak to Your Data by ronnix on Friday April 19, 2013 @07:49AM (#5576070)
OK, thanks. But isn't it the point of all ORMs? Why the emphasis on pure?
Re:Pony ORM - Use Pure Python to Speak to Your Data by amalashkevich on Friday April 19, 2013 @09:04AM (#5576381)
Pure in this case means that you can use Python syntax in order to query a database. This way a database query looks identical to an iteration over a list of Python objects.
Re:Pony ORM - Use Pure Python to Speak to Your Data by kijin on Friday April 19, 2013 @05:40AM (#5575708)
I see. It actually makes sense to emphasize the purity in this case, since it almost looks like Pony is messing with the Python interpreter itself.
Re:Pony ORM - Use Pure Python to Speak to Your Data by mbreese on Friday April 19, 2013 @11:38AM (#5577190)
Ordinarily this is what "pure python" would mean. Since "pure python" libraries can run anywhere without compiling C code.

But in this case, they are referring to the fact that you don't have to write SQL and write your queries using Python syntax generators.