Central method where we control whether warnings should be displayed
971695
def should_display_warnings_for(to_type):
    
    if not hasattr(to_type, '__module__'):
        return True
    elif to_type.__module__ in {'builtins'} or to_type.__module__.startswith('parsyfiles') \
            or to_type.__name__ in {'DataFrame'}:
        return False
    elif issubclass(to_type, int) or issubclass(to_type, str) \
            or issubclass(to_type, float) or issubclass(to_type, bool):
        return False
    else:
        return True
1199508
def customized_warning(message, category=UserWarning,
                       filename='', lineno=-1, file=None, line=None):
    
    print("WARNING: {0}".format(message))
100576
def warning(self, msg, *args, **kwargs):
        """"""
        self._log("WARNING", msg, args, kwargs)
867359
private static void  warn(String format, Object... args)
   {
      Log.w(TAG, String.format(format, args));
   }
152329
public static void warn(String message) {
        if (Boolean.getBoolean("visibleassertions.silence")) {
            return;
        }

        System.out.println("        " + yellow(bright(WARN_MARK + " " + message)));
    }
816760
public void printWarning() {
    System.out.print("Warning: ");
    System.out.print(description);
    if (value != null)
      System.out.print(" (" + value + ")");
    System.out.println();
  }
769631
def warning(self, message, print_location=True):
        """"""
        msg = "Warning"
        if print_location and (exshared.location != None):
            wline = lineno(exshared.location, exshared.text)
            wcol = col(exshared.location, exshared.text)
            wtext = line(exshared.location, exshared.text)
            msg += " at line %d, col %d" % (wline, wcol)
        msg += ": %s" % message
        if print_location and (exshared.location != None):
            msg += "\n%s" % wtext
        print(msg)
587810
def warn(self, message, container=None):
        """"""
        if self.source is not None:
            message = '[{}] '.format(self.source.location) + message
        if container is not None:
            try:
                message += ' (page {})'.format(container.page.formatted_number)
            except AttributeError:
                pass
        warn(message)
624046
def _warning(self, msg, node_id, ex, *args, **kwargs):
        

        raises = self.raises(ex) if callable(self.raises) else self.raises

        if raises and isinstance(ex, DispatcherError):
            ex.update(self)
            raise ex

        self._errors[node_id] = msg % ((node_id, ex) + args)
        node_id = '/'.join(self.full_name + (node_id,))

        if raises:
            raise DispatcherError(msg, node_id, ex, *args, sol=self, **kwargs)
        else:
            kwargs['exc_info'] = kwargs.get('exc_info', 1)
            log.error(msg, node_id, ex, *args, **kwargs)
1172378
function warn(message) {
    root.console && root.console.warn && root.console.warn('WARNING: ' + message);
  }
813052
def warning(*args):
    """"""
    if sys.stdin.isatty():
        print('WARNING:', *args, file=sys.stderr)
    else:
        notify_warning(*args)
1265372
public void warn(String message, Object... args) {
    warn(String.format(message, args), getThrowable(args));
  }
969964
def warning(lineno, msg):
    
    msg = "%s:%i: warning: %s" % (global_.FILENAME, lineno, msg)
    msg_output(msg)
    global_.has_warnings += 1
233380
public void warn(String format, Object arg) {
        if (logger.isEnabledFor(Level.WARN)) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.log(FQCN, Level.WARN, ft.getMessage(), ft.getThrowable());
        }
    }
12049
@Override
    public void warn(String format, Object arg) {
        if (logger.isWarnEnabled()) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.warn(ft.getMessage(), ft.getThrowable());
        }
    }
835124
def warning(self_, msg,*args,**kw):
        
        if not warnings_as_exceptions:
            global warning_count
            warning_count+=1
            self_.__db_print(WARNING,msg,*args,**kw)
        else:
            raise Exception("Warning: " + msg % args)
735170
def warning(message, text = nil)
      Logger.warn(message, caller(1..1))
      unless text.nil?
        render_message(:warning) do
          text.html_safe
        end
      end
    end