11 Jun 2008 11 Jun '08
At 03:37 AM 6/11/2008 +0200, Maciej Fijalkowski wrote:
On Wed, Jun 11, 2008 at 3:36 AM, Scott Dial email@example.com wrote:
Maciej Fijalkowski wrote:
What do you think about this code:
class A: locals() = 98
Seems people rely on it working.
I apologize for my ignorance, but who? Could you please cite something reputable that relies on this detail?
It's in tests of sqlalchemy. My question is among the lines "should I bug sqlalchemy guys to remove this, or should I change pypy to accept this".
That test is there to ensure that it interoperates with code using the AddOns library from the Cheeseshop; SQLAlchemy is not the source of the usage.