config root man

Current Path : /usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/HTMLParser.pyo

³ò
h”Rc@sdZddkZddkZeidƒZeidƒZeidƒZeidƒZeidƒZeidƒZ	eid	ƒZ
eid
ƒZeidƒZeidƒZ
eid
eiƒZeid	ƒZeidƒZdefd„ƒYZdeifd„ƒYZdS(sA parser for HTML and XHTML.iÿÿÿÿNs[&<]s<(/|\Z)s
&[a-zA-Z#]s%&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]s)&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]s	<[a-zA-Z]t>s--\s*>s[a-zA-Z][-.a-zA-Z0-9:_]*s_\s*([a-zA-Z_][-.:a-zA-Z_0-9]*)(\s*=\s*(\'[^\']*\'|"[^"]*"|[-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~@]*))?sê
  <[a-zA-Z][-.a-zA-Z0-9:_]*          # tag name
  (?:\s+                             # whitespace before attribute name
    (?:[a-zA-Z_][-.:a-zA-Z0-9_]*     # attribute name
      (?:\s*=\s*                     # value indicator
        (?:'[^']*'                   # LITA-enclosed value
          |\"[^\"]*\"                # LIT-enclosed value
          |[^'\">\s]+                # bare value
         )
       )?
     )
   )*
  \s*                                # trailing whitespace
s#</\s*([a-zA-Z][-.a-zA-Z0-9:_]*)\s*>tHTMLParseErrorcBs#eZdZdd„Zd„ZRS(s&Exception raised for all parse errors.cCs'||_|d|_|d|_dS(Nii(tmsgtlinenotoffset(tselfRtposition((s&/usr/local/lib/python2.5/HTMLParser.pyt__init__4s	
cCs[|i}|idj	o|d|i}n|idj	o|d|id}n|S(Ns, at line %ds, column %di(RRtNoneR(Rtresult((s&/usr/local/lib/python2.5/HTMLParser.pyt__str__:s	N(NN(t__name__t
__module__t__doc__RRR
(((s&/usr/local/lib/python2.5/HTMLParser.pyR1st
HTMLParsercBsòeZdZdZd„Zd„Zd„Zd„Zd„ZdZ
d„Zd	„Zd
„Z
d„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(sÇFind tags and other markup and call handler functions.

    Usage:
        p = HTMLParser()
        p.feed(data)
        ...
        p.close()

    Start tags are handled by calling self.handle_starttag() or
    self.handle_startendtag(); end tags by self.handle_endtag().  The
    data between tags is passed from the parser to the derived class
    by calling self.handle_data() with the data as argument (the data
    may be split up in arbitrary chunks).  Entity references are
    passed by calling self.handle_entityref() with the entity
    reference as the argument.  Numeric character references are
    passed to self.handle_charref() with the string containing the
    reference as the argument.
    tscripttstylecCs|iƒdS(s#Initialize and reset this instance.N(treset(R((s&/usr/local/lib/python2.5/HTMLParser.pyRZscCs/d|_d|_t|_tii|ƒdS(s1Reset this instance.  Loses all unprocessed data.ts???N(trawdatatlasttagtinteresting_normaltinterestingt
markupbaset
ParserBaseR(R((s&/usr/local/lib/python2.5/HTMLParser.pyR^s			cCs!|i||_|idƒdS(sFeed data to the parser.

        Call this as often as you want, with as little or as much text
        as you want (may include '
').
        iN(Rtgoahead(Rtdata((s&/usr/local/lib/python2.5/HTMLParser.pytfeedescCs|idƒdS(sHandle any buffered data.iN(R(R((s&/usr/local/lib/python2.5/HTMLParser.pytclosenscCst||iƒƒ‚dS(N(Rtgetpos(Rtmessage((s&/usr/local/lib/python2.5/HTMLParser.pyterrorrscCs|iS(s)Return full source of start tag: '<...>'.(t_HTMLParser__starttag_text(R((s&/usr/local/lib/python2.5/HTMLParser.pytget_starttag_textwscCs
t|_dS(N(tinteresting_cdataR(R((s&/usr/local/lib/python2.5/HTMLParser.pytset_cdata_mode{scCs
t|_dS(N(RR(R((s&/usr/local/lib/python2.5/HTMLParser.pytclear_cdata_mode~sc
CsÝ|i}d}t|ƒ}xp||job|ii||ƒ}|o|iƒ}n|}||jo|i|||!ƒn|i||ƒ}||joPn|i}|d|ƒoti	||ƒo|i
|ƒ}nº|d|ƒo|i|ƒ}n—|d|ƒo|i|ƒ}nt|d|ƒo|i
|ƒ}nQ|d|ƒo|i|ƒ}n.|d|jo|idƒ|d}nP|djo|o|idƒnPn|i||ƒ}q|d	|ƒo…ti	||ƒ}|og|iƒd
d!}	|i|	ƒ|iƒ}|d|dƒp|d}n|i||ƒ}qq‰Pq|d
|ƒoti	||ƒ}|oc|idƒ}	|i|	ƒ|iƒ}|d|dƒp|d}n|i||ƒ}qnti	||ƒ}|o4|o(|iƒ||jo|idƒnPq‰|d|jo'|id
ƒ|i||dƒ}q‰PqqW|o7||jo*|i|||!ƒ|i||ƒ}n|||_dS(Nit<s</s<!--s<?s<!isEOF in middle of constructs&#iiÿÿÿÿt;t&s#EOF in middle of entity or char ref(RtlenRtsearchtstartthandle_datat	updatepost
startswithtstarttagopentmatchtparse_starttagtparse_endtagt
parse_commenttparse_pitparse_declarationRtcharreftgroupthandle_charreftendt	entityrefthandle_entityreft
incomplete(
RR8RtitnR/tjR-tktname((s&/usr/local/lib/python2.5/HTMLParser.pyR„sŒ	


	




cCsb|i}ti||dƒ}|pdSn|iƒ}|i||d|!ƒ|iƒ}|S(Niiÿÿÿÿ(RtpicloseR)R*t	handle_piR8(RR<RR/R>((s&/usr/local/lib/python2.5/HTMLParser.pyR3Ôs	c
Cs†d|_|i|ƒ}|djo|Sn|i}|||!|_g}ti||dƒ}|iƒ}||d|!iƒ|_}xð||joât	i||ƒ}|pPn|i
dddƒ\}	}
}|
p
d}nm|d djo|djnp&|d djo|djno |dd!}|i|ƒ}n|i|	iƒ|fƒ|iƒ}qW|||!i
ƒ}|d
jo‘|iƒ\}
}d
|ijo9|
|iid
ƒ}
t|iƒ|iid
ƒ}n|t|iƒ}|id|||!d fƒn|id	ƒo|i||ƒn/|i||ƒ||ijo|iƒn|S(Niiiis'iÿÿÿÿt"Rs/>s
s junk characters in start tag: %ri(Rs/>(RR tcheck_for_whole_start_tagRttagfindR/R8tlowerRtattrfindR6tunescapetappendtstripRtcountR(trfindRtendswiththandle_startendtagthandle_starttagtCDATA_CONTENT_ELEMENTSR#(RR<tendposRtattrsR/R?ttagtmtattrnametrestt	attrvalueR8RR((s&/usr/local/lib/python2.5/HTMLParser.pyR0àsP	
	

&&

	cCs|i}ti||ƒ}|oí|iƒ}|||d!}|djo|dSn|djo_|id|ƒo|dSn|id|ƒodSn|i||dƒ|idƒn|djodSn|d	jodSn|i||ƒ|id
ƒntdƒ‚dS(NiRt/s/>iiÿÿÿÿsmalformed empty start tagRs6abcdefghijklmnopqrstuvwxyz=/ABCDEFGHIJKLMNOPQRSTUVWXYZsmalformed start tagswe should not get here!(RtlocatestarttagendR/R8R-R,RtAssertionError(RR<RRTR>tnext((s&/usr/local/lib/python2.5/HTMLParser.pyRDs*	



cCs¢|i}ti||dƒ}|pdSn|iƒ}ti||ƒ}|p|id|||!fƒn|idƒ}|i|i	ƒƒ|i
ƒ|S(Niiÿÿÿÿsbad end tag: %r(Rt	endendtagR)R8t
endtagfindR/RR6t
handle_endtagRFR$(RR<RR/R>RS((s&/usr/local/lib/python2.5/HTMLParser.pyR11s	
cCs!|i||ƒ|i|ƒdS(N(ROR^(RRSRR((s&/usr/local/lib/python2.5/HTMLParser.pyRNAscCsdS(N((RRSRR((s&/usr/local/lib/python2.5/HTMLParser.pyROFscCsdS(N((RRS((s&/usr/local/lib/python2.5/HTMLParser.pyR^JscCsdS(N((RR@((s&/usr/local/lib/python2.5/HTMLParser.pyR7NscCsdS(N((RR@((s&/usr/local/lib/python2.5/HTMLParser.pyR:RscCsdS(N((RR((s&/usr/local/lib/python2.5/HTMLParser.pyR+VscCsdS(N((RR((s&/usr/local/lib/python2.5/HTMLParser.pythandle_commentZscCsdS(N((Rtdecl((s&/usr/local/lib/python2.5/HTMLParser.pythandle_decl^scCsdS(N((RR((s&/usr/local/lib/python2.5/HTMLParser.pyRBbscCs|id|fƒdS(Nsunknown declaration: %r(R(RR((s&/usr/local/lib/python2.5/HTMLParser.pytunknown_declescCssd|jo|Sn|iddƒ}|iddƒ}|iddƒ}|idd	ƒ}|id
dƒ}|S(NR's&lt;R%s&gt;Rs&apos;t's&quot;RCs&amp;(treplace(Rts((s&/usr/local/lib/python2.5/HTMLParser.pyRHis
(sscriptRN(RRR
RPRRRRRRR R!R#R$RR3R0RDR1RNROR^R7R:R+R_RaRBRbRH(((s&/usr/local/lib/python2.5/HTMLParser.pyRCs6										P		3												(R
RtretcompileRR"R;R9R5R.RAtcommentcloseRERGtVERBOSERYR\R]t	ExceptionRRR(((s&/usr/local/lib/python2.5/HTMLParser.pys<module>s&
	


Man Man