[Numpy-discussion] Caution -- // not standard

Paul Dubois dubois1 at llnl.gov
Mon Jul 8 09:10:04 CDT 2002


I have run into several cases of this on different open-source projects,
the latest being an incorrect change in Numeric's arrayobject.c: the use
of // to start a comment. Many contributors who work only with Linux
have come to believe that this works with other C compilers, which is
not true. This construct comes from C++. Please avoid this construct
when contributing changes or patches to Numeric.










More information about the Numpy-discussion mailing list