[spambayes-dev] Re: Pickle vs DB inconsistencies
Meyer, Tony
T.A.Meyer at massey.ac.nz
Mon Jul 14 18:35:00 EDT 2003
> >> (BTW, why can I import optparse in 2.2.3 when the doc says it only
> >> arrives in 2.3?)
>
> > Good question -- I guess someone backported it when I
> wasn't looking!
>
> No, someone is confused there -- optparse doesn't exist in
> 2.2.3. I suspect they have an overly generous PYTHONPATH setting.
I don't have PYTHONPATH as an environment variable at all, but on
examination the file is in the site-packages directory, and is not there
on a fresh install.
Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import optparse
>>> optparse.__file__
'C:\\PROGRA~1\\Python22\\lib\\site-packages\\optparse.pyc'
>>>
Since I didn't (explicitly) install this, I suppose one of the other
packages I have must have done this for me. Apologies for any
misleading information :)
=Tony Meyer
More information about the spambayes-dev
mailing list