Re: [PATCH] Use cStringIO instead of array in DummyTransaction
Aahz <[email protected]> Thu, 15 Oct 2009 05:20:28 -0700
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Organization | The Cat & Dragon |
| Message-ID | <[email protected]> |
On Wed, Oct 14, 2009, [email protected] wrote: > > Thanks for pointing the fail out Rahz :) You're welcome! PS: it's not an "array", it's a "list" ;-) Side note: Python 2.5 adds an optimization for += on strings, but AFAIK that only applies to CPython and of course is not available for earlier versions. I recommend still avoiding += for the indefinite future. -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ "To me vi is Zen. To use vi is to practice zen. Every command is a koan. Profound to the user, unintelligible to the uninitiated. You discover truth everytime you use it." [email protected] ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference