Generating valid identifiers

Peter Otten __peter__ at web.de
Thu Jul 26 11:43:33 EDT 2012


Laszlo Nagy wrote:

> I do not want this program to generate very long identifiers. It would
> increase SQL parsing time, and don't look good. Let's just say that the
> limit should be 32 characters. But I also want to recognize the
> identifiers when I look at their modified/truncated names.

Reality check: the shortened identifiers will look worse, parsing time is 
negligable -- and it will be hard to recognize the mangled identifiers.




More information about the Python-list mailing list