Re: Article on the future of Python

2012-09-26 Thread Hannu Krosing
On 09/26/2012 10:32 AM, Mark Lawrence wrote: On 26/09/2012 05:10, Chris Angelico wrote: On Wed, Sep 26, 2012 at 10:54 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: SQL? ... it's time to sell your shares in Oracle. Ehh, I wouldn't be investing in Oracle, but that's more

has anybody used ctypes to call back into c program which embeds a python interpreter

2012-03-31 Thread Hannu Krosing
Hi, I want to use ctypes to use some functions from postgreSQL server which embeds python interpreter as language pl/python. That is I want to use ctypes to call _back_ to some internal functions in the server What I tried is the following: hannu=# create or replace function

Re: Number of languages known [was Re: Python is readable] - somewhat OT

2012-03-31 Thread Hannu Krosing
On Sat, 2012-03-31 at 18:55 -0400, David Robinow wrote: On Sat, Mar 31, 2012 at 4:13 PM, Tim Rowe digi...@gmail.com wrote: I know 10 languages. But I'm not telling you what base that number is :) The fact that you know there are bases other than 10 puts you in the top half of the

RE: Iterating generator from C (PostgreSQL's pl/python RETUN SETOF/RECORD iterator support broken on RedHat buggy libs)

2006-05-22 Thread Hannu Krosing
to work, when the generator is turned into list, which is not a good solution as it works directly against what generators are good for. -- Hannu Krosing Database Architect Skype Technologies OÜ Akadeemia tee 21 F, Tallinn, 12618, Estonia Skype me: callto:hkrosing Get Skype for free

Re: Using python for a CAD program

2006-05-16 Thread Hannu Krosing
Ühel kenal päeval, E, 2006-05-15 kell 23:49, kirjutas [EMAIL PROTECTED]: 2. GUI. Yes, I know you can do guis with qt, gtk, tkinter, etc. I'm talking of fancy guis that do alpha blending, animations, nice shading/gradients, etc. in a quick, smooth, and slick way, such that moving a scroll

RE: Iterating generator from C (PostgreSQL's pl/python RETUN SETOF/RECORD iterator support broken on RedHat buggy libs)

2006-05-15 Thread Hannu Krosing
, but avoid trying to hack around this. It would make the bug even more resistent :-) We have been trying to advocate such approach, but so far with modest results :( -- Hannu Krosing Database Architect Skype Technologies OÜ Akadeemia tee 21 F, Tallinn, 12618, Estonia Skype me

Re: [PATCHES] [HACKERS] Iterating generator from C (PostgreSQL's pl/python RETUN

2006-05-15 Thread Hannu Krosing
Ühel kenal päeval, E, 2006-05-15 kell 17:21, kirjutas Tom Lane: Hannu Krosing [EMAIL PROTECTED] writes: Sven Suursoho wrote: As for testing in actual pl/python build environment, we had objections from leading postgresql Tom Lane that even if we do test it at build time, a determined