durusmail: quixote-users: Illegal Python Names cookbook recipe
Illegal Python Names cookbook recipe
2004-04-05
2004-04-05
2004-04-05
Bug fixes (was: Illegal Python Names cookbook recipe)
2004-04-07
2004-04-07
Bug fixes (was: Illegal Python Names cookbookrecipe)
2004-04-07
Patches for .7a3
2004-04-07
Re: Patches for .7a3
2004-04-08
StaticFile is broken (Quixote-0.7a3, scgi-1.2a2, Apache/1.3.27, FreeBSD 4.7)
2004-04-08
Re: Patches for .7a3
2004-04-21
2004-04-21
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-06
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
Re: Illegal Python Names cookbook recipe
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-07
2004-04-08
2004-04-07
2004-04-07
2004-04-07
2004-04-06
2004-04-05
2004-04-05
2004-04-05
Re: R: [Quixote-users] Illegal Python Names cookbook recipe
2004-04-06
Illegal Python Names cookbook recipe
Eric V. Smith
2004-04-05
Neil Schemenauer said:
> An interesting idea.  A dict is a bit of overkill since I don't
> think it should have more than one entry.  Perhaps a tuple:
>
>     _q_exports = ["foo", "bar", ("rdf-model", rdf_model), "baz"]
>
> Alternatively, we could have it be purely a rename:
>
>     _q_exports = ["foo", "bar", ("rdf-model", "rdf_model"), "baz"]

Clearly a tuple is better.  I prefer the string->string mapping, since it
is more in spirit with how _q_exports works currently.

I'd like to see this implemented, I have a similar issue as the original
poster.





reply