1. 12 Nis, 2008 1 kayıt (commit)
  2. 11 Nis, 2008 2 kayıt (commit)
  3. 10 Nis, 2008 8 kayıt (commit)
    • Trent Nelson's avatar
      Fix change to PyNumber_Index() made in r62269, which incorrectly allowed floats… · d12fbe9e
      Trent Nelson yazdı
      Fix change to PyNumber_Index() made in r62269, which incorrectly allowed floats to be interpreted as longs.  Thanks to Benjamin Peterson for picking this up.
      d12fbe9e
    • Amaury Forgeot d'Arc's avatar
      Add a NEWS entry for issue2221. · 7fedbe51
      Amaury Forgeot d'Arc yazdı
      Also don't flush stdout on each call to exec() or eval().
      Only interactive input really needs it.
      7fedbe51
    • Trent Nelson's avatar
      Update test_ssl.py to reflect the new approach for writing network-oriented… · 78520009
      Trent Nelson yazdı
      Update test_ssl.py to reflect the new approach for writing network-oriented tests in such a way that contention for ports is eliminated, thus allowing multiple instances of the same test to be run in parallel without issue (import for buildbots to run smoothly).  This change is in line with the changes made to network-oriented tests in trunk in r62234.  test_ssl.py is an odd case because the py3k version was newer than trunk.  When the most recent svnmerge was run from trunk to py3k in r62242, the older trunk version was brought over on top of the newer py3k version.  So, the plan was/is: revert the recent svnmerged version (done), manually make the changes to improve running in parallel (done with this commit), copy this version back to trunk and manually 3to2 it (to do next), check that in, then svnmerge block it.  Then when future changes need to be made to test_ssl.py, we can make them against trunk, and hopefully the merge to py3k should be a lot less painful.
      78520009
    • Trent Nelson's avatar
      Revert r62242: trunk's test_ssl.py isn't as up-to-date as py3k's, and should't… · 6b240cd8
      Trent Nelson yazdı
      Revert r62242: trunk's test_ssl.py isn't as up-to-date as py3k's, and should't have been brought over in the merge.
      6b240cd8
    • Martin v. Löwis's avatar
    • Trent Nelson's avatar
      Issue 2440: fix the handling of %n in Python/getargs.c's convertsimple(), extend… · e2ae4684
      Trent Nelson yazdı
      Issue 2440: fix the handling of %n in Python/getargs.c's convertsimple(), extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that have nb_int slots, and update test_getargs2 to test that an exception is thrown when __int__() returns a non-int object.
      e2ae4684
    • Martin v. Löwis's avatar
      Merged revisions 62246-62259 via svnmerge from · 5680d0c5
      Martin v. Löwis yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62246 | georg.brandl | 2008-04-09 19:57:38 +0200 (Mi, 09 Apr 2008) | 2 lines
      
        #2585: initialize code attribute of HTTPError.
      ........
        r62247 | georg.brandl | 2008-04-09 19:58:56 +0200 (Mi, 09 Apr 2008) | 2 lines
      
        Add :issue: directive for easy linking to bugs.python.org.
      ........
        r62249 | gregory.p.smith | 2008-04-09 20:18:43 +0200 (Mi, 09 Apr 2008) | 2 lines
      
        Add a note about the zlib.decompressobj().flush() fix.
      ........
        r62255 | martin.v.loewis | 2008-04-09 20:56:20 +0200 (Mi, 09 Apr 2008) | 2 lines
      
        Package wininst*.exe from distutils/command.
      ........
        r62259 | andrew.kuchling | 2008-04-10 00:28:43 +0200 (Do, 10 Apr 2008) | 1 line
      
        Try out the new issue role.  Thanks, Georg!
      ........
      5680d0c5
    • Martin v. Löwis's avatar
      Merged revisions 62263 via svnmerge from · 3de92bf1
      Martin v. Löwis yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ................
        r62263 | martin.v.loewis | 2008-04-10 04:48:01 +0200 (Do, 10 Apr 2008) | 19 lines
      
        Merged revisions 62080-62262 via svnmerge from
        svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
      
        ........
          r62092 | collin.winter | 2008-04-01 18:27:10 +0200 (Di, 01 Apr 2008) | 1 line
      
          Add get_prev_sibling() to complement pytree's get_next_sibling().
        ........
          r62226 | collin.winter | 2008-04-08 21:07:56 +0200 (Di, 08 Apr 2008) | 1 line
      
          Add min() and max() to the list of special contexts that don't require adding list() calls around dict methods.
        ........
          r62232 | collin.winter | 2008-04-09 00:12:38 +0200 (Mi, 09 Apr 2008) | 4 lines
      
          Fix for http://bugs.python.org/issue2596
      
          This extends fix_xrange to know about the (mostly) same special contexts as fix_dict (where a special context is something that is guaranteed to fully consume the iterable), adding list() calls where appropriate. It also special-cases "x in range(y)".
        ........
      ................
      3de92bf1
  4. 09 Nis, 2008 8 kayıt (commit)
    • Benjamin Peterson's avatar
      b47aace4
    • Georg Brandl's avatar
      ddee3081
    • Georg Brandl's avatar
      #2580: int() docs revision. · 225d3c80
      Georg Brandl yazdı
      225d3c80
    • Georg Brandl's avatar
      #2530: io module documentation. · 014197ca
      Georg Brandl yazdı
      014197ca
    • Georg Brandl's avatar
    • Christian Heimes's avatar
      Merged revisions… · 5e696859
      Christian Heimes yazdı
      Merged revisions 62194,62197-62198,62204-62205,62214,62219-62221,62227,62229-62231,62233-62235,62237-62239 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62194 | jeffrey.yasskin | 2008-04-07 01:04:28 +0200 (Mon, 07 Apr 2008) | 7 lines
      
        Add enough debugging information to diagnose failures where the
        HandlerBException is ignored, and fix one such problem, where it was thrown
        during the __del__ method of the previous Popen object.
      
        We may want to find a better way of printing verbose information so it's not
        spammy when the test passes.
      ........
        r62197 | mark.hammond | 2008-04-07 03:53:39 +0200 (Mon, 07 Apr 2008) | 2 lines
      
        Issue #2513: enable 64bit cross compilation on windows.
      ........
        r62198 | mark.hammond | 2008-04-07 03:59:40 +0200 (Mon, 07 Apr 2008) | 2 lines
      
        correct heading underline for new "Cross-compiling on Windows" section
      ........
        r62204 | gregory.p.smith | 2008-04-07 08:33:21 +0200 (Mon, 07 Apr 2008) | 4 lines
      
        Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly
        within the standard library.  These modules use PyFile_AsFile and later
        release the GIL while operating on the previously returned FILE*.
      ........
        r62205 | mark.summerfield | 2008-04-07 09:39:23 +0200 (Mon, 07 Apr 2008) | 4 lines
      
        changed "2500 components" to "several thousand" since the number keeps
        growning:-)
      ........
        r62214 | georg.brandl | 2008-04-07 20:51:59 +0200 (Mon, 07 Apr 2008) | 2 lines
      
        #2525: update timezone info examples in the docs.
      ........
        r62219 | andrew.kuchling | 2008-04-08 01:57:07 +0200 (Tue, 08 Apr 2008) | 1 line
      
        Write PEP 3127 section; add items
      ........
        r62220 | andrew.kuchling | 2008-04-08 01:57:21 +0200 (Tue, 08 Apr 2008) | 1 line
      
        Typo fix
      ........
        r62221 | andrew.kuchling | 2008-04-08 03:33:10 +0200 (Tue, 08 Apr 2008) | 1 line
      
        Typographical fix: 32bit -> 32-bit, 64bit -> 64-bit
      ........
        r62227 | andrew.kuchling | 2008-04-08 23:22:53 +0200 (Tue, 08 Apr 2008) | 1 line
      
        Add items
      ........
        r62229 | amaury.forgeotdarc | 2008-04-08 23:27:42 +0200 (Tue, 08 Apr 2008) | 7 lines
      
        Issue2564: Prevent a hang in "import test.autotest", which runs the entire test
        suite as a side-effect of importing the module.
      
        - in test_capi, a thread tried to import other modules
        - re.compile() imported sre_parse again on every call.
      ........
        r62230 | amaury.forgeotdarc | 2008-04-08 23:51:57 +0200 (Tue, 08 Apr 2008) | 2 lines
      
        Prevent an error when inspect.isabstract() is called with something else than a new-style class.
      ........
        r62231 | amaury.forgeotdarc | 2008-04-09 00:07:05 +0200 (Wed, 09 Apr 2008) | 8 lines
      
        Issue 2408: remove the _types module
        It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType),
        when they can easily be obtained with python code.
        These expressions even work with Jython.
      
        I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 )
        at least this change makes it simpler.
      ........
        r62233 | amaury.forgeotdarc | 2008-04-09 01:10:07 +0200 (Wed, 09 Apr 2008) | 2 lines
      
        Add a NEWS entry for previous checkin
      ........
        r62234 | trent.nelson | 2008-04-09 01:47:30 +0200 (Wed, 09 Apr 2008) | 37 lines
      
        - Issue #2550: The approach used by client/server code for obtaining ports
          to listen on in network-oriented tests has been refined in an effort to
          facilitate running multiple instances of the entire regression test suite
          in parallel without issue.  test_support.bind_port() has been fixed such
          that it will always return a unique port -- which wasn't always the case
          with the previous implementation, especially if socket options had been
          set that affected address reuse (i.e. SO_REUSEADDR, SO_REUSEPORT).  The
          new implementation of bind_port() will actually raise an exception if it
          is passed an AF_INET/SOCK_STREAM socket with either the SO_REUSEADDR or
          SO_REUSEPORT socket option set.  Furthermore, if available, bind_port()
          will set the SO_EXCLUSIVEADDRUSE option on the socket it's been passed.
          This currently only applies to Windows.  This option prevents any other
          sockets from binding to the host/port we've bound to, thus removing the
          possibility of the 'non-deterministic' behaviour, as Microsoft puts it,
          that occurs when a second SOCK_STREAM socket binds and accepts to a
          host/port that's already been bound by another socket.  The optional
          preferred port parameter to bind_port() has been removed.  Under no
          circumstances should tests be hard coding ports!
      
          test_support.find_unused_port() has also been introduced, which will pass
          a temporary socket object to bind_port() in order to obtain an unused port.
          The temporary socket object is then closed and deleted, and the port is
          returned.  This method should only be used for obtaining an unused port
          in order to pass to an external program (i.e. the -accept [port] argument
          to openssl's s_server mode) or as a parameter to a server-oriented class
          that doesn't give you direct access to the underlying socket used.
      
          Finally, test_support.HOST has been introduced, which should be used for
          the host argument of any relevant socket calls (i.e. bind and connect).
      
          The following tests were updated to following the new conventions:
            test_socket, test_smtplib, test_asyncore, test_ssl, test_httplib,
            test_poplib, test_ftplib, test_telnetlib, test_socketserver,
            test_asynchat and test_socket_ssl.
      
          It is now possible for multiple instances of the regression test suite to
          run in parallel without issue.
      ........
        r62235 | gregory.p.smith | 2008-04-09 02:25:17 +0200 (Wed, 09 Apr 2008) | 3 lines
      
        Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive.
        It tried to allocate negative or zero memory.  That fails.
      ........
        r62237 | trent.nelson | 2008-04-09 02:34:53 +0200 (Wed, 09 Apr 2008) | 1 line
      
        Fix typo with regards to self.PORT shadowing class variables with the same name.
      ........
        r62238 | andrew.kuchling | 2008-04-09 03:08:32 +0200 (Wed, 09 Apr 2008) | 1 line
      
        Add items
      ........
        r62239 | jerry.seutter | 2008-04-09 07:07:58 +0200 (Wed, 09 Apr 2008) | 1 line
      
        Changed test so it no longer runs as a side effect of importing.
      ........
      5e696859
    • Georg Brandl's avatar
      More docstring fixes, and an XXX. · f91197c6
      Georg Brandl yazdı
      f91197c6
    • Georg Brandl's avatar
      Clarify xrange() entry. · 67b8cad1
      Georg Brandl yazdı
      67b8cad1
  5. 08 Nis, 2008 3 kayıt (commit)
    • Martin v. Löwis's avatar
      37475a8d
    • Martin v. Löwis's avatar
      Tentatively Blocked revisions 62223 via svnmerge, · c6a7b6b7
      Martin v. Löwis yazdı
      as compilation of py3_ should work in py3k.
      
      ........
        r62223 | martin.v.loewis | 2008-04-08 18:48:35 +0200 (Di, 08 Apr 2008) | 1 line
      
        Suppress compilation of py3_ files upon installation.
      ........
      c6a7b6b7
    • Christian Heimes's avatar
      Blocked revisions 62195 via svnmerge · 69173711
      Christian Heimes yazdı
      ........
        r62195 | gregory.p.smith | 2008-04-07 01:11:17 +0200 (Mon, 07 Apr 2008) | 10 lines
      
        Make file objects as thread safe as the underlying libc FILE* implementation.
        close() will now raise an IOError if any operations on the file object
        are currently in progress in other threads.
      
        Most code was written by Antoine Pitrou (pitrou).  Additional testing,
        documentation and test suite cleanup done by me (gregory.p.smith).
      
        Fixes issue 815646 and 595601 (as well as many other bugs and
        references to this problem dating back to the dawn of Python).
      ........
      69173711
  6. 07 Nis, 2008 9 kayıt (commit)
  7. 06 Nis, 2008 4 kayıt (commit)
  8. 05 Nis, 2008 5 kayıt (commit)
    • Martin v. Löwis's avatar
      Change command line processing API to use wchar_t. · 790465fd
      Martin v. Löwis yazdı
      Fixes #2128.
      790465fd
    • Martin v. Löwis's avatar
      Remove baseName argument from Tkapp_New, as it apparently · b9279bc8
      Martin v. Löwis yazdı
      isn't used anymore.
      b9279bc8
    • Martin v. Löwis's avatar
      Merged revisions… · 2a241ca8
      Martin v. Löwis yazdı
      Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62128,62130,62132,62134-62135,62137,62139-62140,62144,62146,62151,62155,62157,62162-62174 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62167 | martin.v.loewis | 2008-04-05 17:45:25 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Extend sizes of various fields, to support the CRT90 merge module.
      ........
        r62168 | martin.v.loewis | 2008-04-05 17:48:36 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Add two features to distinguish between private and SxS CRT.
      ........
        r62169 | martin.v.loewis | 2008-04-05 17:50:58 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Add script to merge msvcr90.
      ........
        r62170 | andrew.kuchling | 2008-04-05 17:57:46 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Markup fixes; write PEP 3118 section
      ........
        r62173 | georg.brandl | 2008-04-05 19:45:58 +0200 (Sa, 05 Apr 2008) | 2 lines
      
        Mention that the tuple returned by __reduce__ is pickled as normal.
      ........
        r62174 | andrew.kuchling | 2008-04-05 20:15:30 +0200 (Sa, 05 Apr 2008) | 1 line
      
        Write PEP 3119 section
      ........
      2a241ca8
    • Georg Brandl's avatar
      ceil and floor return ints in 3k. · 2a033735
      Georg Brandl yazdı
      2a033735
    • Benjamin Peterson's avatar