Some people have noticed errors when running nosetests with Nose
0.8.7. Jason Pellerin tracked it down to the new config file format.
The files have a .py extension and are *almost*, but not quite, legal
Python files.

There would seem to be two possibilities here: fix the files to be
legal, or change the extension. Right now, those config files use a
little bit of magic to make CherryPy dotted names directly enterable.
For example, in a normal .py you can't do this:

server.socket_port = 8080

In a TurboGears config file, you can. This magic exists so that you
can put arbitrary dotted names into the config file. Unfortunately, we
can't just substitute "_" for ".", because sometimes a config value
will have _ in it. We *could* make it so that you can't do arbitrary
dotted names, but only explicitly supported ones (like "server",
"kid", "sessionfilter") or ones that you explicitly set up as
configuration values.

Or we could change the extension to something other than .py.

I have a mild preference for fixing the config files to be more
directly legal Python.

Thoughts?

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to