Package: python-mechanize / 1:0.4.8+pypi-5

Metadata

Package Version Patches format
python-mechanize 1:0.4.8+pypi-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
upstream/0001 Fix an error on pypy3.patch | (download)

mechanize/_urllib2_fork.py | 14 10 + 4 - 0 !
1 file changed, 10 insertions(+), 4 deletions(-)

 fix an error on pypy3

Fix #72

upstream/0002 setup.cfg Move packages def to options section.patch | (download)

setup.cfg | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 setup.cfg: move packages def to options section

Fix packaging with older setuptools.

upstream/0003 Use asserts for failing test so we get better feedba.patch | (download)

test/test_cookies.py | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use asserts for failing test so we get better feedback on the
 failure


upstream/0004 DRYer.patch | (download)

test/test_cookies.py | 9 2 + 7 - 0 !
1 file changed, 2 insertions(+), 7 deletions(-)

 dryer


upstream/0005 Change test to not rely on order of cookie iteration.patch | (download)

test/test_cookies.py | 11 5 + 6 - 0 !
1 file changed, 5 insertions(+), 6 deletions(-)

 change test to not rely on order of cookie iteration

python 3.11 iterates in add order, earlier pythons iterate in domain
sorted order

Fix #74

upstream/0006 Deduplicate doc for context param.patch | (download)

mechanize/_useragent.py | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 deduplicate doc for context param

The documentation for Browser.set_ca_param documents the context parameter twice. This prunes the redundancy.

upstream/0007 debugging enable HTTPRedirectDebugProcessor for http.patch | (download)

mechanize/_debug.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 debugging - enable httpredirectdebugprocessor for https


upstream/0008 Fix previous PR.patch | (download)

mechanize/_debug.py | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 fix previous pr


0009 Use Python 3.patch | (download)

examples/forms/echo.cgi | 2 1 + 1 - 0 !
examples/forms/example.py | 2 1 + 1 - 0 !
examples/forms/simple.py | 2 1 + 1 - 0 !
examples/hack21.py | 2 1 + 1 - 0 !
examples/pypi.py | 2 1 + 1 - 0 !
5 files changed, 5 insertions(+), 5 deletions(-)

 use python 3

0010 Sort lines.patch | (download)

mechanize.egg-info/PKG-INFO | 2 1 + 1 - 0 !
mechanize.egg-info/requires.txt | 6 3 + 3 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 sort lines

Add some hack to restore original files at end of a package build process.
These files are rebuild in each build processes.

0011 Fix warning.patch | (download)

MANIFEST.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix warning

Remove unused word