summaryrefslogtreecommitdiff
path: root/paste/evalexception
Commit message (Collapse)AuthorAgeFilesLines
* Get parse_querystring() function directly from the paste.request module,Victor Stinner2015-04-221-2/+2
| | | | instead of using wsgilib.parse_querystring() alias.
* Fix evalexception middleware on Python 3Victor Stinner2015-04-211-1/+6
| | | | | * Encode body to UTF-8 on Python 3 * Encode log to UTF-8 on Python 3
* Python 3: use new style of raise, replace "raise class, args" with "raise ↵Cyril Roelandt2014-03-181-2/+1
| | | | class(args)"
* Python 3: Replace iterator.next() with six.next(iterator)Cyril Roelandt2014-03-181-1/+2
|
* Python 3: Use absolute import instead of relative importCyril Roelandt2014-03-181-1/+1
|
* Python 3: Replace exec statement with six.exec_() to support Python 2 and ↵Cyril Roelandt2014-03-181-1/+2
| | | | Python 3
* Python 3: add parenthesis to print() to support Python 2 and Python 3Cyril Roelandt2014-03-181-0/+3
| | | | Use also "from __future__ import print_function".
* Python 3: Replace "except Exception, exc" with "except Exception as exc:"Cyril Roelandt2014-03-181-3/+3
|
* Python 3: use new names of standard library modulesCyril Roelandt2014-03-182-2/+2
| | | | Use "try/except ImportError" to try Python 2 and Python 3 names.
* Make sure all necessary media files come with evalexceptionIan Bicking2010-04-202-6/+7834
|
* revert r6094: evalexception is tied to MochiKit 1.3.1,pjenvey2007-01-171-7/+7
| | | | which these changes are incompatible with
* Patch from David Smith to support newer versions of MochiKit in evalexceptionianb2007-01-151-7/+7
|
* renamed restorer evalcontext_begin/end in_evalcontext to ↵pjenvey2006-12-221-4/+4
| | | | restoration_begin/end in_restoration
* enable the StackedObjectRestorer during show_frame so locals show uppjenvey2006-12-041-0/+2
| | | | correctly
* StackedObjectProxies now work within the interactive debugger. Whenpjenvey2006-12-011-2/+19
| | | | | | | | | | | EvalException is enabled and RegistryManager and or EvalException detect an unexpected exception, they'll call StackedObjectRestorer to: o save the Registry state o change currently registered StackedObjectProxies to detect when they're being used within the interactive debugger via a threadlocal (resulting in a small performance hit). They'll get their proxied object from the restorer when they detect the presence of the debugger, otherwise they'll continue to work as normal
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ianb2006-10-201-1/+1
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* Moved evalexception entry pointianb2006-10-201-0/+18
|
* the catching_iter method is no longer used; removing itpjenvey2006-08-111-24/+0
|
* only displaying EvalException's full traceback button when the full tracebackpjenvey2006-07-311-7/+19
| | | | differs from the regular (includes hidden frames)
* evalexception was using the wrong contet-type, probably a typopjenvey2006-07-291-1/+1
|
* o use response.HeaderDict instead of wsgilib.ResponseHeaderDictpjenvey2006-07-271-1/+2
| | | | o fixed the misleading ResponseHeaderDict deprecation warning
* commenting out make_repost_button's unused block of codepjenvey2006-07-241-0/+3
|
* o request.parse_formvars changes:pjenvey2006-07-241-12/+12
| | | | | | | | | | | | - now returns a multidict instead of dict (like parse_dict_querystring) - removed all_as_list keyword arg: use multidict.mixed() instead to produce an all_as_list dict - preventing FieldStorage from parsing out QUERY_STRING during GET/HEAD requests - the fake_out_cgi check wasn't careful enough about multipart/form-data content-types. Was also missing a StringIO import (r5471 broke file uploads) o evalexception's wsgiapp decorator assumed parse_formvars would return GET vars during a GET (buggy behavior), now it explicitly asks for them
* Added copyright header to a bunch of filesianb2006-06-133-0/+6
|
* cleanly handling potential string exceptionspjenvey2006-06-091-1/+1
| | | | resolves: #56
* Added /_debug/summary, where you get JSON-format summary of all ↵ianb2006-05-091-2/+36
| | | | stored-in-memory exception reports
* When xmlhttp was detected, we weren't saving the debug info, so you couldn't ↵ianb2006-04-241-6/+15
| | | | view the full traceback; also the error wasn't very good when a key was missing
* Add the textarea text version of the traceback to a collapsed version of the ↵ianb2006-02-221-1/+9
| | | | exception (it was already in the normal exception, but not in evalexception
* Refactored so each traceback has its own URL, that will be printed to ↵ianb2006-02-211-28/+61
| | | | wsgi.errors, and you can visit it there even if it was in response to an Ajax call. Also X-Debug-URL is sent with the URL for the full traceback
* Catch errors in pprinting valuesianb2006-02-211-1/+4
|
* Make global_conf parameter to EvalException truly optionalianb2006-02-011-1/+4
|
* Also suppress evalexception middleware when there is an error catcher ↵ianb2006-01-241-0/+2
| | | | further up in the request (normal exception catcher already does this)
* Fix a problem with errors during the response iterator, and missing methodianb2006-01-201-1/+18
|
* Added a bunch of module docstrings so the module index looks nicer; also ↵ianb2005-12-301-0/+3
| | | | marked deprecated modules so they don't show up in the module index that Pudge creates
* Just include the packed form of MochiKit in evalexception, not the entire ↵ianb2005-12-181-1/+1
| | | | checkout
* Using new paste.request libbbangert2005-12-131-3/+4
|
* make_middleware doesn't use global_conf, not sure why its a required arg. ↵bbangert2005-12-131-1/+1
| | | | Eval exception calls middleware without a global_conf though. Updated evalexception/middleware to use make_middleware instead, and make_middleware to not require global_conf.
* Deprecate the wsgilib.error_response functions; stop using them internally ↵ianb2005-12-131-7/+7
| | | | as well, in preference of httpexceptions.*.wsgi_application
* Put in reduced-content exceptions for XMLHttpRequest responses, marked by ↵ianb2005-12-052-8/+25
| | | | the presence of a _ GET variable
* Unfortunately, can't get POST variables reliablyianb2005-11-171-2/+7
|
* Added a tbid attribute to frame objects; simplify signature of ↵ianb2005-11-172-27/+33
| | | | format_source_line function (passing in frame object); fixed evalexception middleware when traceback lines are trimmed (was counting lines, and the count was off during trimming)
* Fix problem from last decorator @ removal patch; allow setting selects to ↵ianb2005-11-141-2/+2
| | | | non-string values
* Removed decorator syntaxianb2005-11-141-4/+8
|
* Bunch of minor changes suggested by pyflakesianb2005-11-141-1/+1
|
* Added history (up and down arrows). Made compacted variables have expanding ↵ianb2005-11-132-2/+61
| | | | link
* Remove extra _debug from URLsianb2005-11-091-3/+3
|
* Expand error messageianb2005-11-091-1/+2
|
* Some whitespace, line length, and docstring fixesianb2005-11-091-24/+66
|
* Added a button to re-make the request; truncated variables a little (should ↵ianb2005-11-061-4/+34
| | | | have button to show full value too)
* Improved UI of the error catcher in several waysianb2005-11-064-83/+154
|