[issue3314] urllib.parse doesn't import sys

2008-07-07 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited in r64781, thank you!! -- nosy: +facundobatista resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> _

[issue3314] urllib.parse doesn't import sys

2008-07-07 Thread Matt Giuca
New submission from Matt Giuca <[EMAIL PROTECTED]>: urllib.parse doesn't import sys, which is needed on line 368, in an error condition for urlencode. This is only a problem when urlencode has a TypeError. Current behaviour: >>> urllib.parse.urlencode("foo") NameError: global name 'sys' is not d