File "/usr/local/lib/python3.0/cgi.py", line 477, in __init__
self.read_urlencoded()
File "/usr/local/lib/python3.0/cgi.py", line 577, in read_urlencoded
self.strict_parsing):
File "/usr/local/lib/python3.0/urllib/parse.py", line 377, in parse_qsl
pairs = [s2 for s1 in qs.split('&') for s2 in s1.split(';')]
TypeError: Type str doesn't support the buffer API
Kann mir jemand auf, wie man dies vermeiden? Ich bekomme es durch Feed-Daten in die cgi.Fieldstorage
und ich kann es nicht anders zu tun scheinen.Python 3.0 urllib.parse Fehler "Typ str unterstützt nicht die Puffer-API"
Yeah. Bis jetzt habe ich große Probleme mit CGI, Urllib und WSGiref bemerkt. Ich hoffe, dass sie bald behoben werden. :( –
In der Tat. Momentum in WEB-SIG scheint zu einem Halt gekommen zu sein; niemand scheint das Eigentum an dem Problem zu wollen. Sehr enttäuschend. – bobince
Ich glaube, das sollte endlich richtig in 3.2 funktionieren (siehe http: // Bugs .python.org/issue4953). – ncoghlan