replit / prybar

Pry open those interpreters.
GNU General Public License v2.0
253 stars 52 forks source link

Better global support #59

Closed amasad closed 4 years ago

amasad commented 4 years ago

In the current implementation, instanceof fails because we get classes like Array and Object from a different realm.

With this, we only copy things that are missing from the context (and the console).

This is implementing https://github.com/replit/goval/pull/1419

replbot commented 4 years ago

Good work, this PRs short and easy to review! Promoting to bop.

replbot commented 4 years ago

unbooping: changes requested. Make sure to address everyone's comments and dismiss any reviews before booping.

amasad commented 4 years ago