I flew to Italy when i was 27 weeks and came back at 32 weeks. i had to carry around an official form from my OB stating how many weeks pregnant i was and when bubs was due...
i know the airline i went with allows it until 36 weeks. but at 32 weeks i was pretty uncomfortable in those tiny economy class seats!