MisterAI's picture
download
raw
400 Bytes
"""Functions that involve magic. """
def pollute(names, objects):
"""Pollute the global namespace with symbols -> objects mapping. """
from inspect import currentframe
frame = currentframe().f_back.f_back
try:
for name, obj in zip(names, objects):
frame.f_globals[name] = obj
finally:
del frame # break cyclic dependencies as stated in inspect docs

Xet Storage Details

Size:
400 Bytes
·
Xet hash:
1ec9b3fefa15e08cec0e83bbc3251239eccff0c4d6a0e76865c2430da7a02b77

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.