✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python37/lib64/python3.7/site-packages/Cython/Compiler//Errors.py
#
#   Errors
#

from __future__ import absolute_import

try:
    from __builtin__ import basestring as any_string_type
except ImportError:
    any_string_type = (bytes, str)

import sys
from contextlib import contextmanager

from ..Utils import open_new_file
from . import DebugFlags
from . import Options


class PyrexError(Exception):
    pass


class PyrexWarning(Exception):
    pass


def context(position):
    source = position[0]
    assert not (isinstance(source, any_string_type)), (
        "Please replace filename strings with Scanning.FileSourceDescriptor instances %r" % source)
    try:
        F = source.get_lines()
    except UnicodeDecodeError:
        # file has an encoding problem
        s = u"[unprintable code]\n"
    else:
        s = u''.join(F[max(0, position[1]-6):position[1]])
        s = u'...\n%s%s^\n' % (s, u' '*(position[2]-1))
    s = u'%s\n%s%s\n' % (u'-'*60, s, u'-'*60)
    return s

def format_position(position):
    if position:
        return u"%s:%d:%d: " % (position[0].get_error_description(),
                                position[1], position[2])
    return u''

def format_error(message, position):
    if position:
        pos_str = format_position(position)
        cont = context(position)
        message = u'\nError compiling Cython file:\n%s\n%s%s' % (cont, pos_str, message or u'')
    return message

class CompileError(PyrexError):

    def __init__(self, position = None, message = u""):
        self.position = position
        self.message_only = message
        self.formatted_message = format_error(message, position)
        self.reported = False
    # Deprecated and withdrawn in 2.6:
    #   self.message = message
        Exception.__init__(self, self.formatted_message)
        # Python Exception subclass pickling is broken,
        # see http://bugs.python.org/issue1692335
        self.args = (position, message)

    def __str__(self):
        return self.formatted_message

class CompileWarning(PyrexWarning):

    def __init__(self, position = None, message = ""):
        self.position = position
    # Deprecated and withdrawn in 2.6:
    #   self.message = message
        Exception.__init__(self, format_position(position) + message)

class InternalError(Exception):
    # If this is ever raised, there is a bug in the compiler.

    def __init__(self, message):
        self.message_only = message
        Exception.__init__(self, u"Internal compiler error: %s"
            % message)

class AbortError(Exception):
    # Throw this to stop the compilation immediately.

    def __init__(self, message):
        self.message_only = message
        Exception.__init__(self, u"Abort error: %s" % message)

class CompilerCrash(CompileError):
    # raised when an unexpected exception occurs in a transform
    def __init__(self, pos, context, message, cause, stacktrace=None):
        if message:
            message = u'\n' + message
        else:
            message = u'\n'
        self.message_only = message
        if context:
            message = u"Compiler crash in %s%s" % (context, message)
        if stacktrace:
            import traceback
            message += (
                u'\n\nCompiler crash traceback from this point on:\n' +
                u''.join(traceback.format_tb(stacktrace)))
        if cause:
            if not stacktrace:
                message += u'\n'
            message += u'%s: %s' % (cause.__class__.__name__, cause)
        CompileError.__init__(self, pos, message)
        # Python Exception subclass pickling is broken,
        # see http://bugs.python.org/issue1692335
        self.args = (pos, context, message, cause, stacktrace)

class NoElementTreeInstalledException(PyrexError):
    """raised when the user enabled options.gdb_debug but no ElementTree
    implementation was found
    """

listing_file = None
num_errors = 0
echo_file = None

def open_listing_file(path, echo_to_stderr = 1):
    # Begin a new error listing. If path is None, no file
    # is opened, the error counter is just reset.
    global listing_file, num_errors, echo_file
    if path is not None:
        listing_file = open_new_file(path)
    else:
        listing_file = None
    if echo_to_stderr:
        echo_file = sys.stderr
    else:
        echo_file = None
    num_errors = 0

def close_listing_file():
    global listing_file
    if listing_file:
        listing_file.close()
        listing_file = None

def report_error(err, use_stack=True):
    if error_stack and use_stack:
        error_stack[-1].append(err)
    else:
        global num_errors
        # See Main.py for why dual reporting occurs. Quick fix for now.
        if err.reported: return
        err.reported = True
        try: line = u"%s\n" % err
        except UnicodeEncodeError:
            # Python <= 2.5 does this for non-ASCII Unicode exceptions
            line = format_error(getattr(err, 'message_only', "[unprintable exception message]"),
                                getattr(err, 'position', None)) + u'\n'
        if listing_file:
            try: listing_file.write(line)
            except UnicodeEncodeError:
                listing_file.write(line.encode('ASCII', 'replace'))
        if echo_file:
            try: echo_file.write(line)
            except UnicodeEncodeError:
                echo_file.write(line.encode('ASCII', 'replace'))
        num_errors += 1
        if Options.fast_fail:
            raise AbortError("fatal errors")


