[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2010-07-12 Thread John J Lee

John J Lee jj...@users.sourceforge.net added the comment:

There is code in PyPI project mechanize that implements this feature.  That 
code is marked experimental though, due to lack of testing.

--
nosy: +jjlee

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2277
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-08-03 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

Thanks.  I've looked over your code.  The logic looks good, however I'd
like to propose a better design and that this not be included in 2.6.

Instead of putting this functionality in the MozCookieJar class, it
should be its own new Firefox3CookieJar class as it is an entirely new
file format.

A much better implementation could be made that actually works with the
sqlite3 file as a database rather than taking ownership of it and
deleting all cookies and rewriting the entire file on save:

The FileCookieJar.delayload flag could now be honored.

The save() method should only do the necessary update/insert/delete
commands rather than rewriting everything.

Its a bit late to get this into Python 2.6/3.0 as the final beta is due
out next week.  But thats fine.  People who need to manipulate ff3
cookie files can use sqlite directly and when a nicer FileCookieJar for
them has been written we can consider including it in python 2.7/3.1. 
Until then it can be an external just like the the one for IE currently is.

--
resolution:  - rejected
status: open - closed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2277
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-07-06 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

sounds like a good idea to add this.  yay firefox 3.  i'll review it.

--
assignee:  - gregory.p.smith
components: +Library (Lib)
nosy: +gregory.p.smith
priority:  - normal
type:  - feature request
versions: +Python 2.6

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2277
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-06-20 Thread Qiangning Hong

Changes by Qiangning Hong [EMAIL PROTECTED]:


--
nosy: +hongqn

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2277
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-04-14 Thread Gerhard Häring

Changes by Gerhard Häring [EMAIL PROTECTED]:


--
nosy: +ghaering

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2277
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-03-13 Thread thekorn

thekorn [EMAIL PROTECTED] added the comment:

I had some time this evening and tried to create a patch.
I don't know if such a solution makes sense nor do I know if this fits
in the process of fixing bugs in python.

Markus

--
keywords: +patch
Added file: http://bugs.python.org/file9669/2277_handling_FF3_cookies.diff

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2277
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2008-03-12 Thread thekorn

New submission from thekorn [EMAIL PROTECTED]:

In Firefox 3 the cookies are stored in a sqlite database instead of a
txt-file. It would be nice if cookielib.MozillaCookieJar().load() could
support this.

Markus

--
messages: 63470
nosy: thekorn
severity: normal
status: open
title: MozillaCookieJar does not support Firefox3 cookie files

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2277
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com