]> granicus.if.org Git - python/commit
Fix most trivially-findable print statements.
authorGuido van Rossum <guido@python.org>
Fri, 9 Feb 2007 05:37:30 +0000 (05:37 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 9 Feb 2007 05:37:30 +0000 (05:37 +0000)
commitbe19ed77ddb047e02fe94d142181062af6d99dcc
tree70f214e06554046fcccbadeb78665f25e07ce965
parent452bf519a70c3db0e7f0d2540b1bfb07d9085583
Fix most trivially-findable print statements.

There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.

(Oh, and I don't know if the compiler package works.)
331 files changed:
Lib/BaseHTTPServer.py
Lib/Bastion.py
Lib/Cookie.py
Lib/DocXMLRPCServer.py
Lib/SimpleXMLRPCServer.py
Lib/SocketServer.py
Lib/StringIO.py
Lib/aifc.py
Lib/asyncore.py
Lib/atexit.py
Lib/audiodev.py
Lib/base64.py
Lib/bdb.py
Lib/bsddb/dbtables.py
Lib/bsddb/test/test_all.py
Lib/bsddb/test/test_associate.py
Lib/bsddb/test/test_basics.py
Lib/bsddb/test/test_compat.py
Lib/bsddb/test/test_dbshelve.py
Lib/bsddb/test/test_dbtables.py
Lib/bsddb/test/test_join.py
Lib/bsddb/test/test_lock.py
Lib/bsddb/test/test_queue.py
Lib/bsddb/test/test_recno.py
Lib/bsddb/test/test_thread.py
Lib/cProfile.py
Lib/calendar.py
Lib/cgi.py
Lib/code.py
Lib/compileall.py
Lib/compiler/future.py
Lib/compiler/pyassem.py
Lib/compiler/pycodegen.py
Lib/compiler/symbols.py
Lib/compiler/syntax.py
Lib/compiler/transformer.py
Lib/compiler/visitor.py
Lib/copy.py
Lib/ctypes/test/__init__.py
Lib/ctypes/test/test_byteswap.py
Lib/ctypes/test/test_find.py
Lib/ctypes/test/test_keeprefs.py
Lib/ctypes/test/test_loading.py
Lib/ctypes/test/test_numbers.py
Lib/ctypes/test/test_strings.py
Lib/ctypes/util.py
Lib/curses/has_key.py
Lib/curses/textpad.py
Lib/difflib.py
Lib/dis.py
Lib/distutils/bcppcompiler.py
Lib/distutils/ccompiler.py
Lib/distutils/cmd.py
Lib/distutils/command/bdist_rpm.py
Lib/distutils/command/config.py
Lib/distutils/command/install.py
Lib/distutils/command/register.py
Lib/distutils/command/upload.py
Lib/distutils/core.py
Lib/distutils/dist.py
Lib/distutils/fancy_getopt.py
Lib/distutils/filelist.py
Lib/distutils/log.py
Lib/distutils/mwerkscompiler.py
Lib/distutils/spawn.py
Lib/distutils/tests/test_dist.py
Lib/distutils/text_file.py
Lib/doctest.py
Lib/email/generator.py
Lib/email/iterators.py
Lib/email/test/test_email.py
Lib/email/test/test_email_renamed.py
Lib/filecmp.py
Lib/fileinput.py
Lib/formatter.py
Lib/fpformat.py
Lib/ftplib.py
Lib/getopt.py
Lib/getpass.py
Lib/gopherlib.py
Lib/gzip.py
Lib/heapq.py
Lib/hotshot/log.py
Lib/hotshot/stones.py
Lib/htmllib.py
Lib/httplib.py
Lib/idlelib/CallTips.py
Lib/idlelib/ColorDelegator.py
Lib/idlelib/Delegator.py
Lib/idlelib/EditorWindow.py
Lib/idlelib/FileList.py
Lib/idlelib/GrepDialog.py
Lib/idlelib/MultiCall.py
Lib/idlelib/Percolator.py
Lib/idlelib/PyShell.py
Lib/idlelib/ScrolledList.py
Lib/idlelib/UndoDelegator.py
Lib/idlelib/WidgetRedirector.py
Lib/idlelib/WindowList.py
Lib/idlelib/configHandler.py
Lib/idlelib/configHelpSourceEdit.py
Lib/idlelib/configSectionNameDialog.py
Lib/idlelib/keybindingDialog.py
Lib/idlelib/rpc.py
Lib/idlelib/run.py
Lib/ihooks.py
Lib/imaplib.py
Lib/imghdr.py
Lib/imputil.py
Lib/lib-tk/Dialog.py
Lib/lib-tk/FileDialog.py
Lib/lib-tk/SimpleDialog.py
Lib/lib-tk/Tkinter.py
Lib/lib-tk/tkColorChooser.py
Lib/lib-tk/tkFileDialog.py
Lib/lib-tk/tkFont.py
Lib/lib-tk/tkMessageBox.py
Lib/lib-tk/tkSimpleDialog.py
Lib/locale.py
Lib/logging/handlers.py
Lib/macurl2path.py
Lib/mailcap.py
Lib/mhlib.py
Lib/mimetypes.py
Lib/mimify.py
Lib/modulefinder.py
Lib/msilib/__init__.py
Lib/netrc.py
Lib/nntplib.py
Lib/optparse.py
Lib/pdb.py
Lib/pickletools.py
Lib/pipes.py
Lib/plat-irix5/cddb.py
Lib/plat-irix5/cdplayer.py
Lib/plat-irix5/flp.py
Lib/plat-irix5/panel.py
Lib/plat-irix6/cddb.py
Lib/plat-irix6/cdplayer.py
Lib/plat-irix6/flp.py
Lib/plat-irix6/panel.py
Lib/plat-mac/Audio_mac.py
Lib/plat-mac/EasyDialogs.py
Lib/plat-mac/FrameWork.py
Lib/plat-mac/MiniAEFrame.py
Lib/plat-mac/aetools.py
Lib/plat-mac/applesingle.py
Lib/plat-mac/argvemulator.py
Lib/plat-mac/bundlebuilder.py
Lib/plat-mac/findertools.py
Lib/plat-mac/gensuitemodule.py
Lib/plat-mac/ic.py
Lib/plat-mac/macresource.py
Lib/plat-mac/pimp.py
Lib/plat-mac/videoreader.py
Lib/plat-os2emx/_emx_link.py
Lib/plat-riscos/rourl2path.py
Lib/platform.py
Lib/popen2.py
Lib/poplib.py
Lib/pprint.py
Lib/profile.py
Lib/pstats.py
Lib/pyclbr.py
Lib/pydoc.py
Lib/quopri.py
Lib/random.py
Lib/rexec.py
Lib/rfc822.py
Lib/robotparser.py
Lib/runpy.py
Lib/sgmllib.py
Lib/shlex.py
Lib/site.py
Lib/smtpd.py
Lib/smtplib.py
Lib/sndhdr.py
Lib/sqlite3/test/dbapi.py
Lib/sre_constants.py
Lib/sre_parse.py
Lib/subprocess.py
Lib/sunaudio.py
Lib/symtable.py
Lib/tabnanny.py
Lib/tarfile.py
Lib/telnetlib.py
Lib/test/badsyntax_future8.py
Lib/test/badsyntax_future9.py
Lib/test/crashers/bogus_sre_bytecode.py
Lib/test/crashers/borrowed_ref_1.py
Lib/test/crashers/borrowed_ref_2.py
Lib/test/crashers/gc_inspection.py
Lib/test/crashers/loosing_mro_ref.py
Lib/test/crashers/modify_dict_attr.py
Lib/test/crashers/nasty_eq_vs_dict.py
Lib/test/inspect_fodder2.py
Lib/test/list_tests.py
Lib/test/pydocfodder.py
Lib/test/pystone.py
Lib/test/regrtest.py
Lib/test/reperf.py
Lib/test/sortperf.py
Lib/test/test_al.py
Lib/test/test_array.py
Lib/test/test_ast.py
Lib/test/test_atexit.py
Lib/test/test_audioop.py
Lib/test/test_bisect.py
Lib/test/test_bool.py
Lib/test/test_bsddb.py
Lib/test/test_bsddb3.py
Lib/test/test_builtin.py
Lib/test/test_capi.py
Lib/test/test_cd.py
Lib/test/test_cl.py
Lib/test/test_class.py
Lib/test/test_cmath.py
Lib/test/test_code.py
Lib/test/test_codecs.py
Lib/test/test_compiler.py
Lib/test/test_complex.py
Lib/test/test_crypt.py
Lib/test/test_csv.py
Lib/test/test_curses.py
Lib/test/test_datetime.py
Lib/test/test_dbm.py
Lib/test/test_decimal.py
Lib/test/test_defaultdict.py
Lib/test/test_deque.py
Lib/test/test_descr.py
Lib/test/test_dis.py
Lib/test/test_dl.py
Lib/test/test_doctest.py
Lib/test/test_dummy_thread.py
Lib/test/test_dummy_threading.py
Lib/test/test_enumerate.py
Lib/test/test_errno.py
Lib/test/test_extcall.py
Lib/test/test_fcntl.py
Lib/test/test_file.py
Lib/test/test_fileinput.py
Lib/test/test_format.py
Lib/test/test_funcattrs.py
Lib/test/test_functools.py
Lib/test/test_gc.py
Lib/test/test_gdbm.py
Lib/test/test_generators.py
Lib/test/test_genexps.py
Lib/test/test_getopt.py
Lib/test/test_gl.py
Lib/test/test_grammar.py
Lib/test/test_heapq.py
Lib/test/test_imageop.py
Lib/test/test_imgfile.py
Lib/test/test_import.py
Lib/test/test_itertools.py
Lib/test/test_largefile.py
Lib/test/test_linuxaudiodev.py
Lib/test/test_list.py
Lib/test/test_locale.py
Lib/test/test_long_future.py
Lib/test/test_minidom.py
Lib/test/test_module.py
Lib/test/test_multibytecodec.py
Lib/test/test_mutants.py
Lib/test/test_normalization.py
Lib/test/test_ntpath.py
Lib/test/test_operations.py
Lib/test/test_operator.py
Lib/test/test_ossaudiodev.py
Lib/test/test_peepholer.py
Lib/test/test_pep247.py
Lib/test/test_pep277.py
Lib/test/test_pkg.py
Lib/test/test_popen2.py
Lib/test/test_pty.py
Lib/test/test_pyclbr.py
Lib/test/test_pyexpat.py
Lib/test/test_queue.py
Lib/test/test_random.py
Lib/test/test_re.py
Lib/test/test_rfc822.py
Lib/test/test_rgbimg.py
Lib/test/test_runpy.py
Lib/test/test_sax.py
Lib/test/test_scope.py
Lib/test/test_select.py
Lib/test/test_signal.py
Lib/test/test_site.py
Lib/test/test_socket_ssl.py
Lib/test/test_socketserver.py
Lib/test/test_softspace.py
Lib/test/test_sort.py
Lib/test/test_strftime.py
Lib/test/test_struct.py
Lib/test/test_sundry.py
Lib/test/test_support.py
Lib/test/test_thread.py
Lib/test/test_threaded_import.py
Lib/test/test_threadedtempfile.py
Lib/test/test_threading.py
Lib/test/test_tokenize.py
Lib/test/test_trace.py
Lib/test/test_traceback.py
Lib/test/test_unicode.py
Lib/test/test_userdict.py
Lib/test/test_uuid.py
Lib/test/test_winreg.py
Lib/test/test_xml_etree.py
Lib/test/test_xml_etree_c.py
Lib/test/test_zipfile64.py
Lib/test/time_hashlib.py
Lib/textwrap.py
Lib/this.py
Lib/threading.py
Lib/timeit.py
Lib/tokenize.py
Lib/trace.py
Lib/unittest.py
Lib/urllib.py
Lib/urlparse.py
Lib/uu.py
Lib/warnings.py
Lib/webbrowser.py
Lib/whichdb.py
Lib/wsgiref/simple_server.py
Lib/xml/dom/pulldom.py
Lib/xml/sax/handler.py
Lib/xmllib.py
Lib/xmlrpclib.py
Lib/zipfile.py