Deprecated Cookie classes in Py3k

I've noticed that some classes in Cookies module (namely SerialCookie and SmartCookie) deprecated since 2.3 still present in Python3000 documentation. http://docs.python.org/dev/3.0/library/http.cookies.html Is it because ... ?: 1. Docs are not synchronized with API 2. Classes are not removed yet (http://wiki.python.org/moin/Py3kDeprecatedis actually a TODO) 3. Manual reference should contain information about all historical API changes -- --anatoly t.

techtonik schrieb:
I've noticed that some classes in Cookies module (namely SerialCookie and SmartCookie) deprecated since 2.3 still present in Python3000 documentation. http://docs.python.org/dev/3.0/library/http.cookies.html
Is it because ... ?: 1. Docs are not synchronized with API 2. Classes are not removed yet (http://wiki.python.org/moin/Py3kDeprecated is actually a TODO) 3. Manual reference should contain information about all historical API changes
It was most likely an oversight on my part. I've now removed the classes from the 3000 module. Thanks, Georg

On Wed, May 28, 2008 at 6:57 PM, Georg Brandl <g.brandl@gmx.net> wrote:
It was most likely an oversight on my part. I've now removed the classes from the 3000 module.
Nice! =) If you're up to fixing the docs, could you, please, also review the fresh issue about this module. http://bugs.python.org/issue2988 Browsers allow to create invalid (non RFC) cookies rather easily and they crash python web scripts on the same domain, because developers usually not aware of this problem to catch the exception. There is a test case and several proposals for workarounds in Cookie (http.cookies) module. -- --anatoly t.
participants (2)
-
Georg Brandl
-
techtonik