Closed jjlee closed 13 years ago
mtamizi reports that the lack of an equality operator makes it awkward to use pickled cookies in sqlalchemy.
Expect: This is true: mechanize.Cookie(args) == mechanize.Cookie(args) Got: It isn't
Test case using sqlalchemy: (fails with Python 2.7 and sqlalchemy 0.6.3): http://gist.github.com/550319
Add equality methods to mechanize.Cookie
Also add tests for pickling / unpickling Cookie & CookieJar.
Closed by 0cd23f99d492a9ed3143cc97a3a25f67a1c97460
mtamizi reports that the lack of an equality operator makes it awkward to use pickled cookies in sqlalchemy.
Expect: This is true: mechanize.Cookie(args) == mechanize.Cookie(args) Got: It isn't
Test case using sqlalchemy: (fails with Python 2.7 and sqlalchemy 0.6.3): http://gist.github.com/550319