- Jun 19, 2017
-
-
hydrargyrum authored
Some functions changed return type from python2 to python3 TODO: not everything is tested, a full review is needed + run is needed
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
With: futurize -w -1 weboob
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
To make compatible code for py2/py3 using methods like __str__, it's better to avoid unicode_literals, since __str__/__repr__ must always return the native str type of the python version.
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
-
hydrargyrum authored
-
- Jun 17, 2017
-
-
This method can be used to continue the same session in a GUI browser, using contrib/webextension-session-importer for Firefox and Chromium.
-
With this sample: <foo>bar<qux/>baz</foo> Element.text only returns "bar". By iterating on xpath "text()", we get "bar" and "baz".
-
-
-
-
-
strptime may not be enough to guarantee the date is well-formed, for example: v = strptime('150381', '%d%m%Y') # parsed as 0381/05/01 strftime(v, '') # raises a ValueError since year < 1900 So we check with strftime too.
-
-
-
Occasionally a module may fetch unsorted transactions so it should re-sort them.
-
-
-
-
-
-
-
-
This will be simplified when passing to python3
-
Romain Bignon authored
-
Romain Bignon authored
-
-
-
-
-
-
This reverts commit f9e16720bb064960ab8c497dbf2d7b4a3dc63e26.
-
-