#DELEGATOR
class UpperOut:
      def __init__(self, outfile):
            self.__outfile = outfile
      def write(self, s):
            self.__outfile.write(s.upper())
      def __getattr__(self, name):
            return getattr(self.__outfile, name)
#SUPER old
class UpperOutSub(UpperOut):
      def __init__(self, outfile):
            UpperOut.__init__(self, outfile)
#SUPER new
class UpperOutSub(UpperOut):
      def __init__(self, outfile):
            super(UpperOutSub, self).__init__(outfile)

#int to char
c = chr(65)
uc = unichr(1080)
d = ord(u'\u0438')