# HG changeset patch # User Olivier Delalleau # Date 1285961223 14400 # Node ID b60a9b6eee68da0356629b778ea7d5298f4da301 # Parent ca7e4829f6a041ba4f75dad548f7bf3a3b810d13 API_coding_style: Added point mentioned during meeting diff -r ca7e4829f6a0 -r b60a9b6eee68 doc/v2_planning/API_coding_style.txt --- a/doc/v2_planning/API_coding_style.txt Fri Oct 01 14:56:54 2010 -0400 +++ b/doc/v2_planning/API_coding_style.txt Fri Oct 01 15:27:03 2010 -0400 @@ -318,6 +318,9 @@ test infinite / NaN values. This is important because ``numpy.nan != float('nan')``. + * Whenever possible, mimic the numpy / scipy interfaces when writing code + similar to what can be found in these packages. + * Avoid backslashes whenever possible. They make it more difficult to edit code, and they are ugly (as well as potentially dangerous if there are trailing white spaces).