[issue1208304] urllib2's urlopen() method causes a memory leak

2009-06-03 Thread BULOT
BULOT steph...@bulot.org added the comment: Hello, I'm facing a urllib2 memory leak issue in one of my scripts that is not threaded. I made a few tests in order to check what was going on and I found this already existing bug thread (but old). I'm not able to figure out what is the issue yet

pytemplate: template for python developers

2009-02-24 Thread Stephane Bulot
Hello, I'm pleased to announce the new release (1.5) of pytemplate project, major step in its young life. pytemplate project is a framework helping python developers at starting their program with a lightweight template, managing basic options like configuration file, logging, daemon

Re: Python / Debian package dependencies

2008-11-21 Thread Stephane Bulot
I'm not familiar with stdeb, but dpkg-buildpackage needs a file called control. This is this file that will be used to generate deb archive with the good dependancies. Into this file, there are two fields, Build-Depends and Depends, that give to dpkg-buildpackage what are the package dependancies.

Re: Python / Debian package dependencies

2008-11-21 Thread Stephane Bulot
/listinfo/distutils-sig. I'll try there. Thanks for your help! Cheers, Steve Stephane Bulot schrieb: I'm not familiar with stdeb, but dpkg-buildpackage needs a file called control. This is this file that will be used to generate deb archive with the good dependancies. Into this file

Re: Python / Debian package dependencies

2008-11-20 Thread Stephane Bulot
Hi Steven, This is a normal behaviour for dpkg. If there is a failing dependancy, dpkg will not install dependancies, it will notify only and will not install the package. Dependancies installations are managed by the front-end to dpkg (aptitude or apt). This is not a python issue that you are

python template: may help at starting a new script

2008-11-19 Thread Stephane Bulot
Hello, I've created a python script template that I've been using for a while, but that I improved recently. This script is a class that you can inherit into your main class. In the source package, you have a main template, a thread template, and two example files. If you are interested in this

[issue1294] Management of KeyboardInterrupt in cmd.py

2007-10-20 Thread BULOT
BULOT added the comment: Well, I made it with a diff -ruN, it works fine on my ubuntu. It is only a ctrl-C management only, not a ctrl-D. What do you mean by broken? Regards. Stephbul 2007/10/19, Guido van Rossum [EMAIL PROTECTED]: Guido van Rossum added the comment: Hmm... I don't think

[issue1294] Management of KeyboardInterrupt in cmd.py

2007-10-19 Thread BULOT
BULOT added the comment: Hello, Here is my patch for cmd.py Regards stephbul Added file: http://bugs.python.org/file8566/cmd.py.keyboardinterrupt.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1294 __--- backuo

[issue1294] Management of KeyboardInterrupt in cmd.py

2007-10-18 Thread BULOT
New submission from BULOT: According to me, the Ctrl-C is not managed correctly in cmd.py. Ctrl-C generates a a KeyboardInterrupt exceptions, and only EOFError is managed. I propose to manage KeyboardInterrupt on line 130: print 'are you sure you want to exit? y/n