fffonion/Xunlei-Fastdick

Handle more optional modules for OpenWrt

Open

#84 opened on Dec 15, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (818 stars) (188 forks)batch import
help wanted

Description

A major issue is that the json module is broken for python-light on OpenWrt. The module won't work without another system package called python-codecs.

As an alternative Python package, python-base on OpenWrt provides a much smaller subset of the Python standard library than python-light. Modules like atexit, tarfile, time, binascii, and even __future__ are all unavailable.

These modules are all imported without checking their existence.

Contributor guide