summaryrefslogtreecommitdiff
path: root/Mailman/docs
diff options
context:
space:
mode:
authorBarry Warsaw2007-09-19 22:35:37 -0400
committerBarry Warsaw2007-09-19 22:35:37 -0400
commit18e07a3dc2caa61ed042515cd91833a76a596b9d (patch)
tree5dd4a7e0139e5710ca670a9bb7c6da738d8b3698 /Mailman/docs
parent4c517789fa8b29d2a23791e6f390d9f1173c3125 (diff)
downloadmailman-18e07a3dc2caa61ed042515cd91833a76a596b9d.tar.gz
mailman-18e07a3dc2caa61ed042515cd91833a76a596b9d.tar.zst
mailman-18e07a3dc2caa61ed042515cd91833a76a596b9d.zip
InitTempVars() is completely eradicated. The only bit I think we
still need temporarily is the _gui component initialization, so this has been moved into MailList.__init__(). Fixed the __getattr__() super call to properly dispatch up. Removed the _memberadaptor instance variable initialization. The whole MemberAdaptor stuff is next on the chopping block. Essentially MailList locking is gone too now, although it's not yet completely eradicated. However, the __repr__() no longer states the lock status. The full_path property is now just an attribute on the underlying MailingList database object.
Diffstat (limited to 'Mailman/docs')
-rw-r--r--Mailman/docs/hold.txt7
-rw-r--r--Mailman/docs/membership.txt2
-rw-r--r--Mailman/docs/requests.txt2
3 files changed, 2 insertions, 9 deletions
diff --git a/Mailman/docs/hold.txt b/Mailman/docs/hold.txt
index 906053df4..62b621bdc 100644
--- a/Mailman/docs/hold.txt
+++ b/Mailman/docs/hold.txt
@@ -19,12 +19,6 @@ are held when they meet any of a number of criteria.
>>> mlist._data.web_page_url = 'http://lists.example.com/'
>>> flush()
-XXX The Hold handler requires that the mailing list be locked because it
-touches the pending database. Eventually the pending database should be moved
-into the real database so that the lock is no longer necessary.
-
- >>> mlist.Lock()
-
Here's a helper function used when we don't care about what's in the virgin
queue or in the pending database.
@@ -380,4 +374,3 @@ The message itself is held in the message store.
Clean up.
>>> clear()
- >>> mlist.Unlock()
diff --git a/Mailman/docs/membership.txt b/Mailman/docs/membership.txt
index 515ac7623..6c0a209e7 100644
--- a/Mailman/docs/membership.txt
+++ b/Mailman/docs/membership.txt
@@ -19,7 +19,7 @@ When we create a mailing list, it starts out with no members...
>>> mlist = config.db.list_manager.create('_xtest@example.com')
>>> flush()
>>> mlist
- <mailing list "_xtest@example.com" (unlocked) at ...>
+ <mailing list "_xtest@example.com" at ...>
>>> sorted(member.address.address for member in mlist.members.members)
[]
>>> sorted(user.real_name for user in mlist.members.users)
diff --git a/Mailman/docs/requests.txt b/Mailman/docs/requests.txt
index 242d57b9c..e513b7cea 100644
--- a/Mailman/docs/requests.txt
+++ b/Mailman/docs/requests.txt
@@ -48,7 +48,7 @@ mailing list you need to get its requests object.
>>> verifyObject(IListRequests, requests)
True
>>> requests.mailing_list
- <mailing list "test@example.com" (unlocked) at ...>
+ <mailing list "test@example.com" at ...>
Holding requests