summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2011-04-30 18:19:43 -0400
committerBarry Warsaw2011-04-30 18:19:43 -0400
commita90ca4ce77d99460ffd36a366cea0162869df783 (patch)
tree28c3fa1ca23ca6bfc81b153f05a5909e714c5f91 /src
parent8df4635fa59cea71df1c312db3dbb683f9d0b49e (diff)
downloadmailman-a90ca4ce77d99460ffd36a366cea0162869df783.tar.gz
mailman-a90ca4ce77d99460ffd36a366cea0162869df783.tar.zst
mailman-a90ca4ce77d99460ffd36a366cea0162869df783.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/docs/NEWS.txt5
-rw-r--r--src/mailman/docs/STYLEGUIDE.txt31
-rw-r--r--src/mailman/version.py6
3 files changed, 21 insertions, 21 deletions
diff --git a/src/mailman/docs/NEWS.txt b/src/mailman/docs/NEWS.txt
index 5b525dde7..e6cdaffbe 100644
--- a/src/mailman/docs/NEWS.txt
+++ b/src/mailman/docs/NEWS.txt
@@ -8,6 +8,11 @@ Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
Here is a history of user visible changes to Mailman.
+3.0 alpha 8 -- "Where's My Thing?"
+==================================
+(201X-XX-XX)
+
+
3.0 alpha 7 -- "Mission"
========================
(2011-04-29)
diff --git a/src/mailman/docs/STYLEGUIDE.txt b/src/mailman/docs/STYLEGUIDE.txt
index 5a276317c..32b2da72f 100644
--- a/src/mailman/docs/STYLEGUIDE.txt
+++ b/src/mailman/docs/STYLEGUIDE.txt
@@ -14,14 +14,14 @@ http://barry.warsaw.us/software/STYLEGUIDE.txt
This document contains a style guide for Python programming, as used in GNU
Mailman. `PEP 8`_ is the basis for this style guide so it's recommendations
-should be followed except for the differences outlined here.
+should be followed except for the differences outlined here. This document
+assumes the use of Python 2.6 or 2.7, but not (yet) Python 3.
* After file comments (e.g. license block), add a ``__metaclass__`` definition
- so that (in Python 2.x) all classes will be new-style. Following that, add
- an ``__all__`` section that names, one-per-line, all the public names
- exported by this module. For Python 2.6 code, you should enable absolute
- imports and unicode literals. See the `GNU Mailman Python template`_ as an
- example.
+ so that all classes will be new-style. Following that, add an ``__all__``
+ section that names, one-per-line, all the public names exported by this
+ module. You should enable absolute imports and unicode literals. See the
+ `GNU Mailman Python template`_ as an example.
* Imports are always put at the top of the file, just after any module
comments and docstrings, and before module globals and constants, but after
@@ -56,13 +56,13 @@ should be followed except for the differences outlined here.
Comments should always be complete sentences, with proper capitalization and
full stops at the end.
-* Major sections of code in a module should be separated by line feed
+* Major sections of code in a module should be separated by form feed
characters (e.g. ``^L`` -- that's a single character control-L not two
characters). This helps with Emacs navigation.
- Always put a ``^L`` before module-level functions, before class definitions,
- before big blocks of constants which follow imports, and any place else that
- would be convenient to jump to. Always put two blank lines before a ``^L``.
+ Put a ``^L`` before module-level functions, before class definitions, before
+ big blocks of constants which follow imports, and any place else that would
+ be convenient to jump to. Always put two blank lines before a ``^L``.
* Put two blank lines between any top level construct or block of code
(e.g. after import blocks). Put only one blank line between methods in a
@@ -93,18 +93,13 @@ should be followed except for the differences outlined here.
* PEP 257 describes good docstrings conventions. Note that most importantly,
the """ that ends a multiline docstring should be on a line by itself, e.g.::
- """Return a foobang
+ """Return a foobang
- Optional plotz says to frobnicate the bizbaz first.
- """
+ Optional plotz says to frobnicate the bizbaz first.
+ """
* For one liner docstrings, keep the closing """ on the same line.
-* While ``<>`` is strongly preferred over ``!=``, Guido has pronounced that
- the latter is the standard spelling. We could invoke
- ``from __future__ import barry_as_FLUFL`` but we'll suck it up and begin the
- switch to the finger twister.
-
* ``fill-column`` for docstrings should be 78.
* When testing the emptiness of sequences, use ``if len(seq) == 0`` instead of
diff --git a/src/mailman/version.py b/src/mailman/version.py
index 702043d49..8f76d3157 100644
--- a/src/mailman/version.py
+++ b/src/mailman/version.py
@@ -18,8 +18,8 @@
"""Mailman version strings."""
# Mailman version
-VERSION = "3.0.0a7"
-CODENAME = 'Mission'
+VERSION = '3.0.0a7+'
+CODENAME = "Where's My Thing?"
# And as a hex number in the manner of PY_VERSION_HEX
ALPHA = 0xa
@@ -34,7 +34,7 @@ MINOR_REV = 0
MICRO_REV = 0
REL_LEVEL = ALPHA
# at most 15 beta releases!
-REL_SERIAL = 7
+REL_SERIAL = 8
HEX_VERSION = ((MAJOR_REV << 24) | (MINOR_REV << 16) | (MICRO_REV << 8) |
(REL_LEVEL << 4) | (REL_SERIAL << 0))