Fluid statics of a self-gravitating perfect-gas isothermal sphere