Source

CherryPy / cherrypy / __init__.py

Author Commit Message Labels Comments Date
Robert Brewer
Much Better Logging (see #256). Apps now have their own access and error loggers (whose config entries must be at "/"), and the global access logger has been removed (although you can make one manually if you like).
Robert Brewer
Fix for #256 (log file needs a lock). CherryPy now uses the stdlib's logging module. See the ticket for more details.
Robert Brewer
Quick and dirty trap of log file errors.
Robert Brewer
Made cherrypy.request and .response more sef-documenting by populating their attribute dicts outside a request.
Robert Brewer
Removed inspect import in cherrypy.decorate, decorateAll.
Robert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.
Robert Brewer
Got rid of _cperror.Error base class, and "from _cperror import *" in top level.
Robert Brewer
Moved coverage out of the core.
Robert Brewer
Separated tool construction from default toolbox by renaming cherrypy.tools module to _cptools, and binding cherrypy tools to a new _cptools.default_toolbox object. Also cleaned up the top-level cherrypy namespace quite a bit, and moved some user code out of lib.cptools.
Robert Brewer
New cherrypy.quickstart function.
Robert Brewer
New Tool.enable method (compile-time decorator to set the wrapped function's _cp_config).
Robert Brewer
Dispatch and config lookup now happens as early as possible, once per request (unless InternalRedirect is raised). Also moved the logging code out of {{{_cputil}}} and into {{{__init__}}}. xmlrpc still needs fixed so it doesn't re-write path_info.
Robert Brewer
Renamed _cp_log_message to "_cputil.log", and moved its customization from a special attribute to a config entry ('log_function'). Since that was the last special attribute, removed _cputil.get_special_attribute entirely.
Robert Brewer
Root and config are now isolated per app:
Robert Brewer
New cherrypy.set_config(**kwargs) decorator for setting _cp_config on a method. Also better errors on lookup of request attrs when not in a request.
Robert Brewer
Separated cherrypy.server (HTTP) from cherrypy.engine (app):
Robert Brewer
Fix for #426 (cherrypy.expose alias problems with dots).
Robert Brewer
Lots of changes to error and log handling:
Robert Brewer
Removed old_name option from get_special_attribute.
Robert Brewer
Fixed session module for the new tool API.
Robert Brewer
CP 3 initial checkin. Global filters have been replaced by request.hooks. Lots of renaming and reorg of modules.
Remi Delon
Preparing for 2.2.0-final release
Remi Delon
Preparing for 2.2.0rc1 release
Remi Delon
Added "cherrypy.lowercase_api" switch so that users can say "I'm using the new lowercase API" and get a (small) speed boost from it.
Remi Delon
Reverting changeset [926]: Removing "is_app_root" proof of concept since we decided to go with the tree.mount() route for now.
Remi Delon
Changing "2.2.0-beta" into "2.2.0beta"
Remi Delon
Proof of concept idea to handle multiple apps: adding a cherrypy.url() function and a is_app_root class attribute for apps
Robert Brewer
Fix for #145. See the ticket for details about this fix.
Robert Brewer
New signature for cherrypy.log.
Remi Delon
Big change: camelCase to lower_with_underscore names (still need to update the book)
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. Next