• Kirill Smelkov's avatar
    context: Move code to pyx · cc7069e0
    Kirill Smelkov authored
    In preparation to start migrating, at least partially, context
    functionality to nogil mode, first, similarly to package time (see
    32f34607 "time: Move code to pyx"), move the code from context.py to
    _context.pyx.
    
    This is straight code movement + associated  setup.py & co adjusts.
    
    We don't move just to context.pyx (note no _ prefix), since we will need
    to continue distinguishing pyx/nogil from py objects/functions.
    cc7069e0
_context.pyx 10.6 KB