Re: [Python-Dev] misbehaving __contains__

2008-01-22 Thread Chuck Mason (Visual Concepts)
My guess is that results from the bottom of cmp_outcome (ceval.c), The default case handles the PyCmp_EQ case via PyObject_RichCompare, which might not return Py_True or Py_False. But 'in' is handled inside the switch and is subject to the final statements: v = res ? Py_True : Py_False;

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-30 Thread Chuck Mason (Visual Concepts)
Thing is that "universal" is an adjective and we tend to use nouns (maybe not by intention) for our modules/objects: Sys, os, builtins, etc, are all nouns: maybe +1 for __universe__ ? But when you phrase it that way, it doesn't quite make sense. Have we considered special syntax for universal py

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-28 Thread Chuck Mason (Visual Concepts)
Hello everybody! I really should introduce myself before stating my opinion. But I'll keep this short and sweet -- I have been "trolling" python-dev for a while just to keep up on its development and have never posted but I thought I'd share my opinion on this thread simply because it's a simple