summaryrefslogtreecommitdiff
path: root/paste/util
Commit message (Collapse)AuthorAgeFilesLines
* Just a bit more paranoia in quoting comments, though I wasn't able to ↵Ian Bicking2010-09-141-1/+8
| | | | reproduce any actual issue
* Coerce thread id to a long, might fix problems in Ubuntu: ↵Ian Bicking2010-09-021-3/+3
| | | | http://trac.pythonpaste.org/pythonpaste/ticket/416
* TypoChristoph Zwerschke2010-08-191-1/+1
|
* Added some more test cases to test_mimeparse that I have found here:Christoph Zwerschke2010-08-191-4/+6
| | | | | http://code.google.com/p/mimeparse/source/browse/trunk/testdata.json Also added a link to the project upstream.
* Minor simplification.Christoph Zwerschke2010-08-191-8/+4
|
* Added unittests for util.mimeparse and made the module more robust and ↵Christoph Zwerschke2010-08-191-49/+65
| | | | | | somewhat faster. This also closes tickets #290, #330, #370 and #381.
* add a missing desired_matches function to mimeparse (was removed upstream, ↵Ian Bicking2010-06-231-11/+34
| | | | but still used in paste)
* Fix XSS attacks as reported by Tim WintleIan Bicking2010-06-151-0/+7
|
* update mimeparseIan Bicking2010-03-311-97/+39
|
* remove unneeded shebangianb2009-03-041-1/+0
|
* parse a single *, per #330ianb2009-01-091-1/+4
|
* correct r7651 comment, this changed as of 2.5.2pjenvey2008-11-191-2/+2
|
* make html_unquote('') consistently return u'' everywhere -- re.sub('', '', u'')pjenvey2008-11-181-1/+5
| | | | started acting differently as of 2.5.1
* update test for new website contentianb2008-11-161-1/+1
|
* Make paste.debug.prints work with appengine, which replaces stdout on every ↵ianb2008-07-311-1/+1
| | | | request, so our patching isn't persistent
* handle .class as well as .pycpjenvey2008-06-171-1/+1
|
* disable killthread if ctypes lacks pythonapipjenvey2008-06-101-0/+3
| | | | for pypy, and maybe one day other python vms
* Fixed test suite on Windows (also disabled CGI tests as they shouldn't even ↵maluke2008-05-282-3/+3
| | | | work)
* Fix threaded stdin readianb2008-05-161-2/+2
|
* typoianb2008-05-071-1/+1
|
* Add some more methods to the threaded replacement for stdout (for appengine)ianb2008-04-271-0/+18
|
* Use the already-available html_unquote functionianb2008-03-251-2/+1
|
* only import webbrowser when necessarypjenvey2008-03-051-1/+1
|
* remove tabsianb2007-07-221-1/+1
|
* Make comments workianb2007-06-131-0/+5
|
* Added {{default}} directive to paste.util.templateianb2007-06-131-0/+30
|
* Added paste.util.import_string.try_import_moduleianb2007-03-061-0/+42
|
* in template: Added a function that can be used with Paste Script; fixed an ↵ianb2007-03-061-1/+9
| | | | issue when you raise Exception()
* Make paste.util.template trim whitespace around statements on their own lineianb2007-03-061-4/+55
|
* Added a command-line form of the template to fill static filesianb2007-02-151-0/+75
|
* make sure missing attribute raise an AttributeError in bunches, not KeyErrorianb2007-02-051-1/+4
|
* Remove long-deprecated modules (most moved elsewhere -- actually removing ↵ianb2007-02-011-0/+178
| | | | now); move mimeparse to paste.util.mimeparse
* Fix up docstrings for reST validityianb2007-02-013-4/+7
|
* Fix up looperianb2007-02-011-8/+50
|
* Added a looper object, to make template looping easierianb2007-01-311-0/+107
|
* Add a bunch object, and add __traceback_hide__ locals to trim down exceptionsianb2007-01-311-1/+40
|
* Added an HTML-specific subclassianb2007-01-311-2/+76
|
* Added a templating languageianb2007-01-311-0/+473
|
* ensure UnicodeMultiDict allows non basestring keys to pass throughpjenvey2007-01-311-1/+4
|
* Allow killing of errant threads through the web application (also add a ↵ianb2007-01-301-0/+27
| | | | module to kill threads with ctypes, and a method to kill threads from the httpserver thread pool)
* by default don't have WSGIRequest decode parameter keys when unicode params ↵pjenvey2007-01-221-19/+26
| | | | | | are expected. allow this behavior when WSGIRequest.decode_param_names is enabled
* o added UnicodeMultiDict, a MultiDict wrapper that decodes its retrievedpjenvey2007-01-211-1/+160
| | | | | | | | | | | | | contents to unicode on the fly. Any FieldStorages encountered are cloned with their name and filename fields decoded o Added WSGIRequest.charset and errors. When charset is set, WSGIRequest's params/GET/POST return UnicodeMultiDicts. charset and errors inherit their default values from the WSGIRequest.defaults StackedObjectProxy dict o deprecated wsgiwrappers.settings: use wsgiwrappers.WSGIResponse.defaults instead o allow WSGIResponse to let unicode responses pass through when no encoding is set (instead of defaulting to iso-8859-1). In case someone wants to deal with unicode later in their WSGI stack
* convert old-style classes to new-style classespjenvey2007-01-051-1/+1
|
* Fix #134 from cookedm: paste.util.scgiserver doesn't like an empty string as ↵ianb2006-11-021-1/+1
| | | | the prefix
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ianb2006-10-204-33/+46
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* multi var isn't used herepjenvey2006-10-201-1/+0
|
* Several name problems, small bugs, extra imports caught by pyflakesianb2006-10-201-1/+0
|
* Added some tests for multidict; fixed setdefaultianb2006-09-261-1/+1
|
* - adding dict_of_lists() to multidict to return a standardcce2006-09-211-0/+14
| | | | | | | | | | argument dictionary where values corresponding to a given key are returned in a list If you used the all_as_list argument to parse_formvars that was removed w/o backwards compatibility, you can convert your code to add .dict_of_lists() on the return value of parse_formvars as a replacement.
* Paste should not depend upon other paste modules, suchcce2006-09-211-0/+26
| | | | | | | | | as Deploy. This patch moves 'converters' into paste.util since it was being used within paste proper. I'll leave it to those who know Deploy to update that. - copied converters.py from paste.deploy to paste.util - updated files that use paste.deploy.converters