Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Directly import json from the standard library. (#8259) | Patrick Cloke | 2020-09-08 | 1 | -2/+3 |
| | | | | | By importing from canonicaljson the simplejson module was still being used in some situations. After this change the std lib json is consistenty used throughout Synapse. | ||||
* | Reduce unnecessary whitespace in JSON. (#7372) | David Vo | 2020-08-07 | 1 | -2/+5 |
| | |||||
* | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -4/+2 |
| | |||||
* | Strictly enforce canonicaljson requirements in a new room version (#7381) | Patrick Cloke | 2020-05-14 | 1 | -1/+1 |
| | |||||
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -1/+1 |
| | | | | Ensure good comprehension hygiene using flake8-comprehensions. | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -5/+4 |
| | |||||
* | Python 3: Convert some unicode/bytes uses (#3569) | Amber Brown | 2018-08-02 | 1 | -3/+3 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+3 |
| | |||||
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -1/+1 |
| | |||||
* | pep8 | Adrian Tschira | 2018-05-29 | 1 | -0/+1 |
| | |||||
* | fix recursion error | Adrian Tschira | 2018-05-24 | 1 | -7/+5 |
| | |||||
* | remaining isintance fixes | Adrian Tschira | 2018-05-24 | 1 | -2/+3 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Use static JSONEncoders | Richard van der Hoff | 2018-03-29 | 1 | -0/+19 |
| | | | | | using json.dumps with custom options requires us to create a new JSONEncoder on each call. It's more efficient to create one upfront and reuse it. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 1 | -2/+6 |
| | | | | JSONEncoder that understands FrozenDict | ||||
* | Optimize FrozenEvent creation | Erik Johnston | 2015-01-06 | 1 | -2/+3 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pyflakes | Erik Johnston | 2014-12-16 | 1 | -2/+0 |
| | |||||
* | Remove FrozenEncoder | Erik Johnston | 2014-12-16 | 1 | -8/+0 |
| | |||||
* | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | |||||
* | Add forgotten file | Erik Johnston | 2014-12-08 | 1 | -0/+56 |