tags:

views:

78

answers:

2

this code is in the django.utils.functional.py

class __proxy__(Promise):

thanks

+4  A: 

"Magic names", ones that start and end with double underscores, are reserved for the language in Python (but the compiler does not enforce that rule at present); Django is violating that rule, or setting itself up as "being the language" -- not a terrible sin, but an unpleasant practice.

Alex Martelli
+1  A: 

It's just a name. And because it starts with _ it's meant to be private to that module.

Why they chose that name? You'll have to ask the developers.

Frank Krueger