Times are indeed changing. But how much?

Over the past of the past eight years, in the view of analysts from both parties, the country has shifted markedly on the issue of gender, to the point where they say voters could very well be open to electing a woman in 2008. That is reflected, they say, in polling data and in the continued success of women running for office, in red and blue states alike. “The country is ready,” said Senator Elizabeth Dole, the North Carolina Republican, who ran unsuccessfully for president in 2000. “I’m not saying it’s going to happen in ’08. But the country is ready.”

By contrast, for all the excitement stirred by Mr. Obama, it is much less certain that an African-American could win a presidential election. Not as many blacks have been elected to prominent positions as women. Some high-profile black candidates — Harold Ford Jr., a Democrat running for the Senate in Tennessee, and Michael Steele, a Republican Senate candidate in Maryland — lost in November. And demographics might be an obstacle as well: black Americans are concentrated in about 25 states — typically blue ones, like New York and California. While black candidates cannot assume automatic support from black voters, they would at least provide a base. In states without big black populations, the candidate’s crossover appeal must be huge.

“All evidence is that a white female has an advantage over a black male — for reasons of our cultural heritage,” said the Rev. Jesse L. Jackson, the civil rights leader who ran for president in 1984 and 1988. Still, he said, for African-American and female candidates, “It’s easier — emphatically so.”

Ms. Ferraro offered a similar sentiment. “I think it’s more realistic for a woman than it is for an African-American,” said Ms. Ferraro. “There is a certain amount of racism that exists in the United States — whether it’s conscious or not it’s true.”

“Women are 51 percent of the population,” she added.

Many analysts suggested that changing voter attitudes can best be measured in choices for governors, since they, like presidents, are judged as chief executives, rather than legislators. There will be one black governor next year — Deval L. Patrick in Massachusetts, the second in the nation since Reconstruction.