Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Nephin ee1a256fc8 Use lru_cache 2015-03-04 16:20:43 -05:00
Daniel Nephin ca59f3fa87 Remove DefragResult. 2015-03-03 16:09:42 -05:00
Kostis Anagnostopoulos @ STUW025 2fda1556ef issue #158: TRY to speed-up scope & $ref url-handling by keeping
fragments separated from URL (and avoid redunant frag/defrag).
Conflicts:
	jsonschema/tests/test_benchmarks.py

issue #158: Use try-finally to ensure resolver scopes_stack empty when
iteration breaks (no detectable performance penalty).

* Replace non-python-2.6 DefragResult with named-tuple.
* Add test-case checking scopes_stack empty.
Conflicts:
	jsonschema/tests/test_validators.py
	jsonschema/validators.py
2015-02-27 19:04:43 -05:00
Julian Berman 80ec8c0ec2 Rework things a bit, remove py.test, allow multiple instances, and a validator. 2014-05-18 11:28:45 -04:00
Chase Sterling f50e4538ca Provide own version of urlsplit and urldefrag that work with unknown schemes, fix #104 2013-05-13 11:40:28 -04:00
Julian Berman 6e66bda183 Global flake8 ignore 2013-05-12 23:40:56 -04:00
Julian Berman ed11586f4c Break out into _format and validators. 2013-05-12 21:05:49 -04:00
Colin Dunklau feb3e38a14 Minor style changes 2013-05-11 15:17:49 -05:00
Colin Dunklau fe450f221c Began package split, done with compat and _utils 2013-05-10 18:47:06 -05:00