[issue1761] Bug in re.sub()

2008-01-08 Thread Ravon Jean-Michel

New submission from Ravon Jean-Michel:

Here is my source:
def truc ():
line = ' hi \n'
line1 = re.sub('$', 'hello', line)
line2 = re.sub('$', 'you', line1)
print line2

Here is what I get:

>>> trace.truc()
 hi hello
helloyou
>>>

--
components: Regular Expressions
messages: 59526
nosy: jmravon
severity: normal
status: open
title: Bug in re.sub()
type: behavior
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1761>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1457] Cannot write an array in a file opened in r+b mode.

2009-09-07 Thread Ravon Jean-Michel

Ravon Jean-Michel  added the comment:

It works in python 2.5. Why not in jython?

--
nosy: +jmravon
title: IDLE - configDialog - new layout for key config -> Cannot write an array 
in a file opened in r+b mode.

___
Python tracker 
<http://bugs.python.org/issue1457>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com