On Sat, 2007-09-15 at 11:00 +0800, 张沈鹏(电子科大08年本科应届) wrote:
> When I checkout django from svn , this error happened , it seems come from 
> #6154
> 
> ..................
> File 
> "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\newforms\forms.py"
> in __init__
>   76. self.fields = self.base_fields.copy()
> File 
> "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\newforms\forms.py"
> in copy
>   34. return SortedDictFromList([(k, copy.deepcopy(v)) for k, v in
> self.items()])
> File 
> "D:\myWay\stuhome_django\sdk\python\Lib\site-packages\django\newforms\fields.py"
> in __deepcopy__
>   107. result.widget = copy.deepcopy(self.widget, memo)
> 
>   TypeError at /accounts/details/
>   object.__new__(method_descriptor) is not safe, use 
> method_descriptor.__new__()

If you can create a simple example that repeats the problem, could you
open a ticket in Trac and attach the example, please.

We changed some stuff in this area yesterday to fix another problem, but
getting deepcopying of dynamic classes right is tricky, so there may
well be an edge-case we've missed. Give us a way to repeat the problem
and I'll gladly take a look at it.

Thanks,
Malcolm

-- 
Experience is something you don't get until just after you need it. 
http://www.pointy-stick.com/blog/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to