Re: [Mailman-Developers] New to mailman

Dec. 21, 2012
8:27 p.m.
On Dec 22, 2012, at 12:04 AM, Sandesh Agrawal wrote:
Yes i was using python's default interpreter which was causing problems. /bin/py worked.
Cool.
make_config() is only useful for tests. Are you writing a unittest or doctest?
Note that make_config() requires that the test live in the ConfigLayer or higher (zope.testing layers are a confusing construct since they don't follow normal Python inheritance rules, but for now, we're stuck with it.) Look at TestStart in commands/test/test_control.py.
Note that doctests by default live in the SMTPLayer, which is higher than ConfigLayer and thus acceptable.
Although this is probably not your problem, Python 2.7 is now required for Mailman 3.
Cheers, -Barry
4448
Age (days ago)
4448
Last active (days ago)
0 comments
1 participants
participants (1)
-
Barry Warsaw