def error(position, message):
    #print("Errors.error:", repr(position), repr(message)) ###
    if position is None:
        raise InternalError(message)
    err = CompileError(position, message)
    if DebugFlags.debug_exception_on_error: raise Exception(err) # debug
    report_error(err)
    return err


LEVEL = 1 # warn about all errors level 1 or higher


def message(position, message, level=1):
    if level < LEVEL:
        return
    warn = CompileWarning(position, message)
    line = "note: %s\n" % warn
    if listing_file:
        listing_file.write(line)
    if echo_file:
        echo_file.write(line)
    return warn


def warning(position, message, level=0):
    if level < LEVEL:
        return
    if Options.warning_errors and position:
        return error(position, message)
    warn = CompileWarning(position, message)
    line = "warning: %s\n" % warn
    if listing_file:
        listing_file.write(line)
    if echo_file:
        echo_file.write(line)
    return warn


_warn_once_seen = {}
def warn_once(position, message, level=0):
    if level < LEVEL or message in _warn_once_seen:
        return
    warn = CompileWarning(position, message)
    line = "warning: %s\n" % warn
    if listing_file:
        listing_file.write(line)
    if echo_file:
        echo_file.write(line)
    _warn_once_seen[message] = True
    return warn


# These functions can be used to momentarily suppress errors.

error_stack = []


def hold_errors():
    error_stack.append([])


def release_errors(ignore=False):
    held_errors = error_stack.pop()
    if not ignore:
        for err in held_errors:
            report_error(err)


def held_errors():
    return error_stack[-1]


# same as context manager:

@contextmanager
def local_errors(ignore=False):
    errors = []
    error_stack.append(errors)
    try:
        yield errors
    finally:
        release_errors(ignore=ignore)


# this module needs a redesign to support parallel cythonisation, but
# for now, the following works at least in sequential compiler runs

def reset():
    _warn_once_seen.clear()
    del error_stack[:]


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.44 AM
root / root
0755
Tests
--
25 Jul 2024 8.44 AM
root / linksafe
0755
__pycache__
--
25 Jul 2024 8.44 AM
root / linksafe
0755
AnalysedTreeTransforms.py
3.736 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Annotate.py
12.646 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
AutoDocTransforms.py
7.341 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Buffer.py
28.228 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Builtin.py
22.345 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
CmdLine.py
8.776 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Code.cpython-37m-x86_64-linux-gnu.so
1.36 MB
24 Apr 2023 6.25 PM
root / linksafe
0755
Code.pxd
2.646 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Code.py
91.734 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
CodeGeneration.py
1.082 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
CythonScope.py
5.886 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
DebugFlags.py
0.608 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Errors.py
7.377 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
ExprNodes.py
526.247 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
FlowControl.cpython-37m-x86_64-linux-gnu.so
645.375 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
FlowControl.pxd
2.908 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
FlowControl.py
44.416 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
FusedNode.cpython-37m-x86_64-linux-gnu.so
456.234 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
FusedNode.py
36.635 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Future.py
0.564 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Interpreter.py
2.057 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Lexicon.cpython-37m-x86_64-linux-gnu.so
188.039 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
Lexicon.py
4.724 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Main.py
30.172 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
MemoryView.py
29.067 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
ModuleNode.py
133.313 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Naming.py
5.964 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Nodes.py
375.373 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Optimize.py
202.788 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Options.py
15.499 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
ParseTreeTransforms.pxd
2.391 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
ParseTreeTransforms.py
132.56 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Parsing.cpython-37m-x86_64-linux-gnu.so
937.57 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
Parsing.pxd
8.63 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Parsing.py
123.406 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Pipeline.py
13.685 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
PyrexTypes.py
169.474 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Pythran.cpython-37m-x86_64-linux-gnu.so
135.461 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
Pythran.py
5.576 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Scanning.cpython-37m-x86_64-linux-gnu.so
237.25 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
Scanning.pxd
1.957 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Scanning.py
17.94 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
StringEncoding.py
9.579 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Symtab.py
107.485 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
TreeFragment.py
9.144 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
TreePath.py
7.135 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
TypeInference.py
21.803 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
TypeSlots.py
35.914 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
UtilNodes.py
11.363 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
UtilityCode.py
9.171 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Version.py
0.177 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Visitor.cpython-37m-x86_64-linux-gnu.so
417.008 KB
24 Apr 2023 6.25 PM
root / linksafe
0755
Visitor.pxd
1.583 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
Visitor.py
28.688 KB
18 Mar 2018 6.52 PM
root / linksafe
0644
__init__.py
0.013 KB
18 Mar 2018 6.52 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF