[Web-SIG] Removal of Cookie in Python 3.0 OK?

2008-02-03 Thread Brett Cannon
As part of the standard library cleanup for Python 3.0, it has been suggested to me that the Cookie module be removed. The rationale for this is that most of the module is already deprecated and cookielib does a better job for cookie support anyway. I just wanted to see if anyone here had strong

Re: [Web-SIG] Removal of Cookie in Python 3.0 OK?

2008-02-03 Thread Ian Bicking
Brett Cannon wrote: As part of the standard library cleanup for Python 3.0, it has been suggested to me that the Cookie module be removed. The rationale for this is that most of the module is already deprecated and cookielib does a better job for cookie support anyway. I just wanted to see

Re: [Web-SIG] Removal of Cookie in Python 3.0 OK?

2008-02-03 Thread René Dudfield
Here's some usages of Cookie that show quite wide use still: http://www.google.com/codesearch?q=lang%3Apython+%22import+Cookie%22 From the first few pages: mailman, zope, trac, roundup, cherrypy, chandler, turbogears, myghty, paste, moin, mod_python etc. Not that that's the only reason why you

Re: [Web-SIG] Removal of Cookie in Python 3.0 OK?

2008-02-03 Thread Massimo Di Pierro
web2py uses it cookie too but probably it would not take much to port it to cookielib. It would be great if you could provide an example of usage of cookielib.Cookie vs cookie.SimpleCookie. In particular, I cannot find any example of how to serialize a cookielib.Cookie into the

[Web-SIG] reorg of web-related modules for Python 3K

2008-02-03 Thread Bill Janssen
Over on the stdlib-sig, Brett's proposing that we move some of the HTTP-related classes: OK, to keep this ball rolling, here is my suggestion for reorganizing HTTP modules: httplib - http.tools BaseHTTPServer - http.server SimpleHTTPServer - http.server CGIHTTPServer - http.server

[Web-SIG] more work on httplib?

2008-02-03 Thread Bill Janssen
I've been working on a personal digital library server, written in Python, built on top of Medusa, now in beta test at http://uplib.parc.com/. We're releasing it under the GPLv2 (actually, have already released it to our beta testers -- if you'd like to join the fun, just create an account on the

Re: [Web-SIG] reorg of web-related modules for Python 3K

2008-02-03 Thread Ian Bicking
Bill Janssen wrote: Over on the stdlib-sig, Brett's proposing that we move some of the HTTP-related classes: OK, to keep this ball rolling, here is my suggestion for reorganizing HTTP modules: httplib - http.tools BaseHTTPServer - http.server SimpleHTTPServer - http.server

Re: [Web-SIG] more work on httplib?

2008-02-03 Thread Bill Janssen
utility routines for client-side form manipulation: encode_multipart_formdata, http_post_multipart, https_post_multipart I should point out that these are elaborations of Wade Leftwich's Python Cookbook recipes. cookie readers for Firefox and Safari cookie file formats I'm still