1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-07 14:06:33 +00:00
dmiller 8b70dfa0a4 Replace exception-as-flow-control pattern
In general, it's better to use explicit flow control than to throw
and/or catch generic exceptions. Example:

try:
    thing = d["key"]
except:
    pass

This 1. catches an inspecific exception (probably KeyError), 2. can be
replaced with a check for ("key" is in d), and 3. can often be replaced
with d.get("key", some_default_value).
2014-01-13 15:37:39 +00:00
2014-01-10 20:43:32 +00:00
2013-12-30 14:35:50 +00:00
2014-01-10 16:26:42 +00:00
2014-01-10 16:26:42 +00:00
2013-07-16 00:51:47 +00:00
2012-12-06 02:34:28 +00:00
2014-01-10 16:26:42 +00:00
2012-12-06 02:25:46 +00:00
2012-05-27 08:53:32 +00:00
2012-05-27 08:53:32 +00:00
2012-05-27 08:53:32 +00:00
2012-05-27 08:53:32 +00:00
2012-09-15 17:56:17 +00:00
2013-02-09 22:46:47 +00:00
2013-12-04 12:51:59 +00:00
2013-10-08 21:50:47 +00:00

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).
Languages
C 37.5%
Lua 28.1%
C++ 16.8%
Shell 5.8%
Python 4.2%
Other 7.3%