Issue #19676: Fixed integer overflow issue in "namereplace" error handler.
add readline.append_history_file (closes #22940)

patch by "bru"
fix variable name
only support append_history if readline has it
use skipUnless

--HG--
branch : 3.4
merge 3.4
correct assertion
Issue 22940: fixes to editline support