[issue1086] test_email failed

2007-09-02 Thread Peter van Kampen
Peter van Kampen added the comment: Attached is msg_15.txt encoded in utf-8. f = codecs.open('Lib/email/test/data/msg_15.txt', 'r', encoding='iso-8859-1') s = f.read() f.close() f = open('Lib/email/test/data/msg_15.txt','w') f.write(s) f.close() $ ./python Lib/test/regrtest.py test_email

Re: Is there a commas-in-between idiom?

2006-11-09 Thread Peter van Kampen
On 2006-11-08, Georg Brandl [EMAIL PROTECTED] wrote: Peter van Kampen schrieb: On 2006-11-06, Fredrik Lundh [EMAIL PROTECTED] wrote: I've collected a bunch of list pydioms and other notes here: http://effbot.org/zone/python-list.htm A = B = [] # both names will point to the same list

Re: Is there a commas-in-between idiom?

2006-11-09 Thread Peter van Kampen
On 2006-11-08, Gabriel Genellina [EMAIL PROTECTED] wrote: At Wednesday 8/11/2006 16:51, Peter van Kampen wrote: A = B = [] # both names will point to the same list I've been bitten by this once or twice in the past, but I have always wondered what it was useful for? Can anybody enlighten me

Re: Is there a commas-in-between idiom?

2006-11-08 Thread Peter van Kampen
what it was useful for? Can anybody enlighten me? TIA, PterK -- Peter van Kampen pterk -- at -- datatailors.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Apache Python 500 Error

2005-02-03 Thread Peter van Kampen
by an empty line. #!/usr/bin/env python import os print Content-type: text/html print print os.getcwd() -- Peter van Kampen pterk -- at -- datatailors.com -- http://mail.python.org/mailman/listinfo/python-list