[issue2348] Py3K warn using file.softspace

2008-03-21 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Committed a simpler patch (the file object already had a getsetlist) in
r61716.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2348
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2348] Py3K warn using file.softspace

2008-03-19 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

I have a few comments:
1) Please use PyErr_WarnEx.
2) Please add tests to Lib/test/test_py3kwarn.py

--
nosy: +benjamin.peterson

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2348
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2348] Py3K warn using file.softspace

2008-03-19 Thread Jeff Balogh

Changes by Jeff Balogh [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file9717/issue2348.diff

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2348
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2348] Py3K warn using file.softspace

2008-03-19 Thread Jeff Balogh

Jeff Balogh [EMAIL PROTECTED] added the comment:

Here's a new patch that uses PyErr_WarnEx, has a test, and even updates 
Misc/NEWS.

Added file: http://bugs.python.org/file9774/issue2348.diff

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2348
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2348] Py3K warn using file.softspace

2008-03-17 Thread Brett Cannon

Brett Cannon [EMAIL PROTECTED] added the comment:

That should read file.softspace.

--
title: Py3K warn using file.whitespace - Py3K warn using file.softspace

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2348
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2348] Py3K warn using file.softspace

2008-03-17 Thread Jeff Balogh

Jeff Balogh [EMAIL PROTECTED] added the comment:

Attaching a patch that adds {get,set}_attr wrappers for fileobject 
which warn about softspace usage.

--
keywords: +patch
nosy: +jbalogh
Added file: http://bugs.python.org/file9717/issue2348.diff

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2348
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com