Does anyone with deep knowledge of web2py know why this code is included in 
html.py

667 ### important to allow safe session.flash=T(....)
668
669
670 def XML_unpickle(data):
671     return marshal.loads(data)
672
673
674 def XML_pickle(data):
675     return XML_unpickle, (marshal.dumps(str(data)),)
676     copy_reg.pickle(XML, XML_pickle, XML_unpickle)


Is it safe to comment it out? I did and didn't find any problems. The 
problem is that it doesn't allow to use html tags with session.flash.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to