[C++-sig] typo in pyste breaking -= and *= operators
scott snyder
snyder at fnal.gov
Thu Oct 2 19:02:44 CEST 2003
hi -
Here's a typo in pyste that prevents the -= and *= operators from
being recognized (there's a space missing between them).
sss
Index: pyste/src/Pyste/ClassExporter.py
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/pyste/src/Pyste/ClassExporter.py,v
retrieving revision 1.13
diff -u -p -r1.13 ClassExporter.py
--- pyste/src/Pyste/ClassExporter.py 4 Sep 2003 22:47:04 -0000 1.13
+++ pyste/src/Pyste/ClassExporter.py 2 Oct 2003 16:23:30 -0000
@@ -425,7 +425,7 @@ class ClassExporter(Exporter):
self.Add('template', holder(self.class_.FullName()))
# operators natively supported by boost
- BOOST_SUPPORTED_OPERATORS = '+ - * / % ^ & ! ~ | < > == != <= >= << >> && || += -='\
+ BOOST_SUPPORTED_OPERATORS = '+ - * / % ^ & ! ~ | < > == != <= >= << >> && || += -= '\
'*= /= %= ^= &= |= <<= >>='.split()
# create a map for faster lookup
BOOST_SUPPORTED_OPERATORS = dict(zip(BOOST_SUPPORTED_OPERATORS, range(len(BOOST_SUPPORTED_OPERATORS))))
More information about the Cplusplus-sig
mailing list