From hart at caltech.edu  Mon Aug  4 03:50:49 2003
From: hart at caltech.edu (Christopher Hart)
Date: Mon, 4 Aug 2003 00:50:49 -0700
Subject: [IPython-dev] IPython and Freeze
Message-ID: <20030804075049.GC8910@phage>

Hi,  

I've been happily using IPython for quite a while now and I and
collaborators have written quite a bit of code in the form of a python
API that is most useful when used interactively from the python
interpretor - and naturally IPython makes this even better.  

I thought a clever way of distributing this tool set to other folks
might be through freeze which turns a python script into a single
all-included binary executable (albiet a little bloated, quite easy to
distribute).

Has anyone successfully used freeze and IPython?  

Below is a minimal IPython program to freeze 

---begin ipy.py---

#!/usr/bin/env python

"""
A simple test program to build a stand-alone version of IPython
"""

from IPython.Shell import IPythonShellEmbed 
ipshell = IPythonShellEmbed()

def main():
  ipshell()  

if __name__ == "__main__":
    main()
    
---end ipy.py---

Here is how I attempted to freeze it and what errors I get:

$ freeze.py -o ipy ipy.py
$ cd ipy
$ make
$ ./ipy 
Traceback (most recent call last):
  File "ipy.py", line 7, in ?
  File "/usr/lib/python2.2/site-packages/IPython/__init__.py", line 37, in ?
    __import__(name,globals(),locals(),[])
  File "/usr/lib/python2.2/site-packages/IPython/genutils.py", line 34, in ?
    import types,commands,time,sys,os,re,shutil
ImportError: /usr/lib/python2.2/lib-dynload/time.so: undefined symbol: PyExc_IOError

Seems to be not freezeing everything it's supposed to.

thanks,
  chris

-------------------
Christopher Hart
Caltech Biology
  


From fperez at colorado.edu  Mon Aug  4 12:08:00 2003
From: fperez at colorado.edu (Fernando Perez)
Date: Mon, 04 Aug 2003 10:08:00 -0600
Subject: [IPython-dev] IPython and Freeze
In-Reply-To: <20030804075049.GC8910@phage>
References: <20030804075049.GC8910@phage>
Message-ID: <3F2E84E0.6030407@colorado.edu>

Christopher Hart wrote:
> Hi,  
> 
> I've been happily using IPython for quite a while now and I and
> collaborators have written quite a bit of code in the form of a python
> API that is most useful when used interactively from the python
> interpretor - and naturally IPython makes this even better.  
> 
> I thought a clever way of distributing this tool set to other folks
> might be through freeze which turns a python script into a single
> all-included binary executable (albiet a little bloated, quite easy to
> distribute).
> 
> Has anyone successfully used freeze and IPython?  
> 
> Below is a minimal IPython program to freeze 

I haven't done it, but in principle it should be 'trivial' :)  IPython uses 
100% pure python code and either standard lib modules or included stuff.  All 
third-party code I use is included.  So freeze should pick it all up, I would 
think.  However, if something in ipython's code needs changing for this to 
work more smoothly and you can identify the issue, I'll be glad to make the 
necessary changes.  For example, I wonder if the use of __import__ (as opposed 
to import) is what's confusing freeze.

Keep us posted...

Best,

f

ps.  I'll be in Caltech for scipy'03 Sept 11/12.  I hope we can meet there.



From ceci100 at go.com  Tue Aug 12 22:02:02 2003
From: ceci100 at go.com (CECILIA MARK AKU)
Date: Tue, 12 Aug 2003 19:02:02 -0700 (PDT)
Subject: [IPython-dev] please help me and my children
Message-ID: <200308130202.h7D222t24916@server029.mhp01.affinity.com>

Dear Good Friend,

          REQUEST FOR URGENT ASSISTANCE.

This business proposal to you is strictly
confidential, with due respect. Sorry at this
perceived confusion or stress you may have receiving
this letter from me, Since we have not known ourselves
or met previously.Despite that, I am constrained to
write you this letter because of the urgency it
requires.

As amatter of fact, I got your contact through the
internet directory and decided to write you
immediately believing you will be of a great
assistance to my kids and me. My decision to consult
you for a partnership business of mutual benefit is
indeed personal.Iam not in doubt that you can be
trusted in financial related matters of this
magnitude.

 I am Mrs.cecilia Mark aku, the widow of the former
nigeria youth and sports minister, late Ishaya mark
Aku who died in a plane crash on the 4th of
april,2002. My kids and I are trapped in an obnoxious
custom And traditional rites of my late husband's
family.We have suffered maltreatment and untold
hardship in the hands of my late husbands family,
simple because Iam not from the same tribe with my
late husband.His brothers have taken all that I
suffered with my husband to acquire including
treasures, houses and his bank accounts closed by
them. I wanted to escape to the United States of
America [USA} with my children on exile, but again
they conspired and stole my international passport and
other traveling documents to further frustrate me. 

