Peter O'Toole replaced Warren Beatty in the lead role of Michael James. The movie began as a semi-autobiographical project for Beatty with Woody Allen writing the screenplay. Director Clive Donner has said that Beatty declined to be in a movie which included Capucine who was a former girlfriend of Feldman and subsequently was guaranteed a major role for no other reason.