Did I find the right examples for you? yes no

All Samples(18)  |  Call(9)  |  Derive(0)  |  Import(9)
Instances of this class can be used instead of a filenames if the
code originates from a string object.

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/TreeFragment.py   essig(Download)
import re
from StringIO import StringIO
from Scanning import PyrexScanner, StringSourceDescriptor
from Symtab import BuiltinScope, ModuleScope
import Symtab
    if initial_pos is None:
        initial_pos = (name, 1, 0)
    code_source = StringSourceDescriptor(name, code)
 
    context = StringParseContext([], name)

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/TreeFragment.py   plexnet(Download)
import re
from cStringIO import StringIO
from Scanning import PyrexScanner, StringSourceDescriptor
from Symtab import BuiltinScope, ModuleScope
import Symtab
    if initial_pos is None:
        initial_pos = (name, 1, 0)
    code_source = StringSourceDescriptor(name, code)
 
    context = StringParseContext([], name)

src/c/y/Cython-0.20.1/Cython/Compiler/TreeFragment.py   Cython(Download)
import re
from StringIO import StringIO
from Scanning import PyrexScanner, StringSourceDescriptor
from Symtab import ModuleScope
import PyrexTypes
    if initial_pos is None:
        initial_pos = (name, 1, 0)
    code_source = StringSourceDescriptor(name, code)
 
    scope = context.find_module(module_name, pos = initial_pos, need_pxd = 0)

src/c/y/cython-HEAD/Cython/Compiler/TreeFragment.py   cython(Download)
import re
from StringIO import StringIO
from Scanning import PyrexScanner, StringSourceDescriptor
from Symtab import ModuleScope
import PyrexTypes
    if initial_pos is None:
        initial_pos = (name, 1, 0)
    code_source = StringSourceDescriptor(name, code)
 
    scope = context.find_module(module_name, pos = initial_pos, need_pxd = 0)

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/TreeFragment.py   CythonCTypesBackend(Download)
import re
from StringIO import StringIO
from Scanning import PyrexScanner, StringSourceDescriptor
from Symtab import ModuleScope
import PyrexTypes
    if initial_pos is None:
        initial_pos = (name, 1, 0)
    code_source = StringSourceDescriptor(name, code)
 
    scope = context.find_module(module_name, pos = initial_pos, need_pxd = 0)

src/p/y/pylibs-HEAD/Cython/Compiler/TreeFragment.py   pylibs(Download)
import re
from StringIO import StringIO
from Scanning import PyrexScanner, StringSourceDescriptor
from Symtab import BuiltinScope, ModuleScope
import Symtab
    if initial_pos is None:
        initial_pos = (name, 1, 0)
    code_source = StringSourceDescriptor(name, code)
 
    context = StringParseContext([], name)

src/c/y/Cython-0.20.1/Cython/Compiler/CythonScope.py   Cython(Download)
from Symtab import ModuleScope
from PyrexTypes import *
from UtilityCode import CythonUtilityCode
from Errors import error
from Scanning import StringSourceDescriptor
            # possible immutability). Hack ourselves out of the situation
            # for now.
            raise error((StringSourceDescriptor(u"cython", u""), 0, 0),
                  "cython.%s is not available" % module_name)
 

src/c/y/cython-HEAD/Cython/Compiler/CythonScope.py   cython(Download)
from Symtab import ModuleScope
from PyrexTypes import *
from UtilityCode import CythonUtilityCode
from Errors import error
from Scanning import StringSourceDescriptor
            # possible immutability). Hack ourselves out of the situation
            # for now.
            raise error((StringSourceDescriptor(u"cython", u""), 0, 0),
                  "cython.%s is not available" % module_name)
 

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/CythonScope.py   CythonCTypesBackend(Download)
from Symtab import ModuleScope
from PyrexTypes import *
from UtilityCode import CythonUtilityCode
from Errors import error
from Scanning import StringSourceDescriptor
            # possible immutability). Hack ourselves out of the situation
            # for now.
            raise error((StringSourceDescriptor(u"cython", u""), 0, 0),
                  "cython.%s is not available" % module_name)