• Guido van Rossum's avatar
    SF patch #523169, by Samuele Pedroni. · 06ee2531
    Guido van Rossum yazdı
    There were never tests for the fact that list() always returns a *new*
    list object, even when the argument is a list, while tuple() may
    return a reference to the argument when it is a tuple.  Now there are.
    06ee2531
test_builtin 361 Bytes
test_builtin
4. Built-in functions
test_b1
__import__
abs
apply
callable
chr
cmp
coerce
compile
complex
delattr
dir
divmod
eval
execfile
filter
float
getattr
hasattr
hash
hex
id
int
isinstance
issubclass
len
list
long
map
max
min
test_b2
oct
open
ord
pow
range
input and raw_input
testing
testing
reduce
reload
repr
round
setattr
str
tuple
type
vars
xrange
zip