Author hauntsaninja
Recipients hauntsaninja
Date 2020-02-21.22:32:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582324328.38.0.787053917409.issue39719@roundup.psfhosted.org>
In-reply-to
Content
The softspace attribute of files was removed in Python 3 (mentioned in https://raw.githubusercontent.com/python/cpython/master/Misc/HISTORY)

However, tempfile.SpooledTemporaryFile still has a softspace property that attempts to return read the softspace attribute.

```
In [23]: t = tempfile.SpooledTemporaryFile()                                    

In [24]: t.softspace                                                            
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-24-72e5af9f6ded> in <module>
----> 1 t.softspace

/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tempfile.py in softspace(self)
    749     @property
    750     def softspace(self):
--> 751         return self._file.softspace
    752 
    753     def tell(self):

AttributeError: '_io.BytesIO' object has no attribute 'softspace'
```
History
Date User Action Args
2020-02-21 22:32:08hauntsaninjasetrecipients: + hauntsaninja
2020-02-21 22:32:08hauntsaninjasetmessageid: <1582324328.38.0.787053917409.issue39719@roundup.psfhosted.org>
2020-02-21 22:32:08hauntsaninjalinkissue39719 messages
2020-02-21 22:32:08hauntsaninjacreate