Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Return Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass orelse Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore TupleLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Continue With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str For NameStore TupleLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Continue With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Raise Call AttributeLoad NameLoad attr Str decorator_list
N/A __future__ with_statement N/A os N/A re N/A sys N/A pytz N/A subprocess N/A _systemconfig_tz N/A N/A re compile ^Time Zone: (.*)$(?m) _tz_from_env N/A N/A tzenv N/A N/A N/A N/A N/A tzenv N/A 0 : N/A N/A tzenv N/A tzenv N/A 1 N/A N/A N/A N/A os path exists tzenv N/A N/A N/A open tzenv rb tzfile N/A N/A N/A N/A N/A pytz tzfile build_tzinfo local tzfile N/A N/A N/A tz N/A N/A pytz timezone tzenv N/A tz N/A N/A N/A N/A pytz UnknownTimeZoneError N/A N/A N/A N/A pytz UnknownTimeZoneError tzlocal() does not support non-zoneinfo timezones like %s. 
Please use a timezone in the form of Continent/City N/A _get_localzone N/A N/A _root N/A / N/A N/A Tries to find the local timezone configuration.
    This method prefers finding the timezone name and passing that to pytz,
    over passing in the localtime file, as in the later case the zoneinfo
    name is unknown.
    The parameter _root makes the function look for files like /etc/localtime
    beneath the _root directory. This is primarily used by the tests.
    In normal usage you call the function without parameters.
     N/A tzenv N/A N/A N/A os environ get TZ N/A tzenv N/A N/A N/A _tz_from_env tzenv N/A N/A N/A link_dst N/A N/A os readlink /etc/localtime N/A N/A N/A OSError N/A N/A N/A N/A pos N/A N/A link_dst find /zoneinfo/ N/A N/A pos 0 N/A N/A zone_name N/A link_dst N/A N/A pos 10 N/A N/A N/A N/A N/A pytz timezone zone_name N/A N/A N/A N/A pytz UnknownTimeZoneError N/A N/A N/A N/A N/A sys platform darwin N/A N/A c N/A N/A subprocess Popen N/A systemsetup -gettimezone stdout N/A subprocess PIPE N/A sys_result N/A N/A N/A c communicate N/A 0 N/A N/A N/A c wait N/A tz_match N/A N/A _systemconfig_tz search sys_result N/A N/A tz_match None N/A N/A zone_name N/A N/A tz_match group 1 N/A N/A N/A N/A N/A pytz timezone zone_name N/A N/A N/A N/A pytz UnknownTimeZoneError N/A N/A N/A tzpath N/A N/A N/A os path join _root etc/timezone N/A N/A N/A N/A os path exists tzpath N/A N/A N/A open tzpath rb tzfile N/A N/A data N/A N/A tzfile read N/A N/A N/A data N/A 5 TZif2 N/A N/A etctz N/A N/A N/A N/A data strip decode N/A N/A etctz N/A N/A N/A etctz dummy N/A N/A etctz split 1 N/A N/A # etctz N/A N/A N/A etctz dummy N/A N/A etctz split # 1 N/A N/A N/A pytz timezone N/A N/A etctz replace _ N/A zone_re N/A N/A re compile \s*ZONE\s*=\s*" N/A timezone_re N/A N/A re compile \s*TIMEZONE\s*=\s*" N/A end_re N/A N/A re compile " N/A filename N/A etc/sysconfig/clock etc/conf.d/clock N/A N/A tzpath N/A N/A N/A os path join _root filename N/A N/A N/A N/A N/A os path exists tzpath N/A N/A N/A N/A open tzpath rt tzfile N/A N/A data N/A N/A tzfile readlines N/A line data N/A N/A match N/A N/A zone_re match line N/A N/A match None N/A N/A match N/A N/A timezone_re match line N/A N/A match None N/A N/A line N/A line N/A N/A N/A match end N/A etctz N/A line N/A N/A N/A N/A N/A end_re search line start N/A N/A N/A pytz timezone N/A N/A etctz replace _ N/A filename N/A etc/localtime usr/local/etc/localtime N/A N/A tzpath N/A N/A N/A os path join _root filename N/A N/A N/A N/A N/A os path exists tzpath N/A N/A N/A N/A open tzpath rb tzfile N/A N/A N/A N/A N/A pytz tzfile build_tzinfo local tzfile N/A N/A N/A pytz UnknownTimeZoneError Can not find any timezone configuration N/A