[Geany-devel] Keybindings for GeanyPy

Matthew Brush mbrush at xxxxx
Sat Aug 6 05:05:54 UTC 2011

On 08/05/11 21:32, Lex Trotman wrote:
> Sounds fair, I havn't used more than about 2Gb of my 4Gb that I have
> noticed, despite firefox's best efforts.
> BTW what are the restrictions on what Python can be used when Geany
> calls a Python callback, I guess everything has to be a function that
> runs to completion.  Can it be a closure, can it use yield, can it use
> threads, can it do async I/O so as not to block Geany?

More or less anything Python itself supports, including Global 
Interpreter Lock [1].  GeanyPy pretty much only the Python X.X 
interpreter, and pre-loades the Geany Python package (written in C) 
which glues Geany's C API to Python's C API.

[1] http://wiki.python.org/moin/GlobalInterpreterLock

Matthew Brush

More information about the Devel mailing list