fix variable name
only support append_history if readline has it
use skipUnless
merge 3.4
correct assertion