ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- lib64/python2.7/bsddb/__init__.pyc000064400000030242152344144720012575 0ustar00 {fc @s}dZddlZejddkZejdkrejdkrddlZejrzedkrzejdednej d d ed nybedkrerd dUn ddl Z e Z dd l m Znddl Z dd lm ZWn*ek r!ddlZeje=nXe ZZejZejZddlZddlZddlmZejdkrddlZejZnddlZejZdefdYZdefdYZdddddddddZ!dddddddddZ"ddddddddddd Z#dZ$dZ%yddl&Z'['Wnek rxde_(nXdS(sSupport for Berkeley DB 4.3 through 5.3 with a simple interface. For the full featured object oriented interface use the bsddb.db module instead. It mirrors the Oracle Berkeley DB C API. iNiiiitbsddb3sQin 3.x, the bsddb module has been removed; please use the pybsddb project insteadtignores .*CObject.*sbsddb.__init__sfrom . import _pybsddb(t DeadlockWrap(treft _iter_mixincBs,eZdZdZdZdZRS(cCsAt|jj}t|}t||j||j|<|S(N(t _DeadlockWraptdbtcursortidRt_gen_cref_cleanert _cursor_refs(tselftcurtkey((s&/usr/lib64/python2.7/bsddb/__init__.pyt_make_iter_cursor_s csfdS(NcsjjdS(N(R tpoptNone(R(R R (s&/usr/lib64/python2.7/bsddb/__init__.pytit((R R ((R R s&/usr/lib64/python2.7/bsddb/__init__.pyR esccsAt|_|jd7_yy|j}t|jdddd}|Vt|d}xy"t|dddd}|VWq]tjk r|jrt dn|j}t|j |dddt|d}q]Xq]WWn'tj k rntjk rnXWn|jd8_nX|jd8_dS(Niitnexts'Database changed size during iteration.( tFalset_kill_iterationt_in_iterRRtfirsttgetattrt_bsddbtDBCursorClosedErrort RuntimeErrortsettDBNotFoundError(R R R R((s&/usr/lib64/python2.7/bsddb/__init__.pyt__iter__ks4     ccsH|js dSt|_|jd7_yy|j}t|j}|d}|Vt|d}xyt|}|d}|VWqgtj k r|jrt dn|j}t|j |dddt|d}qgXqgWWn'tj k rntj k rnXWn|jd8_nX|jd8_dS(NiiRs'Database changed size during iteration.( RRRRRRRRRRRRR(R R tkvR R((s&/usr/lib64/python2.7/bsddb/__init__.pyt iteritemss<         (t__name__t __module__RR RR (((s&/usr/lib64/python2.7/bsddb/__init__.pyR^s   )t _DBWithCursorcBseZdZdZdZdZddZdZdZdZ e j dkrid Z nd Z d ZdZdZdZdZdZdZe j ddkreZndZdZdZdZRS(s A simple wrapper around DB that makes it look like the bsddbobject in the old module. It uses a cursor as needed to provide DB traversal. cCsJ||_|jjdd|_d|_i|_d|_t|_dS(Ni( Rtset_get_returns_noneRtdbct saved_dbc_keyR RRR(R R((s&/usr/lib64/python2.7/bsddb/__init__.pyt__init__s     cCs|jdS(N(tclose(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt__del__scCs\|jdkrXt|jj|_|jdk rXt|jj|jd|_qXndS(N(R%RRRRR&R(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt _checkCursors icCs|jrq|j}d|_|r^y#t|jdddd|_Wq^tjk rZq^Xnt|j~nx<|jj D]+}|}|dk rt|jqqWdS(Ni( R%RRtcurrentR&RtDBErrorR(R tvalues(R tsavetctcref((s&/usr/lib64/python2.7/bsddb/__init__.pyt _closeCursorss   #   cCs|jdkrtdndS(Ns$BSDDB object has already been closed(RRterror(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt _checkOpenscCs |jdk S(N(RR(R ((s&/usr/lib64/python2.7/bsddb/__init__.pytisOpenscsjtfdS(Ncs tjS(N(tlenR((R (s&/usr/lib64/python2.7/bsddb/__init__.pyRR(R3R(R ((R s&/usr/lib64/python2.7/bsddb/__init__.pyt__len__s iicCs5|jr(ttt|jjSttS(N(R4treprtdictRRtitems(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt__repr__s cs jtfdS(Ncs jS(N(R((R R (s&/usr/lib64/python2.7/bsddb/__init__.pyRR(R3R(R R ((R R s&/usr/lib64/python2.7/bsddb/__init__.pyt __getitem__ s csXjjjr5kr5t_nfd}t|dS(NcsjRR(R R R=((R R s&/usr/lib64/python2.7/bsddb/__init__.pyt __delitem__s    cCsr|jdd|jdk r2t|jjnd}|jdk r\t|jj}nd|_d|_|S(NR.i(R1R%RRR(R(R tv((s&/usr/lib64/python2.7/bsddb/__init__.pyR("s  cCs|jt|jjS(N(R3RRtkeys(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyRB-s cCs|jt|jj|S(N(R3RRthas_key(R R ((s&/usr/lib64/python2.7/bsddb/__init__.pyRC1s cCs'|j|jt|jj|S(N(R3R*RR%t set_range(R R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt set_location5s  cCs0|j|jtt|jd}|S(NR(R3R*RRR%(R trv((s&/usr/lib64/python2.7/bsddb/__init__.pyR:s  iicCs*|j|jt|jj}|S(N(R3R*RR%tprev(R RF((s&/usr/lib64/python2.7/bsddb/__init__.pytpreviousCs  cCs3|jd|_|jt|jj}|S(N(R3RR&R*RR%R(R RF((s&/usr/lib64/python2.7/bsddb/__init__.pyRIs    cCs3|jd|_|jt|jj}|S(N(R3RR&R*RR%tlast(R RF((s&/usr/lib64/python2.7/bsddb/__init__.pyRIQs    cCs|jt|jjS(N(R3RRtsync(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyRJYs (ii(R!R"t__doc__R'R)R*R1R3R4R6tsyst version_infoR:R;R?R@R(RBRCRERt__next__RHRRIRJ(((s&/usr/lib64/python2.7/bsddb/__init__.pyR#s0                R/ic Cst||} t|} tj| } | j||dk rS| j|n|dk ro| j|n|dk r| j|n|dk r| j |n| j |tj | |t | S(N( t _checkflagt _openDBEnvRtDBt set_flagsRt set_pagesizet set_lordert set_h_ffactort set_h_nelemtopentDB_HASHR#( tfiletflagtmodetpgsizetffactortnelemt cachesizetlorderthflagstflagstetd((s&/usr/lib64/python2.7/bsddb/__init__.pythashopenas      c Cst||} t|} tj| } |dk rF| j|n|dk rb| j|n| j||dk r| j|n|dk r| j |n| j |tj | |t | S(N( RORPRRQRRSRTRRt set_bt_minkeyt set_bt_maxkeyRWtDB_BTREER#( RYRZR[tbtflagsR_t maxkeypaget minkeypageR\R`RbRcRd((s&/usr/lib64/python2.7/bsddb/__init__.pytbtopenqs      c Cst||} t|} tj| } |dk rF| j|n|dk rb| j|n| j||dk r| j|n|dk r| j |n| dk r| j | n| dk r| j | n| j |tj | |t| S(N(RORPRRQRRSRTRRt set_re_delimt set_re_lent set_re_sourcet set_re_padRWtDB_RECNOR#(RYRZR[trnflagsR_R\R`trlentdelimtsourcetpadRbRcRd((s&/usr/lib64/python2.7/bsddb/__init__.pytrnopens$        cCstj}|dk rC|dkr7|jd|qCtdn|jtj|jdtjtj Btj Btj Btj B|S(NiPiscachesize must be >= 20480t.( RtDBEnvRt set_cachesizeR2t set_lk_detecttDB_LOCK_DEFAULTRWt DB_PRIVATEt DB_CREATEt DB_THREADt DB_INIT_LOCKt DB_INIT_MPOOL(R_Rc((s&/usr/lib64/python2.7/bsddb/__init__.pyRPs    /cCs|dkrtj}n|dkr-d}n|dkrEtj}ng|dkr]tj}nO|dkrtj}|dk rtjj|rtj|qn td|tj BS(NtrtrwitwR/tns+flags should be one of 'r', 'w', 'c' or 'n'( Rt DB_RDONLYR~RtostpathtisfiletunlinkR2R(RZRYRb((s&/usr/lib64/python2.7/bsddb/__init__.pyROs           (ii(ii(ii()RKRLRMtabsolute_importtwarningst py3kwarningR!twarnpy3ktDeprecationWarningtfilterwarningst_pybsddbRtbsddb3.dbutilsRRt bsddb.dbutilst ImportErrortmodulesRt_dbt __version__R,R2RtweakrefRtUserDictt DictMixintMutableMappingt collectionsRR#RReRlRwRPROtthreadtTR(((s&/usr/lib64/python2.7/bsddb/__init__.pyt(sb                   b     lib64/python2.7/email/__init__.pyc000064400000005470152344561360012616 0ustar00 {fc @sdZdZdddddddd d d d d ddddddddddddddddddd d!g Zd"Zd#Zd$d%lZd&efd'YZdddd(dddd ddddg Zd)d*d+d d,d-d.gZ xHeD]@Z ee j Z e ej d/e s        usr/lib64/python2.7/json/__init__.pyc000064400000033146152344761270013314 0ustar00 {fc@s,dZdZddddddgZdZd d lmZd d lmZed ed e de de ddddddddZ ee e e ddddded Z ee e e ddddded Z eddddddZddddddddZddddddddZdS(s JSON (JavaScript Object Notation) is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format. :mod:`json` exposes an API familiar to users of the standard library :mod:`marshal` and :mod:`pickle` modules. It is the externally maintained version of the :mod:`json` library contained in Python 2.6, but maintains compatibility with Python 2.4 and Python 2.5 and (currently) has significant performance advantages, even without using the optional C extension for speedups. Encoding basic Python object hierarchies:: >>> import json >>> json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]) '["foo", {"bar": ["baz", null, 1.0, 2]}]' >>> print json.dumps("\"foo\bar") "\"foo\bar" >>> print json.dumps(u'\u1234') "\u1234" >>> print json.dumps('\\') "\\" >>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True) {"a": 0, "b": 0, "c": 0} >>> from StringIO import StringIO >>> io = StringIO() >>> json.dump(['streaming API'], io) >>> io.getvalue() '["streaming API"]' Compact encoding:: >>> import json >>> json.dumps([1,2,3,{'4': 5, '6': 7}], sort_keys=True, separators=(',',':')) '[1,2,3,{"4":5,"6":7}]' Pretty printing:: >>> import json >>> print json.dumps({'4': 5, '6': 7}, sort_keys=True, ... indent=4, separators=(',', ': ')) { "4": 5, "6": 7 } Decoding JSON:: >>> import json >>> obj = [u'foo', {u'bar': [u'baz', None, 1.0, 2]}] >>> json.loads('["foo", {"bar":["baz", null, 1.0, 2]}]') == obj True >>> json.loads('"\\"foo\\bar"') == u'"foo\x08ar' True >>> from StringIO import StringIO >>> io = StringIO('["streaming API"]') >>> json.load(io)[0] == 'streaming API' True Specializing JSON object decoding:: >>> import json >>> def as_complex(dct): ... if '__complex__' in dct: ... return complex(dct['real'], dct['imag']) ... return dct ... >>> json.loads('{"__complex__": true, "real": 1, "imag": 2}', ... object_hook=as_complex) (1+2j) >>> from decimal import Decimal >>> json.loads('1.1', parse_float=Decimal) == Decimal('1.1') True Specializing JSON object encoding:: >>> import json >>> def encode_complex(obj): ... if isinstance(obj, complex): ... return [obj.real, obj.imag] ... raise TypeError(repr(obj) + " is not JSON serializable") ... >>> json.dumps(2 + 1j, default=encode_complex) '[2.0, 1.0]' >>> json.JSONEncoder(default=encode_complex).encode(2 + 1j) '[2.0, 1.0]' >>> ''.join(json.JSONEncoder(default=encode_complex).iterencode(2 + 1j)) '[2.0, 1.0]' Using json.tool from the shell to validate and pretty-print:: $ echo '{"json":"obj"}' | python -m json.tool { "json": "obj" } $ echo '{ 1.2:3.4}' | python -m json.tool Expecting property name enclosed in double quotes: line 1 column 3 (char 2) s2.0.9tdumptdumpstloadtloadst JSONDecodert JSONEncodersBob Ippolito i(R(Rtskipkeyst ensure_asciitcheck_circulart allow_nantindentt separatorstencodingsutf-8tdefaultc Ks| ru|ru|ru|ru|d kru|d kru|d kru| dkru| d kru| ru| rutj|} n`|d krt}n|d|d|d|d|d|d|d| d | d | | j|} x| D]}|j|qWd S( s Serialize ``obj`` as a JSON formatted stream to ``fp`` (a ``.write()``-supporting file-like object). If ``skipkeys`` is true then ``dict`` keys that are not basic types (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. If ``ensure_ascii`` is true (the default), all non-ASCII characters in the output are escaped with ``\uXXXX`` sequences, and the result is a ``str`` instance consisting of ASCII characters only. If ``ensure_ascii`` is false, some chunks written to ``fp`` may be ``unicode`` instances. This usually happens because the input contains unicode strings or the ``encoding`` parameter is used. Unless ``fp.write()`` explicitly understands ``unicode`` (as in ``codecs.getwriter``) this is likely to cause an error. If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will result in an ``OverflowError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``). If ``indent`` is a non-negative integer, then JSON array elements and object members will be pretty-printed with that indent level. An indent level of 0 will only insert newlines. ``None`` is the most compact representation. Since the default item separator is ``', '``, the output might include trailing whitespace when ``indent`` is specified. You can use ``separators=(',', ': ')`` to avoid this. If ``separators`` is an ``(item_separator, dict_separator)`` tuple then it will be used instead of the default ``(', ', ': ')`` separators. ``(',', ':')`` is the most compact JSON representation. ``encoding`` is the character encoding for str instances, default is UTF-8. ``default(obj)`` is a function that should return a serializable version of obj or raise TypeError. The default simply raises TypeError. If *sort_keys* is true (default: ``False``), then the output of dictionaries will be sorted by key. To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the ``.default()`` method to serialize additional types), specify it with the ``cls`` kwarg; otherwise ``JSONEncoder`` is used. sutf-8RRRR R R R R t sort_keysN(tNonet_default_encodert iterencodeRtwrite(tobjtfpRRRR tclsR R R R Rtkwtiterabletchunk((s%/usr/lib64/python2.7/json/__init__.pyRzs5  $&    c Ks| rp|rp|rp|rp|d krp|d krp|d krp|dkrp| d krp| rp| rptj|S|d krt}n|d|d|d|d|d|d|d|d | d | | j|S( sSerialize ``obj`` to a JSON formatted ``str``. If ``skipkeys`` is true then ``dict`` keys that are not basic types (``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. If ``ensure_ascii`` is false, all non-ASCII characters are not escaped, and the return value may be a ``unicode`` instance. See ``dump`` for details. If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will result in an ``OverflowError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in strict compliance of the JSON specification, instead of using the JavaScript equivalents (``NaN``, ``Infinity``, ``-Infinity``). If ``indent`` is a non-negative integer, then JSON array elements and object members will be pretty-printed with that indent level. An indent level of 0 will only insert newlines. ``None`` is the most compact representation. Since the default item separator is ``', '``, the output might include trailing whitespace when ``indent`` is specified. You can use ``separators=(',', ': ')`` to avoid this. If ``separators`` is an ``(item_separator, dict_separator)`` tuple then it will be used instead of the default ``(', ', ': ')`` separators. ``(',', ':')`` is the most compact JSON representation. ``encoding`` is the character encoding for str instances, default is UTF-8. ``default(obj)`` is a function that should return a serializable version of obj or raise TypeError. The default simply raises TypeError. If *sort_keys* is true (default: ``False``), then the output of dictionaries will be sorted by key. To use a custom ``JSONEncoder`` subclass (e.g. one that overrides the ``.default()`` method to serialize additional types), specify it with the ``cls`` kwarg; otherwise ``JSONEncoder`` is used. sutf-8RRRR R R R R RN(RRtencodeR( RRRRR RR R R R RR((s%/usr/lib64/python2.7/json/__init__.pyRs/  $&    t object_hooktobject_pairs_hookc Ks=t|jd|d|d|d|d|d|d||S(sDeserialize ``fp`` (a ``.read()``-supporting file-like object containing a JSON document) to a Python object. If the contents of ``fp`` is encoded with an ASCII based encoding other than utf-8 (e.g. latin-1), then an appropriate ``encoding`` name must be specified. Encodings that are not ASCII based (such as UCS-2) are not allowed, and should be wrapped with ``codecs.getreader(fp)(encoding)``, or simply decoded to a ``unicode`` object and passed to ``loads()`` ``object_hook`` is an optional function that will be called with the result of any object literal decode (a ``dict``). The return value of ``object_hook`` will be used instead of the ``dict``. This feature can be used to implement custom decoders (e.g. JSON-RPC class hinting). ``object_pairs_hook`` is an optional function that will be called with the result of any object literal decoded with an ordered list of pairs. The return value of ``object_pairs_hook`` will be used instead of the ``dict``. This feature can be used to implement custom decoders that rely on the order that the key and value pairs are decoded (for example, collections.OrderedDict will remember the order of insertion). If ``object_hook`` is also defined, the ``object_pairs_hook`` takes priority. To use a custom ``JSONDecoder`` subclass, specify it with the ``cls`` kwarg; otherwise ``JSONDecoder`` is used. R RRt parse_floatt parse_inttparse_constantR(Rtread( RR RRRRRRR((s%/usr/lib64/python2.7/json/__init__.pyRs   c Ks|dkrh|dkrh|dkrh|dkrh|dkrh|dkrh|dkrh| rhtj|S|dkr}t}n|dk r||dcs6     E  ;  # usr/lib64/python2.7/test/__init__.pyc000064400000000174152344763650013321 0ustar00 zfc@sdS(N((((s%/usr/lib64/python2.7/test/__init__.pyttlib64/python2.7/lib2to3/__init__.pyc000064400000000177152345571300013000 0ustar00 {fc@sdS(N((((s(/usr/lib64/python2.7/lib2to3/__init__.pyttlib64/python2.7/wsgiref/__init__.pyc000064400000001331152345703620013163 0ustar00 {fc@s dZdS(sCwsgiref -- a WSGI (PEP 333) Reference Library Current Contents: * util -- Miscellaneous useful functions and wrappers * headers -- Manage response headers * handlers -- base classes for server/gateway implementations * simple_server -- a simple BaseHTTPServer that supports WSGI * validate -- validation wrapper that sits between an app and a server to detect errors in either To-Do: * cgi_gateway -- Run WSGI apps under CGI (pending a deployment standard) * cgi_wrapper -- Run CGI apps under WSGI * router -- a simple middleware component that handles URL traversal N(t__doc__(((s(/usr/lib64/python2.7/wsgiref/__init__.pyttusr/lib64/python2.7/encodings/__init__.pyc000064400000010432152345707060014303 0ustar00 {fc@sdZddlZddlmZddlZiZdZdgZdZejZ de e fdYZ d Z d ZejedS( s, Standard "encodings" Package Standard Python encoding modules are stored in this package directory. Codec modules must have names corresponding to normalized encoding names as defined in the normalize_encoding() function below, e.g. 'utf-8' must be implemented by the module 'utf_8.py'. Each codec module must export the following interface: * getregentry() -> codecs.CodecInfo object The getregentry() API must a CodecInfo object with encoder, decoder, incrementalencoder, incrementaldecoder, streamwriter and streamreader atttributes which adhere to the Python Codec Interface Standard. In addition, a module may optionally also define the following APIs which are then used by the package's codec search function: * getaliases() -> sequence of encoding name strings to use as aliases Alias names returned by getaliases() must be normalized encoding names as defined by normalize_encoding(). Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. iN(taliasess --unknown--t*s . 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz tCodecRegistryErrorcBseZRS((t__name__t __module__(((s*/usr/lib64/python2.7/encodings/__init__.pyR.scCsLttdr0t|tr0|jd}ndj|jtjS(s Normalize an encoding name. Normalization works as follows: all non-alphanumeric characters except the dot used for Python package names are collapsed and replaced with a single underscore, e.g. ' -;#' becomes '_'. Leading and trailing underscores are removed. Note that encoding names should be ASCII only; if they do use non-ASCII characters, these must be Latin-1 compatible. tunicodeslatin-1t_( thasattrt __builtin__t isinstanceRtencodetjoint translatet_norm_encoding_maptsplit(tencoding((s*/usr/lib64/python2.7/encodings/__init__.pytnormalize_encoding1sc Cs8tj|t}|tk r"|St|}tj|pUtj|jdd}|dk rs||g}n |g}xb|D]T}| sd|krqny td|dtdd}Wnt k rqXPqWd}y |j }Wnt k rd}nX|dkr"dt|s      Vusr/lib64/python2.7/unittest/__init__.pyc000064400000005735152346053370014222 0ustar00 {fc@sDdZddddddddd d d d d dddddgZejdddgeZddlmZddlmZm Z m Z m Z m Z m Z mZmZmZddlmZmZddlmZmZmZmZmZddlmZmZddlmZmZddlm Z m!Z!m"Z"m#Z#eZ$dS(s Python unit testing framework, based on Erich Gamma's JUnit and Kent Beck's Smalltalk testing framework. This module contains the core framework classes that form the basis of specific test cases and suites (TestCase, TestSuite etc.), and also a text-based utility class for running the tests and reporting the results (TextTestRunner). Simple usage: import unittest class IntegerArithmeticTestCase(unittest.TestCase): def testAdd(self): ## test method names begin 'test*' self.assertEqual((1 + 2), 3) self.assertEqual(0 + 1, 1) def testMultiply(self): self.assertEqual((0 * 10), 0) self.assertEqual((5 * 8), 40) if __name__ == '__main__': unittest.main() Further information is available in the bundled documentation, and from http://docs.python.org/library/unittest.html Copyright (c) 1999-2003 Steve Purcell Copyright (c) 2003-2010 Python Software Foundation This module is free software, and you may redistribute it and/or modify it under the same terms as Python itself, so long as this copyright message and disclaimer are retained in their original form. IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. t TestResulttTestCaset TestSuitetTextTestRunnert TestLoadertFunctionTestCasetmaintdefaultTestLoadertSkipTesttskiptskipIft skipUnlesstexpectedFailuretTextTestResulttinstallHandlertregisterResultt removeResultt removeHandlertgetTestCaseNamest makeSuitet findTestCasesi(R( RRRR R R R t_skipInRpmBuildt_expectedFailureInRpmBuild(t BaseTestSuiteR(RRRRR(t TestProgramR(RR (RRRRN(%t__doc__t__all__textendtTruet __unittesttresultRtcaseRRRR R R R RRtsuiteRRtloaderRRRRRRRtrunnerRR tsignalsRRRRt_TextTestResult(((s)/usr/lib64/python2.7/unittest/__init__.pyt-s   @("usr/lib64/python2.7/compiler/__init__.pyc000064400000002421152346162620014141 0ustar00 {fc@shdZddlZejdeddddlmZmZddlmZddl m Z m Z dS( sPackage for parsing and compiling Python source code There are several functions defined at the top level that are imported from modules contained in the package. parse(buf, mode="exec") -> AST Converts a string containing Python source code to an abstract syntax tree (AST). The AST is defined in compiler.ast. parseFile(path) -> AST The same as parse(open(path)) walk(ast, visitor, verbose=None) Does a pre-order walk over the ast using the visitor instance. See compiler.visitor for details. compile(source, filename, mode, flags=None, dont_inherit=None) Returns a code object. A replacement for the builtin compile() function. compileFile(filename) Generates a .pyc file by compiling filename. iNs=The compiler package is deprecated and removed in Python 3.x.t stackleveli(tparset parseFile(twalk(tcompilet compileFile( t__doc__twarningstwarntDeprecationWarningtcompiler.transformerRRtcompiler.visitorRtcompiler.pycodegenRR(((s)/usr/lib64/python2.7/compiler/__init__.pyts    lib64/python2.7/ctypes/__init__.pyc000064400000047344152346224230013036 0ustar00 {fc@sQ dZddlZddlZdZddlmZmZm Z ddlm Z ddlm Z ddlmZ ddlmZmZdd lmZdd lmZee kred ee nejdukrddlmZneZejdkrBejdkrBeejdjdddkrBeZqBnddlmZmZm Z!m"Z#ddZ%ddZ&iZ'dZ(ejdvkrddlm)Z*ddlm+Z,ejd kreZ,niZ-dZ.e.jr*e(jj/dde._q*n"ejdkr*ddlm0Z*nddlm1Z1m2Z2m3Z3m4Z4m5Z5dd lm6Z6m7Z7dd!lm8Z8dd"Z9d#e8fd$YZ:e9e:d%d&e8fd'YZ;e9e;d(e8fd)YZ<e9e<d*e8fd+YZ=e9e=d,e8fd-YZ>e9e>ed.ed/krNe=Z?e>Z@n@d0e8fd1YZ?e9e?d2e8fd3YZ@e9e@d4e8fd5YZAe9eAd6e8fd7YZBe9eBd8e8fd9YZCe1eCe1eBkreBZCned/ed:kr,e=ZDe>ZEn@d;e8fd<YZDe9eDd=e8fd>YZEe9eEd?e8fd@YZFeFeF_GeF_He9eFdAe8fdBYZIeIeI_GeI_He9eIdCe8fdDYZJeJeJ_GeJ_He9eJdEe8fdFYZKe9eKd%dGe8fdHYZLeLZMe9eLdIe8fdJYZNddKlmOZOmPZPmQZQdLZRyddMlmSZSWneTk rneXejdwkreSdNdOn eSdPdQdRe8fdSYZUdTe8fdUYZVddVZWdWZXdXZYdYeZfdZYZ[d[e[fd\YZ\ejdxkrd]e[fd^YZ]dd_lm^Z^m8Z8d`e8fdaYZ_dbe[fdcYZ`nddeZfdeYZaeae[Zbeae\Zcejdykr e\dfdejdZen5ejdgkr2e\dhejfd Zen e\dZeejdzkreae]Zgeae`Zhejd kregjijjZjn egjkjjZjddilmlZlmmZmdddjZnne1e@e1eLkre@Zoe?ZpnNe1e>e1eLkre>Zoe=Zpn'e1eEe1eLkr,eEZoeDZpnddklmqZqmrZrmsZsmtZte(eLeLeLeoeqZue(eLeLe?eoerZvdlZwewe:eLe:e:etZxdmZyewe:eLe?esZzddnZ{yddolm|Z|WneTk rn%Xewe:eLe?e|Z}ddpZ~ejd{krE dqZdrZnddslmZmZeIZeFZxke;e?e=eDgD]WZe1edkr eZqz e1edtkr eZqz e1edkrz eZqz qz Wxke<e@e>eEgD]WZe1edkr eZq e1edtkr$ eZq e1edkr eZq q W[eRdS(|s,create and manipulate C data types in PythoniNs1.1.0(tUniont StructuretArray(t_Pointer(tCFuncPtr(t __version__(t RTLD_LOCALt RTLD_GLOBAL(t ArgumentError(tcalcsizesVersion number mismatchtnttce(t FormatErrortposixtdarwinit.ii(tFUNCFLAG_CDECLtFUNCFLAG_PYTHONAPItFUNCFLAG_USE_ERRNOtFUNCFLAG_USE_LASTERRORcCst|ttfrT|dkr4t|d}nt|}|}||_|St|ttfrt|}|}|St |dS(screate_string_buffer(aString) -> character array create_string_buffer(anInteger) -> character array create_string_buffer(aString, anInteger) -> character array iN( t isinstancetstrtunicodetNonetlentc_chartvaluetinttlongt TypeError(tinittsizetbuftypetbuf((s'/usr/lib64/python2.7/ctypes/__init__.pytcreate_string_buffer1s      cCs t||S(N(R"(RR((s'/usr/lib64/python2.7/ctypes/__init__.pytc_bufferCscst|jdtr%tOn|jdtrDtOn|rctd|jnytfSWnGtk rdt ffdY}|tf<|SXdS(sCFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) -> function prototype. restype: the result type argtypes: a sequence specifying the argument types The function prototype can be called in different ways to create a callable object: prototype(integer address) -> foreign function prototype(callable) -> create and return a C callable function from callable prototype(integer index, method name[, paramflags]) -> foreign function calling a COM method prototype((ordinal number, dll object)[, paramflags]) -> foreign function exported by ordinal prototype((function name, dll object)[, paramflags]) -> foreign function exported by name t use_errnotuse_last_errors!unexpected keyword argument(s) %st CFunctionTypecseZZZZRS((t__name__t __module__t _argtypes_t _restype_t_flags_((targtypestflagstrestype(s'/usr/lib64/python2.7/ctypes/__init__.pyR&esN( t_FUNCFLAG_CDECLtpoptFalset_FUNCFLAG_USE_ERRNOt_FUNCFLAG_USE_LASTERRORt ValueErrortkeyst_c_functype_cachetKeyErrort _CFuncPtr(R.R,tkwR&((R,R-R.s'/usr/lib64/python2.7/ctypes/__init__.pyt CFUNCTYPEKs   "(t LoadLibrary(tFUNCFLAG_STDCALLcst|jdtr%tOn|jdtrDtOn|rctd|jnytfSWnGtk rdt ffdY}|tf<|SXdS(NR$R%s!unexpected keyword argument(s) %stWinFunctionTypecseZZZZRS((R'R(R)R*R+((R,R-R.(s'/usr/lib64/python2.7/ctypes/__init__.pyR=s( t_FUNCFLAG_STDCALLR0R1R2R3R4R5t_win_functype_cacheR7R8(R.R,R9R=((R,R-R.s'/usr/lib64/python2.7/ctypes/__init__.pyt WINFUNCTYPEts   "R:R@(tdlopen(tsizeoftbyreft addressoft alignmenttresize(t get_errnot set_errno(t _SimpleCDatacCsmddlm}|dkr(|j}nt|||}}||kritd|||fndS(Ni(R s"sizeof(%s) wrong: %d instead of %d(tstructR Rt_type_RBt SystemError(ttypttypecodeR tactualtrequired((s'/usr/lib64/python2.7/ctypes/__init__.pyt _check_sizes   t py_objectcBseZdZdZRS(tOcCs=ytt|jSWntk r8dt|jSXdS(Ns %s()(tsuperRRt__repr__R4ttypeR'(tself((s'/usr/lib64/python2.7/ctypes/__init__.pyRUs (R'R(RKRU(((s'/usr/lib64/python2.7/ctypes/__init__.pyRRstPtc_shortcBseZdZRS(th(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRYstc_ushortcBseZdZRS(tH(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR[stc_longcBseZdZRS(tl(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR]stc_ulongcBseZdZRS(tL(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR_stiR^tc_intcBseZdZRS(Ra(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRbstc_uintcBseZdZRS(tI(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRcstc_floatcBseZdZRS(tf(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRestc_doublecBseZdZRS(td(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRgst c_longdoublecBseZdZRS(tg(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRistqt c_longlongcBseZdZRS(Rk(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRlst c_ulonglongcBseZdZRS(tQ(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRmstc_ubytecBseZdZRS(tB(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRostc_bytecBseZdZRS(tb(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRqsRcBseZdZRS(tc(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRstc_char_pcBs2eZdZejdkr'dZn dZRS(tzR cCsLtjj|ds,d|jj|jfSd|jjt|tjfS(Nis%s(%r)s%s(%s)(twindlltkernel32tIsBadStringPtrAt __class__R'Rtcasttc_void_p(RW((s'/usr/lib64/python2.7/ctypes/__init__.pyRUscCs d|jjt|tjfS(Ns%s(%s)(RyR'RzR{R(RW((s'/usr/lib64/python2.7/ctypes/__init__.pyRUs(R'R(RKt_ostnameRU(((s'/usr/lib64/python2.7/ctypes/__init__.pyRts R{cBseZdZRS(RX(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR{stc_boolcBseZdZRS(t?(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR~s(tPOINTERtpointert_pointer_type_cachecCsbtjtjtjdkr0tjntjtt _t jtt _t td character array create_unicode_buffer(anInteger) -> character array create_unicode_buffer(aString, anInteger) -> character array iN( RRRRRRRRRR(RRR R!((s'/usr/lib64/python2.7/ctypes/__init__.pytcreate_unicode_buffer!s      cCsptj|ddk r'tdnt|tkrHtdn|j||t|stCDLLcBs\eZdZeZeZdZdZdZ e de e dZ dZdZdZRS(sAn instance of this class represents a loaded dll/shared library, exporting functions using the standard C calling convention (named 'cdecl' on Windows). The exported functions can be accessed as attributes, or by indexing with the function name. Examples: .qsort -> callable object ['qsort'] -> callable object Calling the functions releases the Python GIL during the call and reacquires it afterwards. sics|_j|r%tOn|r8tOndtffdY}|_|dkrtj|_n |_dS(Nt_FuncPtrcseZZjZRS((R'R(R+t_func_restype_R*((R-RW(s'/usr/lib64/python2.7/ctypes/__init__.pyRcs( t_namet _func_flags_R2R3R8RRt_dlopent_handle(RWR}tmodethandleR$R%R((R-RWs'/usr/lib64/python2.7/ctypes/__init__.pyt__init__Ys      cCsDd|jj|j|jtjdd@t|tjdd@fS(Ns<%s '%s', handle %x at %x>ii(RyR'RRt_systmaxintR(RW((s'/usr/lib64/python2.7/ctypes/__init__.pyRUmscCsP|jdr-|jdr-t|n|j|}t||||S(Nt__(t startswithtendswithtAttributeErrort __getitem__tsetattr(RWR}tfunc((s'/usr/lib64/python2.7/ctypes/__init__.pyt __getattr__ss cCs:|j||f}t|ttfs6||_n|S(N(RRRRR'(RWtname_or_ordinalR((s'/usr/lib64/python2.7/ctypes/__init__.pyRzs N(R'R(t__doc__R/RRbRRRRRt DEFAULT_MODER1RRURR(((s'/usr/lib64/python2.7/ctypes/__init__.pyRDs    tPyDLLcBseZdZeeBZRS(sThis class represents the Python library itself. It allows accessing Python API functions. The GIL is not released, and Python exceptions are handled correctly. (R'R(RR/t_FUNCFLAG_PYTHONAPIR(((s'/usr/lib64/python2.7/ctypes/__init__.pyRstWinDLLcBseZdZeZRS(snThis class represents a dll exporting functions using the Windows stdcall calling convention. (R'R(RR>R(((s'/usr/lib64/python2.7/ctypes/__init__.pyRs(t_check_HRESULTRItHRESULTcBseZdZeZRS(R^(R'R(RKRt_check_retval_(((s'/usr/lib64/python2.7/ctypes/__init__.pyRs tOleDLLcBseZdZeZeZRS(sThis class represents a dll exporting functions using the Windows stdcall calling convention, and returning HRESULT. HRESULT error values are automatically raised as WindowsError exceptions. (R'R(RR>RRR(((s'/usr/lib64/python2.7/ctypes/__init__.pyRst LibraryLoadercBs,eZdZdZdZdZRS(cCs ||_dS(N(t_dlltype(RWtdlltype((s'/usr/lib64/python2.7/ctypes/__init__.pyRscCsB|ddkrt|n|j|}t||||S(Nit_(RRR(RWR}tdll((s'/usr/lib64/python2.7/ctypes/__init__.pyRs cCs t||S(N(tgetattr(RWR}((s'/usr/lib64/python2.7/ctypes/__init__.pyRscCs |j|S(N(R(RWR}((s'/usr/lib64/python2.7/ctypes/__init__.pyR;s(R'R(RRRR;(((s'/usr/lib64/python2.7/ctypes/__init__.pyRs   s python dlltcygwinslibpython%d.%d.dll(tget_last_errortset_last_errorcCsF|dkrt}n|dkr9t|j}nt||S(N(Rt GetLastErrorR tstript WindowsError(tcodetdescr((s'/usr/lib64/python2.7/ctypes/__init__.pytWinErrors    (t _memmove_addrt _memset_addrt_string_at_addrt _cast_addrcs#dtffdY}|S(NR&cseZZZeeBZRS((R'R(R)R*R/RR+((R,R.(s'/usr/lib64/python2.7/ctypes/__init__.pyR&s(R8(R.R,R&((R,R.s'/usr/lib64/python2.7/ctypes/__init__.pyt PYFUNCTYPEscCst|||S(N(t_cast(tobjRM((s'/usr/lib64/python2.7/ctypes/__init__.pyRzscCs t||S(sAstring_at(addr[, size]) -> string Return the string at addr.(t _string_at(tptrR((s'/usr/lib64/python2.7/ctypes/__init__.pyt string_ats(t_wstring_at_addrcCs t||S(sFwstring_at(addr[, size]) -> string Return the string at addr.(t _wstring_at(RR((s'/usr/lib64/python2.7/ctypes/__init__.pyt wstring_atscCsNy"tdttdg}Wntk r6dSX|j|||SdS(Nscomtypes.server.inprocservert*i(t __import__tglobalstlocalst ImportErrortDllGetClassObject(trclsidtriidtppvtccom((s'/usr/lib64/python2.7/ctypes/__init__.pyR s " cCsAy"tdttdg}Wntk r6dSX|jS(Nscomtypes.server.inprocserverRi(RRRRtDllCanUnloadNow(R((s'/usr/lib64/python2.7/ctypes/__init__.pyRs " (tBigEndianStructuretLittleEndianStructurei(R R (R R (R R (R R (R R (R R (R R (RtosR|tsysRRt_ctypesRRRRRR8t_ctypes_versionRRRRJR t _calcsizet ExceptionR}R RtplatformRtunametsplitRR/RRRR2RR3RR"R#R6R:R;RR<R>R?R@treplaceRARBRCRDRERFRGRHRIRQRRRYR[R]R_RbRcReRgRiRlRmRot __ctype_le__t __ctype_be__RqRRtR{tc_voidpR~RRRRRRRRRRRtobjectRRRRRRRtcdlltpydllt dllhandlet pythonapit version_infoRvtoledllRwRtcoredllRRRtc_size_tt c_ssize_tRRRRtmemmovetmemsetRRRzRRRRRRRtctypes._endianRRtc_int8tc_uint8tkindtc_int16tc_int32tc_int64tc_uint16tc_uint32tc_uint64(((s'/usr/lib64/python2.7/ctypes/__init__.pytsJ ) "   !   (                         <           "             lib64/python2.7/idlelib/idle_test/__init__.pyc000064400000001623152346230160015074 0ustar00 {fc@s#dZddlmZdZdS(sidlelib.idle_test is a private implementation of test.test_idle, which tests the IDLE application as part of the stdlib test suite. Run IDLE tests alone with "python -m test.test_idle". This package and its contained modules are subject to change and any direct use is at your own risk. i(tdirnamecCsMtt}tt|}|jd|ddd|}|j||S(Nt start_dirtpatternstest*.pyt top_level_dir(Rt__file__tdiscovertaddTests(tloadertstandard_testsRtthis_dirttop_dirt package_tests((s2/usr/lib64/python2.7/idlelib/idle_test/__init__.pyt load_tests s    N(t__doc__tos.pathRR (((s2/usr/lib64/python2.7/idlelib/idle_test/__init__.pytsusr/lib64/python2.7/bsddb/__init__.pyc000064400000030242152346236370013413 0ustar00 {fc @s}dZddlZejddkZejdkrejdkrddlZejrzedkrzejdednej d d ed nybedkrerd dUn ddl Z e Z dd l m Znddl Z dd lm ZWn*ek r!ddlZeje=nXe ZZejZejZddlZddlZddlmZejdkrddlZejZnddlZejZdefdYZdefdYZdddddddddZ!dddddddddZ"ddddddddddd Z#dZ$dZ%yddl&Z'['Wnek rxde_(nXdS(sSupport for Berkeley DB 4.3 through 5.3 with a simple interface. For the full featured object oriented interface use the bsddb.db module instead. It mirrors the Oracle Berkeley DB C API. iNiiiitbsddb3sQin 3.x, the bsddb module has been removed; please use the pybsddb project insteadtignores .*CObject.*sbsddb.__init__sfrom . import _pybsddb(t DeadlockWrap(treft _iter_mixincBs,eZdZdZdZdZRS(cCsAt|jj}t|}t||j||j|<|S(N(t _DeadlockWraptdbtcursortidRt_gen_cref_cleanert _cursor_refs(tselftcurtkey((s&/usr/lib64/python2.7/bsddb/__init__.pyt_make_iter_cursor_s csfdS(NcsjjdS(N(R tpoptNone(R(R R (s&/usr/lib64/python2.7/bsddb/__init__.pytit((R R ((R R s&/usr/lib64/python2.7/bsddb/__init__.pyR esccsAt|_|jd7_yy|j}t|jdddd}|Vt|d}xy"t|dddd}|VWq]tjk r|jrt dn|j}t|j |dddt|d}q]Xq]WWn'tj k rntjk rnXWn|jd8_nX|jd8_dS(Niitnexts'Database changed size during iteration.( tFalset_kill_iterationt_in_iterRRtfirsttgetattrt_bsddbtDBCursorClosedErrort RuntimeErrortsettDBNotFoundError(R R R R((s&/usr/lib64/python2.7/bsddb/__init__.pyt__iter__ks4     ccsH|js dSt|_|jd7_yy|j}t|j}|d}|Vt|d}xyt|}|d}|VWqgtj k r|jrt dn|j}t|j |dddt|d}qgXqgWWn'tj k rntj k rnXWn|jd8_nX|jd8_dS(NiiRs'Database changed size during iteration.( RRRRRRRRRRRRR(R R tkvR R((s&/usr/lib64/python2.7/bsddb/__init__.pyt iteritemss<         (t__name__t __module__RR RR (((s&/usr/lib64/python2.7/bsddb/__init__.pyR^s   )t _DBWithCursorcBseZdZdZdZdZddZdZdZdZ e j dkrid Z nd Z d ZdZdZdZdZdZdZe j ddkreZndZdZdZdZRS(s A simple wrapper around DB that makes it look like the bsddbobject in the old module. It uses a cursor as needed to provide DB traversal. cCsJ||_|jjdd|_d|_i|_d|_t|_dS(Ni( Rtset_get_returns_noneRtdbct saved_dbc_keyR RRR(R R((s&/usr/lib64/python2.7/bsddb/__init__.pyt__init__s     cCs|jdS(N(tclose(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt__del__scCs\|jdkrXt|jj|_|jdk rXt|jj|jd|_qXndS(N(R%RRRRR&R(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt _checkCursors icCs|jrq|j}d|_|r^y#t|jdddd|_Wq^tjk rZq^Xnt|j~nx<|jj D]+}|}|dk rt|jqqWdS(Ni( R%RRtcurrentR&RtDBErrorR(R tvalues(R tsavetctcref((s&/usr/lib64/python2.7/bsddb/__init__.pyt _closeCursorss   #   cCs|jdkrtdndS(Ns$BSDDB object has already been closed(RRterror(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt _checkOpenscCs |jdk S(N(RR(R ((s&/usr/lib64/python2.7/bsddb/__init__.pytisOpenscsjtfdS(Ncs tjS(N(tlenR((R (s&/usr/lib64/python2.7/bsddb/__init__.pyRR(R3R(R ((R s&/usr/lib64/python2.7/bsddb/__init__.pyt__len__s iicCs5|jr(ttt|jjSttS(N(R4treprtdictRRtitems(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt__repr__s cs jtfdS(Ncs jS(N(R((R R (s&/usr/lib64/python2.7/bsddb/__init__.pyRR(R3R(R R ((R R s&/usr/lib64/python2.7/bsddb/__init__.pyt __getitem__ s csXjjjr5kr5t_nfd}t|dS(NcsjRR(R R R=((R R s&/usr/lib64/python2.7/bsddb/__init__.pyt __delitem__s    cCsr|jdd|jdk r2t|jjnd}|jdk r\t|jj}nd|_d|_|S(NR.i(R1R%RRR(R(R tv((s&/usr/lib64/python2.7/bsddb/__init__.pyR("s  cCs|jt|jjS(N(R3RRtkeys(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyRB-s cCs|jt|jj|S(N(R3RRthas_key(R R ((s&/usr/lib64/python2.7/bsddb/__init__.pyRC1s cCs'|j|jt|jj|S(N(R3R*RR%t set_range(R R ((s&/usr/lib64/python2.7/bsddb/__init__.pyt set_location5s  cCs0|j|jtt|jd}|S(NR(R3R*RRR%(R trv((s&/usr/lib64/python2.7/bsddb/__init__.pyR:s  iicCs*|j|jt|jj}|S(N(R3R*RR%tprev(R RF((s&/usr/lib64/python2.7/bsddb/__init__.pytpreviousCs  cCs3|jd|_|jt|jj}|S(N(R3RR&R*RR%R(R RF((s&/usr/lib64/python2.7/bsddb/__init__.pyRIs    cCs3|jd|_|jt|jj}|S(N(R3RR&R*RR%tlast(R RF((s&/usr/lib64/python2.7/bsddb/__init__.pyRIQs    cCs|jt|jjS(N(R3RRtsync(R ((s&/usr/lib64/python2.7/bsddb/__init__.pyRJYs (ii(R!R"t__doc__R'R)R*R1R3R4R6tsyst version_infoR:R;R?R@R(RBRCRERt__next__RHRRIRJ(((s&/usr/lib64/python2.7/bsddb/__init__.pyR#s0                R/ic Cst||} t|} tj| } | j||dk rS| j|n|dk ro| j|n|dk r| j|n|dk r| j |n| j |tj | |t | S(N( t _checkflagt _openDBEnvRtDBt set_flagsRt set_pagesizet set_lordert set_h_ffactort set_h_nelemtopentDB_HASHR#( tfiletflagtmodetpgsizetffactortnelemt cachesizetlorderthflagstflagstetd((s&/usr/lib64/python2.7/bsddb/__init__.pythashopenas      c Cst||} t|} tj| } |dk rF| j|n|dk rb| j|n| j||dk r| j|n|dk r| j |n| j |tj | |t | S(N( RORPRRQRRSRTRRt set_bt_minkeyt set_bt_maxkeyRWtDB_BTREER#( RYRZR[tbtflagsR_t maxkeypaget minkeypageR\R`RbRcRd((s&/usr/lib64/python2.7/bsddb/__init__.pytbtopenqs      c Cst||} t|} tj| } |dk rF| j|n|dk rb| j|n| j||dk r| j|n|dk r| j |n| dk r| j | n| dk r| j | n| j |tj | |t| S(N(RORPRRQRRSRTRRt set_re_delimt set_re_lent set_re_sourcet set_re_padRWtDB_RECNOR#(RYRZR[trnflagsR_R\R`trlentdelimtsourcetpadRbRcRd((s&/usr/lib64/python2.7/bsddb/__init__.pytrnopens$        cCstj}|dk rC|dkr7|jd|qCtdn|jtj|jdtjtj Btj Btj Btj B|S(NiPiscachesize must be >= 20480t.( RtDBEnvRt set_cachesizeR2t set_lk_detecttDB_LOCK_DEFAULTRWt DB_PRIVATEt DB_CREATEt DB_THREADt DB_INIT_LOCKt DB_INIT_MPOOL(R_Rc((s&/usr/lib64/python2.7/bsddb/__init__.pyRPs    /cCs|dkrtj}n|dkr-d}n|dkrEtj}ng|dkr]tj}nO|dkrtj}|dk rtjj|rtj|qn td|tj BS(NtrtrwitwR/tns+flags should be one of 'r', 'w', 'c' or 'n'( Rt DB_RDONLYR~RtostpathtisfiletunlinkR2R(RZRYRb((s&/usr/lib64/python2.7/bsddb/__init__.pyROs           (ii(ii(ii()RKRLRMtabsolute_importtwarningst py3kwarningR!twarnpy3ktDeprecationWarningtfilterwarningst_pybsddbRtbsddb3.dbutilsRRt bsddb.dbutilst ImportErrortmodulesRt_dbt __version__R,R2RtweakrefRtUserDictt DictMixintMutableMappingt collectionsRR#RReRlRwRPROtthreadtTR(((s&/usr/lib64/python2.7/bsddb/__init__.pyt(sb                   b     usr/lib64/python2.7/sqlite3/__init__.pyc000064400000000244152346356610013720 0ustar00 {fc@sddlTdS(i(t*N(tdbapi2(((s(/usr/lib64/python2.7/sqlite3/__init__.pyttlib64/python2.7/distutils/command/__init__.pyc000064400000001231152346360730015160 0ustar00 {fc@sOdZdZdddddddd d d d d dddddddgZdS(s\distutils.command Package containing implementation of all the standard Distutils commands.s$Id$tbuildtbuild_pyt build_extt build_clibt build_scriptstcleantinstallt install_libtinstall_headerstinstall_scriptst install_datatsdisttregistertbdistt bdist_dumbt bdist_rpmt bdist_wininsttuploadtcheckN(t__doc__t __revision__t__all__(((s2/usr/lib64/python2.7/distutils/command/__init__.pyts(usr/lib64/python2.7/ctypes/__init__.pyc000064400000047344152346533270013656 0ustar00 {fc@sQ dZddlZddlZdZddlmZmZm Z ddlm Z ddlm Z ddlmZ ddlmZmZdd lmZdd lmZee kred ee nejdukrddlmZneZejdkrBejdkrBeejdjdddkrBeZqBnddlmZmZm Z!m"Z#ddZ%ddZ&iZ'dZ(ejdvkrddlm)Z*ddlm+Z,ejd kreZ,niZ-dZ.e.jr*e(jj/dde._q*n"ejdkr*ddlm0Z*nddlm1Z1m2Z2m3Z3m4Z4m5Z5dd lm6Z6m7Z7dd!lm8Z8dd"Z9d#e8fd$YZ:e9e:d%d&e8fd'YZ;e9e;d(e8fd)YZ<e9e<d*e8fd+YZ=e9e=d,e8fd-YZ>e9e>ed.ed/krNe=Z?e>Z@n@d0e8fd1YZ?e9e?d2e8fd3YZ@e9e@d4e8fd5YZAe9eAd6e8fd7YZBe9eBd8e8fd9YZCe1eCe1eBkreBZCned/ed:kr,e=ZDe>ZEn@d;e8fd<YZDe9eDd=e8fd>YZEe9eEd?e8fd@YZFeFeF_GeF_He9eFdAe8fdBYZIeIeI_GeI_He9eIdCe8fdDYZJeJeJ_GeJ_He9eJdEe8fdFYZKe9eKd%dGe8fdHYZLeLZMe9eLdIe8fdJYZNddKlmOZOmPZPmQZQdLZRyddMlmSZSWneTk rneXejdwkreSdNdOn eSdPdQdRe8fdSYZUdTe8fdUYZVddVZWdWZXdXZYdYeZfdZYZ[d[e[fd\YZ\ejdxkrd]e[fd^YZ]dd_lm^Z^m8Z8d`e8fdaYZ_dbe[fdcYZ`nddeZfdeYZaeae[Zbeae\Zcejdykr e\dfdejdZen5ejdgkr2e\dhejfd Zen e\dZeejdzkreae]Zgeae`Zhejd kregjijjZjn egjkjjZjddilmlZlmmZmdddjZnne1e@e1eLkre@Zoe?ZpnNe1e>e1eLkre>Zoe=Zpn'e1eEe1eLkr,eEZoeDZpnddklmqZqmrZrmsZsmtZte(eLeLeLeoeqZue(eLeLe?eoerZvdlZwewe:eLe:e:etZxdmZyewe:eLe?esZzddnZ{yddolm|Z|WneTk rn%Xewe:eLe?e|Z}ddpZ~ejd{krE dqZdrZnddslmZmZeIZeFZxke;e?e=eDgD]WZe1edkr eZqz e1edtkr eZqz e1edkrz eZqz qz Wxke<e@e>eEgD]WZe1edkr eZq e1edtkr$ eZq e1edkr eZq q W[eRdS(|s,create and manipulate C data types in PythoniNs1.1.0(tUniont StructuretArray(t_Pointer(tCFuncPtr(t __version__(t RTLD_LOCALt RTLD_GLOBAL(t ArgumentError(tcalcsizesVersion number mismatchtnttce(t FormatErrortposixtdarwinit.ii(tFUNCFLAG_CDECLtFUNCFLAG_PYTHONAPItFUNCFLAG_USE_ERRNOtFUNCFLAG_USE_LASTERRORcCst|ttfrT|dkr4t|d}nt|}|}||_|St|ttfrt|}|}|St |dS(screate_string_buffer(aString) -> character array create_string_buffer(anInteger) -> character array create_string_buffer(aString, anInteger) -> character array iN( t isinstancetstrtunicodetNonetlentc_chartvaluetinttlongt TypeError(tinittsizetbuftypetbuf((s'/usr/lib64/python2.7/ctypes/__init__.pytcreate_string_buffer1s      cCs t||S(N(R"(RR((s'/usr/lib64/python2.7/ctypes/__init__.pytc_bufferCscst|jdtr%tOn|jdtrDtOn|rctd|jnytfSWnGtk rdt ffdY}|tf<|SXdS(sCFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) -> function prototype. restype: the result type argtypes: a sequence specifying the argument types The function prototype can be called in different ways to create a callable object: prototype(integer address) -> foreign function prototype(callable) -> create and return a C callable function from callable prototype(integer index, method name[, paramflags]) -> foreign function calling a COM method prototype((ordinal number, dll object)[, paramflags]) -> foreign function exported by ordinal prototype((function name, dll object)[, paramflags]) -> foreign function exported by name t use_errnotuse_last_errors!unexpected keyword argument(s) %st CFunctionTypecseZZZZRS((t__name__t __module__t _argtypes_t _restype_t_flags_((targtypestflagstrestype(s'/usr/lib64/python2.7/ctypes/__init__.pyR&esN( t_FUNCFLAG_CDECLtpoptFalset_FUNCFLAG_USE_ERRNOt_FUNCFLAG_USE_LASTERRORt ValueErrortkeyst_c_functype_cachetKeyErrort _CFuncPtr(R.R,tkwR&((R,R-R.s'/usr/lib64/python2.7/ctypes/__init__.pyt CFUNCTYPEKs   "(t LoadLibrary(tFUNCFLAG_STDCALLcst|jdtr%tOn|jdtrDtOn|rctd|jnytfSWnGtk rdt ffdY}|tf<|SXdS(NR$R%s!unexpected keyword argument(s) %stWinFunctionTypecseZZZZRS((R'R(R)R*R+((R,R-R.(s'/usr/lib64/python2.7/ctypes/__init__.pyR=s( t_FUNCFLAG_STDCALLR0R1R2R3R4R5t_win_functype_cacheR7R8(R.R,R9R=((R,R-R.s'/usr/lib64/python2.7/ctypes/__init__.pyt WINFUNCTYPEts   "R:R@(tdlopen(tsizeoftbyreft addressoft alignmenttresize(t get_errnot set_errno(t _SimpleCDatacCsmddlm}|dkr(|j}nt|||}}||kritd|||fndS(Ni(R s"sizeof(%s) wrong: %d instead of %d(tstructR Rt_type_RBt SystemError(ttypttypecodeR tactualtrequired((s'/usr/lib64/python2.7/ctypes/__init__.pyt _check_sizes   t py_objectcBseZdZdZRS(tOcCs=ytt|jSWntk r8dt|jSXdS(Ns %s()(tsuperRRt__repr__R4ttypeR'(tself((s'/usr/lib64/python2.7/ctypes/__init__.pyRUs (R'R(RKRU(((s'/usr/lib64/python2.7/ctypes/__init__.pyRRstPtc_shortcBseZdZRS(th(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRYstc_ushortcBseZdZRS(tH(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR[stc_longcBseZdZRS(tl(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR]stc_ulongcBseZdZRS(tL(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR_stiR^tc_intcBseZdZRS(Ra(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRbstc_uintcBseZdZRS(tI(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRcstc_floatcBseZdZRS(tf(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRestc_doublecBseZdZRS(td(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRgst c_longdoublecBseZdZRS(tg(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRistqt c_longlongcBseZdZRS(Rk(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRlst c_ulonglongcBseZdZRS(tQ(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRmstc_ubytecBseZdZRS(tB(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRostc_bytecBseZdZRS(tb(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRqsRcBseZdZRS(tc(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyRstc_char_pcBs2eZdZejdkr'dZn dZRS(tzR cCsLtjj|ds,d|jj|jfSd|jjt|tjfS(Nis%s(%r)s%s(%s)(twindlltkernel32tIsBadStringPtrAt __class__R'Rtcasttc_void_p(RW((s'/usr/lib64/python2.7/ctypes/__init__.pyRUscCs d|jjt|tjfS(Ns%s(%s)(RyR'RzR{R(RW((s'/usr/lib64/python2.7/ctypes/__init__.pyRUs(R'R(RKt_ostnameRU(((s'/usr/lib64/python2.7/ctypes/__init__.pyRts R{cBseZdZRS(RX(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR{stc_boolcBseZdZRS(t?(R'R(RK(((s'/usr/lib64/python2.7/ctypes/__init__.pyR~s(tPOINTERtpointert_pointer_type_cachecCsbtjtjtjdkr0tjntjtt _t jtt _t td character array create_unicode_buffer(anInteger) -> character array create_unicode_buffer(aString, anInteger) -> character array iN( RRRRRRRRRR(RRR R!((s'/usr/lib64/python2.7/ctypes/__init__.pytcreate_unicode_buffer!s      cCsptj|ddk r'tdnt|tkrHtdn|j||t|stCDLLcBs\eZdZeZeZdZdZdZ e de e dZ dZdZdZRS(sAn instance of this class represents a loaded dll/shared library, exporting functions using the standard C calling convention (named 'cdecl' on Windows). The exported functions can be accessed as attributes, or by indexing with the function name. Examples: .qsort -> callable object ['qsort'] -> callable object Calling the functions releases the Python GIL during the call and reacquires it afterwards. sics|_j|r%tOn|r8tOndtffdY}|_|dkrtj|_n |_dS(Nt_FuncPtrcseZZjZRS((R'R(R+t_func_restype_R*((R-RW(s'/usr/lib64/python2.7/ctypes/__init__.pyRcs( t_namet _func_flags_R2R3R8RRt_dlopent_handle(RWR}tmodethandleR$R%R((R-RWs'/usr/lib64/python2.7/ctypes/__init__.pyt__init__Ys      cCsDd|jj|j|jtjdd@t|tjdd@fS(Ns<%s '%s', handle %x at %x>ii(RyR'RRt_systmaxintR(RW((s'/usr/lib64/python2.7/ctypes/__init__.pyRUmscCsP|jdr-|jdr-t|n|j|}t||||S(Nt__(t startswithtendswithtAttributeErrort __getitem__tsetattr(RWR}tfunc((s'/usr/lib64/python2.7/ctypes/__init__.pyt __getattr__ss cCs:|j||f}t|ttfs6||_n|S(N(RRRRR'(RWtname_or_ordinalR((s'/usr/lib64/python2.7/ctypes/__init__.pyRzs N(R'R(t__doc__R/RRbRRRRRt DEFAULT_MODER1RRURR(((s'/usr/lib64/python2.7/ctypes/__init__.pyRDs    tPyDLLcBseZdZeeBZRS(sThis class represents the Python library itself. It allows accessing Python API functions. The GIL is not released, and Python exceptions are handled correctly. (R'R(RR/t_FUNCFLAG_PYTHONAPIR(((s'/usr/lib64/python2.7/ctypes/__init__.pyRstWinDLLcBseZdZeZRS(snThis class represents a dll exporting functions using the Windows stdcall calling convention. (R'R(RR>R(((s'/usr/lib64/python2.7/ctypes/__init__.pyRs(t_check_HRESULTRItHRESULTcBseZdZeZRS(R^(R'R(RKRt_check_retval_(((s'/usr/lib64/python2.7/ctypes/__init__.pyRs tOleDLLcBseZdZeZeZRS(sThis class represents a dll exporting functions using the Windows stdcall calling convention, and returning HRESULT. HRESULT error values are automatically raised as WindowsError exceptions. (R'R(RR>RRR(((s'/usr/lib64/python2.7/ctypes/__init__.pyRst LibraryLoadercBs,eZdZdZdZdZRS(cCs ||_dS(N(t_dlltype(RWtdlltype((s'/usr/lib64/python2.7/ctypes/__init__.pyRscCsB|ddkrt|n|j|}t||||S(Nit_(RRR(RWR}tdll((s'/usr/lib64/python2.7/ctypes/__init__.pyRs cCs t||S(N(tgetattr(RWR}((s'/usr/lib64/python2.7/ctypes/__init__.pyRscCs |j|S(N(R(RWR}((s'/usr/lib64/python2.7/ctypes/__init__.pyR;s(R'R(RRRR;(((s'/usr/lib64/python2.7/ctypes/__init__.pyRs   s python dlltcygwinslibpython%d.%d.dll(tget_last_errortset_last_errorcCsF|dkrt}n|dkr9t|j}nt||S(N(Rt GetLastErrorR tstript WindowsError(tcodetdescr((s'/usr/lib64/python2.7/ctypes/__init__.pytWinErrors    (t _memmove_addrt _memset_addrt_string_at_addrt _cast_addrcs#dtffdY}|S(NR&cseZZZeeBZRS((R'R(R)R*R/RR+((R,R.(s'/usr/lib64/python2.7/ctypes/__init__.pyR&s(R8(R.R,R&((R,R.s'/usr/lib64/python2.7/ctypes/__init__.pyt PYFUNCTYPEscCst|||S(N(t_cast(tobjRM((s'/usr/lib64/python2.7/ctypes/__init__.pyRzscCs t||S(sAstring_at(addr[, size]) -> string Return the string at addr.(t _string_at(tptrR((s'/usr/lib64/python2.7/ctypes/__init__.pyt string_ats(t_wstring_at_addrcCs t||S(sFwstring_at(addr[, size]) -> string Return the string at addr.(t _wstring_at(RR((s'/usr/lib64/python2.7/ctypes/__init__.pyt wstring_atscCsNy"tdttdg}Wntk r6dSX|j|||SdS(Nscomtypes.server.inprocservert*i(t __import__tglobalstlocalst ImportErrortDllGetClassObject(trclsidtriidtppvtccom((s'/usr/lib64/python2.7/ctypes/__init__.pyR s " cCsAy"tdttdg}Wntk r6dSX|jS(Nscomtypes.server.inprocserverRi(RRRRtDllCanUnloadNow(R((s'/usr/lib64/python2.7/ctypes/__init__.pyRs " (tBigEndianStructuretLittleEndianStructurei(R R (R R (R R (R R (R R (R R (R R (RtosR|tsysRRt_ctypesRRRRRR8t_ctypes_versionRRRRJR t _calcsizet ExceptionR}R RtplatformRtunametsplitRR/RRRR2RR3RR"R#R6R:R;RR<R>R?R@treplaceRARBRCRDRERFRGRHRIRQRRRYR[R]R_RbRcReRgRiRlRmRot __ctype_le__t __ctype_be__RqRRtR{tc_voidpR~RRRRRRRRRRRtobjectRRRRRRRtcdlltpydllt dllhandlet pythonapit version_infoRvtoledllRwRtcoredllRRRtc_size_tt c_ssize_tRRRRtmemmovetmemsetRRRzRRRRRRRtctypes._endianRRtc_int8tc_uint8tkindtc_int16tc_int32tc_int64tc_uint16tc_uint32tc_uint64(((s'/usr/lib64/python2.7/ctypes/__init__.pytsJ ) "   !   (                         <           "             usr/lib64/python2.7/wsgiref/__init__.pyc000064400000001331152347117110013767 0ustar00 {fc@s dZdS(sCwsgiref -- a WSGI (PEP 333) Reference Library Current Contents: * util -- Miscellaneous useful functions and wrappers * headers -- Manage response headers * handlers -- base classes for server/gateway implementations * simple_server -- a simple BaseHTTPServer that supports WSGI * validate -- validation wrapper that sits between an app and a server to detect errors in either To-Do: * cgi_gateway -- Run WSGI apps under CGI (pending a deployment standard) * cgi_wrapper -- Run CGI apps under WSGI * router -- a simple middleware component that handles URL traversal N(t__doc__(((s(/usr/lib64/python2.7/wsgiref/__init__.pyttusr/lib64/python2.7/xml/etree/__init__.pyc000064400000000201152347132310014217 0ustar00 {fc@sdS(N((((s*/usr/lib64/python2.7/xml/etree/__init__.pyttlib64/python2.7/compiler/__init__.pyc000064400000002421152347202730013326 0ustar00 {fc@shdZddlZejdeddddlmZmZddlmZddl m Z m Z dS( sPackage for parsing and compiling Python source code There are several functions defined at the top level that are imported from modules contained in the package. parse(buf, mode="exec") -> AST Converts a string containing Python source code to an abstract syntax tree (AST). The AST is defined in compiler.ast. parseFile(path) -> AST The same as parse(open(path)) walk(ast, visitor, verbose=None) Does a pre-order walk over the ast using the visitor instance. See compiler.visitor for details. compile(source, filename, mode, flags=None, dont_inherit=None) Returns a code object. A replacement for the builtin compile() function. compileFile(filename) Generates a .pyc file by compiling filename. iNs=The compiler package is deprecated and removed in Python 3.x.t stackleveli(tparset parseFile(twalk(tcompilet compileFile( t__doc__twarningstwarntDeprecationWarningtcompiler.transformerRRtcompiler.visitorRtcompiler.pycodegenRR(((s)/usr/lib64/python2.7/compiler/__init__.pyts    usr/lib64/python2.7/pydoc_data/__init__.pyc000064400000000202152347260400014425 0ustar00 |fc@sdS(N((((s+/usr/lib64/python2.7/pydoc_data/__init__.pyttlib64/python2.7/curses/__init__.pyc000064400000003021152347437210013020 0ustar00 |fc@sdZdZddlTddlmZddlZddlZdZ dZ ye Wn!e k r{ddl m Z nXdS( scurses The main package for curses support for Python. Normally used by importing the package, and perhaps a particular module inside it. import curses from curses import textpad curses.initscr() ... s$Id$i(t*(twrapperNcCsddl}ddl}tdtjjdddtjj|j }xO|j j D]>\}}|dd!dks|d kr_t |||q_q_W|S( NittermtTERMtunknowntfdiitACS_tLINEStCOLS(RR( t_cursestcursest setuptermt_ostenvirontgett_syst __stdout__tfilenotinitscrt__dict__titemstsetattr(R R tstdscrtkeytvalue((s'/usr/lib64/python2.7/curses/__init__.pyRs cCsdddl}ddl}|j}t|drB|j|_nt|dr`|j|_n|S(NitCOLORSt COLOR_PAIRS(R R t start_colorthasattrRR(R R tretval((s'/usr/lib64/python2.7/curses/__init__.pyR-s (thas_key( t__doc__t __revision__R tcurses.wrapperRtosR tsysRRRRt NameError(((s'/usr/lib64/python2.7/curses/__init__.pyt s     lib64/python2.7/xml/__init__.pyc000064400000002066152347633060012325 0ustar00 {fc@sdZddddgZd Zydd lZWnek rAn]Xy ejZWnek rbn<Xeekrdd lZej j e eej e s     lib64/python2.7/ctypes/macholib/__init__.pyc000064400000000474152347643750014622 0ustar00 {fc@sdZdZdS(s~ Enough Mach-O to make your head spin. See the relevant header files in /usr/include/mach-o And also Apple's documentation. s1.0N(t__doc__t __version__(((s0/usr/lib64/python2.7/ctypes/macholib/__init__.pytsusr/lib64/python2.7/xml/__init__.pyc000064400000002066152347742550013143 0ustar00 {fc@sdZddddgZd Zydd lZWnek rAn]Xy ejZWnek rbn<Xeekrdd lZej j e eej e s     usr/lib64/python2.7/importlib/__init__.pyc000064400000002736152351030270014330 0ustar00 {fc@s+dZddlZdZddZdS(s-Backport of importlib.import_module from 3.x.iNcCst|dstdnt|}xSt|ddD]?}y|jdd|}Wq=tk r{tdq=Xq=Wd|| |fS( s6Return the absolute name of the module to be imported.trindexs'package' not set to a stringiit.is2attempted relative import beyond top-level packages%s.%s(thasattrt ValueErrortlentxrangeR(tnametpackagetleveltdottx((s*/usr/lib64/python2.7/importlib/__init__.pyt _resolve_names  cCs|jdrn|s$tdnd}x(|D] }|dkrGPn|d7}q1Wt||||}nt|tj|S(sImport a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import. Rs/relative imports require the 'package' argumentii(t startswitht TypeErrorR t __import__tsystmodules(RRRt character((s*/usr/lib64/python2.7/importlib/__init__.pyt import_modules   (t__doc__RR tNoneR(((s*/usr/lib64/python2.7/importlib/__init__.pyts  lib64/python2.7/xml/dom/__init__.pyc000064400000014517152351332220013075 0ustar00 {fc@s:dZdd=dYZdZdZdZdZdZdZd Zd Z d Z d Z d Z dZ dZdZdZdZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefd YZd!efd"YZd#efd$YZd%efd&YZd'efd(YZd)efd*YZd+efd,YZd-efd.YZ d/efd0YZ!d1efd2YZ"d3efd4YZ#d5d>d6YZ$d7Z%d8Z&d9Z'd<Z)d<Z*d:d;l+m,Z,m-Z-d<S(?s W3C Document Object Model implementation for Python. The Python mapping of the Document Object Model is documented in the Python Library Reference in the section on the xml.dom package. This package contains the following modules: minidom -- A simple implementation of the Level 1 DOM with namespace support added (based on the Level 2 specification) and other minor Level 2 functionality. pulldom -- DOM builder supporting on-demand tree-building for selected subtrees of the document. tNodecBsVeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( s$Class giving the NodeType constants.iiiiiiiii i i i (t__name__t __module__t__doc__t ELEMENT_NODEtATTRIBUTE_NODEt TEXT_NODEtCDATA_SECTION_NODEtENTITY_REFERENCE_NODEt ENTITY_NODEtPROCESSING_INSTRUCTION_NODEt COMMENT_NODEt DOCUMENT_NODEtDOCUMENT_TYPE_NODEtDOCUMENT_FRAGMENT_NODEt NOTATION_NODE(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRs iiiiiiiii i i i i iiit DOMExceptioncBs eZdZdZdZRS(smAbstract base class for DOM exceptions. Exceptions with specific codes are specializations of this class.cOs5|jtkrtdntj|||dS(Ns0DOMException should not be instantiated directly(t __class__Rt RuntimeErrort Exceptiont__init__(tselftargstkw((s(/usr/lib64/python2.7/xml/dom/__init__.pyRAs cCs|jS(N(tcode(R((s(/usr/lib64/python2.7/xml/dom/__init__.pyt _get_codeGs(RRRRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR=s t IndexSizeErrcBseZeZRS((RRtINDEX_SIZE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRKstDomstringSizeErrcBseZeZRS((RRtDOMSTRING_SIZE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRNstHierarchyRequestErrcBseZeZRS((RRtHIERARCHY_REQUEST_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyRQstWrongDocumentErrcBseZeZRS((RRtWRONG_DOCUMENT_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR TstInvalidCharacterErrcBseZeZRS((RRtINVALID_CHARACTER_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR"WstNoDataAllowedErrcBseZeZRS((RRtNO_DATA_ALLOWED_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR$ZstNoModificationAllowedErrcBseZeZRS((RRtNO_MODIFICATION_ALLOWED_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR&]st NotFoundErrcBseZeZRS((RRt NOT_FOUND_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR(`stNotSupportedErrcBseZeZRS((RRtNOT_SUPPORTED_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR*cstInuseAttributeErrcBseZeZRS((RRtINUSE_ATTRIBUTE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR,fstInvalidStateErrcBseZeZRS((RRtINVALID_STATE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR.ist SyntaxErrcBseZeZRS((RRt SYNTAX_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR0lstInvalidModificationErrcBseZeZRS((RRtINVALID_MODIFICATION_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR2ost NamespaceErrcBseZeZRS((RRt NAMESPACE_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR4rstInvalidAccessErrcBseZeZRS((RRtINVALID_ACCESS_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR6ust ValidationErrcBseZeZRS((RRtVALIDATION_ERRR(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR8xstUserDataHandlercBs&eZdZdZdZdZdZRS(sBClass giving the operation constants for UserDataHandler.handle().iiii(RRRt NODE_CLONEDt NODE_IMPORTEDt NODE_DELETEDt NODE_RENAMED(((s(/usr/lib64/python2.7/xml/dom/__init__.pyR:{s s$http://www.w3.org/XML/1998/namespaceshttp://www.w3.org/2000/xmlns/shttp://www.w3.org/1999/xhtmli(tgetDOMImplementationtregisterDOMImplementationN(((.RRRRRR!R#R%R'R)R+R-R/R1R3R5R7R9RRRRRR R"R$R&R(R*R,R.R0R2R4R6R8R:t XML_NAMESPACEtXMLNS_NAMESPACEtXHTML_NAMESPACEtNonetEMPTY_NAMESPACEt EMPTY_PREFIXtdomregR?R@(((s(/usr/lib64/python2.7/xml/dom/__init__.pytsR