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