Help beautify ugly heuristic code

Mitja nun at example.com
Wed Dec 8 18:00:06 EST 2004


On Wed, 08 Dec 2004 16:09:43 -0500, Stuart D. Gathman <stuart at bmsi.com>  
wrote:

> I have a function that recognizes PTR records for dynamic IPs....
> Here is the very ugly code so far.
> ...
> # examples we don't yet recognize:
> ...

This doesn't help much; post example of all the possible patterns you have  
to match (kind of like the docstring at the beginning, only more  
elaborate), otherwise it's hard to know what kind of code you're trying to  
implement.
--
Mitja



More information about the Python-list mailing list