parameters: (stable_version, current_version)
docstring: Classifies a platform version as:
  
  	'nonstandard', 'minor', 'old' or None if it's up to date.
docstring_summary: Classifies a platform version as:
docstring_tokens: Classifies a platform version as :
function: def classify_platform(stable_version, current_version):
  	"""Classifies a platform version as:
  
  	'nonstandard', 'minor', 'old' or None if it's up to date.
  	"""
  	# stable version is non-standard
  	if not stable_version.startswith('v'):
  		if stable_version == current_version:
  			return
  		return 'old'
  
  	stable_version = stable_version.split('.')
  	current_version = current_version.split('.')
  	
  	if not current_version[0].startswith('v'):
  		return 'nonstandard'
  
  	try:
  		without_v = [current_version[0][1:]] + current_version[1:]
  		map(int, without_v)
  	except ValueError:
  		return 'nonstandard'
  
  	if len(current_version) > 2:
  		return 'minor'
  
  	if int(current_version[0][1:]) < int(stable_version[0][1:]) or (int(current_version[0][1:]) == int(stable_version[0][1:]) and int(current_version[1]) < int(stable_version[1])):
  		return 'old'
function_tokens: def classify_platform ( stable_version , current_version ) : # stable version is non-standard if not stable_version . startswith ( 'v' ) : if stable_version == current_version : return return 'old' stable_version = stable_version . split ( '.' ) current_version = current_version . split ( '.' ) if not current_version [ 0 ] . startswith ( 'v' ) : return 'nonstandard' try : without_v = [ current_version [ 0 ] [ 1 : ] ] + current_version [ 1 : ] map ( int , without_v ) except ValueError : return 'nonstandard' if len ( current_version ) > 2 : return 'minor' if int ( current_version [ 0 ] [ 1 : ] ) < int ( stable_version [ 0 ] [ 1 : ] ) or ( int ( current_version [ 0 ] [ 1 : ] ) == int ( stable_version [ 0 ] [ 1 : ] ) and int ( current_version [ 1 ] ) < int ( stable_version [ 1 ] ) ) : return 'old'