aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* fix Python 3.6 variable type annotations #3053oscure762018-04-141-1/+1
|
* Extend Mypy checking to pathodharsh vijay2017-05-021-3/+4
| | | | | | | | | | | | | | | | | | | * mypy checking pathod * initial commit , fixed errors * tox: mypy checking to pathod * Fixed mypy test failed * issue was with args in custom_contentview.py * tox: mypy checking to #2221 * follow-import=skip since we cant provide args to custom_contentview.py during mypy testing * Lint , Typo Fixed * code style: module import
* Create mitmproxy.utils hierarchyAldo Cortesi2016-10-201-2/+3
| | | | - Add mitproxy.utils.lrucache, mitproxy.utils.data
* python3: clean up class bracketsAldo Cortesi2016-10-171-1/+1
|
* Zap object base classAldo Cortesi2016-10-171-1/+1
|
* Utils cleanupsAldo Cortesi2016-06-071-9/+0
| | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes.
* Consolidate some functions to strutils.bytes_to_escaped_strAldo Cortesi2016-06-021-14/+0
|
* xrepr is used exactly once. move to pathoc.py.Aldo Cortesi2016-06-021-4/+0
|
* Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-021-2/+2
| | | | Extract a number of string and format-related functions to netlib.strutils.
* Move human-friendly format functions to netlib.human, remove redundant ↵Aldo Cortesi2016-05-311-23/+0
| | | | implementations
* Remove inner_repr, fixup escape_unprintablesShadab Zafar2016-05-261-18/+4
|
* Remove Py3 specific checkShadab Zafar2016-05-261-2/+1
|
* Py3: Handle bytes case in inner_reprShadab Zafar2016-05-261-1/+2
|
* Py3: inner_repr and escape_unprintablesShadab Zafar2016-05-261-2/+7
|
* We don't need 3 slightly different implementations of DataAldo Cortesi2016-05-211-21/+2
|
* s/nocover/no cover/gThomas Kriechbaumer2016-03-271-1/+1
| | | according to coveralls docs
* combine projectsMaximilian Hils2016-02-181-0/+124