TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The exec Statement and A Python Mystery

12 pointsby dcrostaabout 13 years ago

1 comment

comexabout 13 years ago
Note also that the behavior changed in Python 3: exec is now a function, and changes to locals made through exec won't show up in the original scope.
评论 #3912694 未加载