Jim Fulton wrote:

> 
>> Strings; fine, at least they're secure, and when they become proper
>> objects in Python 2.0, the problem should go away?
> 
> 
> Will Python 2.0 let you assign string attributes?


% python
Python 2.0 (#3, Oct 26 2000, 15:07:09)
[GCC 2.95.2 19991024 (release)] on sunos5
Type "copyright", "credits" or "license" for more information.
 >>> a=''
 >>> a.foo='bar'
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
TypeError: object has read-only attributes
 >>>

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to