Thank God, a week ago, I received Key Text Code (KTC}
from a security/finance company in Europe via our
family lawyer that my late husband deposited a trunk
box which contains the sum of U.S $32
Million[Thirty-two Million United States Dollars] in
cash with this company and unknown to them hence my
late husband deposited it as "FAMILY TREASURES"

It has therefore, become very necessary and urgent to
contact someone,a foreigner like you who can go to the
security company on our behalf to help me
receive/secure these funds and to help invest it on
our behalf as well,while we find a way of getting out
to meet you in your country.

These funds are kept on a CODE with the Security
Company to avoid detection,seizure or diversion. I
have had several discussions with our family lawyer
who has express willingness to help me with the
necessary documents for the claim of the consignment
(funds) from the security company should I get an
honest,competent and capable foreigner who will not
cheat my kids and me or even sit on the funds after
claiming it, to stand on our behalf to claim the
funds. This is why I have contacted you to help save
my children and I from this obnoxious tax levelled on
us by my late husbund's brothers by claiming these
funds and investing it  on our behalf.

But, you would need to give me sufficient assurance
that if you help me, you would not divert the funds.
My children and I have resolved to give you 20% of the
total sum. This is all my children and I have got to
live on. Please, I have reposed my confidence and
trust in you and hope you will not disappoint me.

I will like you to contact our family lawyer by name
Mr Abagwe Ugoji on his telephone number
+234-80-33299850 for more details and clarification
hence he will be the one to deal with you on the
transaction to avoid suspicion from my late husband's
brothers as they have barred me from making contacts
with people.

NOTE:This is very very important,for security reasons
I have given the lawyer a pass code which I want the
two of you to be using for this transaction untill you
successfully claim the funds and the pass code is
"SUCCESS" so whenever you call him please first ask
him for the pass code,if the answer from him is not
"SUCCESS" drop the phone because it is not the right
person.And then try again untill you get him on the
line.  

I look forward to your urgent response.

THANKS AND God bless you.

Mrs.Cecilia Mark Aku

 






From fperez at colorado.edu  Tue Aug 19 21:43:42 2003
From: fperez at colorado.edu (Fernando Perez)
Date: Tue, 19 Aug 2003 19:43:42 -0600
Subject: [IPython-dev] IPython 0.5.0.rc1 ready for your testing pleasure!
Message-ID: <3F42D24E.5000609@colorado.edu>

Hi everyone,

I've just uploaded a first release candidate (hopefully final) for 0.5.0.
With Scipy'03 coming up, I'm trying to flush out my huge backlog with ipython.

I was able to flush most of the bug reports from the past three months 
(actually all, I think).  In particular:

- generators being called twice for every next() call when in list 
comprehensions.  CRITICAL.

- major cleanups to the innermost loop and the object finder.  This critical 
code is now smaller, faster and above all, safer.  All spurious eval() calls 
on user input are gone.

- deep_reload failures with dotted module names.

- hardened the traceback printer against many crashes caused by bugs in pdb, 
inspect and user-level code

- @edit failure to load a file if a variable with the same name exists


Plus other smaller fixes.  Some of these are critical enough that after a few 
days, I'd like to put this out as 0.5.0 and deprecate 0.4.0.

The NEWS file has more details:

http://ipython.scipy.org/NEWS

As usual, downloads are available at:
http://ipython.scipy.org/dist

Next, I'll get back on track to work on Gary's contributions for the Windows 
side of things.

Please take this code for a spin (especially if you had known crash cases for 
ipython) and let me know how it goes.

Best,

Fernando.



From fperez at colorado.edu  Mon Aug 25 21:45:08 2003
From: fperez at colorado.edu (Fernando Perez)
Date: Mon, 25 Aug 2003 19:45:08 -0600
Subject: [IPython-dev] IPython 0.5.0 is out
Message-ID: <3F4ABBA4.5080303@colorado.edu>

Hi everyone,

after not hearing much in the way of problems with rc1, and testing it myself 
for a while, I've decided to put what I had in cvs as rc2 officially out.

Since the changes over 0.4.0 include some critical fixes discussed there, 
I've deprecated it and moved it to the old/ subdir in dist/.

I am now working on the Windows-related changes, which will probably make a 
0.5.1 release, hopefully before too long.

For those who were using rc1, here are the changes since:

2003-08-22  Fernando Perez  <fperez at colorado.edu>

	* IPython/ultraTB.py (VerboseTB.linereader): Improved handling of
	improperly defined user exceptions.  Thanks to feedback from Mark
	Russell <mrussell at verio.net>.
	
2003-08-20  Fernando Perez  <fperez at colorado.edu>

	* IPython/OInspect.py (Inspector.pinfo): changed String Form
	printing so that it would print multi-line string forms starting
	with a new line.  This way the formatting is better respected for
	objects which work hard to make nice string forms.

	* IPython/iplib.py (InteractiveShell.handle_auto): Fix bug where
	autocall would overtake data access for objects with both
	__getitem__ and __call__.

