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
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
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
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
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
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
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
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