[Python-Dev] RE: [Python-checkins] python/dist/src/Lib/test test_copy.py, 1.11.8.1, 1.11.8.2

Alex Martelli aleax at aleax.it
Mon Feb 7 14:49:56 CET 2005


On 2005 Feb 06, at 19:42, Raymond Hettinger wrote:

>> Modified Files:
>>       Tag: release23-maint
>> 	test_copy.py
>> Log Message:
>> fix bug 1114776
>
> Don't forget release24-maint.

Done -- but the maintenance branch of 2.4 has a problem right now: it 
doesn't pass unit tests, specifically test_os (I checked right after a 
cvs up and before doing any changes, of course).

This appears to be connected to: mapping_tests.py being very strict (or 
something) and demanding that some mapping be able to update itself 
from a ``simple dictionary'' that's not iterable and does not have an 
.items method either; while the _Environ class in os.py appears to make 
some reasonable demands from the argument to its .update method.  I'm 
not _sure_ which side of the dispute is in the right, so I haven't 
changed anything there (even though committing anything with unit tests 
broken makes my teeth grit).  I do admit that this kind of issue makes 
a good case for more formalized interfaces...;-)


Alex



More information about the Python-Dev mailing list