1. 19 Ara, 2007 2 kayıt (commit)
    • Christian Heimes's avatar
    • Christian Heimes's avatar
      Merged revisions 59541-59561 via svnmerge from · 99170a5d
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59544 | raymond.hettinger | 2007-12-18 01:13:45 +0100 (Tue, 18 Dec 2007) | 1 line
      
        Add more namedtuple() test cases.  Neaten the code and comments.
      ........
        r59545 | christian.heimes | 2007-12-18 04:38:03 +0100 (Tue, 18 Dec 2007) | 3 lines
      
        Fixed for #1601: IDLE not working correctly on Windows (Py30a2/IDLE30a1)
      
        Amaury's ideas works great. Should we build the Python core with WINVER=0x0500 and _WIN32_WINNT=0x0500, too?
      ........
        r59546 | christian.heimes | 2007-12-18 10:00:13 +0100 (Tue, 18 Dec 2007) | 1 line
      
        Make it a bit easier to test Tcl/Tk and idle from a build dir.
      ........
        r59547 | christian.heimes | 2007-12-18 10:12:10 +0100 (Tue, 18 Dec 2007) | 1 line
      
        Removed several unused files from the PCbuild9 directory. They are relics from the past.
      ........
        r59548 | raymond.hettinger | 2007-12-18 19:26:18 +0100 (Tue, 18 Dec 2007) | 29 lines
      
        Speed-up dictionary constructor by about 10%.
      
        New opcode, STORE_MAP saves the compiler from awkward stack manipulations
        and specializes for dicts using PyDict_SetItem instead of PyObject_SetItem.
      
        Old disassembly:
                      0 BUILD_MAP                0
                      3 DUP_TOP
                      4 LOAD_CONST               1 (1)
                      7 ROT_TWO
                      8 LOAD_CONST               2 ('x')
                     11 STORE_SUBSCR
                     12 DUP_TOP
                     13 LOAD_CONST               3 (2)
                     16 ROT_TWO
                     17 LOAD_CONST               4 ('y')
                     20 STORE_SUBSCR
      
        New disassembly:
                      0 BUILD_MAP                0
                      3 LOAD_CONST               1 (1)
                      6 LOAD_CONST               2 ('x')
                      9 STORE_MAP
                     10 LOAD_CONST               3 (2)
                     13 LOAD_CONST               4 ('y')
                     16 STORE_MAP
      ........
        r59549 | thomas.heller | 2007-12-18 20:00:34 +0100 (Tue, 18 Dec 2007) | 2 lines
      
        Issue #1642: Fix segfault in ctypes when trying to delete attributes.
      ........
        r59551 | guido.van.rossum | 2007-12-18 21:10:42 +0100 (Tue, 18 Dec 2007) | 2 lines
      
        Issue #1645 by Alberto Bertogli.  Fix a comment.
      ........
        r59553 | raymond.hettinger | 2007-12-18 22:24:09 +0100 (Tue, 18 Dec 2007) | 12 lines
      
        Give meaning to the oparg for BUILD_MAP:  estimated size of the dictionary.
      
        Allows dictionaries to be pre-sized (upto 255 elements) saving time lost
        to re-sizes with their attendant mallocs and re-insertions.
      
        Has zero effect on small dictionaries (5 elements or fewer), a slight
        benefit for dicts upto 22 elements (because they had to resize once
        anyway), and more benefit for dicts upto 255 elements (saving multiple
        resizes during the build-up and reducing the number of collisions on
        the first insertions).  Beyond 255 elements, there is no addional benefit.
      ........
        r59554 | christian.heimes | 2007-12-18 22:56:09 +0100 (Tue, 18 Dec 2007) | 1 line
      
        Fixed #1649: IDLE error: dictionary changed size during iteration
      ........
        r59557 | raymond.hettinger | 2007-12-18 23:21:27 +0100 (Tue, 18 Dec 2007) | 1 line
      
        Simplify and speedup _asdict() for named tuples.
      ........
        r59558 | christian.heimes | 2007-12-19 00:22:54 +0100 (Wed, 19 Dec 2007) | 3 lines
      
        Applied patch #1635: Float patch for inf and nan on Windows (and other platforms).
      
        The patch unifies float("inf") and repr(float("inf")) on all platforms.
      ........
        r59559 | raymond.hettinger | 2007-12-19 00:51:15 +0100 (Wed, 19 Dec 2007) | 1 line
      
        Users demand iterable input for named tuples. The author capitulates.
      ........
        r59560 | raymond.hettinger | 2007-12-19 01:21:06 +0100 (Wed, 19 Dec 2007) | 1 line
      
        Beef-up tests for dict literals
      ........
        r59561 | raymond.hettinger | 2007-12-19 01:27:21 +0100 (Wed, 19 Dec 2007) | 1 line
      
        Zap a duplicate line
      ........
      99170a5d
  2. 17 Ara, 2007 1 kayıt (commit)
    • Christian Heimes's avatar
      Merged revisions 59512-59540 via svnmerge from · 2c181616
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59513 | raymond.hettinger | 2007-12-15 01:07:25 +0100 (Sat, 15 Dec 2007) | 6 lines
      
        Optimize PyList_AsTuple(). Improve cache performance by doing the
        pointer copy and object increment in one pass.  For small lists,
        save the overhead of the call to memcpy() -- this comes up in
        calls like f(*listcomp).
      ........
        r59519 | christian.heimes | 2007-12-15 06:38:35 +0100 (Sat, 15 Dec 2007) | 2 lines
      
        Fixed #1624: Remove output comparison for test_pep277
        I had to modify Brett's patch slightly.
      ........
        r59520 | georg.brandl | 2007-12-15 10:34:59 +0100 (Sat, 15 Dec 2007) | 2 lines
      
        Add note about future import needed for with statement.
      ........
        r59522 | georg.brandl | 2007-12-15 10:36:37 +0100 (Sat, 15 Dec 2007) | 2 lines
      
        Argh, wrong version.
      ........
        r59524 | georg.brandl | 2007-12-16 12:06:09 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Dummy commit to investigate #1617.
      ........
        r59525 | georg.brandl | 2007-12-16 12:21:48 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Revert dummy commit now that the build slave is building.
      ........
        r59527 | georg.brandl | 2007-12-16 16:47:46 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Remove orphaned footnote reference.
      ........
        r59528 | georg.brandl | 2007-12-16 16:53:49 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Remove gratuitous unicode character.
      ........
        r59529 | georg.brandl | 2007-12-16 16:59:19 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Remove another unnecessary Unicode character.
      ........
        r59530 | georg.brandl | 2007-12-16 17:00:36 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Remove curious space-like characters.
      ........
        r59532 | georg.brandl | 2007-12-16 20:36:51 +0100 (Sun, 16 Dec 2007) | 2 lines
      
        Adapt conf.py to new option names.
      ........
        r59533 | christian.heimes | 2007-12-16 22:39:43 +0100 (Sun, 16 Dec 2007) | 1 line
      
        Fixed #1638: %zd configure test fails on Linux
      ........
        r59536 | georg.brandl | 2007-12-17 00:11:16 +0100 (Mon, 17 Dec 2007) | 2 lines
      
        Simplify.
      ........
        r59537 | georg.brandl | 2007-12-17 00:13:29 +0100 (Mon, 17 Dec 2007) | 2 lines
      
        Use PEP 8.
      ........
        r59539 | georg.brandl | 2007-12-17 00:15:07 +0100 (Mon, 17 Dec 2007) | 2 lines
      
        Don't use quotes for non-string code.
      ........
        r59540 | facundo.batista | 2007-12-17 15:18:42 +0100 (Mon, 17 Dec 2007) | 4 lines
      
      
        Removed the private _rounding_decision: it was not needed, and the code
        is now simpler.  Thanks Mark Dickinson.
      ........
      2c181616
  3. 15 Ara, 2007 3 kayıt (commit)
    • Georg Brandl's avatar
      Fix sys.maxsize docs. · 33770554
      Georg Brandl yazdı
      33770554
    • Christian Heimes's avatar
      Fixed #1630 · 2d378ab5
      Christian Heimes yazdı
      sys.maxint was still documented and sys.float_info an sys.subversion were missing
      2d378ab5
    • Christian Heimes's avatar
      Merged revisions 59488-59511 via svnmerge from · 0449f63f
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59489 | christian.heimes | 2007-12-14 03:33:57 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Silence a warning about an unsed variable in debug builds
      ........
        r59490 | christian.heimes | 2007-12-14 03:35:23 +0100 (Fri, 14 Dec 2007) | 2 lines
      
        Fixed bug #1620: New @spam.getter property syntax modifies the property in place.
        I added also the feature that a @prop.getter decorator does not overwrite the doc string of the property if it was given as an argument to property().
      ........
        r59491 | raymond.hettinger | 2007-12-14 03:49:47 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Cleaner method naming convention
      ........
        r59492 | christian.heimes | 2007-12-14 04:02:34 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.
      ........
        r59493 | christian.heimes | 2007-12-14 05:38:13 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Fixed warning in ssl module
      ........
        r59500 | raymond.hettinger | 2007-12-14 19:08:20 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Add line spacing for readability
      ........
        r59501 | raymond.hettinger | 2007-12-14 19:12:21 +0100 (Fri, 14 Dec 2007) | 3 lines
      
        Update method names for named tuples.
      ........
        r59503 | georg.brandl | 2007-12-14 20:03:36 +0100 (Fri, 14 Dec 2007) | 3 lines
      
        Add a section about nested listcomps to the tutorial.
        Thanks to Ian Bruntlett and Robert Lehmann.
      ........
        r59504 | raymond.hettinger | 2007-12-14 20:19:59 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Faster and simpler _replace() method
      ........
        r59505 | raymond.hettinger | 2007-12-14 22:51:50 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Add usage note
      ........
        r59507 | andrew.kuchling | 2007-12-14 23:41:18 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Remove warning about URL
      ........
        r59510 | andrew.kuchling | 2007-12-14 23:52:36 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Bump the version number, and make a few small edits
      ........
        r59511 | christian.heimes | 2007-12-15 00:42:36 +0100 (Sat, 15 Dec 2007) | 2 lines
      
        Fixed bug #1628
        The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.
      ........
      0449f63f
  4. 14 Ara, 2007 4 kayıt (commit)
    • Bill Janssen's avatar
      update to fix leak in SSL code · 54cc54c1
      Bill Janssen yazdı
      54cc54c1
    • Mark Summerfield's avatar
    • Mark Summerfield's avatar
    • Christian Heimes's avatar
      Merged revisions 59465-59487 via svnmerge from · 38053211
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59467 | georg.brandl | 2007-12-11 17:32:49 +0100 (Tue, 11 Dec 2007) | 2 lines
      
        Add another GHOP contributor.
      ........
        r59468 | kurt.kaiser | 2007-12-11 20:35:12 +0100 (Tue, 11 Dec 2007) | 3 lines
      
        IDLE_tabbedpages.071101.patch Tal Einat
        Cosmetic changes, one bug.  Remove tabpage.py, replaced by tabbedpages.py
      ........
        r59471 | gerhard.haering | 2007-12-11 22:07:40 +0100 (Tue, 11 Dec 2007) | 9 lines
      
        Forward-port of commit 59184.
      
        - Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
          statement recompilation with no bound parameters lead to a segfault
        - Backported a fix necessary because of an SQLite API change in version
          3.5.
          This prevents segfaults when executing empty queries, like our test suite
          does
      ........
        r59475 | christian.heimes | 2007-12-12 19:09:06 +0100 (Wed, 12 Dec 2007) | 1 line
      
        Fixed a nasty problem in the xxmodule.c
      ........
        r59478 | raymond.hettinger | 2007-12-13 01:08:37 +0100 (Thu, 13 Dec 2007) | 1 line
      
        Fix bug 1604. deque.__init__() did not clear existing contents like list.__init__. Not a backport candidate.
      ........
        r59480 | alexandre.vassalotti | 2007-12-13 18:58:23 +0100 (Thu, 13 Dec 2007) | 2 lines
      
        Fix issue #1313119: urlparse "caches" parses regardless of encoding
      ........
        r59482 | christian.heimes | 2007-12-13 20:23:16 +0100 (Thu, 13 Dec 2007) | 1 line
      
        Fixed bug #1613: Makefile's VPATH feature is broken
      ........
        r59484 | guido.van.rossum | 2007-12-13 21:50:10 +0100 (Thu, 13 Dec 2007) | 3 lines
      
        Patch #1608.  Someone with access to autoconf 2.61 or higher needs to
        run it and check in the resulting configure file.
      ........
        r59485 | thomas.heller | 2007-12-13 22:20:29 +0100 (Thu, 13 Dec 2007) | 1 line
      
        Ran autoconf.
      ........
        r59486 | raymond.hettinger | 2007-12-13 23:55:52 +0100 (Thu, 13 Dec 2007) | 1 line
      
        Simplify implementation of __replace__()
      ........
        r59487 | raymond.hettinger | 2007-12-14 00:52:59 +0100 (Fri, 14 Dec 2007) | 1 line
      
        Small speedup
      ........
      38053211
  5. 13 Ara, 2007 1 kayıt (commit)
  6. 12 Ara, 2007 5 kayıt (commit)
  7. 11 Ara, 2007 4 kayıt (commit)
    • Christian Heimes's avatar
    • Christian Heimes's avatar
      Issue #1587: Added instancemethod wrapper for PyCFunctions. The Python C API · a3534a6f
      Christian Heimes yazdı
      has gained a new type *PyInstanceMethod_Type* and the functions
      *PyInstanceMethod_Check(o)*, *PyInstanceMethod_New(func)* and
      *PyInstanceMethod_Function(im)*.
      a3534a6f
    • Christian Heimes's avatar
      Added note about 1585 to Misc/NEWS · fc5aa9d0
      Christian Heimes yazdı
      fc5aa9d0
    • Christian Heimes's avatar
      Merged revisions 59450-59464 via svnmerge from · b76922a7
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59455 | guido.van.rossum | 2007-12-10 21:42:53 +0100 (Mon, 10 Dec 2007) | 2 lines
      
        Remove a 2.2-ism.
      ........
        r59459 | christian.heimes | 2007-12-10 23:28:56 +0100 (Mon, 10 Dec 2007) | 4 lines
      
        Backport of r59456:59458 from py3k to trunk
        Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'.
      
        Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
      ........
        r59460 | guido.van.rossum | 2007-12-11 00:00:12 +0100 (Tue, 11 Dec 2007) | 4 lines
      
        Patch #1643738 by Ulisses Furquim -- make the is_tripped variable
        in signalmodule.c more robust.  Includes Martin von Loewis's suggestion
        to set is_tripped after .tripped.
      ........
        r59463 | kurt.kaiser | 2007-12-11 01:04:57 +0100 (Tue, 11 Dec 2007) | 2 lines
      
        format_paragraph_event wasn't returning 'break'
      ........
        r59464 | christian.heimes | 2007-12-11 01:54:34 +0100 (Tue, 11 Dec 2007) | 3 lines
      
        The new float repr causes too much trouble and pain. I'm disabling the feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse.
        Guido: It's pretty bad actually -- repr(1e5) comes out as '1.0'... Ditto for
        repr(1eN) for most N... Both in 2.6 and in 3.0...
      ........
      b76922a7
  8. 10 Ara, 2007 10 kayıt (commit)
  9. 09 Ara, 2007 4 kayıt (commit)
  10. 08 Ara, 2007 6 kayıt (commit)