New submission from Philip Jenvey <pjen...@users.sourceforge.net>: It'd be nice to eventually standardize on the kwarg name used for basic file-like args in the stdlib. print, warnings.showwarning and some others take a file= argument whereas pprint, getpass.getpass take stream=
print and pprint in particular should match -- though they do have a different option set, when you're using the same options this consistency would ease replacing: print(obj, file=sys.stderr) with pprint(obj, stream=sys.stderr) ---------- components: Library (Lib) messages: 89020 nosy: pjenvey severity: normal status: open title: Inconsistent 'file' vs 'stream' kwarg in pprint, other stdlibs type: feature request _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com