Harvey Weinstein, the once powerful film producer, was in good condition on Thursday after being hospitalized with chest pains the night before, only hours after a New York judge sentenced him to 23 years in state prison for sexual attacks on two women, his lawyer said. Mr.