diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-01-22 08:59:51 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-01-22 08:59:51 +0000 |
| commit | 74db82d177093f4b1102d70832f8abd9b894dd61 (patch) | |
| tree | 0125dfd8974a79b1a5a925afc0637a787af9f466 /CHANGES.txt | |
| parent | 5b9105ad8de57f21269608b1536720a5425a1fd1 (diff) | |
| download | pyramid-74db82d177093f4b1102d70832f8abd9b894dd61.tar.gz pyramid-74db82d177093f4b1102d70832f8abd9b894dd61.tar.bz2 pyramid-74db82d177093f4b1102d70832f8abd9b894dd61.zip | |
- The ``unicode_path_segments`` configuration variable and the
``BFG_UNICODE_PATH_SEGMENTS`` configuration variable have been
removed. Path segments are now always passed to model
``__getitem__`` methods as unicode. "True" has been the default for
this setting since 0.5.4, but changing this configuration setting to
false allowed you to go back to passing raw path element strings to
model ``__getitem__`` methods. This services a speed goal (we get
about +80 req/s by removing the check), and it's clearer just to
always expect unicode path segments in model ``__getitem__``
methods.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 8e5321069..8fcd79818 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,20 @@ Next release ============ +Backwards Incompatibilities +--------------------------- + +- The ``unicode_path_segments`` configuration variable and the + ``BFG_UNICODE_PATH_SEGMENTS`` configuration variable have been + removed. Path segments are now always passed to model + ``__getitem__`` methods as unicode. "True" has been the default for + this setting since 0.5.4, but changing this configuration setting to + false allowed you to go back to passing raw path element strings to + model ``__getitem__`` methods. This services a speed goal (we get + about +80 req/s by removing the check), and it's clearer just to + always expect unicode path segments in model ``__getitem__`` + methods. + Implementation Changes ---------------------- |
