Skip to content

Instantly share code, notes, and snippets.

@sevas
Created September 11, 2010 11:17
Show Gist options
  • Save sevas/575112 to your computer and use it in GitHub Desktop.
Save sevas/575112 to your computer and use it in GitHub Desktop.
"""
Psyco stub: should implement all the external API from psyco.
Taken from the pydev eclipse extension.
"""
def proxy(func, *args, **kwargs):
return func
def bind(func, *args, **kwargs):
return func
def unbind(func, *args, **kwargs):
return func
def unproxy(func, *args, **kwargs):
return func
def full(*args, **kwargs):
pass
def log(*args, **kwargs):
pass
def runonly(*args, **kwargs):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment