dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00495
Re: Final resting place for dulwich.web
On Mar 20, 2011, at 8:48 PM, David Blewett wrote:
>
> Hi All:
>
> With the changes in the gzip_paster patch, the meat of the prior
> dulwich/web.py got moved to dulwich/web/__init__.py . In my opinion,
> having such a large chunk of code in __init__.py is not a good idea.
> It makes it hard for new people looking at the source to realize that
> all the real work is being done in an initialization file. I'd like to
> move the code to either a single file inside dulwich/web/ (say
> dulwich/web/app.py ), with backwards-compatibility imports only in
> dulwich/web/__init__.py. These should come with a deprecation warning
> pointing to the final canonical location.
That sounds sensible to me.
References