Re: [Zope-dev] proxydict problems in 2.8b2 with Localizer

2005-06-07 Thread Florent Guillaume
Lennart Regebro [EMAIL PROTECTED] wrote: I get TypeError: object does not support item assignment in lin 46 och class_init.py. The offending code is d['_implicit__name__'] = 1 and this is because d is a proxydict. This in turn is caused by Localizer having a class as a class attribute:

Re: [Zope-dev] proxydict problems in 2.8b2 with Localizer

2005-05-25 Thread Lennart Regebro
On 5/23/05, Lennart Regebro [EMAIL PROTECTED] wrote: I get TypeError: object does not support item assignment in line 46, class_init.py. I succeeded in working around the problem by setting __name__ and _needs_name__ on the attribute in question, I still would like a confirmation on wether

[Zope-dev] proxydict problems in 2.8b2 with Localizer

2005-05-23 Thread Lennart Regebro
I get TypeError: object does not support item assignment in lin 46 och class_init.py. The offending code is d['_implicit__name__'] = 1 and this is because d is a proxydict. This in turn is caused by Localizer having a class as a class attribute: manage_attributesForm = LocalDTMLFile

Re: [Zope-dev] proxydict problems in 2.8b2 with Localizer

2005-05-23 Thread Dieter Maurer
Lennart Regebro wrote at 2005-5-23 13:29 +0200: I get TypeError: object does not support item assignment in lin 46 och class_init.py. The offending code is d['_implicit__name__'] = 1 and this is because d is a proxydict. This in turn is caused by Localizer having a class as a class attribute:

Re: [Zope-dev] proxydict problems in 2.8b2 with Localizer

2005-05-23 Thread Lennart Regebro
On 5/23/05, Dieter Maurer [EMAIL PROTECTED] wrote: Lennart Regebro wrote at 2005-5-23 13:29 +0200: I get TypeError: object does not support item assignment in lin 46 och class_init.py. The offending code is d['_implicit__name__'] = 1 and this is because d is a proxydict. This in turn is