[Zope-Checkins] CVS: Packages/ZPublisher - BaseRequest.py:1.51.2.5
Stefan H. Holek
stefan at epy.co.at
Sun Feb 19 07:11:41 EST 2006
Update of /cvs-repository/Packages/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv20926/lib/python/ZPublisher
Modified Files:
Tag: Zope-2_7-branch
BaseRequest.py
Log Message:
ZPublisher.BaseRequest: The publisher would happily publish attributes
of type 'bool' and 'complex'.
=== Packages/ZPublisher/BaseRequest.py 1.51.2.4 => 1.51.2.5 ===
--- Packages/ZPublisher/BaseRequest.py:1.51.2.4 Thu Dec 2 11:49:28 2004
+++ Packages/ZPublisher/BaseRequest.py Sun Feb 19 07:11:11 2006
@@ -531,7 +531,8 @@
for name in ('NoneType', 'IntType', 'LongType', 'FloatType', 'StringType',
'BufferType', 'TupleType', 'ListType', 'DictType', 'XRangeType',
'SliceType', 'EllipsisType', 'UnicodeType', 'CodeType',
- 'TracebackType', 'FrameType', 'DictProxyType'):
+ 'TracebackType', 'FrameType', 'DictProxyType', 'BooleanType',
+ 'ComplexType'):
if hasattr(types, name):
itypes[getattr(types, name)] = 0
More information about the Zope-Checkins
mailing list