|
|
|
|
|
by webexcess
5303 days ago
|
|
It should be possible to create the exact same classes dynamically, without using exec. The only advantage I can see of the exec is that the class template string makes it a little clearer what the equivalent "normal" class definition would look like. There are other drawbacks to exec though, some people have disabled exec for security reasons and it's opaque to things like pypy. |
|