In race and gender patterns in the United States, men of color have traditionally been granted their rights in advance of women. Therefore, as long as this pattern continues, Barack Obama is better positioned than Hillary Clinton to beat John McCain, or any other white male Republican.
Patterns, whether grounded in fact or fiction, are by definition, deeply rooted and cyclical. Consider one odd pattern in American politics often referred to as Tecumsuh’s Curse: for 120 years, every president elected in a year ending in the numeral zero died in office, the majority from assassination. 
Patterns of race and gender are mixed inextricably into the mortar of society, right or wrong, and typically only change very gradually.
Free black men in post Revolutionary America could own land, but it was not until the 1850’s that states began passing women’s property rights legislation. 
Black men were allowed into the military before women. In 1870, James Webster Smith became the first African-American admitted to the United States Military Academy at West Point. Women were finally admitted, over a century later, in 1976.
So, it seems likely that these race and gender patterns will affect the timing of the nation’s first black and female presidents.
Anatomy trumps skin color. This is not a judgment by the author, simply an observation of the pattern. (So don’t shoot the piano player! She’s a feminist!)
If Hillary were to receive the Democratic nomination, she would have to overcome this pattern. However, Obama could win, based on the foundations of this pattern.
Obama, who is half black, is obviously also half white, and therefore could become a stepping stone toward racial equality in the White House, if he receives the Democratic nomination.
McCain could use the “gender card” against Hillary, but it is very unlikely that he would ever use the “race card” against Obama, as McCain himself is the adoptive father of a daughter of color, born in Bangladesh in 1991.
In the 2000 primaries, McCain was the target of a racially based smear campaign in South Carolina, falsely attributing his daughter Bridget’s birth to the result of McCain’s supposed liason with a black prostitute. This may have cost him the race in that state. When dadmag.com asked McCain about it, he replied, “There were some pretty vile and hurtful things said during the South Carolina primary. It's a really nasty side of politics. We tried to ignore it and I think we shielded (Bridget) from it. It's just unfortunate that that sort of thing still exists. As you know she's Bengali, and very dark-skinned. A lot of phone calls were made by people who said we should be very ashamed about her, about the color of her skin. Thousands and thousands of calls from people to voters saying, ‘You know, the McCains have a black baby.’ I believe that there is a special place in hell for people like those.”
Ironically, if the final race is between Obama and McCain, whatever the outcome, a person of color will be living in the White House. It’s about time.