Message162840
| Author |
Sam.W |
| Recipients |
Sam.W, gvanrossum, hooft |
| Date |
2012年06月15日.03:02:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339729372.88.0.657576640432.issue232493@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月15日 03:02:52 | Sam.W | set | recipients:
+ Sam.W, gvanrossum, hooft |
| 2012年06月15日 03:02:52 | Sam.W | set | messageid: <1339729372.88.0.657576640432.issue232493@psf.upfronthosting.co.za> |
| 2012年06月15日 03:02:52 | Sam.W | link | issue232493 messages |
| 2012年06月15日 03:02:52 | Sam.W | create |
|