I came across the following problem. Also, I think this method does not 
seem to copy.

Werkzeug-0.8.3:

Python 2.7.3 (default, Jul 24 2012, 10:05:38) 
[GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from werkzeug.contrib.sessions import ModificationTrackingDict
>>> ModificationTrackingDict().copy()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"***/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/contrib/sessions.py",
 
line 99, in copy
    result = object.__new__(self.__class__)
TypeError: object.__new__(ModificationTrackingDict) is not safe, use 
dict.__new__()
>>> 

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pocoo-libs/-/VlRCAWKMQY8J.
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/pocoo-libs?hl=en.

Reply via email to