"Comparing datetime objects with numeric objects" is the current capability of iris (i.e. iris does not treat coordinates of time differently to any other coordinates).  As a result of this pull request, the way to constrain a time coordinate is through partial datetimes, but we don't want to stop people who have hardcoded numeric constraints with time coordinates for now, hence current iris functionality is to be deprecated.