bpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915) (GH-6928)

The editline emulation needs to be initialized *after* the name is
defined. This fixes the long open issue.
(cherry picked from commit c2f082e9d164acfa8f96de9526f0f47ae92c426a)

Co-authored-by: Zvezdan Petkovic <zpetkovic@acm.org>
5 files changed