[Python-3000] PEP 3137 plan of attack {stage 2]

Christian Heimes lists at cheimes.de
Sat Oct 20 00:26:27 CEST 2007


Guido van Rossum wrote:
>> I only pointed out that it's missing. I didn't say that I would write it
>> because I don't feel qualified and experienced enough for it.
> 
> Oops, sorry again.

I may take it as a challenge to write the view but I don't know if I can
handle it. I'm still learning how to program C for Python. It may be a
good opportunity to learn more. If you don't mind that it may take
longer and if somebody could lend me a hand ... :]

>> Which unit tests are broken for you? test_cProfile test_doctest
>> test_email test_profile are broken for me in a vanilla build of py3k. My
>> patch doesn't break additional tests for me.
> 
> I'll look into it. Maybe I misremember.

I don't see additional failing unit tests. My patch had an issue but I
fixed it couple of days ago. Maybe you can't remember the fix.

>> By the way I may have figured out how to fix the profile tests.
> 
> Cooll submit to the tracker and assign to me any time.

I can't assign bugs with my current user level but I added you to the
nosy list.

http://bugs.python.org/issue1302

test_mail fails because the file Lib/email/test/data/msg_15.txt contains
an invalid UTF-8 character in "Da dit postl¾sningsprogram". The text
looks like something should fail:

    def test_same_boundary_inner_outer(self):
        unless = self.failUnless
        msg = self._msgobj('msg_15.txt')
        # XXX We can probably eventually do better
        inner = msg.get_payload(0)
        unless(hasattr(inner, 'defects'))
        self.assertEqual(len(inner.defects), 1)
        unless(isinstance(inner.defects[0],
                          errors.StartBoundaryNotFoundDefect))

Christian


More information about the Python-3000 mailing list