[Python-Dev] Improve Python for embedding

Tom Emerson tree at basistech.com
Mon Dec 22 18:49:37 EST 2003


Guido van Rossum writes:
> > > Perhaps it's easy to overlook that it's using Py_GETENV() rather than
> > > getenv(); this macro takes tests for Py_IgnoreEnvironmentFlag first.
> > 
> > Py_IgnoreEnvironmentFlag and the -E command line option are both
> > /fairly/ new... 2.2 era?
> 
> Yeah, but the patch he suggested was using Py_GETENV(), so it's not
> like it didn't exist when they did the patch; they must have missed
> its significance. :-)

Yes, *they* did miss the significance of the use of the macro. 

-- 
Tom Emerson                                          Basis Technology Corp.
Software Architect                                 http://www.basistech.com
  "Beware the lollipop of mediocrity: lick it once and you suck forever"



More information about the Python-Dev mailing list