Title: IOError won't accept tuples longer than 3
Type: behavior Stage:
Components: Extension Modules Versions: Python 2.5
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, jimjjewett
Priority: normal Keywords:

Created on 2007-09-27 00:23 by jimjjewett, last changed 2007-09-27 06:20 by georg.brandl. This issue is now closed.

Messages (2)
msg56150 - (view) Author: Jim Jewett (jimjjewett) Date: 2007-09-27 00:23
EnvironmentError (including subclass IOError) has special treatment when 
constructed with a 2-tuple or 3-tuple.  A four-tuple turns off this special 
treatment (and was used by urllib for that reason).  As of 2.5, a four-tuple 
raises a TypeError instead of just turning off the special treatment.
msg56158 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-09-27 06:20
Wasn't that already fixed in #1566800?
Date User Action Args
2007-09-27 06:20:42georg.brandlsetstatus: open -> closed
resolution: out of date
messages: + msg56158
nosy: + georg.brandl
2007-09-27 00:23:46jimjjewettcreate