aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language
Commit message (Collapse)AuthorAgeFilesLines
* Handle the slice object case in TransformGenerator.__getitem__Shadab Zafar2016-06-031-0/+2
|
* please flake8Maximilian Hils2016-06-021-1/+1
|
* Merge remote-tracking branch 'duffer/pathod-lang-generators'Maximilian Hils2016-06-021-24/+31
|\
| * Simplify rand_byte by creating a special case for Python 2Shadab Zafar2016-06-021-1/+5
| |
| * Remove redundant __getslice__ from TransformGeneratorShadab Zafar2016-06-021-4/+0
| |
| * Py3: Return bytes from FileGeneratorShadab Zafar2016-06-021-5/+5
| | | | | | | | and use __getitem__ instead of __getslice__
| * Py3: Return bytes from RandomGeneratorShadab Zafar2016-06-021-15/+22
| | | | | | | | and use __getitem__ rather than __getslice__
* | Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-021-7/+7
|/ | | | Extract a number of string and format-related functions to netlib.strutils.
* Py3: Use six.string_types instead of basestringShadab Zafar2016-05-311-1/+2
|
* Py3: Use range from six.movesShadab Zafar2016-05-311-1/+2
|
* Move human-friendly format functions to netlib.human, remove redundant ↵Aldo Cortesi2016-05-311-3/+3
| | | | implementations
* more style cleanupThomas Kriechbaumer2016-05-292-3/+6
|
* pathod: fix most flake8 offensesThomas Kriechbaumer2016-05-282-4/+4
|
* cleanup imports with flake8Thomas Kriechbaumer2016-05-282-2/+0
|
* remove str()Shadab Zafar2016-05-261-1/+1
|
* Use escaped_str functions for TokValueLiteralShadab Zafar2016-05-261-6/+7
|
* Removed wrong importShadab Zafar2016-05-261-0/+1
|
* Py3: Import and Other misc. stuffShadab Zafar2016-05-262-3/+7
|
* fix encoding error on *too* random bytesThomas Kriechbaumer2016-05-151-1/+5
| | | | | | | | | | | | | | | This should fix things like: def __init__(self, val): self.val = val.decode("string_escape") ValueError: Trailing \ in string pathod/language/base.py:108: ValueError test/pathod/test_language_websocket.py:83: in fr return netlib.websockets.Frame.from_bytes(tutils.render(wf, settings)) test/pathod/tutils.py:123: in render r = r.resolve(settings) pathod/language/websockets.py:179: in resolve Key(base.TokValueLiteral(os.urandom(4)))
* combine projectsMaximilian Hils2016-02-1810-0/+2007