Nathaniel Smith wrote:
> It turns out that the new definition of consolePrint (that I wrote,
> *cough*) is totally broken -- it tries to write to sys.stdout, and
> it's in a module that imports sys, but... there's some code in the
> middle that does 'del sys'. So console output just doesn't work right
> now.

Well, there was a blind spot in the unit tests (default console I/O not 
tested) and the bug sneaked in.

> Fix:
> https://bitbucket.org/njs/rpy2-pending-patches/src/tip/keep_sys_for_consolePrint

The callbacks are biting back with this bug as well: an exception should 
have been raised when an error occurred (it became obvious while I was 
experimenting with rpy_device).
Before devising my own solution I'd be keen on seeing how packages such 
as pygtk are doing things.



L.



> -- Nathaniel
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to