[issue14892] 'import readline' hangs when launching with '' on BSD and OS X

2012-10-22 Thread olivier-mattelaer

olivier-mattelaer added the comment:

Thanks a lot Ronald.

Cheers,

Olivier

--
status: pending - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14892
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14892] 'import readline' fails when launching with ''

2012-05-23 Thread olivier-mattelaer

New submission from olivier-mattelaer olivier.mattel...@uclouvain.be:

Hi Everyone, 

I have found a strange behavior of the import command for the routine readline:

The commands (put in the file test.py) is simply:
import readline
print readline.__doc__

If I run this programs normally (i.e. python2.x test.py) everything runs 
normally:
[tmp]$ python2.7 tmp.py 
Importing this module enables command line editing using GNU readline.

But if I launched it in the following way:
python2.X test.py 
It's stops before finishing the import command (so no output even if I print 
the output into a file). 
This doesn't raise any error just stop the program.

I tried to add a try...except...finally... but even the finally statement is 
not executed.

Of course, I realize that readline is not that interesting to load with that 
options. So I would be more than happy if you could indicate me a way to either 
detect that the user launch the program with '' or a way to avoid readline to 
stop the program in this situations.

Thanks a lot,

Olivier

--
assignee: ronaldoussoren
components: Macintosh
messages: 161450
nosy: olivier-mattelaer, ronaldoussoren
priority: normal
severity: normal
status: open
title: 'import readline' fails when launching with ''
type: crash
versions: Python 2.6, Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14892
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8620] wrong truncation of last line in cmd.Cmd

2010-08-02 Thread Mattelaer

Mattelaer olivier.mattel...@uclouvain.be added the comment:

Thanks a lot for the fix.
On 02-août-10, at 01:58, R. David Murray wrote:


 R. David Murray rdmur...@bitdance.com added the comment:

 Thanks, Éric. Fixed.

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue8620
 ___

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8620
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8620] wrong truncation of line in Cmd.cmd

2010-05-05 Thread Mattelaer

New submission from Mattelaer olivier.mattel...@uclouvain.be:

When using the Cmd module on a file. 
it happens that the last line is truncated from the last caracther.

The problem is simply that it can happen that the last line doesn't finish by 
'\n' charcacter. In consequence the line which is suppose to suppress the '\n' 
suppress another character.

Cheers,

Olivier

--
components: None
messages: 105012
nosy: omatt
priority: normal
severity: normal
status: open
title: wrong truncation of line in Cmd.cmd
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8620
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7053] wrong overload of slot wrapper

2009-10-04 Thread Mattelaer

New submission from Mattelaer olivier.mattel...@uclouvain.be:

wrong redirection of slot wrapper:

class.__iter__=list.__iter__
doesn't work. (the __iter__ still refer to the one define in class)

The file in attachment shows an example of this problem

--
components: None
files: test.py
messages: 93522
nosy: omatt
severity: normal
status: open
title: wrong overload of slot wrapper
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15034/test.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7053
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com