>> the uwsgidecorators module (at least for the spooler part) does not take
>> in account python3.
>
> Ah, that explains it. I don't think the docs mentioned this limitation (or
> I missed it), so I wrongly assumed the module was valid for both versions.
>
>> Check the class _spoolraw in it. Adapting it should be very easy.
>
> Thanks you for the pointer. I have begun modifying the code for class
> _spoolraw so that it converts all the 'arguments' dictionary keys and
> values to bytes, and the vars dictionary keys and values in the
> manage_spool_request back to strings. If I add some logic to only perform
> this conversion if running under Python 3, do you think I can contribute a
> diff to uwsgidecorators.py so that it is included in the main branch?
>
>

yes, absolutely

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to