Permalink
Switch branches/tags
Nothing to show
Commits on Mar 2, 2009
  1. Update version

    jjlee
    jjlee committed Mar 2, 2009
Commits on Feb 7, 2009
  1. * Fix quadratic performance in number of response .read() calls

    jjlee
    jjlee committed Feb 7, 2009
     * Add a performance test (not run from test.py, will run from release script)
Commits on Dec 4, 2008
  1. Update version

    jjlee
    jjlee committed Dec 4, 2008
  2. Oops, add missing modules

    jjlee
    jjlee committed Dec 4, 2008
Commits on Dec 3, 2008
Commits on Dec 2, 2008
  1. * Fix AttributeError on .retrieve() with a Request (as opposed to UR…

    jjlee
    jjlee committed Dec 2, 2008
    …L string) argument
    
      * Drop support for Python 2.3 (because started to use subprocess for functional test local web server)
      * Add Content-length header to Request object (httplib bug that prevented doing that was fixed in Python 2.4).  There's no change is what is actually sent over the wire here, just in what headers get added to the Request object.
      * Add support for Python 2.6
        - Always raise URLError, not IOError (port of upstream urllib2 fix)
        - Use hashlib instead of md5 and sha where available (md5 and sha are deprecated in 2.6)
        - Add support for Python 2.6's per-connection timeouts: Add timeout arguments to urlopen(), Request constructor, .open(), and .open_novisit()
        - Send robots.txt debug log messages to module logging logger "mechanize.robots" (previously, they went to the same place as robotparser's debug log (printed to stdout if you set robotparser._debug = True), which went away in Python 2.6)
        - Fix an assertion in _msiecookiejar.py revealed by a Python 2.6 warning
Commits on Dec 1, 2008
  1. Make functional_tests -l exit if local test server exits unexpectedly…

    jjlee
    jjlee committed Dec 1, 2008
    … (use module subprocess instead of os.spawnv)
Commits on Nov 14, 2008
  1. * Don't change CookieJar state in .make_cookies().

    jjlee
    jjlee committed Nov 14, 2008
     * Fix AttributeError in case where .make_cookies() or .cookies_for_request() is called before other methods like .extract_cookies() or .make_cookie_header()
  2. Add new public function effective_request_host

    jjlee
    jjlee committed Nov 14, 2008
  3. Add .get_policy() method to CookieJar

    jjlee
    jjlee committed Nov 14, 2008
Commits on Nov 2, 2008
  1. Don't choke on non-integer version cookie-attribute (http://bugs.pyth…

    jjlee
    jjlee committed Nov 2, 2008
    …on.org/issue3924)
    
     * Strip quotes from version attribute value
     * Ignore cookies with bad versions
  2. * Add method CookieJar.cookies_for_request()

    jjlee
    jjlee committed Nov 2, 2008
     * Fix documented interface required of requests and responses (and add some tests for this!)
     * Allow either .is_unverifiable() or .unverifiable on request objects (preferring the former)
     * Replace example return value in mechanize._clientcookie.CookieJar._cookie_attrs.__doc__ with a doctest
     * Fix some comment / docstring typos
     * Remove a pointless dependency of _clientcookie.py on httplib
  3. Silence module logging's "no handlers could be found for logger mecha…

    jjlee
    jjlee committed Nov 2, 2008
    …nize" warning in a way that doesn't clobber attempts to set log level sometimes
  4. Don't use private attribute of request in request upgrade handlerl (w…

    jjlee
    jjlee committed Nov 2, 2008
    …hat was I thinking??)
Commits on Nov 1, 2008
  1. * Add Python version classifiers to setup.py

    jjlee
    jjlee committed Nov 1, 2008
     * Don't call setup() on import of setup.py
Commits on Oct 11, 2008
  1. Fix typo in MANIFEST.in

    jjlee
    jjlee committed Oct 11, 2008
Commits on Sep 24, 2008
  1. Update version

    jjlee
    jjlee committed Sep 24, 2008
  2. Update version and changelog

    jjlee
    jjlee committed Sep 24, 2008
  3. * Fix ImportError if sqlite3 not available

    jjlee
    jjlee committed Sep 24, 2008
     * Fix a couple of functional test not to wait 5 seconds each
Commits on Sep 13, 2008
  1. Fix web page regarding beta status

    jjlee
    jjlee committed Sep 13, 2008
  2. Add a setup.cfg.release

    jjlee
    jjlee committed Sep 13, 2008
  3. Revert r44828 and update tests appropriately. This reverts changes to…

    jjlee
    jjlee committed Sep 13, 2008
    … Refresh redirection defaults, back to how they were in the last release (0.1.7b).
  4. Firefox 3 cookiejar support is only supported in Python 2.5 and later…

    jjlee
    jjlee committed Sep 13, 2008
    …, and is experimental code.
    
     * Issue a warning on construction of mechanize.Firefox3CookieJar to indicate it's experimental
     * Make mechanize.Firefox3CookieJar unavailable in Python 2.4 / 2.3 rather than crashing on "import mechanize" with SyntaxError
  5. Close sockets. This only affects Python 2.5 (and later) - earlier ver…

    jjlee
    jjlee committed Sep 13, 2008
    …sions of Python were unaffected.
    
    See http://bugs.python.org/issue1627441
Commits on Feb 29, 2008
Commits on Feb 28, 2008
Commits on Feb 27, 2008
  1. * Add support for Firefox 3 cookie jars ("cookies.sqlite")

    jjlee
    jjlee committed Feb 27, 2008
     * Fix a couple of test typos re tempfile cleanup
     * Add a functional test for seek-wrapped HTTPError repr
  2. Handle missing cookie max-age value. Previously, a warning was emitte…

    jjlee
    jjlee committed Feb 27, 2008
    …d in this case.
Commits on Feb 23, 2008
  1. * Handle cookies containing embedded tabs in mozilla format files

    jjlee
    jjlee committed Feb 23, 2008
     * Remove an assertion about mozilla format cookies file contents  (raise LoadError instead)
  2. Avoid running doctest files that need special context by naming conve…

    jjlee
    jjlee committed Feb 23, 2008
    …ntion rather than special-purpose code