Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-08-21 Thread Stephan Beal
On Thu, Aug 21, 2014 at 3:46 PM, Baruch Burstein wrote: > Any explanation? I ran into this issue today when using the fossil built-in > sqlite shell, and I thought I remembered that it has a function registered > for getting a raw blob, but couldn't remember the name. There is one (select conte

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-08-21 Thread Dominique Devienne
On Thu, Aug 21, 2014 at 3:46 PM, Baruch Burstein wrote: > On Sun, May 11, 2014 at 12:58 PM, Baruch Burstein > > On Thu, May 8, 2014 at 11:46 PM, Roger Binns > >> SQLite could provide the information as a virtual table or similar. A > >> ticket was created 7 years ago asking for it, and closed

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-08-21 Thread Baruch Burstein
On Sun, May 11, 2014 at 12:58 PM, Baruch Burstein wrote: > > On Thu, May 8, 2014 at 11:46 PM, Roger Binns > wrote: > >> >> SQLite could provide the information as a virtual table or similar. A >> ticket was created 7 years ago asking for it, and closed 2 months ago by >> the team with resolutio

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-05-11 Thread big stone
Hi, I finally found that housekeeping was the best solution, as I needed anyway to add a layer over the basic information kept by SQLite : - the function ".__doc__" information, - or even the full function creation script. ** discovery of the day : fibonacci works !** pydef py_fib(n): "fibona

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-05-11 Thread Baruch Burstein
On Thu, May 8, 2014 at 11:46 PM, Roger Binns wrote: > > SQLite could provide the information as a virtual table or similar. A > ticket was created 7 years ago asking for it, and closed 2 months ago by > the team with resolution "Rejected": > > https://www.sqlite.org/src/tktview?name=5896edbe46

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-05-09 Thread big stone
Hi, Thanks Rogers ! Danke Hick ! I'll do my manual housekeeping, so. Cheers, ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-05-09 Thread Hick Gunter
: sqlite-users@sqlite.org Betreff: [sqlite] How do I know the python functions registered on SQLite ? Hello, Is there a way to get the list of all the 'external' functions created in a SQLite connexion ? (maybe there is no solution except a manual housekeeping) #* (example o

Re: [sqlite] How do I know the python functions registered on SQLite ?

2014-05-08 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/05/14 09:34, big stone wrote: > Is there a way to get the list of all the 'external' functions created > in a SQLite connexion ? This is only known internally within SQLite and there is no way to get at the information from the public API. SQL

[sqlite] How do I know the python functions registered on SQLite ?

2014-05-08 Thread big stone
Hello, Is there a way to get the list of all the 'external' functions created in a SQLite connexion ? (maybe there is no solution except a manual housekeeping) #* (example of external function creation in Python) import sqlite3 conn = sqlite.connect(":memory:") def mysqrt(s): return ("%