ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> cpp-sig
cpp-sig
[C++-sig] typo in pyste breaking -= and *= operators
by Scott Snyder other posts by this author
Oct 2 2003 10:00AM messages near this date
[C++-sig] Re: problem with Boost.Python enum with duplicate values | Re: [C++-sig] typo in pyste breaking -= and *= operators
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_SUPPORT
ED_OPERATORS))))

_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Scott Snyder
Nicodemus

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved