Message74241
> The most generic way of allowing all bytes-alike objects is to write:
> path = bytes(path)
If you use that, any unicode may fails and the function will always return
unicode. The goal is to get:
func(bytes)->bytes
func(bytearray)->bytes (or maybe bytearray, it doesn't matter)
func(unicode)->unicode |
|
Date |
User |
Action |
Args |
2008-10-03 11:43:54 | vstinner | set | recipients:
+ vstinner, gvanrossum, loewis, amaury.forgeotdarc, pitrou, draghuram, benjamin.peterson, djc, HWJ, dlitz, zegreek, bboissin |
2008-10-03 11:43:52 | vstinner | link | issue3187 messages |
2008-10-03 11:43:52 | vstinner | create | |
|