Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4

Warning: Cannot modify header information - headers already sent by (output started at /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code:102) in /var/www/iplanru/data/www/intesco.ru/d59ed/index.php(1) : eval()'d code(2) : eval()'d code on line 4
mMc@sWdZddkZddkZddkZeiddjZeo ddUn ddkZeid djo7eiZeid djo dZqd ZndZd Zydd k l Z Wn&e j od dd YZ nXei dei dddZdeifdYZde fdYZdddYZdS(sNManage shelves of pickled objects using bsddb database files for the storage. iNiisfrom . import dbiicCsti||S(N(tcPickletdumps(tobjecttprotocol((s$/usr/lib/python2.6/bsddb/dbshelve.pyt_dumps2scCsti|d|S(NR(RR(RR((s$/usr/lib/python2.6/bsddb/dbshelve.pyR5scCsti|d|S(Ntbin(RR(RR((s$/usr/lib/python2.6/bsddb/dbshelve.pyR:s(t DictMixinRcBseZRS((t__name__t __module__(((s$/usr/lib/python2.6/bsddb/dbshelve.pyRBsicCst|tdjo|}|djo ti}q|djo d}q|djo ti}q|djo ti}q|djotitiB}qtidnt|}|i||||||S( s( A simple factory function for compatibility with the standard shleve.py module. It can be used like this, where key is a string and data is a pickleable object: from bsddb import dbshelve db = dbshelve.open(filename) db[key] = data db.close() ttrtrwitwtctnsJflags should be one of 'r', 'w', 'c' or 'n' or use the bsddb.db.DB_* flags(ttypetdbt DB_RDONLYt DB_CREATEt DB_TRUNCATEtDBErrortDBShelftopen(tfilenametflagstmodetfiletypetdbenvtdbnametsflagtd((s$/usr/lib/python2.6/bsddb/dbshelve.pyRGs           t DBShelveErrorcBseZRS((RR(((s$/usr/lib/python2.6/bsddb/dbshelve.pyRjsRcBseZdZddZdZdZdZdZdZ dZ ddZ d Z d Z d Zdd Zdd ZddZddZddZdZdddZdddZdddZddZRS(sA shelf to hold pickled objects, built upon a bsddb DB object. It automatically pickles/unpickles data objects going to/from the DB. cCs<ti||_t|_to t|_n d|_dS(Ni(RtDBtTruet_closedtHIGHEST_PROTOCOLR(tselfR((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__init__qs   cCs|idS(N(tclose(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__del__zscCst|i|S(sTMany methods we can just pass through to the DB object. (See below) (tgetattrR(R$tname((s$/usr/lib/python2.6/bsddb/dbshelve.pyt __getattr__~scCs t|iS(N(tlenR(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__len__scCs|i|}ti|S(N(RRtloads(R$tkeytdata((s$/usr/lib/python2.6/bsddb/dbshelve.pyt __getitem__s cCs#t||i}||i|(R"tidtreprtdictt iteritems(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__repr__s cCso|dj o|ii|}n|ii}g}x0|D](\}}|i|ti|fq?W|S(N(R4RtitemstappendRR-(R$R6R?tnewitemstktv((s$/usr/lib/python2.6/bsddb/dbshelve.pyR?s   cCsB|dj o|ii|}n|ii}tti|S(N(R4RtvaluestmapRR-(R$R6RD((s$/usr/lib/python2.6/bsddb/dbshelve.pyRDs cCs%t||i}|ii||S(N(RRRR@(R$R1R6R/((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__appendscCs7|itijo|i|d|StddS(NR6sOappend() only supported when dbshelve opened with filetype=dbshelve.db.DB_RECNO(tget_typeRtDB_RECNOt_DBShelf__appendR(R$R1R6((s$/usr/lib/python2.6/bsddb/dbshelve.pyR@sicCs"|d}|ii|||S(NcSs\tiddjpt|toti|}ntit|d}|||S(Niis iso8859-1(tsyst version_infot isinstancetbytesRR-(tpriKeytpriDatat realCallbackR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyt_shelf_callbacks$(Rt associate(R$t secondaryDBtcallbackRRQ((s$/usr/lib/python2.6/bsddb/dbshelve.pyRRs cOsM|ii||}yti|SWn tttifj o|SXdS(N(RtgetRR-tEOFErrort TypeErrortUnpicklingError(R$R8tkwR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyRUs cCs:t||i}|ii||||}ti|S(N(RRRRURR-(R$R.R1R6RR/((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_bothscCs+t|ii||}|i|_|S(N(t DBShelfCursorRtcursorR(R$R6RR ((s$/usr/lib/python2.6/bsddb/dbshelve.pyR\s cCs+t||i}|ii||||S(N(RRRtput(R$R.R1R6RR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyR]scCs tdS(N(tNotImplementedError(R$t cursorListR((s$/usr/lib/python2.6/bsddb/dbshelve.pytjoinsN(RRt__doc__R4R%R'R*R,R0R2R3R5RR&R>R?RDRIR@RRRURZR\R]R`(((s$/usr/lib/python2.6/bsddb/dbshelve.pyRms,            R[cBseZdZdZdZdZddZddZdZdZ d Z d Z dd Z dd Z dd ZddZddZddZddZddZddZddZddZddZddZeZdZRS(s cCs ||_dS(N(tdbc(R$R\((s$/usr/lib/python2.6/bsddb/dbshelve.pyR% scCs|idS(N(R&(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyR'scCst|i|S(sHSome methods we can just pass through to the cursor object. (See below)(R(Rb(R$R)((s$/usr/lib/python2.6/bsddb/dbshelve.pyR*sicCs(t|ii|}|i|_|S(N(R[RbtdupR(R$RR ((s$/usr/lib/python2.6/bsddb/dbshelve.pyRcs cCs(t||i}|ii|||S(N(RRRbR](R$R.R1RR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyR]!scGs-t|}t|d|}||dS(Nsget_%d(R+R((R$R8tcounttmethod((s$/usr/lib/python2.6/bsddb/dbshelve.pyRU&s cCs|ii|}|i|S(N(RbRUt_extract(R$Rtrec((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_1+scCs"|ii||}|i|S(N(RbRURf(R$R.RRg((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_2/scCs4t||i}|ii||}|i|S(N(RRRbRURf(R$R.R1RR/Rg((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_33scCs|i|tiBS(N(RhRt DB_CURRENT(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytcurrent9scCs|i|tiBS(N(RhRtDB_FIRST(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytfirst:scCs|i|tiBS(N(RhRtDB_LAST(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytlast;scCs|i|tiBS(N(RhRtDB_NEXT(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytnext<scCs|i|tiBS(N(RhRtDB_PREV(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytprev=scCs|i|tiBS(N(RhRt DB_CONSUME(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytconsume>scCs|i|tiBS(N(RhRt DB_NEXT_DUP(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytnext_dup?scCs|i|tiBS(N(RhRt DB_NEXT_NODUP(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pyt next_nodup@scCs|i|tiBS(N(RhRt DB_PREV_NODUP(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pyt prev_nodupAscCs4t||i}|ii||}|i|S(N(RRRbRZRf(R$R.R1RR/Rg((s$/usr/lib/python2.6/bsddb/dbshelve.pyRZDscCs"|ii||}|i|S(N(RbtsetRf(R$R.RRg((s$/usr/lib/python2.6/bsddb/dbshelve.pyR}JscCs"|ii||}|i|S(N(Rbt set_rangeRf(R$R.RRg((s$/usr/lib/python2.6/bsddb/dbshelve.pyR~NscCs"|ii||}|i|S(N(Rbt set_recnoRf(R$trecnoRRg((s$/usr/lib/python2.6/bsddb/dbshelve.pyRRscCsv|djodS|\}}tiddjpt|to|ti|fS|tit|dfSdS(Niis iso8859-1(R4RJRKRLRMRR-(R$RgR.R/((s$/usr/lib/python2.6/bsddb/dbshelve.pyRfXs   $(RRRaR%R'R*RcR]RURhRiRjRlRnRpRrRtRvRxRzR|RZR}R~Rtset_bothRf(((s$/usr/lib/python2.6/bsddb/dbshelve.pyR[ s2                      (iii(iii(((RaRRJRKtabsolute_importRR#RR4tUserDictRt ImportErrorRtDB_HASHRRRRR[(((s$/usr/lib/python2.6/bsddb/dbshelve.pyts.         "