Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-08 Thread Peter Otten
Fabio Zadrozny wrote: > On Mon, Jun 7, 2010 at 6:30 AM, Peter Otten <__pete...@web.de> wrote: >> kirby.ur...@gmail.com wrote: >> >>> On Jun 4, 9:47 am, Peter Otten <__pete...@web.de> wrote: >>> I can provoke the error in "naked" Python 3 by changing the Example.__module__ attribute:

Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-08 Thread Fabio Zadrozny
On Mon, Jun 7, 2010 at 6:30 AM, Peter Otten <__pete...@web.de> wrote: > kirby.ur...@gmail.com wrote: > >> On Jun 4, 9:47 am, Peter Otten <__pete...@web.de> wrote: >> >>> I can provoke the error in "naked" Python 3 by changing the >>> Example.__module__ attribute: >>> >>> Python 3.1.1+ (r311:74480,

Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-07 Thread Peter Otten
kirby.ur...@gmail.com wrote: > On Jun 4, 9:47 am, Peter Otten <__pete...@web.de> wrote: > >> I can provoke the error in "naked" Python 3 by changing the >> Example.__module__ attribute: >> >> Python 3.1.1+ (r311:74480, Nov 2 2009, 15:45:00) >> [GCC 4.4.1] on linux2 >> Type "help", "copyright", "

Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-04 Thread kirby.ur...@gmail.com
On Jun 4, 9:47 am, Peter Otten <__pete...@web.de> wrote: > I can provoke the error in "naked" Python 3 by changing the > Example.__module__ attribute: > > Python 3.1.1+ (r311:74480, Nov  2 2009, 15:45:00) > [GCC 4.4.1] on linux2 > Type "help", "copyright", "credits" or "license" for more informati

Re: weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-04 Thread Peter Otten
kirby.ur...@gmail.com wrote: > Here we are in an Eclipse pydev console, running Python 3.1.2. For > the most part, everything is working great. > > However... > import sys; print('%s %s' % (sys.executable or sys.platform, sys.version)) > C:\Python31\python.exe 3.1.2 (r312:79149, Mar 2

weird pickle behavior in Python 3.1.2 + Eclipse 3.5.2

2010-06-04 Thread kirby.ur...@gmail.com
Here we are in an Eclipse pydev console, running Python 3.1.2. For the most part, everything is working great. However... >>> import sys; print('%s %s' % (sys.executable or sys.platform, sys.version)) C:\Python31\python.exe 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] >