| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/spread/ |
Upload File : |
ó
[³XMc @ s\ d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d e
f d „ ƒ YZ d „ Z d „ Z
e d
ƒ Z e d ƒ Z e d ƒ Z e d
ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z e d ƒ Z e d
ƒ Z d „ Z e d ƒ d Z d e j e j f d „ ƒ YZ e ƒ Z e j ƒ e j d ƒ d „ Z d „ Z! d S( sé
Banana -- s-exp based protocol.
Future Plans: This module is almost entirely stable. The same caveat applies
to it as applies to L{twisted.spread.jelly}, however. Read its future plans
for more details.
@author: Glyph Lefkowitz
iÿÿÿÿN( t protocol( t styles( t logt BananaErrorc B s e Z RS( ( t __name__t
__module__( ( ( s9 /usr/lib/python2.7/dist-packages/twisted/spread/banana.pyR s c C sg | d k r | t d ƒ ƒ d S| d k s8 t d ƒ ‚ x( | rb | t | d @ƒ ƒ | d ?} q; Wd S( Ni s! can only encode positive integersi i ( t chrt AssertionError( t integert stream( ( s9 /usr/lib/python2.7/dist-packages/twisted/spread/banana.pyt int2b128 s c C sE d } d } x2 | D]* } t | ƒ } | | | 7} | d K} q W| S( sû
Convert an integer represented as a base 128 string into an C{int} or
C{long}.
@param st: The integer encoded in a string.
@type st: C{str}
@return: The integer value extracted from the string.
@rtype: C{int} or C{long}
i i i ( t ord( t stt et it chart n( ( s9 /usr/lib/python2.7/dist-packages/twisted/spread/banana.pyt b1282int"