old_contents: #
  #     Kay Hayen, mailto:kayhayen@gmx.de
  #
  #     Python test originally created or extracted from other peoples work. The
  #     parts from me are in the public domain. It is at least Free Software
  #     where it's copied from other people. In these cases, it will normally be
  #     indicated.
  #
  #     If you submit Kay Hayen patches to this software in either form, you
  #     automatically grant him a copyright assignment to the code, or in the
  #     alternative a BSD license to the code, should your jurisdiction prevent
  #     this. Obviously it won't affect code that comes to him indirectly or
  #     code you don't submit to him.
  #
  #     This is to reserve my ability to re-license the code at any time, e.g.
  #     the PSF. With this version of Nuitka, using it for Closed Source will
  #     not be allowed.
  #
  #     Please leave the whole of this copyright notice intact.
  #
  def func():
     """ Some documentation. """
  
     pass
  
  print "Starting out: func, func_name:", func, func.func_name
  
  print "Changing its name:"
  func.func_name = "renamed"
  
  print "With new name: func, func_name:", func, func.func_name
  
  print "Documentation initially:",  func.__doc__
  
  print "Changing its doc:"
  func.__doc__ = "changed doc" + chr(0) + " with 0 character"
  
  print "Documentation updated:",  repr( func.__doc__ )
  
  print "Setting its dict"
  func.my_value = "attached value"
  print "Reading its dict", func.my_value
  
  # TODO: Consider which parts of func_code should exist, or at least make a dummy object
  
  # print "func_code", func.func_code
  # print dir( func.func_code )
  
new_contents: #
  #     Kay Hayen, mailto:kayhayen@gmx.de
  #
  #     Python test originally created or extracted from other peoples work. The
  #     parts from me are in the public domain. It is at least Free Software
  #     where it's copied from other people. In these cases, it will normally be
  #     indicated.
  #
  #     If you submit Kay Hayen patches to this software in either form, you
  #     automatically grant him a copyright assignment to the code, or in the
  #     alternative a BSD license to the code, should your jurisdiction prevent
  #     this. Obviously it won't affect code that comes to him indirectly or
  #     code you don't submit to him.
  #
  #     This is to reserve my ability to re-license the code at any time, e.g.
  #     the PSF. With this version of Nuitka, using it for Closed Source will
  #     not be allowed.
  #
  #     Please leave the whole of this copyright notice intact.
  #
  def func( arg1, arg2, arg3, **star ):
     """ Some documentation. """
  
     pass
  
  print "Starting out: func, func_name:", func, func.func_name
  
  print "Changing its name:"
  func.func_name = "renamed"
  
  print "With new name: func, func_name:", func, func.func_name
  
  print "Documentation initially:",  func.__doc__
  
  print "Changing its doc:"
  func.__doc__ = "changed doc" + chr(0) + " with 0 character"
  
  print "Documentation updated:",  repr( func.__doc__ )
  
  print "Setting its dict"
  func.my_value = "attached value"
  print "Reading its dict", func.my_value
  
  # TODO: Consider which parts of func_code should exist, or at least make a dummy object
  
  print "func_code", func.func_code, func.func_code.co_argcount
  print dir( func.func_code )
  
subject: Cover new support for func_code and the supported attributes.