Jason R. Mastaler wrote: > Jesse Guardiani <[EMAIL PROTECTED]> writes: > >> No. I figured that if you had a good reason, you would have let me >> know when we originally started talking about it. > > Oh, I didn't realize we were talking implementation yet. > >> I think I've mentioned StringIO a couple of times during the >> conversation already. >> >> Do you have a good reason? > > The problem I had was that once the Message instance was created, > sys.stdin was absorbed so that it was no longer around for further use > (additional Message instances, etc).
Understood. Is there a way to copy class instances? Alternatively, we could always write the headers to a separate buffer, once we have created a HeaderParser object and consumed the headers from stdin. Then we could create additional Message instances from that headers-only buffer. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
