[Zope-PAS] Merging my branch to the head tomorrow
Lennart Regebro
regebro at nuxeo.com
Fri Oct 15 11:43:52 EDT 2004
Zachery Bir wrote:
> If there aren't any objections, I want to merge my branch to the head
> tomorrow morning (16 October), so I can start working on de-mangling
> user ids inside PAS.
That's fine.
I finally realized why your inline-login form works. ;)
If you do response.write('blablabla') that will set self._wrote = 1.
Later, exception() will set the body to "something". At the end of the
publishing process, outputBody() will be called. So, why does not
"something" get output? Because, outputBody uses str(self) to figure out
what to write, and request.__str__() checks self._wrote and then returns ''.
Glah! Could it be more ugly? Why is even __str_ involved in this in teh
first place?!?
*sigh* I think Zope corp should send in the ZPublisher the next time
somebody has an obfuscated Python contest. ;)
//Lennart
More information about the Zope-PAS
mailing list