Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Deprecated Cookie classes in Py3k

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


techtonik at gmail

May 27, 2008, 11:45 PM

Post #1 of 3 (121 views)
Permalink
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.


g.brandl at gmx

May 28, 2008, 8:57 AM

Post #2 of 3 (109 views)
Permalink
Re: Deprecated Cookie classes in Py3k [In reply to]

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

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


techtonik at gmail

May 28, 2008, 9:45 AM

Post #3 of 3 (112 views)
Permalink
Re: Deprecated Cookie classes in Py3k [In reply to]

On Wed, May 28, 2008 at 6:57 PM, Georg Brandl <g.brandl[at]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.

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.