News for hackers. Stuff that matters.
Re:Show HN: ConvTools – generates Python code of conversions... by carapace on Monday March 30, 2020 @02:04PM (#22730485)
Replace your current namespace with a mock object? You can eval or exec code with any dictionary-flavored object, and mocks can imitate dicts.

edit: no, you can't in Python 3..

I'll try to have a closer look later today.

There are no comments on this comment yet.