[Zope] REQUEST.unset

Service Informatique CHSR chsrinfo@guetali.fr
Wed, 17 Feb 1999 15:55:28 +0400


Message en plusieurs parties et au format MIME.

------=_NextPart_000_002F_01BE5A8D.F0915EE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello,

It is useful to have the opposite of REQUEST.set, that is REQUEST.unset to
delete an application variable.
REQUEST.unset('name') is intended to act the same as:
del REQUEST.other['name']

Included is a patch to be applied to lib/python/ZPublisher/Request.py

What's your opinion about this guys? Should I submit this to the collector?

Regards,
Jephte CLAIN
Service Informatique CHSR


------=_NextPart_000_002F_01BE5A8D.F0915EE0
Content-Type: application/octet-stream;
	name="Request.py.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="Request.py.patch"

LS0tIFJlcXVlc3QucHkub3JpZwlNb24gSmFuIDE4IDE0OjM4OjE5IDE5OTkKKysrIFJlcXVlc3Qu
cHkJTW9uIEphbiAxOCAxNDozNTo0NiAxOTk5CkBAIC0yMjIsNiArMjIyLDEzIEBACiAKICAgICBz
ZXQ9X19zZXRpdGVtX18KIAorICAgIGRlZiB1bnNldChzZWxmLCBrZXkpOgorICAgICAgICAiIiJE
ZWxldGUgYXBwbGljYXRpb25zIHZhcmlhYmxlcyIiIgorICAgICAgICB0cnk6CisgICAgICAgICAg
ICBkZWwgc2VsZi5vdGhlcltrZXldCisgICAgICAgIGV4Y2VwdDoKKyAgICAgICAgICAgIHBhc3Mg
IyBpbiBjYXNlIHdlIHRyeSB0byBkZWxldGUgaW5leGlzdGVudCB2YXJpYWJsZQorCiAgICAgZGVm
IF9fZ2V0aXRlbV9fKHNlbGYsa2V5LAogICAgICAgICAgICAgICAgICAgICBkZWZhdWx0PWlzQ0dJ
X05BTUUsICMgQW55IHNwZWNpYWwgaW50ZXJuYWwgbWFya2VyIHdpbGwgZG8KICAgICAgICAgICAg
ICAgICAgICAgVVJMbWF0Y2g9cmVnZXguY29tcGlsZSgnVVJMWzAtOV0kJykubWF0Y2gsCg==

------=_NextPart_000_002F_01BE5A8D.F0915EE0--