From: <no...@so...> - 2002-02-25 18:12:15
|
Bugs item #522558, was opened at 2002-02-25 10:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dinu C. Gherman (dinu_gherman) Assigned to: Nobody/Anonymous (nobody) Summary: list() is broken Initial Comment: ### ### list() in CPython ### [localhost:~] dinu% python Python 2.2 (#1, Feb 13 2002, 11:18:45) [GCC 2.95.2 19991024 (release)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected, same on CPython 2.1 ### ### list() in Jython ### [localhost:~] dinu% jython Jython 2.1 on java1.3.1 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [4, 1, 2, 3] ### unexpected >>> >>> >>> import copy >>> L = [1, 2, 3] >>> L3 = copy.copy(L) # instead of list() (use only for this snippet) >>> L3.insert(0, 4) >>> L3 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 |
From: <no...@so...> - 2002-03-11 13:21:52
|
Bugs item #522558, was opened at 2002-02-25 18:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dinu C. Gherman (dinu_gherman) >Assigned to: Finn Bock (bckfnn) Summary: list() is broken Initial Comment: ### ### list() in CPython ### [localhost:~] dinu% python Python 2.2 (#1, Feb 13 2002, 11:18:45) [GCC 2.95.2 19991024 (release)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected, same on CPython 2.1 ### ### list() in Jython ### [localhost:~] dinu% jython Jython 2.1 on java1.3.1 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [4, 1, 2, 3] ### unexpected >>> >>> >>> import copy >>> L = [1, 2, 3] >>> L3 = copy.copy(L) # instead of list() (use only for this snippet) >>> L3.insert(0, 4) >>> L3 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected ---------------------------------------------------------------------- >Comment By: Finn Bock (bckfnn) Date: 2002-03-11 13:21 Message: Logged In: YES user_id=4201 Added as test355 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 |
From: <no...@so...> - 2002-03-11 13:23:39
|
Bugs item #522558, was opened at 2002-02-25 18:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 Category: Core >Group: Fixed in next release >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Dinu C. Gherman (dinu_gherman) Assigned to: Finn Bock (bckfnn) Summary: list() is broken Initial Comment: ### ### list() in CPython ### [localhost:~] dinu% python Python 2.2 (#1, Feb 13 2002, 11:18:45) [GCC 2.95.2 19991024 (release)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected, same on CPython 2.1 ### ### list() in Jython ### [localhost:~] dinu% jython Jython 2.1 on java1.3.1 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [4, 1, 2, 3] ### unexpected >>> >>> >>> import copy >>> L = [1, 2, 3] >>> L3 = copy.copy(L) # instead of list() (use only for this snippet) >>> L3.insert(0, 4) >>> L3 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected ---------------------------------------------------------------------- >Comment By: Finn Bock (bckfnn) Date: 2002-03-11 13:23 Message: Logged In: YES user_id=4201 Fixed in __builtin__.java: 2.43; ---------------------------------------------------------------------- Comment By: Finn Bock (bckfnn) Date: 2002-03-11 13:21 Message: Logged In: YES user_id=4201 Added as test355 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 |
From: SourceForge.net <no...@so...> - 2003-07-31 18:54:11
|
Bugs item #522558, was opened at 2002-02-25 18:12 Message generated for change (Settings changed) made by pedronis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 Category: Core >Group: Fixed in 2.2a0 Status: Closed Resolution: Fixed Priority: 5 Submitted By: Dinu C. Gherman (dinu_gherman) Assigned to: Finn Bock (bckfnn) Summary: list() is broken Initial Comment: ### ### list() in CPython ### [localhost:~] dinu% python Python 2.2 (#1, Feb 13 2002, 11:18:45) [GCC 2.95.2 19991024 (release)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected, same on CPython 2.1 ### ### list() in Jython ### [localhost:~] dinu% jython Jython 2.1 on java1.3.1 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> >>> L = [1, 2, 3] >>> L2 = list(L) >>> L2 [1, 2, 3] >>> L2.insert(0, 4) >>> L2 [4, 1, 2, 3] >>> L [4, 1, 2, 3] ### unexpected >>> >>> >>> import copy >>> L = [1, 2, 3] >>> L3 = copy.copy(L) # instead of list() (use only for this snippet) >>> L3.insert(0, 4) >>> L3 [4, 1, 2, 3] >>> L [1, 2, 3] ### as expected ---------------------------------------------------------------------- Comment By: Finn Bock (bckfnn) Date: 2002-03-11 13:23 Message: Logged In: YES user_id=4201 Fixed in __builtin__.java: 2.43; ---------------------------------------------------------------------- Comment By: Finn Bock (bckfnn) Date: 2002-03-11 13:21 Message: Logged In: YES user_id=4201 Added as test355 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=522558&group_id=12867 |