e?,SSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJr SSK J r SSK J r SSK Jr SRS\55rS r\R"S :XaS OS r"S S5rSr\S:XaSSKJr \"SSSS9 SSKJr \"\5 gg)N) filedialog) messagebox) askstring)idleConf) py_extensions c#,# UH nSU-v M g7f)*N).0exts 4/opt/imh/python3.13/lib/python3.13/idlelib/iomenu.py rs:MSSMsutf-8win32 surrogatepasssurrogateescapec\rSrSrSrSrSrSrSrSr Sr Sr Sr S r S S jr\R rS rS rS rSrSrSrSrSrSrSrSrS\S4SS4r\R@S:XaSOSr!Sr"S!Sjr#Sr$Sr%Sr&g)" IOBindingcXlURUlURRSUR5UlURRSUR 5UlURRSUR5UlURRSUR5Ul SUl URRSUR5Ul g)N<><><><>r<>)editwintextbindopen_IOBinding__id_opensave_IOBinding__id_savesave_as_IOBinding__id_saveas save_a_copy_IOBinding__id_savecopy fileencoding print_window_IOBinding__id_print)selfrs r__init__IOBinding.__init__s LL (CTYYO(9499E99>>*C*.,,8!YY^^,M,0,<,<>#))..);T=N=NOcURRSUR5 URRSUR5 URRSUR5 URRSUR 5 URRSUR 5 SUlSUlSUlg)Nrrrrr) runbindr!r#r%r'r*rfilename_change_hookr+s rcloseIOBinding.close%s 4dnnE *DNN; 243C3CD :D>  NN$E  ##%'')HH  MM( # II   !r.c2[R"U5nUR5nURnURnSnSSS5 [W[5(d5Ub"[R "S S URS 9 Sn["R$nURR'SS5 UR)S5 WUlXPlURR/SW5 UR15 UR)U5 W(aUR3S5 URR5SS5 URR7S5 UR9U5 g!,(df  GN1=f![ [ 4a URRR5 [SSSURRS9n[XS9nUR5nURnURnSnSSS5 GM!,(df  GN=ff=f![a3n[R"S[U5URS 9 SnAgSnAf[ a& [R"S S U-URS 9 gf=f)NFzSpecify file encodingzwThe file's encoding is invalid for Python 3.x. IDLE will convert it to UTF-8. What is the current encoding of the file?r) initialvalueparent)encodingT I/O Errorr_zDecoding ErrorzFile %s Failed to DecodezMixed Newlinesz:Mixed newlines detected. The file will be changed on save.1.0endinsert)tokenizer readr`newlinesUnicodeDecodeError SyntaxErrorrrupdaterOSErrorr showerrorstr isinstance showwarningrGlinesepdeleterMr(eol_conventionrer?r:mark_setyviewupdaterecentfileslist) r+rJfcharsr(rs convertedencerrs rrVIOBinding.loadfile{s  %]]8,FFHE#$::L%&ZZN %I -:.#..)&&'7*M04 ;! ZZN & $(, &  (#  NN5 ! 8U+ ! ""8,m-, ' 4 % !!((*+@")<<,, .(1QFFHE#$::L%&ZZN $I 2111 %   c#htyy I!   !1#>#I*.)) 5  sqF+E.F. E=8F=FAH(+HH(H+ H$ H(!H+$H((H++ J5)I##0JJchUR5(agSUR=(d SS3n[R"SU[RUR S9nU(a+UR S5 UR5(aSOSnOUcSOS nUR R5 U$) zReturn 'yes', 'no', 'cancel' as appropriate. Tkinter messagebox.askyesnocancel converts these tk responses to True, False, None. Convert back, as now expected elsewhere. yeszDo you want to save zthis untitled documentz before closing?z Save On Closetitlemessagedefaultr_NrRno)r7rJraskyesnocancelYESrr"rW)r+rconfirmr[s rrXIOBinding.maybesaves >>  )mm?'?@%&++'!$.. $  IIdO!^^--E8E#*?xu  r.c6UR(dURU5 OLURUR5(a,URS5 URR 5 URR5 g![ a N'f=f)NTrQ) rJr$ writefiler:rstore_file_breaksAttributeErrorrrWr+rYs rr"IOBinding.savesr}} LL ~~dmm,,t$LL224 &sB BBcNUR5nU(aSURU5(a=URU5 URS5 URR 5 URR5 URU5 g![ a N8f=f)NrFrQ) asksavefilerrMr:rrrrrWrvr+rYrJs rr$IOBinding.save_ass##% ~~h''!!(+q!LL224  ""8, &sB B$#B$cUR5nU(aURU5 URR5 UR U5 g)NrQ)rrrrWrvrs rr&IOBinding.save_a_copys@##%  NN8 $  ""8,r.cUR5nURU5n[US5nURU5 UR 5 [ R "UR55 SSS5 g!,(df  g=f![a3n[R"S[U5URS9 SnAgSnAff=f)NwbTrarbF) fixnewlinesencoder writeflushrGfsyncfilenorlrrmrnr)r+rJrrxrwmsgs rrIOBinding.writefiles! D! h% $& &%   c#h*.)) 5 s5 BAA>5B> B B B C )CC c[URS5(a6URRSURR S55nOWURR S5S:waURR SS5 URR SS5nURS:waURSUR5nU$)zVReturn text with os eols. Add prompts if shell else final if missing. rPrczend-1czend-2c ) hasattrrget_prompt_textrindexgetrersreplacer+rs rrIOBinding.fixnewliness 4<< * *<<//tyyx7PQDyy}}X&$.   4099==1D   $ &<<d&9&9:D r.c6[U[5(aU$URS:XaURS5$URS5$![a Of=fURSS5n[ R "[R"U5R5up4URU5$![an[U5nSnAOSnAf[a SW-nOf=f[R"SSU-URS9 URS5$)Nz utf-8-sigasciirzInvalid encoding '%s'raz%s. Saving as UTF-8rb)robytesr(rUnicodeEncodeErrorrfdetect_encodingioBytesIOreadlinerjrnrrmr)r+rxencodedrz_r{faileds rrIOBinding.encodes eU # #L    +<< , , <<( (!    3ll7I6G--bjj.A.J.JKFC<<$ $ XF! 3,s2F 3  "V +99  ||K((s0A AAAB55 C$? CC$#C$cB[R"SS[RURS9nU(dURR 5 gSnUR 5nU(a UR nU(aWc[[R"SS9upcUn[R"U5 URU5(d[R"U5 g[RnSnUS:Xa[R"S S S 5n U S -n O!US :Xa[R"S S S5n OSnU(aW [ R""U5-n [R$"U S5n U R'5R)5n U R5n U (aSU -U -n U (a0S[+U 5-U -n [R,"SXRS9 O$SU-n [R."SXRS9 U(a[R"U5 g)NPrintzPrint to Default PrinterrrQ IDLE_tmp_)prefixTposixmainGeneralzprint-command-posixz 2>&1ntzprint-command-winFrz#Printing failed (exit status 0x%x) zPrinting command: %s z Print statusrbz-Printing is not enabled for this platform: %s)r askokcancelOKrrWr7rJtempfilemkstemprGr3runlinknamer GetOptionshlexquotepopenrgstripreprrmshowinfo)r+rYr tempfilenamesavedrJtfdplatform printPlatformcommandpipeoutputstatusrs rr)IOBinding.print_window-s((4$-- $  II   !   }}H("*"2"2+"F S#H HHSM>>,// ,'77 w (( )>@G'G  (( :MNG!M  H 55G88GS)DYY[&&(FZZ\F? "()1DMAFJ$$^VIINEPG    J  IIl #r.z Python filesTEXT)z Text filesz*.txtr)z All filesr darwinz.pycURS5upUR(d.[R"URUR S9UlURR XS9nU$)Nr )r_ filetypes initialdir initialfile)defaultfilename opendialogrOpenrrshowr+dirbaserJs rrTIOBinding.askopenfilejsU((0 (ooTYY:>..JDO??''3'Ir.cUR(a)[RRUR5$UR(aURS4$[R "5nUS4$![ a SnUS4$f=f)Nr)rJrGrHsplitrKgetcwdrl)r+modepwds rrIOBinding.defaultfilenamersp ==77==/ / \\<<# # iik7N 7N sA44 BBcURS5upUR(d9[R"URUR UR S9UlURRXS9nU$)Nr")r_rdefaultextensionr)r savedialogrSaveAsrrrrrs rrIOBinding.asksavefile~sb((0 (//99"nn%)%:%:0dJJ /' I !$  8ub .MyEditWinicXlSUlURRSUR5 URRSUR5 URRSUR 5 URRSUR 5 URRSUR5 g)Nz z z zz )rrSrr printr"saveassavecopyrs rr,'_io_binding..MyEditWin.__init__s|IDJ IINN=$)) 4 IINN=$** 5 IINN=$)) 4 IINN9dkk 2 IINN=$-- 8r.cg)Nrr r2s rr7(_io_binding..MyEditWin.get_savedsAr.cgr6r r;s rr:(_io_binding..MyEditWin.set_saveds4r.cgr6r r2s rr?)_io_binding..MyEditWin.reset_undosdr.c:URRS5 g)Nrrevent_generaters rr #_io_binding..MyEditWin.opens II $ $%@ Ar.c:URRS5 g)Nrrrs rr$_io_binding..MyEditWin.prints II $ $%7 8r.c:URRS5 g)Nrrrs rr"#_io_binding..MyEditWin.saves II $ $%6 7r.c:URRS5 g)Nrrrs rr%_io_binding..MyEditWin.saveass II $ $%> ?r.c:URRS5 g)Nrrrs rr'_io_binding..MyEditWin.savecopys II $ $%F Gr.)rSrN)rrrrr,r7r:r?r rr"rrrr r.r MyEditWinrs. 9 &'" B 9 8 @ Hr.r) tkinterrrrmapintgeometryrpackrWr) r_rrtopxyrrrs r _io_bindingr#s& 6 CII sFOO%++C04 5DALLQCL()HH. 9DIIKNNoG gr.__main__)rzidlelib.idle_test.test_iomenuF) verbosityexit)run)rrGrrrrfrrrtkinter.simpledialogridlelib.configr idlelib.utilrjoinr`rerrorsrr#runittestridlelib.idle_test.htestr(r r.rr0s *#&:M:: LLG39Jw<w