<html><body><br /><br /><br />On 27 Oct 2003, 11:10 , twisted-python-request@twistedmatrix.com wrote:<br />>Send Twisted-Python mailing list submissions to<br />>        twisted-python@twistedmatrix.com<br />><br />>To subscribe or unsubscribe via the World Wide Web, visit<br />>        http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br />>or, via email, send a message with subject or body 'help' to<br />>        twisted-python-request@twistedmatrix.com<br />><br />>You can reach the person managing the list at<br />>        twisted-python-admin@twistedmatrix.com<br />><br />>When replying, please edit your Subject line so it is more specific<br />>than "Re: Contents of Twisted-Python digest..."<br />><br />><br />>Today's Topics:<br />><br />>   1. Re: Odd behavior in IRC logbot (Itamar Shtull-Trauring)<br />>   2. Re: authentification from a database (Jp Calderone)<br />>   3. ANN: Twisted 1.1.0, the framework of *your* internet (Itamar Shtull-Trauring)<br />>   4. Re: ANN: Twisted 1.1.0, the framework of *your*<br />>       internet (Philippe =?ISO-8859-1?Q?Lafoucri=E8re?=)<br />>   5. Re: ANN: Twisted 1.1.0, the framework of *your* internet (soso)<br />>   6. Post data (Matteo Giacomazzi)<br />>   7. Re: Post data (Matteo Giacomazzi)<br />>   8. Re: ANN: Twisted 1.1.0, the framework of *your*<br />>       internet (=?ISO-8859-1?Q?Martin_M=F6llenbeck?=)<br />>   9. Re: ANN: Twisted 1.1.0, the framework of *your*<br />>       internet (Abe Fettig)<br />>  10. Re: ANN: Twisted 1.1.0, the framework of *your* internet (darryl)<br />>  11. Re: ANN: Twisted 1.1.0, the framework of *your*<br />>       internet (Glyph Lefkowitz)<br />>  12. Re: ANN: Twisted 1.1.0, the framework of *your* internet (darryl)<br />>  13. Re: ANN: Twisted 1.1.0, the framework of *your* internet (Donovan Preston)<br />>  14. Re: ANN: Twisted 1.1.0, the framework of *your*<br />>       internet (Federico Di Gregorio)<br />>  15. Re: ANN: Twisted 1.1.0, the framework of *your*<br />>       internet (Yun Mao)<br />><br />>--__--__--<br />><br />>Message: 1<br />>Date: Mon, 27 Oct 2003 09:29:29 -0500<br />>From: Itamar Shtull-Trauring <itamar@itamarst.org><br />>To: twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] Odd behavior in IRC logbot<br />>Organization: http://itamarst.org<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>On Mon, 27 Oct 2003 09:15:13 -0500<br />>"Phillip J. Eby" <pje@telecommunity.com> wrote:<br />><br />>> Um, what logs?<br />><br />>Hm. I suppose you ought to enable logging, yes. Do:<br />><br />>from twisted.python import log<br />>log.startLogging(open("irc.log", "a"))<br />><br />>somewhere in the file (e.g. in the __main__-only section).<br />><br />>--<br />>Itamar Shtull-Trauring    http://itamarst.org/<br />>Available for Python & Twisted consulting<br />><br />><br />>--__--__--<br />><br />>Message: 2<br />>Date: Mon, 27 Oct 2003 11:00:47 -0500<br />>To: twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] authentification from a database<br />>From: Jp Calderone <exarkun@intarweb.us><br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />><br />>--TB36FDmn/VVEgNH/<br />>Content-Type: text/plain; charset=us-ascii<br />>Content-Disposition: inline<br />>Content-Transfer-Encoding: quoted-printable<br />><br />>On Mon, Oct 27, 2003 at 09:17:08AM -0500, vicky lupien wrote:<br />>> I have a program that needs authentification from a database.  For now,<br />>> it's working fine but I'm using<br />>> checkers.InMemoryUsernamePasswordDatabaseDontUse(test=3D"test") (I want<br />>> many users not only "test").  =20<br />><br />>  Use a different checker, such as FilePasswordDB.<br />><br />>  Jp<br />><br />>--TB36FDmn/VVEgNH/<br />>Content-Type: application/pgp-signature; name="signature.asc"<br />>Content-Description: Digital signature<br />>Content-Disposition: inline<br />><br />>-----BEGIN PGP SIGNATURE-----<br />>Version: GnuPG v1.2.3 (GNU/Linux)<br />><br />>iD8DBQE/nUEvedcO2BJA+4YRAlRCAJ4kAeN49EFmgMbrW3Fd/MNujVKNrwCgstoT<br />>r3iPt2vNXMjG69p7v0pa/JU=<br />>=wuRK<br />>-----END PGP SIGNATURE-----<br />><br />>--TB36FDmn/VVEgNH/--<br />><br />><br />>--__--__--<br />><br />>Message: 3<br />>Date: Mon, 27 Oct 2003 12:13:44 -0500<br />>From: Itamar Shtull-Trauring <itamar@itamarst.org><br />>To: twisted-python@twistedmatrix.com<br />>Organization: http://itamarst.org<br />>Subject: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your* internet<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>What's New in 1.1.0<br />>===================<br />><br />>- twisted.application, an updated deployment and configuration library.<br />><br />>- Mac OS X GUI event loop integration (requires PyObjC).<br />><br />>- New howtos, including a tutorial, and more web framework docs.<br />><br />>- The documentation is now better organized, up-to-date with the latest<br />>APIs, and in some areas much more extensive.<br />><br />>- Removed a number of broken, unmaintained and unused packages and<br />>modules.<br />><br />>- Bug fixes and feature enhancements.<br />><br />><br />>--__--__--<br />><br />>Message: 4<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your*<br />>        internet<br />>From: Philippe =?ISO-8859-1?Q?Lafoucri=E8re?= <lafou@wanadoo.fr><br />>To: Twisted <twisted-python@twistedmatrix.com><br />>Organization: InFuzzion<br />>Date: Mon, 27 Oct 2003 18:56:04 +0100<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>Great work guys ! twisted is the python/network killer app<br />><br />>On Mon, 2003-10-27 at 18:13, Itamar Shtull-Trauring wrote:<br />>> What's New in 1.1.0<br />>> ===================<br />>><br />>> - twisted.application, an updated deployment and configuration library.<br />>><br />>> - Mac OS X GUI event loop integration (requires PyObjC).<br />>><br />>> - New howtos, including a tutorial, and more web framework docs.<br />>><br />>> - The documentation is now better organized, up-to-date with the latest<br />>> APIs, and in some areas much more extensive.<br />>><br />>> - Removed a number of broken, unmaintained and unused packages and<br />>> modules.<br />>><br />>> - Bug fixes and feature enhancements.<br />>><br />>> _______________________________________________<br />>> Twisted-Python mailing list<br />>> Twisted-Python@twistedmatrix.com<br />>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br />><br />><br />><br />>--__--__--<br />><br />>Message: 5<br />>From: soso <duke99@email.ro><br />>To: twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your* internet<br />>Date: Mon, 27 Oct 2003 20:57:21 +0200<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>Thanks for the great work!<br />><br />>But I can't find the windows installer. Or there isn't a windows installer for 1.1?<br />><br />>soso<br />><br />><br />>______________________________________________________________________<br />>Do you want a free e-mail for life ? Get it at http://www.email.ro/<br />><br />><br />><br />>--__--__--<br />><br />>Message: 6<br />>Date: Mon, 27 Oct 2003 20:36:21 +0100<br />>From: Matteo Giacomazzi <matteo.giacomazzi@libero.it><br />>To: twisted-python@twistedmatrix.com<br />>Subject: [Twisted-Python] Post data<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>Hi all,<br />><br />>  I need to query a remote HTTP server using POST method.<br />>  To achieve this, I use the t.w.c.getPage function.<br />>  In  order  to  post  some  data, I pass to that function the keyword<br />>  postdata  bound  to  an urllib.urlencode()-d dictionary but it seems<br />>  that such data is not sent at all.<br />><br />>  What is wrong?<br />>  Here  is  a  minimal  example:  the url is a PHP scripts that simply<br />>  dumps  the  content  of  the  $_POST  variable,  but  it is an empty<br />>  array...<br />><br />>  Any help would be greatly appreciated!<br />><br />>#=============================================<br />>from twisted.web.client import getPage<br />>from twisted.internet import reactor<br />>import urllib<br />><br />>def printData(data):<br />>    print data<br />>    reactor.stop()<br />><br />>payload = urllib.urlencode({'test':'the test'})<br />>url = 'http://www.hotelsprovider.com/~matteo'<br />>d = getPage(url, postdata=payload, timeout=5)<br />>d.addCallback(printData)<br />>reactor.run()<br />>#=============================================<br />><br />>  Many thanks in advance!<br />><br />><br />>Kind regards<br />> Matteo<br />><br />><br />><br />>--__--__--<br />><br />>Message: 7<br />>Date: Mon, 27 Oct 2003 20:47:13 +0100<br />>From: Matteo Giacomazzi <matteo.giacomazzi@libero.it><br />>To: twisted-python@twistedmatrix.com<br />>Subject: [Twisted-Python] Re: Post data<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>UPDATE:  I  forgot  to  use  the  method='POST'  keyword param, but no<br />>results yet...<br />><br />>#==========================================================<br />>from twisted.web.client import getPage<br />>from twisted.internet import reactor<br />>import urllib<br />><br />>def printData(data):<br />>    print data<br />>    reactor.stop()<br />><br />>payload = urllib.urlencode({'test':'the test'})<br />>url = 'http://www.hotelsprovider.com/~matteo'<br />>d = getPage(url, method='POST', postdata=payload, timeout=5)<br />>d.addCallback(printData)<br />>reactor.run()<br />>#==========================================================<br />><br />>Many thanks in advance!<br />><br />><br />>Kind regards<br />> Matteo<br />><br />><br />><br />>--__--__--<br />><br />>Message: 8<br />>Date: Mon, 27 Oct 2003 21:28:17 +0100<br />>From: Martin.Moellenbeck@t-online.de (=?ISO-8859-1?Q?Martin_M=F6llenbeck?=)<br />>To:  twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your*<br />> internet<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>very cool framework and you all have made a very good work.<br />><br />>regards Martin<br />><br />>Itamar Shtull-Trauring wrote:<br />><br />>>What's New in 1.1.0<br />>>===================<br />>><br />>>- twisted.application, an updated deployment and configuration library.<br />>><br />>>- Mac OS X GUI event loop integration (requires PyObjC).<br />>><br />>>- New howtos, including a tutorial, and more web framework docs.<br />>><br />>>- The documentation is now better organized, up-to-date with the latest<br />>>APIs, and in some areas much more extensive.<br />>><br />>>- Removed a number of broken, unmaintained and unused packages and<br />>>modules.<br />>><br />>>- Bug fixes and feature enhancements.<br />>><br />>>_______________________________________________<br />>>Twisted-Python mailing list<br />>>Twisted-Python@twistedmatrix.com<br />>>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br />>><br />>><br />>><br />><br />><br />><br />><br />>--__--__--<br />><br />>Message: 9<br />>Date: Mon, 27 Oct 2003 16:46:36 -0500<br />>From: Abe Fettig <abe@fettig.net><br />>To: twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your*<br />> internet<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>Looks like a great release... and it even has updated woven docs!<br />>Thanks for all the work you guys have put into Twisted!<br />><br />>Abe<br />><br />>Itamar Shtull-Trauring wrote:<br />>> What's New in 1.1.0<br />><br />><br />><br />><br />>--__--__--<br />><br />>Message: 10<br />>Date: Mon, 27 Oct 2003 16:08:30 -0600 (CST)<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your* internet<br />>From: "darryl" <developer@csrules.dyndns.org><br />>To: <twisted-python@twistedmatrix.com><br />>Cc: <abe@fettig.net><br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />><br />><br />>> Looks like a great release... and it even has updated woven docs!<br />><br />>The question is, does anyone want to focus on learing woven with NEW wove=<br />>n<br />>in the works?<br />><br />>-darryl<br />><br />><br />><br />><br />>--__--__--<br />><br />>Message: 11<br />>Date: Mon, 27 Oct 2003 17:13:35 -0500<br />>From: Glyph Lefkowitz <glyph@twistedmatrix.com><br />>To:  twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your*<br />> internet<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>darryl wrote:<br />><br />>>>Looks like a great release... and it even has updated woven docs!<br />><br />>> The question is, does anyone want to focus on learing woven with NEW woven<br />>> in the works?<br />><br />>An unfortunate last-minute change of direction, but worth it considering<br />>how vastly improved the new code is.<br />><br />>It's no longer a part of Twisted, however.  Check out Quotient CVS -<br />>www.divmod.org<br />><br />><br />><br />>--__--__--<br />><br />>Message: 12<br />>Date: Mon, 27 Oct 2003 16:23:26 -0600 (CST)<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your* internet<br />>From: "darryl" <developer@csrules.dyndns.org><br />>To: <twisted-python@twistedmatrix.com><br />>Cc: <glyph@twistedmatrix.com><br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />><br />>>> The question is, does anyone want to focus on learing woven with NEW<br />>>> woven in the works?<br />>><br />>> An unfortunate last-minute change of direction, but worth it considerin=<br />>g<br />>>  how vastly improved the new code is.<br />>><br />>> It's no longer a part of Twisted, however.  Check out Quotient CVS -<br />>> www.divmod.org<br />><br />>May i ask why it's not part of twisted?<br />>And if that's the case will Woven be maintained?<br />><br />>-Darryl<br />><br />><br />><br />><br />>--__--__--<br />><br />>Message: 13<br />>From: Donovan Preston <dp@twistedmatrix.com><br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your* internet<br />>Date: Mon, 27 Oct 2003 17:56:08 -0500<br />>To: twisted-python@twistedmatrix.com<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />><br />>On Oct 27, 2003, at 5:23 PM, darryl wrote:<br />><br />>><br />>>>> The question is, does anyone want to focus on learing woven with NEW<br />>>>> woven in the works?<br />><br />>Woven is certainly very usable in it's current state -- if you want to<br />>do simple-to-moderate things quickly, it can be very useful. However,<br />>it's complexity made it difficult to do some of the more ambitious<br />>things we are trying to do, such as semi-transparent form handling, and<br />>serverToClient events. But there are a few people who have built (and<br />>deployed) fairly complex woven applications. The fact that nevow exists<br />>doesn't detract from that.<br />><br />>nevow was originally a research project -- a weekend's worth of hacking<br />>whose benefits turned out to be so great that we decided to focus on<br />>bringing it up to a usable state for Quotient as soon as possible. And<br />>that's where it is now.<br />><br />>Most of the woven concepts -- template and code abstraction using a<br />>DOM, reusable partial page renderers (Widgets in old woven, renderer<br />>callables in nevow), all of the concepts needed to know to use<br />>twisted.web -- carry over to nevow. The only thing that's really<br />>changed in nevow is a few names, and the code is VASTLY simplified,<br />>well tested, and thus far easier to understand, design semantics for,<br />>and change.<br />><br />>>> An unfortunate last-minute change of direction, but worth it<br />>>> considering<br />>>>  how vastly improved the new code is.<br />>>><br />>>> It's no longer a part of Twisted, however.  Check out Quotient CVS -<br />>>> www.divmod.org<br />>><br />>> May i ask why it's not part of twisted?<br />>> And if that's the case will Woven be maintained?<br />><br />>nevow will be moved into twisted after a period of<br />>stabilization/development in Quotient. Since twisted is a large project<br />>with many external developers using it, and quotient is a smaller<br />>project that is mostly a small core team of development, we felt it<br />>made sense to keep it out of twisted proper until the development had<br />>stabilized. Since nevow has the benefit of being a complete rewrite of<br />>all the *best* parts of woven, and none of the bad, stabilization has<br />>been remarkably quick. So expect to see nevow in twisted fairly soon.<br />><br />>In the meantime, woven will continue to be maintained with bugfixes,<br />>and nevow is fully usable outside of quotient -- even to the point of<br />>being fully usable without twisted.web (as a cgi, or in zope or<br />>webware, for example). I should also mention that there will probably<br />>be a compatibility layer for nevow to render old-style Woven classes<br />>sometime in the future. It is amazingly simple to add rendering<br />>functionality to it since it uses components to render the dom (which<br />>is really just a list of any python objects)<br />><br />>If you are doing any new development, I highly encourage you to take a<br />>look at nevow, if for no other reason than you can have a hand in<br />>shaping it's development. I would very much appreciate feedback about<br />>it, especially now, since the code is very, very short and readable.<br />><br />>dp<br />><br />><br />><br />>--__--__--<br />><br />>Message: 14<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your*<br />>        internet<br />>From: Federico Di Gregorio <fog@initd.org><br />>To: Twisted Mailing List <twisted-python@twistedmatrix.com><br />>Organization: init.d<br />>Date: Tue, 28 Oct 2003 00:07:32 +0100<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />><br />>--=-DoAh4xSvNTURCciuKWCu<br />>Content-Type: text/plain<br />>Content-Transfer-Encoding: quoted-printable<br />><br />>Il lun, 2003-10-27 alle 23:56, Donovan Preston ha scritto:<br />>> On Oct 27, 2003, at 5:23 PM, darryl wrote:<br />>>=20<br />>> ><br />>> >>> The question is, does anyone want to focus on learing woven with NEW<br />>> >>> woven in the works?<br />>>=20<br />>> Woven is certainly very usable in it's current state -- if you want to=20<br />><br />>after using it in a real life project i disagree. woven has lots of<br />>problems that surface when you switch from "simple examples" to<br />>"moderate real-life use cases". i was about to write a lenghty mail<br />>about that shortcomings (like control not updating the model and needing<br />>a "name" attribute in the node even it they don't use it, etc.) but then<br />>two people told me about nevow in irc. looking at it right now.<br />><br />>> nevow was originally a research project -- a weekend's worth of hacking=20<br />>> whose benefits turned out to be so great that we decided to focus on=20<br />>> bringing it up to a usable state for Quotient as soon as possible. And=20<br />>> that's where it is now.<br />><br />>"we", "we". maybe i talked with you in irc.<br />><br />>> Most of the woven concepts -- template and code abstraction using a=20<br />>> DOM, reusable partial page renderers (Widgets in old woven, renderer=20<br />>> callables in nevow), all of the concepts needed to know to use=20<br />>> twisted.web -- carry over to nevow. The only thing that's really=20<br />>> changed in nevow is a few names, and the code is VASTLY simplified,=20<br />>> well tested, and thus far easier to understand, design semantics for,=20<br />>> and change.<br />><br />>KUDOS! :)<br />><br />>--=20<br />>Federico Di Gregorio<br />>Debian GNU/Linux Developer                                fog@debian.org<br />>INIT.D Developer                                           fog@initd.org<br />>             Quis custodiet ipsos custodes? -- Juvenal, Satires, VI, 347<br />><br />>--=-DoAh4xSvNTURCciuKWCu<br />>Content-Type: application/pgp-signature; name=signature.asc<br />>Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata<br />><br />>-----BEGIN PGP SIGNATURE-----<br />>Version: GnuPG v1.2.3 (GNU/Linux)<br />><br />>iD8DBQA/naU0vcCgrgZGjesRAvqQAJ9dtVu4VpryFT1Lh0mnUaYnwE6uaACfQS26<br />>39BrxFusKQrgFo33vhA/ME0=<br />>=+JDU<br />>-----END PGP SIGNATURE-----<br />><br />>--=-DoAh4xSvNTURCciuKWCu--<br />><br />><br />><br />>--__--__--<br />><br />>Message: 15<br />>Date: Mon, 27 Oct 2003 18:09:49 -0500 (EST)<br />>From: Yun Mao <maoy@cis.upenn.edu><br />>To: twisted-python@twistedmatrix.com<br />>Subject: Re: [Twisted-Python] ANN: Twisted 1.1.0, the framework of *your*<br />> internet<br />>Reply-To: twisted-python@twistedmatrix.com<br />><br />>I really like the tutorial. Great work!<br />><br />>Yun<br />><br />><br />>On Mon, 27 Oct 2003, Itamar Shtull-Trauring wrote:<br />><br />>> What's New in 1.1.0<br />>> ===================<br />>><br />>> - twisted.application, an updated deployment and configuration library.<br />>><br />>> - Mac OS X GUI event loop integration (requires PyObjC).<br />>><br />>> - New howtos, including a tutorial, and more web framework docs.<br />>><br />>> - The documentation is now better organized, up-to-date with the latest<br />>> APIs, and in some areas much more extensive.<br />>><br />>> - Removed a number of broken, unmaintained and unused packages and<br />>> modules.<br />>><br />>> - Bug fixes and feature enhancements.<br />>><br />>> _______________________________________________<br />>> Twisted-Python mailing list<br />>> Twisted-Python@twistedmatrix.com<br />>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br />>><br />><br />><br />><br />><br />>--__--__--<br />><br />>_______________________________________________<br />>Twisted-Python mailing list<br />>Twisted-Python@twistedmatrix.com<br />>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python<br />><br />><br />>End of Twisted-Python Digest<br />></body></html>