Annual report pursuant to Section 13 and 15(d)

Changes in Gross Liability for Unrecognized Tax Benefits, Excluding Interest and Penalties (Detail)

v3.3.0.814
Changes in Gross Liability for Unrecognized Tax Benefits, Excluding Interest and Penalties (Detail) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2015
Aug. 31, 2014
Aug. 31, 2013
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Beginning balance $ 39,509 $ 18,006 $ 24,608
Increases based on tax positions related to the current year 2,183 28,053 3,601
Increase for tax positions taken in a prior period 8,935 0 0
Decrease for tax positions taken in a prior period (633) 0 (100)
Decrease due to lapse of statute of limitations (4,464) (7,030) (7,522)
Decrease due to settlements (14,180) 0 (2,581)
Changes in foreign currency exchange rates (1,426) 480 0
Ending balance $ 29,924 $ 39,509 $ 18,006