Skip to content
  • Norman Wood's avatar
    Use readline to overcome macOS input() restrictions · 354c5b11
    Norman Wood authored and Kevin J. McCarthy's avatar Kevin J. McCarthy committed
    Under macOS, for a python script launched in a terminal, input() accepts only 1024 characters.  In the authcode flow, the authorization code that is read by the call to input() around line 200 is longer than this and will be truncated, causing token retrieval to fail.  Importing readline resolves this, allowing input() to accept a longer character string.
    354c5b11