olivier-mattelaer added the comment:
Thanks a lot Ronald.
Cheers,
Olivier
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issu
New submission from olivier-mattelaer :
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)
Mattelaer added the comment:
Thanks a lot for the fix.
On 02-août-10, at 01:58, R. David Murray wrote:
>
> R. David Murray added the comment:
>
> Thanks, Éric. Fixed.
>
> --
>
> ___
> Python tracker
> <
New submission from Mattelaer :
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 s
New submission from Mattelaer :
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: