[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MailMan Security patch for Woody Broken?



On Wed, Aug 14, 2002 at 04:57:33PM +0200, Florent Rougon wrote:

> I can't look at mailman right now, but some observations that might
> help:
> 
> - with python 2.1:
> 
>   >>> 'barstring'.foo()
>   Traceback (most recent call last):
>     File "<stdin>", line 1, in ?
>   AttributeError: foo
> 
> - with python 2.2
> 
>   >>> "barstring".foo()
>   Traceback (most recent call last):
>     File "<stdin>", line 1, in ?
>   AttributeError: 'str' object has no attribute 'foo'
> 
>   which is closer to the David's error message, *but* has 'str' instead
>   of 'string'. BTW:
> 
>   >>> type("dfsfsd")
>   <type 'str'>
> 
> I don't know where this 'string' comes from.

Python 1.5.2 (#0, Jan 13 2002, 13:19:04)  [GCC 2.95.4 20011223 (Debian prerelease)] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> ''.lower()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
AttributeError: 'string' object has no attribute 'lower'

-- 
 - mdz



Reply to: