Intorduce input_filter to TextInput to allow only e.g. int, float etc. and PEP8 fixes.
Fix copy paste error.
Use bytes or unicode pattern depending on input text.
Filter text even when setting text directly.
Remove printable.
Merge branch 'master' of https://github.com/kivy/kivy into text-filter
Change input_filter to be a callable or int/float. Also don't filter when user set directly.
Merge branch 'master' of https://github.com/kivy/kivy into text-filter
Merge pull request #2055 from matham/text-filter

Introduce input_filter to TextInput to allow only e.g. int, float inputs