Sam Whitehead <demon....@gmail.com> added the comment:

This still seems to be the case in 3.2.

Python 3.2.3 (default, Apr 23 2012, 23:35:30) 
[GCC 4.7.0 20120414 (prerelease)] on linux2

>>> from collections import UserString
>>> a = UserString("foooooop")
>>> import os.path
>>> os.path.exists(a)
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/usr/lib/python3.2/genericpath.py", line 18, in exists
    os.stat(path)
TypeError: Can't convert 'UserString' object to str implicitly

----------
nosy: +Sam.W

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue232493>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to