[ubuntu/jaunty] python-mechanize 0.1.11-0ubuntu1 (Accepted)
Ken VanDine
ken.vandine at canonical.com
Tue Mar 10 10:40:12 GMT 2009
python-mechanize (0.1.11-0ubuntu1) jaunty; urgency=low
[ Ken VanDine ]
* New upstream release (LP: #337918)
- Fix quadratic performance in number of .read() calls (and add an
automated performance test).
- Add support for Python 2.6: Raise URLError on file: URL errors,
not IOError (port of upstream urllib2 fix). Add support for
Python 2.6's per-connection timeouts: Add timeout arguments to
urlopen(), Request constructor, .open(), and .open_novisit().
- Drop support for Python 2.3
- 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.
- Fix AttributeError on .retrieve() with a Request (as opposed to
URL string) argument
- Don't change CookieJar state in .make_cookies().
- Fix AttributeError in case where .make_cookies() or
.cookies_for_request() is called before other methods like
.extract_cookies() or .make_cookie_header()
- Fixes affecting version cookie-attribute
(http://bugs.python.org/issue3924).
- Silence module logging's "no handlers could be found for logger
mechanize" warning in a way that doesn't clobber attempts to set
log level sometimes
- Don't use private attribute of request in request upgrade
handler (what was I thinking??)
- Don't call setup() on import of setup.py
- Add new public function effective_request_host
- Add .get_policy() method to CookieJar
- Add method CookieJar.cookies_for_request()
- 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)
- Note that there's a new functional test for digest auth, which
fails when run against the sourceforge site (which is the
default). It looks like this reflects the fact that digest auth
has been fairly broken since it was introduced in urllib2. I
don't plan to fix this myself.
- Fix ImportError if sqlite3 not available
- Fix a couple of functional tests not to wait 5 seconds each
- Close sockets. This only affects Python 2.5 (and later) -
earlier versions of Python were unaffected. See
http://bugs.python.org/issue1627441
- Make title parsing follow Firefox behaviour wrt child
elements (previously the behaviour differed between Factory and
RobustFactory).
- Fix BeautifulSoup RobustLinksFactory (hence RobustFactory) link
text parsing for case of link text containing tags (Titus Brown)
- Fix issue where more tags after <title> caused default parser to
raise an exception
- Handle missing cookie max-age value. Previously, a warning was
emitted in this case.
- Fix thoroughly broken digest auth (still need functional
test!) (trebor74hr at ...)
- Handle cookies containing embedded tabs in mozilla format files
- Remove an assertion about mozilla format cookies file
contents (raise LoadError instead)
- Fix MechanizeRobotFileParser.set_opener()
- Fix selection of global form using .select_form() (Titus Brown)
- Log skipped Refreshes
- Stop tests from clobbering files that happen to be lying around
in cwd (!)
- Use SO_REUSEADDR for local test server.
- Raise exception if local test server fails to start.
- Tests no longer (accidentally) depend on third-party coverage
module
- Add convenience method Browser.open_local_file(filename)
- Add experimental support for Firefox 3 cookie jars
("cookies.sqlite"). Requires Python 2.5
- Fix a _gzip.py NameError (gzip support is experimental)
* debian/patches/drop-Gopher.dpatch:
* removed, fixed upstream
[ Martin Pitt ]
* debian/control: Fix XS-Python-Version to only build for Python >= 2.5.
Date: Mon, 09 Mar 2009 16:34:31 -0400
Changed-By: Ken VanDine <ken.vandine at canonical.com>
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Signed-By: Martin Pitt <martin.pitt at ubuntu.com>
https://launchpad.net/ubuntu/jaunty/+source/python-mechanize/0.1.11-0ubuntu1
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 09 Mar 2009 16:34:31 -0400
Source: python-mechanize
Binary: python-mechanize
Architecture: source
Version: 0.1.11-0ubuntu1
Distribution: jaunty
Urgency: low
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Ken VanDine <ken.vandine at canonical.com>
Description:
python-mechanize - stateful programmatic web browsing
Launchpad-Bugs-Fixed: 337918
Changes:
python-mechanize (0.1.11-0ubuntu1) jaunty; urgency=low
.
[ Ken VanDine ]
* New upstream release (LP: #337918)
- Fix quadratic performance in number of .read() calls (and add an
automated performance test).
- Add support for Python 2.6: Raise URLError on file: URL errors,
not IOError (port of upstream urllib2 fix). Add support for
Python 2.6's per-connection timeouts: Add timeout arguments to
urlopen(), Request constructor, .open(), and .open_novisit().
- Drop support for Python 2.3
- 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.
- Fix AttributeError on .retrieve() with a Request (as opposed to
URL string) argument
- Don't change CookieJar state in .make_cookies().
- Fix AttributeError in case where .make_cookies() or
.cookies_for_request() is called before other methods like
.extract_cookies() or .make_cookie_header()
- Fixes affecting version cookie-attribute
(http://bugs.python.org/issue3924).
- Silence module logging's "no handlers could be found for logger
mechanize" warning in a way that doesn't clobber attempts to set
log level sometimes
- Don't use private attribute of request in request upgrade
handler (what was I thinking??)
- Don't call setup() on import of setup.py
- Add new public function effective_request_host
- Add .get_policy() method to CookieJar
- Add method CookieJar.cookies_for_request()
- 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)
- Note that there's a new functional test for digest auth, which
fails when run against the sourceforge site (which is the
default). It looks like this reflects the fact that digest auth
has been fairly broken since it was introduced in urllib2. I
don't plan to fix this myself.
- Fix ImportError if sqlite3 not available
- Fix a couple of functional tests not to wait 5 seconds each
- Close sockets. This only affects Python 2.5 (and later) -
earlier versions of Python were unaffected. See
http://bugs.python.org/issue1627441
- Make title parsing follow Firefox behaviour wrt child
elements (previously the behaviour differed between Factory and
RobustFactory).
- Fix BeautifulSoup RobustLinksFactory (hence RobustFactory) link
text parsing for case of link text containing tags (Titus Brown)
- Fix issue where more tags after <title> caused default parser to
raise an exception
- Handle missing cookie max-age value. Previously, a warning was
emitted in this case.
- Fix thoroughly broken digest auth (still need functional
test!) (trebor74hr at ...)
- Handle cookies containing embedded tabs in mozilla format files
- Remove an assertion about mozilla format cookies file
contents (raise LoadError instead)
- Fix MechanizeRobotFileParser.set_opener()
- Fix selection of global form using .select_form() (Titus Brown)
- Log skipped Refreshes
- Stop tests from clobbering files that happen to be lying around
in cwd (!)
- Use SO_REUSEADDR for local test server.
- Raise exception if local test server fails to start.
- Tests no longer (accidentally) depend on third-party coverage
module
- Add convenience method Browser.open_local_file(filename)
- Add experimental support for Firefox 3 cookie jars
("cookies.sqlite"). Requires Python 2.5
- Fix a _gzip.py NameError (gzip support is experimental)
* debian/patches/drop-Gopher.dpatch:
* removed, fixed upstream
.
[ Martin Pitt ]
* debian/control: Fix XS-Python-Version to only build for Python >= 2.5.
Checksums-Sha1:
e8a1c53e26421359e4a46efc7ab349ff3cf421f5 1491 python-mechanize_0.1.11-0ubuntu1.dsc
69ef3a38cd5e097aee1f24772f255e239c41e56c 241357 python-mechanize_0.1.11.orig.tar.gz
e2ee12c662772426716f2cef3222c0d575cfcb9a 6282 python-mechanize_0.1.11-0ubuntu1.diff.gz
Checksums-Sha256:
74792b261a9325d893c02d630672e87abc25ebf257ed24405019f9c8294d69c3 1491 python-mechanize_0.1.11-0ubuntu1.dsc
42ce1e39fe98b7dad3cf1cbbf601284d36e0914c2bdb133e9609fc483cafc2c0 241357 python-mechanize_0.1.11.orig.tar.gz
62ecbf35872df4408d8e3dae65665afa42f390e9f6eaf4fdd243abb34d0a6890 6282 python-mechanize_0.1.11-0ubuntu1.diff.gz
Files:
a91cefa1478a3badd1ec2a8b92e853cf 1491 python extra python-mechanize_0.1.11-0ubuntu1.dsc
c5e89a1886e44bd7a8598b0ba47287af 241357 python extra python-mechanize_0.1.11.orig.tar.gz
7d6c4ce1595acf30ffc2e86212714606 6282 python extra python-mechanize_0.1.11-0ubuntu1.diff.gz
Original-Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm2QnoACgkQDecnbV4Fd/IqAwCcDf2lncJIVPoig9rXUURzwXmu
6DgAoM9z8wlpfdNEvReLjqEbAFtRppcd
=/zuj
-----END PGP SIGNATURE-----
More information about the Jaunty-changes
mailing list