summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-06-30 23:09:17 +0000
committerChris McDonough <chrism@agendaless.com>2009-06-30 23:09:17 +0000
commitb6c867e7d8f8c34138efadc5efd0c9f30bff9ecb (patch)
tree1923a3ff04976cfb031b00b2b78d7625cb6a4dcc /CHANGES.txt
parentcc0bc9b032d59c740dbf27fdb46cd6a541f8df47 (diff)
downloadpyramid-b6c867e7d8f8c34138efadc5efd0c9f30bff9ecb.tar.gz
pyramid-b6c867e7d8f8c34138efadc5efd0c9f30bff9ecb.tar.bz2
pyramid-b6c867e7d8f8c34138efadc5efd0c9f30bff9ecb.zip
- Bug fix: when a ``repoze.bfg.resource.PackageOverrides`` class was
instantiated, and the package it was overriding already had a ``__loader__`` attribute, it would fail at startup time, even if the ``__loader__`` attribute was another PackageOverrides instance. We now replace any ``__loader__`` that is also a PackageOverrides instance. Symptom: ``ConfigurationExecutionError: <type 'exceptions.TypeError'>: Package <module 'karl.views' from '/Users/chrism/projects/osi/bfgenv/src/karl/karl/views/__init__.pyc'> already has a __loader__ (probably a module in a zipped egg)``.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 61458163c..3a3c39495 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,7 +1,15 @@
Next release
============
-- ...
+- Bug fix: when a ``repoze.bfg.resource.PackageOverrides`` class was
+ instantiated, and the package it was overriding already had a
+ ``__loader__`` attribute, it would fail at startup time, even if the
+ ``__loader__`` attribute was another PackageOverrides instance. We
+ now replace any ``__loader__`` that is also a PackageOverrides
+ instance. Symptom: ``ConfigurationExecutionError: <type
+ 'exceptions.TypeError'>: Package <module 'karl.views' from
+ '/Users/chrism/projects/osi/bfgenv/src/karl/karl/views/__init__.pyc'>
+ already has a __loader__ (probably a module in a zipped egg)``.
1.0a7 (2009-06-30)
==================