Path to this page:
Subject: CVS commit: pkgsrc/www/py-MechanicalSoup
From: Leonardo Taccari
Date: 2021-02-06 21:45:45
Message id: 20210206204545.E8DC3FA95@cvs.NetBSD.org
Log Message:
py-MechanicalSoup: Update to 1.0.0
Changes:
1.0.0
=====
This is the last release that will support Python 2.7. Thanks to the
many contributors that made this release possible!
Main changes
------------
- Added support for Python 3.8 and 3.9.
- StatefulBrowser has new properties page, form, and url, which can be
used in place of the methods get_current_page, get_current_form and
get_url respectively (e.g. the new x.page is equivalent to
x.get_current_page()). These methods may be deprecated in a future
release. [#175]
- StatefulBrowser.form will raise an AttributeError instead of
returning None if no form has been selected yet. Note that
StatefulBrowser.get_current_form() still returns None for backward
compatibility.
Bug fixes
---------
- Decompose <select> elements with the same name when adding a new
input element to a form. [#297]
- The params and data kwargs passed to submit will now properly be
forwarded to the underlying request for GET methods (whereas previously
params was being overwritten by data). [#343]
Files: