Hey guys,
Just ran into a couple of annoying bugs while messing with the build files and running tests locally.
- tests/init.py — Broken CaseInsensitiveDict.copy() & Typo
- The copy() method on CaseInsensitiveDict returns self._store.values() directly, which passes a raw dict-values view. This fails on modern Python 3 runtimes. Wrap it in dict() first: CaseInsensitiveDict(dict(self._store.values())).
- Fixed spelling typo: serializble -> serializable.
- setup.py — Spacing Regex & Py2exe Python 3 Imports
- The version parser regex is too rigid and fails if code formatters change the spacing around the '='. Updated to use \s*=\s*.
- Updated legacy py2exe packages (httplib, HTMLParser, ConfigParser) to their Python 3 equivalents (http.client, html.parser, configparser).
Hey guys,
Just ran into a couple of annoying bugs while messing with the build files and running tests locally.