Re: python version
Robert Wall <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Steven Armstrong wrote: > On 03/06/05 21:46, Robert Wall wrote: >>It seems that pyblosxom in CVS actually requires Python 2.3. The new >>__copy_members method that copies methods from the underlying stream >>class to the Request class including the 'next' method. This is not >>present in the StringIO class in version 2.2. >> >> >>Robert >> > > > Ups ... > Looks like I'll have to install Python 2.2 for development %-) > I'll fix that tomorrow. Are the other StringIO methods available in 2.2? > > cheers > Steven > Looks like they are all there other than next: Python 2.2.3 (#1, Oct 15 2003, 23:33:35) [GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import StringIO >>> dir(StringIO.StringIO) ['__doc__', '__init__', '__iter__', '__module__', 'close', 'flush', 'getvalue', 'isatty', 'read', 'readline', 'readlines', 'seek', 'tell', 'truncate', 'write', 'writelines'] >>> Robert -- http://robwall.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click