Re: Re: [farm-report] Build python-HP_UX-B.11.00-9000_829-taylor was successful.

Kalle Svensson <[email protected]> Fri, 16 Aug 2002 17:49:24 +0200
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Guido van Rossum]
> I still see these:
> 
> > Subject: [farm-report] Build python-HP_UX-B.11.00-9000_829-taylor was
> >     successful.
> [...]
> > Exception exceptions.AttributeError: "mkstemped instance has no attribute 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped instance at 0x4074ccb0>> ignored
> > Exception exceptions.AttributeError: "mkstemped instance has no attribute 'fd'" in <bound method mkstemped.__del__ of <test.test_tempfile.mkstemped instance at 0x40b11a58>> ignored
> 
> I thought I had checked in a fix for that (reducing the number of temp
> files created from 1000 to 100).  Why would that not be sufficient, if
> the open file limit is 200?  Or did you reduce it to 100?  That
> wouldn't work (I guess you'd need at least 103 :-).

Revision 1.5 of test_tempfile.py still has this:

    def test_basic_many(self):
        """_mkstemp_inner can create many files (stochastic)"""
        extant = range(1000)
        for i in extant:
            extant[i] = self.do_create(pre="aa")

I think you changed the wrong test.  Here's a patch.

*** Lib/test/test_tempfile.py   Thu Aug 15 00:01:43 2002
- --- /home/kalle/test_tempfile.py        Fri Aug 16 17:45:56 2002
***************
*** 290,296 ****
  
      def test_basic_many(self):
          """_mkstemp_inner can create many files (stochastic)"""
!         extant = range(1000)
          for i in extant:
              extant[i] = self.do_create(pre="aa")
  
- --- 290,296 ----
  
      def test_basic_many(self):
          """_mkstemp_inner can create many files (stochastic)"""
!         extant = range(100)
          for i in extant:
              extant[i] = self.do_create(pre="aa")
  
By the way, I haven't forgotten about the AIX problems, but I'll
probably have no time to work on them for two weeks now.  Very much
going on.

Peace,
  Kalle
- -- 
Kalle Svensson, http://www.juckapan.org/~kalle/
Student, root and saint in the Church of Emacs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQE9XR78dNeA1787sd0RAooCAJoD6FV+8G4u3TC9oyhj78GUDYZiLACggqUa
LB/kr9wOoVsZ4fymOCEj+Rw=
=Jfil
-----END PGP SIGNATURE-----