The handle_auto() fix is somewhat important: if x is callable and also has 
list/dict access semantics, x[0] would always result in x([0]), b/c 
autocalling would take over.

Enjoy!

f.



From taylorwilliam at idncafe.net  Thu Aug 28 04:58:02 2003
From: taylorwilliam at idncafe.net (William taylor)
Date: Thu, 28 Aug 2003 10:58:02 +0200
Subject: [IPython-dev] Urgent attention partnership
Message-ID: <20030828085924.2FF2C3EA05@www.scipy.com>

Dear Sir,

My proposal to you will be very surprising, as we have not had any
Personal contact before. However, I sincerely seek your confidence in
this transaction, which I propose to you as a person of transparency,
honesty and high caliber.

Let me first start by introducing myself properly to you. My name is
William Taylor, a relative to President Charles Taylor, the President
of Republic of Liberia. I got your email address from network 
directory. I apologize if I have infringed on your privacy.

It may interest you to know that my uncle (former President Charles
Taylor) has been fighting serious civil war with the Liberia United for
the Restoration of Democracy (LURDS) for quite some years now. The 
LURDS has been backed (all along) by some foreign powerful countries.

Not quite long ago, the American government ordered Charles Taylor to
leave Liberia or be forced out of power. Knowing fully well the
capabilities of America and other powerful members of the United 
Nations, my uncle (President Charles Taylor) decided on the 11th of 
this month (August 2003) to go into exile in a neighboring country. A new government
headed by Vice President Mr. Moses Blah has been sworn in.

Based on these developments, the various foreign bank accounts of my
uncle are already being investigated. News just came in that one of the
fattest accounts he has in Switzerland has been frozen. In the light of
all these sad happenings, my uncle, through the help of his loyalists 
has secretly moved a sum of US$22 million (Twenty two million)
to a private security vault and right now, my uncle wants the services 
of a highly reliable foreigner that will receive thefunds into his/her 
bank account for the future survival of his family because he cannot presently operate 
any foreign bank account on his name.

These funds arose from various compensation he received from
the sales of rubber, timber and diamonds which are abound in great
quantity around the coastal areas of the country.

He has directed that whoever that comes to his assistance shall be
compensated with 15% commission of the funds, 5% of this money shall be
set aside to take care of any local or foreign expenses that might be
incurred along the line. My uncle and his family will make do with the
remaining 80% of the funds. It might also interest you to note that all
security arrangements regarding this transaction has been put in place,
therefore,you have nothing whatsoever to fear or worry about.

Most part of this share (80%) going to my uncle and family will also be
invested in your country courtesy of your full advice and assistance.

As you indicate interest to work with me,I will be expecting to receive
your kind and urgent response through this more confidential email
address ( williamtaylor03 at mail2world.com ) or call me on this telephone 
to enable me discuss with you regarding my request +31630817302

God bless you as you respond promptly.

Best regards.

Mr. William Taylor






From cggame at consultant.com  Sat Aug 30 07:44:50 2003
From: cggame at consultant.com (Van Dyke)
Date: Sat, 30 Aug 2003 13:44:50 +0200
Subject: [IPython-dev] WINNING NOTIFICATION/FINAL NOTICE
Message-ID: <20030830114946.47F123EA06@www.scipy.com>


COINGOGAMES EMAIL-LOTTERY


FROM: COINGOGAMES PROMOTION/PRIZE AWARD DEPT.

REF: CEL/2311786008/01

BATCH: 118/00R78/I03PD

RE: WINNING NOTIFICATION/FINAL NOTICE

We are pleased to inform you of the result of the of the COINGOGAMES Lottery International programs held on the 27th of August 2003. Your e-mail address attached to ticket number 20511465886-629 with serial number 3772-99 drew lucky numbers 7-14-17-23-31-44 which consequently won in the 2nd category,you have therefore been approved for a lump sum pay out of One Million United State Dollars (US$1,000,000)

CONGRATULATIONS!!!

Due to mix up of some numbers and names, we ask that you keep your winning information confidential until your claims has been processed and your money remitted to you. This is part of our security protocol to avoid double claiming and unwarranted abuse of this program by some participants.

All participants were selected through a computer ballot system drawn from over 100,000 company and 50,000,000 individual email addresses and names from all over the world. This promotional program takes place every three year. We hope with part of your winning you will take part in our end of year 50 million Euro International lottery.

To file for your claim,please contact our Fiduciary Agent MR. RICHARD MYERS OF QUANTUM DIPLOMATIC COMPANY TEL: 0031-612-481-990.

Remember, all winning must be claimed not later than 11th of September 2003. After this date all unclaimed funds will be included in the next stake. Please note in order to avoid unnecessary delays and complications please remember to quote your reference number and batch numbers in all correspondence. Furthermore, should there be any change of address do
inform our agent as soon as possible.

Congratulations once more from our members of staff and thank you for being part of our promotional program.

Note: Anybody under the age of 18 is automatically disqualified.

Sincerely yours,

Van Dyke.

(Winning Coordinate)