1. 26 Şub, 2008 1 kayıt (commit)
    • Christian Heimes's avatar
      Merged revisions… · 836baa53
      Christian Heimes yazdı
      Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61064,61066-61080 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61063 | andrew.kuchling | 2008-02-25 17:29:19 +0100 (Mon, 25 Feb 2008) | 1 line
      
        Move .setupterm() output so that we don't try to call endwin() if it fails
      ........
        r61064 | andrew.kuchling | 2008-02-25 17:29:58 +0100 (Mon, 25 Feb 2008) | 1 line
      
        Use file descriptor for real stdout
      ........
        r61067 | facundo.batista | 2008-02-25 19:06:00 +0100 (Mon, 25 Feb 2008) | 4 lines
      
      
        Issue 2117.  Update compiler module to handle class decorators.
        Thanks Thomas Herve
      ........
        r61069 | georg.brandl | 2008-02-25 21:17:56 +0100 (Mon, 25 Feb 2008) | 2 lines
      
        Rename sphinx.addons to sphinx.ext.
      ........
        r61071 | georg.brandl | 2008-02-25 21:20:45 +0100 (Mon, 25 Feb 2008) | 2 lines
      
        Revert r61029.
      ........
        r61072 | facundo.batista | 2008-02-25 23:33:55 +0100 (Mon, 25 Feb 2008) | 4 lines
      
      
        Issue 2168. gdbm and dbm needs to be iterable; this fixes a
        failure in the shelve module.  Thanks Thomas Herve.
      ........
        r61073 | raymond.hettinger | 2008-02-25 23:42:32 +0100 (Mon, 25 Feb 2008) | 1 line
      
        Make sure the itertools filter functions give the same performance for func=bool as func=None.
      ........
        r61074 | raymond.hettinger | 2008-02-26 00:17:41 +0100 (Tue, 26 Feb 2008) | 1 line
      
        Revert part of r60927 which made invalid assumptions about the API offered by db modules.
      ........
        r61075 | facundo.batista | 2008-02-26 00:46:02 +0100 (Tue, 26 Feb 2008) | 3 lines
      
      
        Coerced PyBool_Type to be able to compare it.
      ........
        r61076 | raymond.hettinger | 2008-02-26 03:46:54 +0100 (Tue, 26 Feb 2008) | 1 line
      
        Docs for itertools.combinations().  Implementation in forthcoming checkin.
      ........
        r61077 | neal.norwitz | 2008-02-26 05:50:37 +0100 (Tue, 26 Feb 2008) | 3 lines
      
        Don't use a hard coded port.  This test could hang/fail if the port is in use.
        Speed this test up by avoiding a sleep and using the event.
      ........
        r61078 | neal.norwitz | 2008-02-26 06:12:50 +0100 (Tue, 26 Feb 2008) | 1 line
      
        Whitespace normalization
      ........
        r61079 | neal.norwitz | 2008-02-26 06:23:51 +0100 (Tue, 26 Feb 2008) | 1 line
      
        Whitespace normalization
      ........
        r61080 | georg.brandl | 2008-02-26 07:40:10 +0100 (Tue, 26 Feb 2008) | 2 lines
      
        Banish tab.
      ........
      836baa53
  2. 25 Şub, 2008 3 kayıt (commit)
    • Christian Heimes's avatar
      svnmerge.py block -r 61065 · 34f8d3a4
      Christian Heimes yazdı
      34f8d3a4
    • Christian Heimes's avatar
      Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61058-61061 via svnmerge from · dcca98d4
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61058 | neal.norwitz | 2008-02-25 02:45:37 +0100 (Mon, 25 Feb 2008) | 1 line
      
        Fix indentation
      ........
        r61059 | brett.cannon | 2008-02-25 06:33:07 +0100 (Mon, 25 Feb 2008) | 2 lines
      
        Add minor markup for a string.
      ........
        r61060 | brett.cannon | 2008-02-25 06:33:33 +0100 (Mon, 25 Feb 2008) | 2 lines
      
        Fix a minor typo in a docstring.
      ........
      dcca98d4
    • Christian Heimes's avatar
      Merged revisions 61038,61042-61045,61047,61049-61053,61055-61057 via svnmerge from · 23daade0
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61049 | christian.heimes | 2008-02-24 13:26:16 +0100 (Sun, 24 Feb 2008) | 1 line
      
        Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal.
      ........
        r61051 | mark.dickinson | 2008-02-24 19:12:36 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        Remove duplicate 'import re' in decimal.py
      ........
        r61052 | neal.norwitz | 2008-02-24 19:47:03 +0100 (Sun, 24 Feb 2008) | 11 lines
      
        Create a db_home directory with a unique name so multiple users can
        run the test simultaneously.  The simplest thing I found that worked
        on both Windows and Unix was to use the PID.  It's unique so should be
        sufficient.  This should prevent many of the spurious failures of
        the automated tests since they run as different users.
      
        Also cleanup the directory consistenly in the tearDown methods.
      
        It would be nice if someone ensured that the directories are always
        created with a consistent name.
      ........
        r61057 | christian.heimes | 2008-02-24 23:48:05 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        Added dependency rules for Objects/stringlib/*.h
        stringobject, unicodeobject and the two formatters are rebuild whenever a header files changes
      ........
      23daade0
  3. 24 Şub, 2008 5 kayıt (commit)
    • Eric Smith's avatar
      ecbac8f3
    • Eric Smith's avatar
    • Christian Heimes's avatar
      Merged revisions 61034-61036,61038-61048 via svnmerge from · a612dc02
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61034 | georg.brandl | 2008-02-24 01:03:22 +0100 (Sun, 24 Feb 2008) | 4 lines
      
        #900744: If an invalid chunked-encoding header is sent by a server,
        httplib will now raise IncompleteRead and close the connection instead
        of raising ValueError.
      ........
        r61035 | georg.brandl | 2008-02-24 01:14:24 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        #1627: httplib now ignores negative Content-Length headers.
      ........
        r61039 | andrew.kuchling | 2008-02-24 03:39:15 +0100 (Sun, 24 Feb 2008) | 1 line
      
        Remove stray word
      ........
        r61040 | neal.norwitz | 2008-02-24 03:40:58 +0100 (Sun, 24 Feb 2008) | 3 lines
      
        Add a little info to the 3k deprecation warnings about what to use instead.
        Suggested by Raymond Hettinger.
      ........
        r61041 | facundo.batista | 2008-02-24 04:17:21 +0100 (Sun, 24 Feb 2008) | 4 lines
      
      
        Issue 1742669. Now %d accepts very big float numbers.
        Thanks Gabriel Genellina.
      ........
        r61046 | neal.norwitz | 2008-02-24 08:21:56 +0100 (Sun, 24 Feb 2008) | 5 lines
      
        Get ctypes working on the Alpha (Tru64).  The problem was that there
        were two module_methods and the one used depended on the order the
        modules were loaded.  By making the test module_methods static,
        it is not exported and the correct version is picked up.
      ........
        r61048 | neal.norwitz | 2008-02-24 09:27:49 +0100 (Sun, 24 Feb 2008) | 1 line
      
        Fix typo of hexidecimal
      ........
      a612dc02
    • Neal Norwitz's avatar
      Blocked revisions 61037 via svnmerge · 8e21a3cf
      Neal Norwitz yazdı
      ........
        r61037 | neal.norwitz | 2008-02-23 18:20:25 -0800 (Sat, 23 Feb 2008) | 2 lines
      
        map(None, ...) is not supported in 3.0.
      ........
      8e21a3cf
    • Christian Heimes's avatar
      Merged revisions 61003-61033 via svnmerge from · d3eb5a15
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61004 | georg.brandl | 2008-02-23 19:47:04 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        Documentation coverage builder, part 1.
      ........
        r61006 | andrew.kuchling | 2008-02-23 20:02:33 +0100 (Sat, 23 Feb 2008) | 1 line
      
        #1389051: IMAP module tries to read entire message in one chunk.  Patch by Fredrik Lundh.
      ........
        r61008 | andrew.kuchling | 2008-02-23 20:28:58 +0100 (Sat, 23 Feb 2008) | 1 line
      
        #1389051, #1092502: fix excessively large allocations when using read() on a socket
      ........
        r61011 | jeffrey.yasskin | 2008-02-23 20:40:54 +0100 (Sat, 23 Feb 2008) | 13 lines
      
        Prevent classes like:
            class RunSelfFunction(object):
                def __init__(self):
                    self.thread = threading.Thread(target=self._run)
                    self.thread.start()
                def _run(self):
                    pass
        from creating a permanent cycle between the object and the thread by having the
        Thread delete its references to the object when it completes.
      
        As an example of the effect of this bug, paramiko.Transport inherits from
        Thread to avoid it.
      ........
        r61013 | jeffrey.yasskin | 2008-02-23 21:40:35 +0100 (Sat, 23 Feb 2008) | 3 lines
      
        Followup to r61011: Also avoid the reference cycle when the Thread's target
        raises an exception.
      ........
        r61017 | georg.brandl | 2008-02-23 22:59:11 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #2101: fix removeAttribute docs.
      ........
        r61018 | georg.brandl | 2008-02-23 23:05:38 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        Add examples to modulefinder docs. Written for GHOP by Josip Dzolonga.
      ........
        r61019 | georg.brandl | 2008-02-23 23:09:24 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        Use os.closerange() in popen2.
      ........
        r61020 | georg.brandl | 2008-02-23 23:14:02 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        Use os.closerange().
      ........
        r61021 | georg.brandl | 2008-02-23 23:35:33 +0100 (Sat, 23 Feb 2008) | 3 lines
      
        In test_heapq and test_bisect, test both the Python and the C implementation.
        Originally written for GHOP by Josip Dzolonga, heavily patched by me.
      ........
        r61024 | facundo.batista | 2008-02-23 23:54:12 +0100 (Sat, 23 Feb 2008) | 3 lines
      
      
        Added simple test case. Thanks Benjamin Peterson.
      ........
        r61025 | georg.brandl | 2008-02-23 23:55:18 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #1825: correctly document msilib.add_data.
      ........
        r61027 | georg.brandl | 2008-02-24 00:02:23 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        #1826: allow dotted attribute paths in operator.attrgetter.
      ........
        r61028 | georg.brandl | 2008-02-24 00:04:35 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        #1506171: added operator.methodcaller().
      ........
        r61029 | georg.brandl | 2008-02-24 00:25:26 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        Document import ./. threading issues. #1720705.
      ........
        r61032 | georg.brandl | 2008-02-24 00:43:01 +0100 (Sun, 24 Feb 2008) | 2 lines
      
        Specify what kind of warning -3 emits.
      ........
        r61033 | christian.heimes | 2008-02-24 00:59:45 +0100 (Sun, 24 Feb 2008) | 1 line
      
        MS Windows doesn't have mode_t but stat.st_mode is defined as unsigned short.
      ........
      d3eb5a15
  4. 23 Şub, 2008 7 kayıt (commit)
    • Christian Heimes's avatar
      Merged revisions 60990-61002 via svnmerge from · 05e8be17
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60990 | eric.smith | 2008-02-23 17:05:26 +0100 (Sat, 23 Feb 2008) | 1 line
      
        Removed duplicate Py_CHARMASK define.  It's already defined in Python.h.
      ........
        r60991 | andrew.kuchling | 2008-02-23 17:23:05 +0100 (Sat, 23 Feb 2008) | 4 lines
      
        #1330538: Improve comparison of xmlrpclib.DateTime and datetime instances.
        Remove automatic handling of datetime.date and datetime.time.
        This breaks backward compatibility, but python-dev discussion was strongly
        against this automatic conversion; see the bug for a link.
      ........
        r60994 | andrew.kuchling | 2008-02-23 17:39:43 +0100 (Sat, 23 Feb 2008) | 1 line
      
        #835521: Add index entries for various pickle-protocol methods and attributes
      ........
        r60995 | andrew.kuchling | 2008-02-23 18:10:46 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #1433694: minidom's .normalize() failed to set .nextSibling for last element.
        Fix by Malte Helmert
      ........
        r61000 | christian.heimes | 2008-02-23 18:40:11 +0100 (Sat, 23 Feb 2008) | 1 line
      
        Patch #2167 from calvin: Remove unused imports
      ........
        r61001 | christian.heimes | 2008-02-23 18:42:31 +0100 (Sat, 23 Feb 2008) | 1 line
      
        Patch #1957: syslogmodule: Release GIL when calling syslog(3)
      ........
        r61002 | christian.heimes | 2008-02-23 18:52:07 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        Issue #2051 and patch from Alexander Belopolsky:
        Permission for pyc and pyo files are inherited from the py file.
      ........
      05e8be17
    • Christian Heimes's avatar
      Simplified svnmerge blocked and integrated. We are never ever going to integrate… · 5abe9125
      Christian Heimes yazdı
      Simplified svnmerge blocked and integrated. We are never ever going to integrate the blocked revisions. The old values were:
        svnmerge-blocked : /python/trunk:60480,60521-60522,60528-60529,60534,60539,60599,60707,60713,60879,60893,60899,60932,60962,60970,60978
        svnmerge-integrated : /python/trunk:1-60479,60481-60520,60523-60527,60530-60533,60535-60538,60540-60598,60600-60706,60708-60712,60714-60878,60880-60892,60894-60898,60900-60931,60933-60961,60963-60969,60971-60977,60979-60989
      5abe9125
    • Christian Heimes's avatar
      Merged revisions… · 8640e749
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60875,60880-60881,60886,60888-60890,60892,60894-60898,60900,60902-60906,60908,60911-60917,60919-60920,60922,60926,60929-60931,60933-60935,60937,60939-60941,60943-60954,60959-60961,60963-60964,60966-60967,60971,60977,60979-60989 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60980 | georg.brandl | 2008-02-23 16:02:28 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #1492: allow overriding BaseHTTPServer's content type for error messages.
      ........
        r60982 | georg.brandl | 2008-02-23 16:06:25 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #2165: fix test_logging failure on some machines.
      ........
        r60983 | facundo.batista | 2008-02-23 16:07:35 +0100 (Sat, 23 Feb 2008) | 6 lines
      
      
        Issue 1089358.  Adds the siginterrupt() function, that is just a
        wrapper around the system call with the same name.  Also added
        test cases, doc changes and NEWS entry. Thanks Jason and Ralf
        Schmitt.
      ........
        r60984 | georg.brandl | 2008-02-23 16:11:18 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #2067: file.__exit__() now calls subclasses' close() method.
      ........
        r60985 | georg.brandl | 2008-02-23 16:19:54 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        More difflib examples. Written for GHOP by Josip Dzolonga.
      ........
        r60987 | andrew.kuchling | 2008-02-23 16:41:51 +0100 (Sat, 23 Feb 2008) | 1 line
      
        #2072: correct documentation for .rpc_paths
      ........
        r60988 | georg.brandl | 2008-02-23 16:43:48 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #2161: Fix opcode name.
      ........
        r60989 | andrew.kuchling | 2008-02-23 16:49:35 +0100 (Sat, 23 Feb 2008) | 2 lines
      
        #1119331: ncurses will just call exit() if the terminal name isn't found.
        Call setupterm() first so that we get a Python exception instead of just existing.
      ........
      8640e749
    • Christian Heimes's avatar
      block -r60978 · f697219e
      Christian Heimes yazdı
      f697219e
    • Christian Heimes's avatar
      Patch from Georg Brandl: Fix co_lineno of decorated function and class objects.… · 09aaa883
      Christian Heimes yazdı
      Patch from Georg Brandl: Fix co_lineno of decorated function and class objects. If you see an error in test_inspect please delete all pyc files.
      09aaa883
    • Christian Heimes's avatar
      Merged revisions… · 90c3d9b9
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60875,60880-60881,60886,60888-60890,60892,60894-60898,60900,60902-60906,60908,60911-60917,60919-60920,60922,60926,60929-60931,60933-60935,60937,60939-60941,60943-60954,60959-60961,60963-60969,60971-60976 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60965 | eric.smith | 2008-02-22 18:43:17 +0100 (Fri, 22 Feb 2008) | 1 line
      
        Tests for bin() builtin.  These need to get merged into py3k, which has no tests for bin.
      ........
        r60968 | raymond.hettinger | 2008-02-22 20:50:06 +0100 (Fri, 22 Feb 2008) | 1 line
      
        Document itertools.product().
      ........
        r60969 | raymond.hettinger | 2008-02-23 03:20:41 +0100 (Sat, 23 Feb 2008) | 9 lines
      
        Improve the implementation of itertools.product()
      
        * Fix-up issues pointed-out by Neal Norwitz.
        * Add extensive comments.
        * The lz->result variable is now a tuple instead of a list.
        * Use fast macro getitem/setitem calls so most code is in-line.
        * Re-use the result tuple if available (modify in-place instead of copy).
      ........
        r60972 | raymond.hettinger | 2008-02-23 05:03:50 +0100 (Sat, 23 Feb 2008) | 1 line
      
        Add more comments
      ........
        r60973 | raymond.hettinger | 2008-02-23 11:04:15 +0100 (Sat, 23 Feb 2008) | 1 line
      
        Add recipe using itertools.product().
      ........
        r60974 | facundo.batista | 2008-02-23 13:01:13 +0100 (Sat, 23 Feb 2008) | 6 lines
      
      
        Issue 1881. Increased the stack limit from 500 to 1500. Also added
        a test for this (and because of this test you'll see in stderr a
        message that parser.c sends before raising MemoryError).
        Thanks Ralf Schmitt.
      ........
        r60975 | facundo.batista | 2008-02-23 13:27:17 +0100 (Sat, 23 Feb 2008) | 4 lines
      
      
        Issue 1776581. Minor corrections to smtplib, and two small tests.
        Thanks Alan McIntyre.
      ........
        r60976 | facundo.batista | 2008-02-23 13:46:10 +0100 (Sat, 23 Feb 2008) | 5 lines
      
      
        Issue 1781. Now ConfigParser.add_section does not let you add a
        DEFAULT section any more, because it duplicated sections with
        the rest of the machinery. Thanks Tim Lesher and Manuel Kaufmann.
      ........
      90c3d9b9
    • Eric Smith's avatar
      Blocked r60970 with svnmerge. · 973a8728
      Eric Smith yazdı
      973a8728
  5. 22 Şub, 2008 3 kayıt (commit)
    • Christian Heimes's avatar
      Merged revisions… · c3f30c43
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60875,60880-60881,60886,60888-60890,60892,60894-60898,60900-60931,60933-60958 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60901 | eric.smith | 2008-02-19 14:21:56 +0100 (Tue, 19 Feb 2008) | 1 line
      
        Added PEP 3101.
      ........
        r60907 | georg.brandl | 2008-02-20 20:12:36 +0100 (Wed, 20 Feb 2008) | 2 lines
      
        Fixes contributed by Ori Avtalion.
      ........
        r60909 | eric.smith | 2008-02-21 00:34:22 +0100 (Thu, 21 Feb 2008) | 1 line
      
        Trim leading zeros from a floating point exponent, per C99.  See issue 1600.  As far as I know, this only affects Windows.  Add float type 'n' to PyOS_ascii_formatd (see PEP 3101 for 'n' description).
      ........
        r60910 | eric.smith | 2008-02-21 00:39:28 +0100 (Thu, 21 Feb 2008) | 1 line
      
        Now that PyOS_ascii_formatd supports the 'n' format, simplify the float formatting code to just call it.
      ........
        r60918 | andrew.kuchling | 2008-02-21 15:23:38 +0100 (Thu, 21 Feb 2008) | 2 lines
      
        Close manifest file.
        This change doesn't make any difference to CPython, but is a necessary fix for Jython.
      ........
        r60921 | guido.van.rossum | 2008-02-21 18:46:16 +0100 (Thu, 21 Feb 2008) | 2 lines
      
        Remove news about float repr() -- issue 1580 is still in limbo.
      ........
        r60923 | guido.van.rossum | 2008-02-21 19:18:37 +0100 (Thu, 21 Feb 2008) | 5 lines
      
        Removed uses of dict.has_key() from distutils, and uses of
        callable() from copy_reg.py, so the interpreter now starts up
        without warnings when '-3' is given.  More work like this needs to
        be done in the rest of the stdlib.
      ........
        r60924 | thomas.heller | 2008-02-21 19:28:48 +0100 (Thu, 21 Feb 2008) | 4 lines
      
        configure.ac: Remove the configure check for _Bool, it is already done in the
        top-level Python configure script.
        configure, fficonfig.h.in: regenerated.
      ........
        r60925 | thomas.heller | 2008-02-21 19:52:20 +0100 (Thu, 21 Feb 2008) | 3 lines
      
        Replace 'has_key()' with 'in'.
        Replace 'raise Error, stuff' with 'raise Error(stuff)'.
      ........
        r60927 | raymond.hettinger | 2008-02-21 20:24:53 +0100 (Thu, 21 Feb 2008) | 1 line
      
        Update more instances of has_key().
      ........
        r60928 | guido.van.rossum | 2008-02-21 20:46:35 +0100 (Thu, 21 Feb 2008) | 3 lines
      
        Fix a few typos and layout glitches (more work is needed).
        Move 2.5 news to Misc/HISTORY.
      ........
        r60936 | georg.brandl | 2008-02-21 21:33:38 +0100 (Thu, 21 Feb 2008) | 2 lines
      
        #2079: typo in userdict docs.
      ........
        r60938 | georg.brandl | 2008-02-21 21:38:13 +0100 (Thu, 21 Feb 2008) | 2 lines
      
        Part of #2154: minimal syntax fixes in doc example snippets.
      ........
        r60942 | raymond.hettinger | 2008-02-22 04:16:42 +0100 (Fri, 22 Feb 2008) | 1 line
      
        First draft for itertools.product().  Docs and other updates forthcoming.
      ........
        r60955 | nick.coghlan | 2008-02-22 11:54:06 +0100 (Fri, 22 Feb 2008) | 1 line
      
        Try to make command line error messages from runpy easier to understand (and suppress traceback cruft from the implicitly invoked runpy machinery)
      ........
        r60956 | georg.brandl | 2008-02-22 13:31:45 +0100 (Fri, 22 Feb 2008) | 2 lines
      
        A lot more typo fixes by Ori Avtalion.
      ........
        r60957 | georg.brandl | 2008-02-22 13:56:34 +0100 (Fri, 22 Feb 2008) | 2 lines
      
        Don't reference pyshell.
      ........
        r60958 | georg.brandl | 2008-02-22 13:57:05 +0100 (Fri, 22 Feb 2008) | 2 lines
      
        Another fix.
      ........
      c3f30c43
    • Eric Smith's avatar
      Block r60962 with svnmerge. · 86bc1794
      Eric Smith yazdı
      86bc1794
    • Georg Brandl's avatar
      Link to whatsnew document. · f3f67f2d
      Georg Brandl yazdı
      f3f67f2d
  6. 21 Şub, 2008 3 kayıt (commit)
  7. 19 Şub, 2008 3 kayıt (commit)
    • Travis E. Oliphant's avatar
    • Christian Heimes's avatar
      Merged revisions… · 7131fd95
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60878,60880-60892,60894-60898 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60876 | georg.brandl | 2008-02-17 16:14:10 +0100 (Sun, 17 Feb 2008) | 2 lines
      
        Fix function name.
      ........
        r60877 | facundo.batista | 2008-02-17 17:21:13 +0100 (Sun, 17 Feb 2008) | 4 lines
      
      
        Now we handle different the backup copy, because of security
        issues regarding user/group and permissions. Fixes 1050828.
      ........
        r60878 | facundo.batista | 2008-02-17 19:59:29 +0100 (Sun, 17 Feb 2008) | 4 lines
      
      
        Issue 2112. mmap does not raises EnvironmentError no more, but
        a subclass of it. Thanks John Lenton.
      ........
        r60882 | amaury.forgeotdarc | 2008-02-17 21:56:31 +0100 (Sun, 17 Feb 2008) | 5 lines
      
        Compilation was broken on Windows since the introduction of Advanced String Formatting.
      
        Only PCBuild (vs9) was really tested.
        Changes for older compilers were done manually.
      ........
        r60883 | georg.brandl | 2008-02-17 22:18:55 +0100 (Sun, 17 Feb 2008) | 2 lines
      
        #2133: fix HTML color spec.
      ........
        r60884 | facundo.batista | 2008-02-18 04:43:43 +0100 (Mon, 18 Feb 2008) | 5 lines
      
      
        Issue #1916. Added isgenerator() and isgeneratorfunction() to
        inspect.py.  Thanks Javi Mansilla for patch review and
        corrections.
      ........
        r60885 | facundo.batista | 2008-02-18 13:48:43 +0100 (Mon, 18 Feb 2008) | 4 lines
      
      
        Issue 1224. Now we support again the double slash in the URL.
        Thanks Anthony Lenton.
      ........
        r60887 | eric.smith | 2008-02-18 15:25:02 +0100 (Mon, 18 Feb 2008) | 1 line
      
        Temporarily removed float tests.  See issue 1600.
      ........
        r60891 | kristjan.jonsson | 2008-02-18 18:40:47 +0100 (Mon, 18 Feb 2008) | 1 line
      
        Perform correct handling of stack overflow for windows: Catch the correct exception code and reset the overflow condition when handled.
      ........
      7131fd95
    • Eric Smith's avatar
      block r60899 · 5edc1c29
      Eric Smith yazdı
      5edc1c29
  8. 18 Şub, 2008 3 kayıt (commit)
  9. 17 Şub, 2008 3 kayıt (commit)
    • Eric Smith's avatar
      Blocked 60879 (backport of PEP 3101). · 537a6258
      Eric Smith yazdı
      537a6258
    • Eric Smith's avatar
      Fixes for shared 2.6 code that implements PEP 3101, advanced string · 8fd3eba0
      Eric Smith yazdı
      formatting.
      
      Includes:
       - Modifying tests for basic types to use __format__ methods, instead
         of builtin "format".
       - Adding PyObject_Format.
       - General str/unicode cleanup discovered when backporting to 2.6.
       - Removing datetimemodule.c's time_format, since it was identical
         to date_format.
      
      The files in Objects/stringlib that implement PEP 3101 (stringdefs.h,
      unicodedefs.h, formatter.h, string_format.h) are identical in trunk
      and py3k.  Any changes from here on should be made to trunk, and
      changes will propogate to py3k).
      8fd3eba0
    • Christian Heimes's avatar
      Merged revisions… · 18c66898
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60873 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60850 | amaury.forgeotdarc | 2008-02-16 01:16:50 +0100 (Sat, 16 Feb 2008) | 3 lines
      
        mmap.PROT_READ does not exists on win32;
        Skip this test created by r60830.
      ........
        r60851 | raymond.hettinger | 2008-02-16 02:22:54 +0100 (Sat, 16 Feb 2008) | 1 line
      
        Add __all__ to logging module.
      ........
        r60855 | georg.brandl | 2008-02-16 10:37:32 +0100 (Sat, 16 Feb 2008) | 2 lines
      
        #2120: broken links in advocacy document.
      ........
        r60860 | amaury.forgeotdarc | 2008-02-16 15:34:57 +0100 (Sat, 16 Feb 2008) | 23 lines
      
        Crashers of the day: Py_CLEAR must be used when there is a chance that the
        function can be called recursively.
        This was discussed in issue1020188.
      
        In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect,
        except when they appear in tp_new or tp_dealloc functions, or when
        the member cannot be of a user-defined class.
        Note that tp_init is not safe.
      
        I do have a (crashing) example for every changed line.
        Is it worth adding them to the test suite?
      
        Example:
      
        class SpecialStr(str):
            def __del__(self):
                s.close()
      
        import cStringIO
        s = cStringIO.StringIO(SpecialStr("text"))
        s.close() # Segfault
      ........
        r60871 | amaury.forgeotdarc | 2008-02-16 21:55:24 +0100 (Sat, 16 Feb 2008) | 3 lines
      
        Prevent a crash with nested scopes, again caused by calling Py_DECREF when the pointer
        is still present in the containing structure.
      ........
        r60872 | brett.cannon | 2008-02-17 02:59:18 +0100 (Sun, 17 Feb 2008) | 4 lines
      
        Move test_logging over to doctest.
      
        Thanks to Christopher White from GHOP.
      ........
        r60873 | georg.brandl | 2008-02-17 12:33:38 +0100 (Sun, 17 Feb 2008) | 2 lines
      
        #2131: note that codecs.open() always opens files in binary mode.
      ........
      18c66898
  10. 16 Şub, 2008 1 kayıt (commit)
    • Christian Heimes's avatar
      Merged revisions… · a156e09b
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60845 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60790 | raymond.hettinger | 2008-02-14 10:32:45 +0100 (Thu, 14 Feb 2008) | 4 lines
      
        Add diagnostic message to help figure-out why SocketServer tests occasionally crash
        when trying to remove a pid that in not in the activechildren list.
      ........
        r60791 | raymond.hettinger | 2008-02-14 11:46:57 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Add fixed-point examples to the decimal FAQ
      ........
        r60792 | raymond.hettinger | 2008-02-14 12:01:10 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Improve rst markup
      ........
        r60794 | raymond.hettinger | 2008-02-14 12:57:25 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Show how to remove exponents.
      ........
        r60795 | raymond.hettinger | 2008-02-14 13:05:42 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Fix markup.
      ........
        r60797 | christian.heimes | 2008-02-14 13:47:33 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation.
      ........
        r60798 | raymond.hettinger | 2008-02-14 13:49:37 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Simplify moneyfmt() recipe.
      ........
        r60810 | raymond.hettinger | 2008-02-14 20:02:39 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Fix markup
      ........
        r60811 | raymond.hettinger | 2008-02-14 20:30:30 +0100 (Thu, 14 Feb 2008) | 1 line
      
        No need to register subclass of ABCs.
      ........
        r60814 | thomas.heller | 2008-02-14 22:00:28 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Try to correct a markup error that does hide the following paragraph.
      ........
        r60822 | christian.heimes | 2008-02-14 23:40:11 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Use a static and interned string for __subclasscheck__ and __instancecheck__ as suggested by Thomas Heller in #2115
      ........
        r60827 | christian.heimes | 2008-02-15 07:57:08 +0100 (Fri, 15 Feb 2008) | 1 line
      
        Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them.
      ........
        r60830 | christian.heimes | 2008-02-15 09:20:11 +0100 (Fri, 15 Feb 2008) | 2 lines
      
        Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ
        Thanks to Thomas Herve for the fix.
      ........
        r60835 | eric.smith | 2008-02-15 13:14:32 +0100 (Fri, 15 Feb 2008) | 1 line
      
        In PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index() returns something other than an int or long.  It should never be possible to trigger this, as PyObject_Index checks to make sure it returns an int or long.
      ........
        r60837 | skip.montanaro | 2008-02-15 20:03:59 +0100 (Fri, 15 Feb 2008) | 8 lines
      
        Two new functions:
      
          * place_summary_first copies the regrtest summary to the front of the file
            making it easier to scan quickly for problems.
      
          * count_failures gets the actual count of the number of failing tests, not
            just a 1 (some failures) or 0 (no failures).
      ........
        r60840 | raymond.hettinger | 2008-02-15 22:21:25 +0100 (Fri, 15 Feb 2008) | 1 line
      
        Update example to match the current syntax.
      ........
        r60841 | amaury.forgeotdarc | 2008-02-15 22:22:45 +0100 (Fri, 15 Feb 2008) | 8 lines
      
        Issue #2115: __slot__ attributes setting was 10x slower.
        Also correct a possible crash using ABCs.
      
        This change is exactly the same as an optimisation
        done 5 years ago, but on slot *access*:
        http://svn.python.org/view?view=rev&rev=28297
      ........
        r60842 | amaury.forgeotdarc | 2008-02-15 22:27:44 +0100 (Fri, 15 Feb 2008) | 2 lines
      
        Temporarily let these tests pass
      ........
        r60843 | kurt.kaiser | 2008-02-15 22:56:36 +0100 (Fri, 15 Feb 2008) | 2 lines
      
        ScriptBinding event handlers weren't returning 'break'. Patch 2050, Tal Einat.
      ........
        r60844 | kurt.kaiser | 2008-02-15 23:25:09 +0100 (Fri, 15 Feb 2008) | 4 lines
      
        Configured selection highlighting colors were ignored; updating highlighting
        in the config dialog would cause non-Python files to be colored as if they
        were Python source; improve use of ColorDelagator.  Patch 1334. Tal Einat.
      ........
        r60845 | amaury.forgeotdarc | 2008-02-15 23:44:20 +0100 (Fri, 15 Feb 2008) | 9 lines
      
        Re-enable tests, they were failing since gc.collect() clears the various freelists.
        They still remain fragile.
      
        For example, a call to assertEqual currently does not make any allocation
        (which surprised me at first).
        But this can change when gc.collect also deletes the numerous "zombie frames"
        attached to each function.
      ........
      a156e09b
  11. 14 Şub, 2008 7 kayıt (commit)
    • Mark Summerfield's avatar
      Deleted two duplicated paragraphs in the intro. Added mention of · 71316b03
      Mark Summerfield yazdı
      UserDict and UserList and mixins in the intro. Fixed a typo.
      71316b03
    • Raymond Hettinger's avatar
      Minor doc updates for Py3.0 · 53349a00
      Raymond Hettinger yazdı
      53349a00
    • Raymond Hettinger's avatar
    • Raymond Hettinger's avatar
    • Raymond Hettinger's avatar
      Documentation nit. · 71161866
      Raymond Hettinger yazdı
      71161866
    • Christian Heimes's avatar
      Merged revisions… · 68f5fbe9
      Christian Heimes yazdı
      Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60766,60769-60786 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r60752 | mark.dickinson | 2008-02-12 22:31:59 +0100 (Tue, 12 Feb 2008) | 5 lines
      
        Implementation of Fraction.limit_denominator.
      
        Remove Fraction.to_continued_fraction and
        Fraction.from_continued_fraction
      ........
        r60754 | mark.dickinson | 2008-02-12 22:40:53 +0100 (Tue, 12 Feb 2008) | 3 lines
      
        Revert change in r60712:  turn alternate constructors back into
        classmethods instead of staticmethods.
      ........
        r60755 | mark.dickinson | 2008-02-12 22:46:54 +0100 (Tue, 12 Feb 2008) | 4 lines
      
        Replace R=fractions.Fraction with F=fractions.Fraction in
        test_fractions.py.  This should have been part of the name
        change from Rational to Fraction.
      ........
        r60758 | georg.brandl | 2008-02-13 08:20:22 +0100 (Wed, 13 Feb 2008) | 3 lines
      
        #2063: correct order of utime and stime in os.times()
        result on Windows.
      ........
        r60762 | jeffrey.yasskin | 2008-02-13 18:58:04 +0100 (Wed, 13 Feb 2008) | 7 lines
      
        Working on issue #1762: Brought
          ./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'isinstance(3, Fraction); isinstance(f, Fraction)'
        from 12.3 usec/loop to 3.44 usec/loop and
          ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)'
        from 48.8 usec to 23.6 usec by avoiding genexps and sets in __instancecheck__
        and inlining the common case from __subclasscheck__.
      ........
        r60765 | brett.cannon | 2008-02-13 20:15:44 +0100 (Wed, 13 Feb 2008) | 5 lines
      
        Fix --enable-universalsdk and its comment line so that zsh's flag completion
        works.
      
        Thanks to Jeroen Ruigrok van der Werven for the fix.
      ........
        r60771 | kurt.kaiser | 2008-02-14 01:08:55 +0100 (Thu, 14 Feb 2008) | 2 lines
      
        Bring NEWS.txt up to date from check-in msgs.
      ........
        r60772 | raymond.hettinger | 2008-02-14 02:08:02 +0100 (Thu, 14 Feb 2008) | 3 lines
      
        Update notes on Decimal.
      ........
        r60773 | raymond.hettinger | 2008-02-14 03:41:22 +0100 (Thu, 14 Feb 2008) | 1 line
      
        Fix decimal repr which should have used single quotes like other reprs.
      ........
        r60785 | jeffrey.yasskin | 2008-02-14 07:12:24 +0100 (Thu, 14 Feb 2008) | 11 lines
      
        Performance optimizations on Fraction's constructor.
      
          ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3)`
        31.7 usec/loop -> 9.2 usec/loop
      
          ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)'`
        27.7 usec/loop -> 9.32 usec/loop
      
          ./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'Fraction(f)'
        31.9 usec/loop -> 14.3 usec/loop
      ........
        r60786 | jeffrey.yasskin | 2008-02-14 08:49:25 +0100 (Thu, 14 Feb 2008) | 5 lines
      
        Change simple instances (in Fraction) of self.numerator and self.denominator to
        self._numerator and self._denominator. This speeds abs() up from 12.2us to
        10.8us and trunc() from 2.07us to 1.11us. This doesn't change _add and friends
        because they're more complicated.
      ........
      68f5fbe9
    • Kurt B. Kaiser's avatar
      typo · 9d0d616c
      Kurt B. Kaiser yazdı
      9d0d616c
  12. 13 Şub, 2008 1 kayıt (commit)