On Tue, Mar 30, 2010 at 11:33 AM, Ralf W. Grosse-Kunstleve <r...@yahoo.com> wrote: > http://cctbx.svn.sourceforge.net/viewvc/cctbx/trunk/boost_adaptbx/python_streambuf.h?view=markup
I have not seen this cctbx product before. It especially interesting to me, since I am performing molecular computations, and also because I was a protein crystallographer for ten years. I like that the streambuf class appears to work with gzip files and other file objects that presumably do not have a FILE* internally. Is it necessary to explicitly invoke the streambuf object from python? In other words, given C++ api: void foo(ostream&); // C++ API Is it possible for the python api to be used like: foo(sys.stdout) # python invocation 1 or must it be foo(streambuf(sys.stdout)) _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig