Re: Async client for PostgreSQL?

2012-09-01 Thread jwp
couple years will be to make it easier to integrate into arbitrary frameworks. Currently, I suspect it would require some "heavy lifting".. =\ cheers, github.com/jwp -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: visage (interfaces)

2012-08-12 Thread jwp
On Sunday, July 29, 2012 10:18:23 PM UTC-7, jwp wrote: > What's c.l.py's perspective on managing interfaces and implementations? I pushed another version with support for IID references, so you can refer to implementations in annotations. The ultimate point of this is to give regi

Re: On-topic: alternate Python implementations

2012-08-04 Thread jwp
On Friday, August 3, 2012 11:15:20 PM UTC-7, Steven D'Aprano wrote: > WPython - another optimizing version of Python with wordcodes instead of > bytecodes. > > http://code.google.com/p/wpython/ I remember reading about this a while ago. I thought this was eventually going to be committed to CPy

Re: ANN: visage (interfaces)

2012-07-30 Thread jwp
On Monday, July 30, 2012 7:09:03 PM UTC-7, Steven D'Aprano wrote: > Do *one* and see if github actually does render it. Then do the rest. Did it for one project. It does render it. =) Naturally, sphinx autodoc links don't work. =( Come-on github, use dat fundin' -- http://mail.python.org/mailman

Re: ANN: visage (interfaces)

2012-07-30 Thread jwp
On Monday, July 30, 2012 6:09:10 PM UTC-7, alex23 wrote: > a side project, so I may have some more concrete feedback soon :) =) > BTW I think if you rename the ReStructured Text docs to .rst github > > will automatically render them. Did not know that. Gonna go do a lot of git mv's now. Thanks

Re: ANN: visage (interfaces)

2012-07-29 Thread jwp
On Sunday, July 29, 2012 10:18:23 PM UTC-7, jwp wrote: > I just pushed this up to pypi/github, and I hoped to acquire some c.l.py > opinions. http://github.com/jwp/py-visage -- http://mail.python.org/mailman/listinfo/python-list

ANN: visage (interfaces)

2012-07-29 Thread jwp
Hi, I just pushed this up to pypi/github, and I hoped to acquire some c.l.py opinions. It's experimental at this point, and might get scrapped. visage is a loosely coupled interface registry. weakrefs make it cake to implement. Basically, zope.interface, but where the interfaces are referenced

Re: How to represent dates BC

2012-07-28 Thread jwp
On Tuesday, July 24, 2012 2:55:29 AM UTC-7, Laszlo Nagy wrote: > >>> conn.getqueryvalue("select '1311-03-14 BC'::date") > What is the good representation here? Should I implement my own date Do your datetime formatting in postgres: "select '1311-03-14 BC'::date::text" PG does have a have a reas

Automatic setup of meta path hooks?

2012-07-11 Thread jwp
Hi, I'm working on a meta path hook that performs compilation of C extension modules on import ( github.com/jwp/py-c ; pip install c ). It mostly works, but I'm having a hard time finding a standard way to automatically install the hook upon interpreter startup. I've thought ab