403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/bsddb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/bsddb/dbshelve.pyo
Ñò
ÉÉŽJc@sdZddkZddkZddkZeiddjZeoddUn
ddkZeid djo7eiZeid djo
d„Zq¶d	„ZndZd
„Zeidd!djoGyddk	l
Z
Wn&ej
od
dd„ƒYZ
nXe
Znddk
Z
e
iZeideiddd„Zdeifd„ƒYZdefd„ƒYZddd„ƒYZdS(sNManage shelves of pickled objects using bsddb database files for the
storage.
iÿÿÿÿNiisfrom . 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:si(t	DictMixinRcBseZRS((t__name__t
__module__(((s$/usr/lib/python2.6/bsddb/dbshelve.pyRCsi°cCsÞt|ƒtdƒjoœ|}|djo
ti}qµ|djo
d}qµ|djo
ti}qµ|djo
ti}qµ|djotitiB}qµtid‚nt|ƒ}|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_CREATEtDB_TRUNCATEtDBErrortDBShelftopen(tfilenametflagstmodetfiletypetdbenvtdbnametsflagtd((s$/usr/lib/python2.6/bsddb/dbshelve.pyRLs 








t
DBShelveErrorcBseZRS((RR(((s$/usr/lib/python2.6/bsddb/dbshelve.pyRosRcBseZdZdd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
dd„Zei
d	d
!djo
d„Znd
„Zd„Zd„Zdd„Zdd„Zdd„Zdd„Zd	d„Zd„Zdd	d„Zdd	d„Zdd	d„Zd	d„ZRS(sŽA 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__vs
	
cCs|iƒdS(N(tclose(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__del__scCst|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|iƒS(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|<dS(N(RRR(R$R.tvalueR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__setitem__–scCs|i|=dS(N(R(R$R.((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__delitem__›scCs/|djo|ii|ƒS|iiƒSdS(N(tNoneRtkeys(R$ttxn((s$/usr/lib/python2.6/bsddb/dbshelve.pyR5Ÿs
iiicCs
|iiƒS(N(Rt__iter__(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyR7¦scOs |ii||Žt|_dS(N(RRtFalseR"(R$targstkwargs((s$/usr/lib/python2.6/bsddb/dbshelve.pyRªscOs |ii||Žt|_dS(N(RR&R!R"(R$R9R:((s$/usr/lib/python2.6/bsddb/dbshelve.pyR&¯scCs3|iodt|ƒStt|iƒƒƒSdS(Ns<DBShelf @ 0x%x - closed>(R"tidtreprtdictt	iteritems(R$((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__repr__´s
cCso|djo|ii|ƒ}n|iiƒ}g}x0|D](\}}|i|ti|ƒfƒq?W|S(N(R4RtitemstappendRR-(R$R6R@tnewitemstktv((s$/usr/lib/python2.6/bsddb/dbshelve.pyR@»s
 cCsB|djo|ii|ƒ}n|iiƒ}tti|ƒS(N(R4RtvaluestmapRR-(R$R6RE((s$/usr/lib/python2.6/bsddb/dbshelve.pyREÆs
cCs%t||iƒ}|ii||ƒS(N(RRRRA(R$R1R6R/((s$/usr/lib/python2.6/bsddb/dbshelve.pyt__appendÑscCs7|iƒtijo|i|d|ƒStd‚dS(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.pyRAÕscCs"|d„}|ii|||ƒS(NcSs\tiddjpt|tƒoti|ƒ}ntit|dƒƒ}|||ƒS(Niis	iso8859-1(tsystversion_infot
isinstancetbytesRR-(tpriKeytpriDatatrealCallbackR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyt_shelf_callbackÜs$(Rt	associate(R$tsecondaryDBtcallbackRRR((s$/usr/lib/python2.6/bsddb/dbshelve.pyRSÛscOsPt|ii||ƒ}yti|ƒSWn tttifj
o|SXdS(N(tapplyRtgetRR-tEOFErrort	TypeErrortUnpicklingError(R$R9tkwR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyRWès
cCs:t||iƒ}|ii||||ƒ}ti|ƒS(N(RRRRWRR-(R$R.R1R6RR/((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_bothôscCs+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
t‚dS(N(tNotImplementedError(R$t
cursorListR((s$/usr/lib/python2.6/bsddb/dbshelve.pytjoinsN(ii(RRt__doc__R4R%R'R*R,R0R2R3R5RKRLR7RR&R?R@RERJRARSRWR\R^R_Rb(((s$/usr/lib/python2.6/bsddb/dbshelve.pyRrs0			
				
			
	R]cBseZdZd„Zd„Zd„Zdd„Zdd„Zd„Zd„Z	d	„Z
d
„Zdd„Zdd„Z
dd
„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„ZeZd„ZRS(s
    cCs
||_dS(N(tdbc(R$R^((s$/usr/lib/python2.6/bsddb/dbshelve.pyR%scCs|iƒdS(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(Rd(R$R)((s$/usr/lib/python2.6/bsddb/dbshelve.pyR*sicCs(t|ii|ƒƒ}|i|_|S(N(R]RdtdupR(R$RR
((s$/usr/lib/python2.6/bsddb/dbshelve.pyRe$scCs(t||iƒ}|ii|||ƒS(N(RRRdR_(R$R.R1RR/((s$/usr/lib/python2.6/bsddb/dbshelve.pyR_*scGs0t|ƒ}t|d|ƒ}t||ƒdS(Nsget_%d(R+R(RV(R$R9tcounttmethod((s$/usr/lib/python2.6/bsddb/dbshelve.pyRW/scCs|ii|ƒ}|i|ƒS(N(RdRWt_extract(R$Rtrec((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_14scCs"|ii||ƒ}|i|ƒS(N(RdRWRh(R$R.RRi((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_28scCs4t||iƒ}|ii||ƒ}|i|ƒS(N(RRRdRWRh(R$R.R1RR/Ri((s$/usr/lib/python2.6/bsddb/dbshelve.pytget_3<scCs|i|tiBƒS(N(RjRt
DB_CURRENT(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytcurrentBscCs|i|tiBƒS(N(RjRtDB_FIRST(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytfirstCscCs|i|tiBƒS(N(RjRtDB_LAST(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytlastDscCs|i|tiBƒS(N(RjRtDB_NEXT(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytnextEscCs|i|tiBƒS(N(RjRtDB_PREV(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytprevFscCs|i|tiBƒS(N(RjRt
DB_CONSUME(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytconsumeGscCs|i|tiBƒS(N(RjRtDB_NEXT_DUP(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pytnext_dupHscCs|i|tiBƒS(N(RjRt
DB_NEXT_NODUP(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pyt
next_nodupIscCs|i|tiBƒS(N(RjRt
DB_PREV_NODUP(R$R((s$/usr/lib/python2.6/bsddb/dbshelve.pyt
prev_nodupJscCs4t||iƒ}|ii||ƒ}|i|ƒS(N(RRRdR\Rh(R$R.R1RR/Ri((s$/usr/lib/python2.6/bsddb/dbshelve.pyR\MscCs"|ii||ƒ}|i|ƒS(N(RdtsetRh(R$R.RRi((s$/usr/lib/python2.6/bsddb/dbshelve.pyRSscCs"|ii||ƒ}|i|ƒS(N(Rdt	set_rangeRh(R$R.RRi((s$/usr/lib/python2.6/bsddb/dbshelve.pyR€WscCs"|ii||ƒ}|i|ƒS(N(Rdt	set_recnoRh(R$trecnoRRi((s$/usr/lib/python2.6/bsddb/dbshelve.pyR[scCsv|djodS|\}}tiddjpt|tƒo|ti|ƒfS|tit|dƒƒfSdS(Niis	iso8859-1(R4RKRLRMRNRR-(R$RiR.R/((s$/usr/lib/python2.6/bsddb/dbshelve.pyRhas
$(RRRcR%R'R*ReR_RWRjRkRlRnRpRrRtRvRxRzR|R~R\RR€Rtset_bothRh(((s$/usr/lib/python2.6/bsddb/dbshelve.pyR]s2							(iii(iii(ii(((RcRRKRLtabsolute_importRR#RR4tUserDictRtImportErrortMutableMappingtcollectionsRtDB_HASHRRRRR](((s$/usr/lib/python2.6/bsddb/dbshelve.pyt<module>s6	

	
	"¡

Youez - 2016 - github.com/yon3zu
LinuXploit