On Sat, Dec 31, 2011 at 10:24 AM, Roy Smith <r...@panix.com> wrote: > "But!", some C++/Java type bondage addicts might cry, "there's nothing > to prevent somebody from creating a DirectionIndicatingThingie directly, > bypassing the factory functions. There's no way to make the constructor > private!". To which the free-willed pythonistas would respond, "If it > hurts when you do that, don't do that".
You know a Python programmer's been at your C++ code when it opens: #define class struct ChrisA -- http://mail.python.org/mailman/listinfo/python-list