message: Mark safety mode in the tf upgrade script not experimental.
diff: @@ -19,21 +19,17 @@ from __future__ import division
  from __future__ import print_function
  import argparse
  -import sys
  from tensorflow.tools.compatibility import ast_edits
  +from tensorflow.tools.compatibility import ipynb
  from tensorflow.tools.compatibility import tf_upgrade_v2
  from tensorflow.tools.compatibility import tf_upgrade_v2_safety
  -from tensorflow.tools.compatibility import ipynb
  -
  # Make straightforward changes to convert to 2.0. In harder cases,
  # use compat.v1.
  _DEFAULT_MODE = "DEFAULT"
  # Convert to use compat.v1.
  -# TODO(kaftan): remove EXPERIMENTAL_ prefix once safety mode is
  -# implemented.
  -_SAFETY_MODE = "EXPERIMENTAL_SAFETY"
  +_SAFETY_MODE = "SAFETY"
  def process_file(in_filename, out_filename, upgrader):
  @@ -110,8 +106,9 @@ Simple usage:
  "%s: Perform only straightforward conversions to upgrade to "
  "2.0. In more difficult cases, switch to use compat.v1.\n"
  "%s: Keep 1.* code intact and import compat.v1 "
  - "module. Note: safety mode is under development and not available "
  - "yet." % (_DEFAULT_MODE, _SAFETY_MODE)),
  + "module. Also disable 2.0 behavior to ensure code "
  + "that requires 1.X behavior continues to work." %
  + (_DEFAULT_MODE, _SAFETY_MODE)),
  default=_DEFAULT_MODE)
  parser.add_argument(
  "--print_all",
  @@ -122,8 +119,6 @@ Simple usage:
  if args.mode == _SAFETY_MODE:
  change_spec = tf_upgrade_v2_safety.TFAPIChangeSpec()
  - sys.stderr.write(
  - "%s mode is not fully implemented yet." % _SAFETY_MODE)
  else:
  change_spec = tf_upgrade_v2.TFAPIChangeSpec()
  upgrade = ast_edits.ASTCodeUpgrader(change_spec)
  