fix bug in Python for python <= 2.7.5 in Wformat=

https://bugzilla.redhat.com/show_bug.cgi?id=927358
cant write
hide Numpy deprecated API (and possibly others) #warnings

good we hide numpy API, but we might miss sth else too.
block all #warning messages