So there’s this book. It passes the Bechdel Test with flying colors. The polyamorous woman is never slutshamed in the narrative, and neither is the single mother. Sex workers are defended. Women have agency, and their actions drive a significant amount of the plot. 

I’m talking, of course, about Les Mis, which was written by a man in 1862.