-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Oct 7, 2007, at 6:17 PM, Mark Sapiro wrote:

> I agree, but the problem remains that upper and mixed case internal
> names don't work because of the many user interfaces that lower  
> case the
> name before accessing the list. So, what does Create() do when  
> asked to
> create a list with a non-lower case name?
>
> 1) Go ahead and create it.
> 2) Lower case the name and create that.
> 3) Raise raise Errors.BadListNameError.
>
> Presently it does 1), but I think 2) is better and perhaps 3) is best.

Let's do #3, or alternatively, we could add an assert since this is a  
constraint of Create().  E.g. something like this before the  
Utils.list_exists() call:

     assert name == name.lower(), 'List name must be all lower case.'

Cheers,
- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHC3wP2YZpQepbvXERAtToAJ9t1NToyQCtohVl3ZV0PWv2r5OodwCbBn7G
BRRVrLmbFfcGb72HlUxpkT8=
=OKYE
-----END PGP SIGNATURE-----
_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to