Issue654863
Created on 2002-12-16.21:33:03 by xihr, last changed 2003-07-11.22:11:35 by pedronis.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2002-12-16 21:33:03 | xihr | create | |
Created on 2002-12-16.21:33:03 by xihr, last changed 2003-07-11.22:11:35 by pedronis.
| Messages | |||
|---|---|---|---|
| msg804 (view) | Author: Erik Max Francis (xihr) | Date: 2002-12-16.21:33:03 | |
string.split behaves subtly differently than in CPython: max@oxygen:~% python2.1 # 2.1.1 is the closest I have to Jython's 2.1 Python 2.1.1 (#6, Sep 2 2001, 10:26:49) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2 Type "copyright", "credits" or "license" for more information. >>> 'a '.split(None, 1) ['a'] max@oxygen:~% jython Jython 2.1 on java1.3.0 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> 'a '.split(None, 1) ['a', ''] Note that the string that's being split is 'a ', not 'a'. I'm encountering this problem with Jython 2.1 on my Slackware 8.0 Linux system (kernel 2.4.x), with Blackdown's 1.3.0 JRE. |
|||
| msg805 (view) | Author: Samuele Pedroni (pedronis) | Date: 2003-07-11.22:11:35 | |
Logged In: YES user_id=61408 fixed in PyString.java,2.61 regr tests in bugtests\test029.py,1.2 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2002-12-16 21:33:03 | xihr | create | |
Supported by Python Software Foundation,
Powered by Roundup