- Dec 02, 2016
-
-
Sébastien Santoro authored
Examples should adhere to PEP-8 guidelines, as these examples not only document how to use correctly the client, but also will serve as a first exposition to Python for some contributors. Reference: https://www.python.org/dev/peps/pep-0008/
-
- May 09, 2016
-
-
Waldir Pimenta authored
* make basic_edit.py and upload.py python-3 compatible
-
- Aug 12, 2015
-
-
Waldir Pimenta authored
See 90b87566 for context
-
- Aug 18, 2014
-
-
Dan Michael O. Heggø authored
- Note the following exception replacements: mwclient.errors.HTTPError -> requests.exceptions.ConnectionError mwclient.errors.HTTPStatusError -> requests.exceptions.HTTPError mwclient.errors.HTTPRedirectError -> requests.exceptions.TooManyRedirects - Removed the `compability.old_upload` method, which was used for MediaWiki < 1.16. - Requests automatically decompresses gzip-encoded responses, and does its best to decode response content to unicode when possible. - [#53] Using the Responses library to mock http requests in tests
-
- Jun 15, 2014
-
-
Dan Michael O. Heggø authored
- Keep automated tests to be run with py.test in './tests/' and examples in './examples/' - Rename test to adhere to 'Conventions for Python test discovery' (http://pytest.org/latest/goodpractises.html#test-discovery)
-
- May 11, 2013
-
-
Dan Michael O. Heggø authored
-
- Feb 22, 2013
-
-
Waldir Pimenta authored
-
Waldir Pimenta authored
-