[Win32utils-devel] PathIsURL and frozen strings
djberg96 at gmail.com
Sun Jul 13 08:37:31 EDT 2008
I may have brought this up a long time ago, but I've forgotten. Why does
PathIsURL(path) fail if 'path' is frozen?
path = "file://C:\\Documents and Settings\\djberge"
PathIsURL(path) # true
PathIsURL(path) # Boom!
TypeError: can't modify frozen string
from (eval):3:in `call'
from (eval):3:in `PathIsURL'
Any ideas? I realize I can just dup the string, but I thought I'd ask.
More information about the win32utils-devel