Re: "Deprecated sets module" with Python 2.6

2009-07-29 Thread Giampaolo Rodola'
What about this? import warnings warnings.simplefilter('ignore', DeprecationWarning) import the_module_causing_the_warning warnings.resetwarnings() --- Giampaolo http://code.google.com/p/pyftpdlib http://code.google.com/p/psutil -- http://mail.python.org/mailman/listinfo/python-list

Re: "Deprecated sets module" with Python 2.6

2009-07-29 Thread Virgil Stokes
Virgil Stokes wrote: Diez B. Roggisch wrote: Virgil Stokes schrieb: I would appreciate help on correcting a problem when trying to create an *.exe file using py2exe via GUI2exe with Python 2.6.2. When using GUI2exe to create an *.exe I always get the following warning during the compile proc

Re: "Deprecated sets module" with Python 2.6

2009-07-29 Thread Virgil Stokes
Diez B. Roggisch wrote: Virgil Stokes schrieb: I would appreciate help on correcting a problem when trying to create an *.exe file using py2exe via GUI2exe with Python 2.6.2. When using GUI2exe to create an *.exe I always get the following warning during the compile process: C:\Python26\lib

Re: "Deprecated sets module" with Python 2.6

2009-07-28 Thread Gabriel Genellina
En Tue, 28 Jul 2009 17:28:09 -0300, Virgil Stokes escribió: I would appreciate help on correcting a problem when trying to create an *.exe file using py2exe via GUI2exe with Python 2.6.2. When using GUI2exe to create an *.exe I always get the following warning during the compile process:

Re: "Deprecated sets module" with Python 2.6

2009-07-28 Thread Steven D'Aprano
On Tue, 28 Jul 2009 22:28:09 +0200, Virgil Stokes wrote: > When using GUI2exe to create an *.exe I always get the following warning > during the compile process: > > C:\Python26\lib\site-packages\py2exe\build_exe.py:16: > DeprecationWarning: the sets module is deprecated > import sets The be

Re: "Deprecated sets module" with Python 2.6

2009-07-28 Thread Diez B. Roggisch
Virgil Stokes schrieb: I would appreciate help on correcting a problem when trying to create an *.exe file using py2exe via GUI2exe with Python 2.6.2. When using GUI2exe to create an *.exe I always get the following warning during the compile process: C:\Python26\lib\site-packages\py2exe\bui

Re: "Deprecated sets module" with Python 2.6

2009-07-28 Thread MRAB
Virgil Stokes wrote: I would appreciate help on correcting a problem when trying to create an *.exe file using py2exe via GUI2exe with Python 2.6.2. When using GUI2exe to create an *.exe I always get the following warning during the compile process: C:\Python26\lib\site-packages\py2exe\build