New submission from Benjamin Peterson <[EMAIL PROTECTED]>:

This patch causes the use of builtin file to give a Py3k warning.

When Python starts up, distutils.text_file gives a warning because it
uses a variable named file. I imagine there are places like this all
over in the stdlib, which should be renamed fp or something similar.

----------
components: Interpreter Core
files: file_warning.patch
keywords: patch
messages: 63814
nosy: benjamin.peterson
severity: normal
status: open
title: Use of builtin file should give Py3k warning
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file9710/file_warning.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2374>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to