title: How to get the list of options that Python was compiled with?
body: <p>You can compile Python in various ways. I'd like to find out with which options my Python was compiled.</p>
  
  <p>Concrete use-case: was my Python compiled with readline?
  I know I can see this by doing "import readline", but I'd like to see a list of compilation setting for my Python binary.</p>
  
  <p>Edit:
  I mean the Python executable and <strong>not</strong> source code written by myself.</p>