e SSKrSSKrSSjrSSjrSrSrSr\RR\RRSS55SSr \ 4S jr C S r "S S \ 5rS q\"SS9 g)NcUnUb[U[[45(a[SS[ U5SU<3-5e[ [ [RRU55(d[[U55eUnOD[RRSS5nUc[R"S5n[!XA5n[#U5qg)Nz!tzpaths must be a list or tuple, znot z: PYTHONTZPATHTZPATH) isinstancestrbytes TypeErrortypeallmapospathisabs ValueError_get_invalid_paths_messageenvironget sysconfigget_config_var_parse_python_tzpathtupler)to stackleveltzpaths base_tzpathenv_vars 6/opt/imh/python3.13/lib/python3.13/zoneinfo/_tzpath.py _reset_tzpathrsG gU| , ,3gr'56  3rww}}g.//7@A A **..6 ?..x8G*7? ; Fc[U5 g)zReset global TZPATH.N)r)rs r reset_tzpathr!s "rc,U(dgUR[R5n[[ [R R U55n[U5[U5:wa'SSKn[U5nURSU-[US9 U$)Nrz>Invalid paths specified in PYTHONTZPATH environment variable. r) splitr pathseprfilterrrlenwarningsrwarnInvalidTZPathWarning)rr raw_tzpath new_tzpathr)msgs rrr$s| rzz*JvbggmmZ89J :#j/)(4 L  !   rcHSU5nSnX"RU5-nSU-$)Nc3r# UH-n[RRU5(aM)Uv M/ g7fN)r rr).0rs r -_get_invalid_paths_message..<s!IgdRWW]]45HTTgs(7 7z z@Paths should be absolute but found the following relative paths:)join)r invalid_pathsprefix indented_strs rrr;s5IgIM FKK 66L K  rc[U5 [HJn[RR X5n[RR U5(dMHUs $ g)z,Retrieve the path to a TZif file from a key.N)_validate_tzfile_pathrr rr5isfile)key search_pathfilepaths r find_tzfiler?GsC# 77<< 1 77>>( # #O r_c[RRU5(a[SU35e[RR U5n[ U5[ U5:wa[SU35e[RR [RR X55nURU5(d[SU35eg)Nz.ZoneInfo keys may not be absolute paths, got: z6ZoneInfo keys must be normalized relative paths, got: z;ZoneInfo keys must refer to subdirectories of TZPATH, got: )r rrrnormpathr(r5 startswith)r_basenew_pathresolveds rr:r:Us ww}}TH   u % %I$ P   &rcSSKJn [5nURS5R S5R S5nUH-nUR 5nU(dMURU5 M/ SSS5 Sn[GH$n[RRU5(dM*[R"U5HupgnXe:Xa.SU;aURS5 S U;aURS 5 UHn [RR!Xi5n [RR#XS 9n [R$S :wa U R'[R$S 5n U (aX;aMU"U 5(dMURU 5 M M GM' S U;aURS 5 U$!,(df  GNZ=f![[4a GNpf=f) aReturns a set containing all available time zones. .. caution:: This may attempt to open a large number of files, since the best way to determine if a given file on the time zone search path is to open it and check for the "magic string" at the beginning. r) resourcestzdatazonesrNc[US5nURS5S:HsSSS5 $!,(df  g=f![a gf=f)NrbsTZifF)openread Exception)fpathfs r valid_key&available_timezones..valid_keys@ eT"avvayG+#""  s# =, = :== A  A rightposix)start/ posixrules) importlibrIsetfilesjoinpathrPstripadd ImportErrorFileNotFoundErrorrr rexistswalkremover5relpathsepreplace) rI valid_zonesrTzonerUtz_rootrootdirnamesr^filerSr<s ravailable_timezonesrpos$%K __X & / / 8 = =c Bazz|4OOD)C6ww~~g&& %'WWW%5 !DEh&OOG,h&OOG, T0ggooeo;66S=++bffc2Cc0U##OOC(&6 4{" <( ]C B * +   s5/GG G5G GGGG.-G.c\rSrSrSrSrg)r+z?Warning raised if an invalid path is specified in PYTHONTZPATH.r#N)__name__ __module__ __qualname____firstlineno____doc____static_attributes__r#rrr+r+sIrr+r#r$)NrOr1)r rrr!rrr?rrCr5 _TEST_PATHr:rpRuntimeWarningr+rr#rrr|s  .. WW  bggll34 5cr : '1 .>BJ>J  r