Patch to replace tuple() with tuple([])

Michael Ströder michael at stroeder.com
Fri Apr 11 13:42:24 CEST 2003


Peter Hawkins wrote:
> 
> Attached is a patch against 2.0.0pre07 which replaces instances of tuple()
> with tuple([]). This is necessary since tuple() is not valid under
> python 2.1.

I've updated Lib/ldap/schema/tokenizer.py and Lib/ldap/schema/models.py to 
use (()) instead of tuple() for creating empty tuples.

Please test!

Ciao, Michael.






More information about the python-ldap mailing list