• Raymond Hettinger's avatar
    Improve DictMixin. · 8ddc176e
    Raymond Hettinger yazdı
    Replaced docstring with comments.  Prevents subclass contamination.
    Added the missing __cmp__() method and a test for __cmp__().
    Used try/except style in preference to has_key() followed by a look-up.
    Used iteritem() where possible to save creating a long key list and
       to save redundant lookups.
    Expanded .update() to look for the most helpful methods first and gradually
       work down to a mininum expected interface.
    Expanded documentation to be more clear on how to use the class.
    8ddc176e
Adı
Son kayıt (commit)
Son güncelleme
..
output Loading commit data...
README Loading commit data...
__init__.py Loading commit data...
audiotest.au Loading commit data...
autotest.py Loading commit data...
badsyntax_future3.py Loading commit data...
badsyntax_future4.py Loading commit data...
badsyntax_future5.py Loading commit data...
badsyntax_future6.py Loading commit data...
badsyntax_future7.py Loading commit data...
badsyntax_nocaret.py Loading commit data...
double_const.py Loading commit data...
greyrgb.uue Loading commit data...
pickletester.py Loading commit data...
pydocfodder.py Loading commit data...
pystone.py Loading commit data...
re_tests.py Loading commit data...
regex_tests.py Loading commit data...
regrtest.py Loading commit data...
reperf.py Loading commit data...
sortperf.py Loading commit data...
string_tests.py Loading commit data...
test.xml Loading commit data...
test.xml.out Loading commit data...
test_MimeWriter.py Loading commit data...
test_StringIO.py Loading commit data...
test___all__.py Loading commit data...
test___future__.py Loading commit data...
test_al.py Loading commit data...
test_anydbm.py Loading commit data...
test_array.py Loading commit data...
test_asynchat.py Loading commit data...
test_atexit.py Loading commit data...
test_audioop.py Loading commit data...
test_augassign.py Loading commit data...
test_b1.py Loading commit data...
test_b2.py Loading commit data...
test_base64.py Loading commit data...
test_bastion.py Loading commit data...
test_binascii.py Loading commit data...
test_binhex.py Loading commit data...
test_binop.py Loading commit data...
test_bisect.py Loading commit data...
test_bool.py Loading commit data...
test_bsddb.py Loading commit data...
test_bufio.py Loading commit data...
test_builtin.py Loading commit data...
test_bz2.py Loading commit data...
test_calendar.py Loading commit data...
test_call.py Loading commit data...
test_capi.py Loading commit data...
test_cd.py Loading commit data...
test_cfgparser.py Loading commit data...
test_cgi.py Loading commit data...
test_charmapcodec.py Loading commit data...
test_cl.py Loading commit data...
test_class.py Loading commit data...
test_cmath.py Loading commit data...
test_codeccallbacks.py Loading commit data...
test_codecs.py Loading commit data...
test_codeop.py Loading commit data...
test_coercion.py Loading commit data...
test_commands.py Loading commit data...
test_compare.py Loading commit data...
test_compile.py Loading commit data...
test_complex.py Loading commit data...
test_contains.py Loading commit data...
test_cookie.py Loading commit data...
test_copy_reg.py Loading commit data...
test_cpickle.py Loading commit data...
test_crypt.py Loading commit data...
test_curses.py Loading commit data...
test_dbm.py Loading commit data...
test_descr.py Loading commit data...
test_descrtut.py Loading commit data...
test_difflib.py Loading commit data...
test_dircache.py Loading commit data...
test_dl.py Loading commit data...
test_doctest.py Loading commit data...
test_doctest2.py Loading commit data...
test_dumbdbm.py Loading commit data...
test_email.py Loading commit data...
test_email_codecs.py Loading commit data...
test_enumerate.py Loading commit data...
test_eof.py Loading commit data...
test_errno.py Loading commit data...
test_exceptions.py Loading commit data...
test_extcall.py Loading commit data...
test_fcntl.py Loading commit data...
test_file.py Loading commit data...
test_fileinput.py Loading commit data...
test_fnmatch.py Loading commit data...
test_fork1.py Loading commit data...
test_format.py Loading commit data...
test_fpformat.py Loading commit data...
test_frozen.py Loading commit data...
test_funcattrs.py Loading commit data...
test_future.py Loading commit data...
test_future1.py Loading commit data...
test_future2.py Loading commit data...
test_future3.py Loading commit data...
test_gc.py Loading commit data...
test_gdbm.py Loading commit data...
test_generators.py Loading commit data...
test_getargs.py Loading commit data...
test_getopt.py Loading commit data...
test_gettext.py Loading commit data...
test_gl.py Loading commit data...
test_glob.py Loading commit data...
test_global.py Loading commit data...
test_grammar.py Loading commit data...
test_grp.py Loading commit data...
test_gzip.py Loading commit data...
test_hash.py Loading commit data...
test_heapq.py Loading commit data...
test_hmac.py Loading commit data...
test_hotshot.py Loading commit data...
test_htmllib.py Loading commit data...
test_htmlparser.py Loading commit data...
test_httplib.py Loading commit data...
test_imageop.py Loading commit data...
test_imaplib.py Loading commit data...
test_imgfile.py Loading commit data...
test_import.py Loading commit data...
test_inspect.py Loading commit data...
test_isinstance.py Loading commit data...
test_iter.py Loading commit data...
test_largefile.py Loading commit data...
test_linuxaudiodev.py Loading commit data...
test_locale.py Loading commit data...
test_long.py Loading commit data...
test_long_future.py Loading commit data...
test_longexp.py Loading commit data...
test_mailbox.py Loading commit data...
test_marshal.py Loading commit data...
test_math.py Loading commit data...
test_md5.py Loading commit data...
test_mhlib.py Loading commit data...
test_mimetools.py Loading commit data...
test_mimetypes.py Loading commit data...
test_minidom.py Loading commit data...
test_mmap.py Loading commit data...
test_module.py Loading commit data...
test_mpz.py Loading commit data...
test_multifile.py Loading commit data...
test_mutants.py Loading commit data...
test_netrc.py Loading commit data...
test_new.py Loading commit data...
test_nis.py Loading commit data...
test_ntpath.py Loading commit data...
test_opcodes.py Loading commit data...
test_openpty.py Loading commit data...
test_operations.py Loading commit data...
test_operator.py Loading commit data...
test_os.py Loading commit data...
test_parser.py Loading commit data...
test_pep247.py Loading commit data...
test_pep263.py Loading commit data...
test_pep277.py Loading commit data...
test_pickle.py Loading commit data...
test_pkg.py Loading commit data...
test_pkgimport.py Loading commit data...
test_poll.py Loading commit data...
test_popen.py Loading commit data...
test_popen2.py Loading commit data...
test_posixpath.py Loading commit data...
test_pow.py Loading commit data...
test_pprint.py Loading commit data...
test_profile.py Loading commit data...
test_profilehooks.py Loading commit data...
test_pty.py Loading commit data...
test_pwd.py Loading commit data...
test_pyclbr.py Loading commit data...
test_pyexpat.py Loading commit data...
test_queue.py Loading commit data...
test_quopri.py Loading commit data...
test_random.py Loading commit data...
test_re.py Loading commit data...
test_regex.py Loading commit data...
test_repr.py Loading commit data...
test_resource.py Loading commit data...
test_rfc822.py Loading commit data...
test_rgbimg.py Loading commit data...
test_richcmp.py Loading commit data...
test_robotparser.py Loading commit data...
test_rotor.py Loading commit data...
test_sax.py Loading commit data...
test_scope.py Loading commit data...
test_select.py Loading commit data...
test_sets.py Loading commit data...
test_sgmllib.py Loading commit data...
test_sha.py Loading commit data...
test_signal.py Loading commit data...
test_slice.py Loading commit data...
test_socket.py Loading commit data...
test_socket_ssl.py Loading commit data...
test_socketserver.py Loading commit data...
test_softspace.py Loading commit data...
test_sort.py Loading commit data...
test_sre.py Loading commit data...
test_strftime.py Loading commit data...
test_string.py Loading commit data...
test_strop.py Loading commit data...
test_strptime.py Loading commit data...
test_struct.py Loading commit data...
test_structseq.py Loading commit data...
test_sunaudiodev.py Loading commit data...
test_sundry.py Loading commit data...
test_support.py Loading commit data...
test_symtable.py Loading commit data...
test_syntax.py Loading commit data...
test_tempfile.py Loading commit data...
test_textwrap.py Loading commit data...
test_thread.py Loading commit data...
test_threaded_import.py Loading commit data...
test_threadedtempfile.py Loading commit data...
test_threading.py Loading commit data...
test_time.py Loading commit data...
test_timeout.py Loading commit data...
test_timing.py Loading commit data...
test_tokenize.py Loading commit data...
test_trace.py Loading commit data...
test_traceback.py Loading commit data...
test_types.py Loading commit data...
test_ucn.py Loading commit data...
test_unary.py Loading commit data...
test_unicode.py Loading commit data...
test_unicode_file.py Loading commit data...
test_unicodedata.py Loading commit data...
test_univnewlines.py Loading commit data...
test_unpack.py Loading commit data...
test_urllib.py Loading commit data...
test_urllib2.py Loading commit data...
test_urlparse.py Loading commit data...
test_userdict.py Loading commit data...
test_userlist.py Loading commit data...
test_userstring.py Loading commit data...
test_uu.py Loading commit data...
test_wave.py Loading commit data...
test_weakref.py Loading commit data...
test_whichdb.py Loading commit data...
test_winreg.py Loading commit data...
test_winsound.py Loading commit data...
test_xmllib.py Loading commit data...
test_xmlrpc.py Loading commit data...
test_xreadline.py Loading commit data...
test_zipfile.py Loading commit data...
test_zlib.py Loading commit data...
testall.py Loading commit data...
testcodec.py Loading commit data...
testimg.uue Loading commit data...
testimgr.uue Loading commit data...
testrgb.uue Loading commit data...
tf_inherit_check.py Loading commit data...
tokenize_tests.py Loading commit data...
xmltests.py Loading commit data...