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.pyc

³ò
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.cCs5|pt‚||_|d|_|d|_dS(Nii(tAssertionErrortmsgtlinenotoffset(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__R	RR(((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|ƒ}x||jos|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šPqdp
td‚qW|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 refsinteresting.search() lied(RtlenRtsearchtstartthandle_datat	updatepost
startswithtstarttagopentmatchtparse_starttagtparse_endtagt
parse_commenttparse_pitparse_declarationR tcharreftgroupthandle_charreftendt	entityrefthandle_entityreft
incompleteR(
RR9RtitnR0tjR.tktname((s&/usr/local/lib/python2.5/HTMLParser.pyR„sŒ	


	




cCs„|i}|||d!djp
td‚ti||dƒ}|pdSn|iƒ}|i||d|!ƒ|iƒ}|S(Nis<?sunexpected call to parse_pi()iÿÿÿÿ(RRtpicloseR*R+t	handle_piR9(RR=RR0R?((s&/usr/local/lib/python2.5/HTMLParser.pyR4Ôs	"c
Cs—d|_|i|ƒ}|djo|Sn|i}|||!|_g}ti||dƒ}|p
td‚|iƒ}||d|!iƒ|_	}xð||joât
i||ƒ}|pPn|idddƒ\}	}
}|
p
d}nm|d djo|djnp&|d djo|djno |dd!}|i|ƒ}n|i
|	iƒ|fƒ|iƒ}q W|||!iƒ}|djo‘|iƒ\}
}d|ijo9|
|iidƒ}
t|iƒ|iidƒ}n|t|iƒ}|id|||!d
 fƒn|id
ƒo|i||ƒn/|i||ƒ||ijo|iƒn|S(Niis#unexpected call to parse_starttag()iis'iÿÿÿÿt"Rs/>s
s junk characters in start tag: %ri(Rs/>(R	R!tcheck_for_whole_start_tagRttagfindR0RR9tlowerRtattrfindR7tunescapetappendtstripRtcountR)trfindR tendswiththandle_startendtagthandle_starttagtCDATA_CONTENT_ELEMENTSR$(RR=tendposRtattrsR0R@ttagtmtattrnametrestt	attrvalueR9RR((s&/usr/local/lib/python2.5/HTMLParser.pyR1àsR	
	

&&

	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!(RtlocatestarttagendR0R9R.R-R R(RR=RRUR?tnext((s&/usr/local/lib/python2.5/HTMLParser.pyREs*	



cCsÄ|i}|||d!djp
td‚ti||dƒ}|pdSn|iƒ}ti||ƒ}|p|id|||!fƒn|idƒ}|i	|i
ƒƒ|iƒ|S(Nis</sunexpected call to parse_endtagiiÿÿÿÿsbad end tag: %r(RRt	endendtagR*R9t
endtagfindR0R R7t
handle_endtagRGR%(RR=RR0R?RT((s&/usr/local/lib/python2.5/HTMLParser.pyR21s	"
cCs!|i||ƒ|i|ƒdS(N(RPR^(RRTRS((s&/usr/local/lib/python2.5/HTMLParser.pyROAscCsdS(N((RRTRS((s&/usr/local/lib/python2.5/HTMLParser.pyRPFscCsdS(N((RRT((s&/usr/local/lib/python2.5/HTMLParser.pyR^JscCsdS(N((RRA((s&/usr/local/lib/python2.5/HTMLParser.pyR8NscCsdS(N((RRA((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.pyRCbscCs|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;RDs&amp;(treplace(Rts((s&/usr/local/lib/python2.5/HTMLParser.pyRIis
(sscriptRN(RR
RRQRRRRR R	R!R"R$R%RR4R1RER2RORPR^R8R;R,R_RaRCRbRI(((s&/usr/local/lib/python2.5/HTMLParser.pyRCs6										P		3												(RRtretcompileRR#R<R:R6R/RBtcommentcloseRFRHtVERBOSERZR\R]t	ExceptionRRR(((s&/usr/local/lib/python2.5/HTMLParser.pys<module>s&
	


Man Man