Re: [Python-Dev] Split MIME headers into multiple lines near a space

2005-05-29 Thread Nick Coghlan
Noam Raphael wrote: > Do you think it's ok? Could this be added to email.Header? Noam posted a patch to SF (#1210680), and I assigned it to Barry to have a look at. Noam's suggestion seems reasonable to me, but I'm not sure what the performance implications are. Cheers, Nick. -- Nick Coghlan

Re: [Python-Dev] [Python-checkins] python/dist/src/Lib/test test_site.py, 1.6, 1.7

2005-05-29 Thread Michael Hudson
Skip Montanaro <[EMAIL PROTECTED]> writes: > mwh> Fix test_site to not call open('...', 'wU'), as that now raises an > mwh> error. > > mwh> Is anyone running the test suite regularly at the moment? > > Whoops. I obviously failed to run it after applying that change. My > apologies.

Re: [Python-Dev] Adding content to exception messages

2005-05-29 Thread Nicolas Fleury
Nick Coghlan wrote: > With PEP 344, this could simply be: > >try: >parser.parseFile(file) >exeption Exception, exception: >raise type(exception)("Error at line %s in file %s" % (x,y)) > > Introspectively, > Nick. > It doesn't work (unless I misundertand you). For exampl