Hacked By AnonymousFox

Current Path : /opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/Compat.py

#._cv_part guppy.etc.Compat

#
# This module resolves some differences
# between different Python versions
# and is to be used when it would help compatibility
# to use the objects defined herein. 
# (There may of course be other compatibility issues.)

# Importing this module will write missing names 
# into __builtin__ so that they will be generally available.

# In newer versions of Python (from 2.3 I think ) there is
# no effect on builtins.

try:
    basestring
except NameError:
    basestring = str

try:
    bool
except NameError:
    def bool(x):
	return not not x

try:
    True
except NameError:
    False = 0
    True = 1

try:
    enumerate
except NameError:
    def enumerate(lt):
	return map(None, xrange(len(lt)), lt)

def _make_system_compatible():
    import __builtin__
    for name, value in globals().items():
	if name[:1] != '_':
	    setattr(__builtin__, name, value)

_make_system_compatible()

Hacked By AnonymousFox1.0, Coded By AnonymousFox
Warning: unlink(/tmp/138.201.207.117:802): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/94.217.11.142:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1