v3.26.1
Long-term debt - Long-Term Debt (Detail) - USD ($)
$ in Thousands
Jul. 31, 2026
Oct. 31, 2025
Sep. 09, 2024
Sep. 13, 2023
Jun. 06, 2023
Debt Instrument [Line Items]          
Short-term debt $ 192,000 $ 0      
Long-term debt 1,744,698 2,000,000      
Current maturities of long-term debt and notes payable 10,000 315,000      
Less unamortized debt issuance costs 12,795 13,167      
Debt Instrument, Unamortized Discount 1,782 2,065      
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) 884 11,486      
Long-term debt 1,529,005 1,681,254      
Senior notes, due 2026-2027          
Debt Instrument [Line Items]          
Senior notes 10,000 20,000      
Senior notes, due 2026-2030          
Debt Instrument [Line Items]          
Senior notes 90,000 130,000      
Due 2028          
Debt Instrument [Line Items]          
Public Bond Offering   350,000   $ 350,000  
Due 2033          
Debt Instrument [Line Items]          
Public Bond Offering   500,000   $ 500,000  
Due 2029          
Debt Instrument [Line Items]          
Public Bond Offering   600,000 $ 600,000    
Revolving Credit Agreement Due 2031          
Debt Instrument [Line Items]          
Revolving credit agreement 0        
Revolving credit agreement          
Debt Instrument [Line Items]          
Revolving credit agreement 0 135,000      
Commercial Paper          
Debt Instrument [Line Items]          
Short-term debt 192,000 0      
Term loan due 2026 192,000 0      
Term Loan Due 2026          
Debt Instrument [Line Items]          
Term loan due 2026 0 265,000     $ 300,000
Term Loan Due 2031          
Debt Instrument [Line Items]          
Term loan due 2026 $ 2,698 $ 0