Commit Graph

36869 Commits

Author SHA1 Message Date
Jeremy Hylton e921e02a2e Fix uninitialized memory read for cases like def(f, *): pass
There's not much interesting here.  The old code read uninitialized
memory but at worst incremented i past NCH(n), but no bad effects
followed from that.
2008-07-17 16:37:17 +00:00
Guido van Rossum c3fee69464 Fix bug 3375 - _multiprocessing.so build problems on OS X.
The solution is to clear sys.path_importer_cache.
2008-07-17 16:23:53 +00:00
Benjamin Peterson 67c38e2689 Merged revisions 65061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65061 | benjamin.peterson | 2008-07-17 10:59:24 -0500 (Thu, 17 Jul 2008) | 1 line

  #3381 fix framework builds on 10.4
........
2008-07-17 16:10:34 +00:00
Benjamin Peterson 9da5cb930e kill test_macos 2008-07-17 03:19:14 +00:00
Benjamin Peterson 4cdf572cc5 Merged revisions 65055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r65055 | benjamin.peterson | 2008-07-16 21:07:46 -0500 (Wed, 16 Jul 2008) | 13 lines

  Merged revisions 65053-65054 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r65053 | benjamin.peterson | 2008-07-16 21:04:12 -0500 (Wed, 16 Jul 2008) | 1 line

    massive optimizations for 2to3 (especially fix_imports) from Nick Edds
  ........
    r65054 | benjamin.peterson | 2008-07-16 21:05:09 -0500 (Wed, 16 Jul 2008) | 1 line

    normalize whitespace
  ........
................
2008-07-17 02:21:56 +00:00
Georg Brandl f156b0c2b3 Blocked revisions 65046 via svnmerge
........
  r65046 | georg.brandl | 2008-07-17 01:18:51 +0200 (Thu, 17 Jul 2008) | 2 lines

  Byte items *can* be chars in 2.6.
........
2008-07-16 23:19:01 +00:00
Georg Brandl 94f3e9aaf2 Blocked revisions 65042,65044 via svnmerge
........
  r65042 | georg.brandl | 2008-07-17 01:10:05 +0200 (Thu, 17 Jul 2008) | 2 lines

  Use _getbytevalue() in init too.
........
  r65044 | georg.brandl | 2008-07-17 01:17:46 +0200 (Thu, 17 Jul 2008) | 2 lines

  Backport part of r65043.
........
2008-07-16 23:18:01 +00:00
Georg Brandl 9a54d7c350 Merged revisions 65041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65041 | georg.brandl | 2008-07-17 00:57:41 +0200 (Thu, 17 Jul 2008) | 3 lines

  #3156: fix consistency in what type bytearray methods accept as items.
  Also rename confusing "item" parameters to "index".
........
2008-07-16 23:15:30 +00:00
Georg Brandl 01ca04cc49 #3310: stop referring to basestring. 2008-07-16 21:21:29 +00:00
Benjamin Peterson 6794aa3cb3 Merged revisions 65033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65033 | benjamin.peterson | 2008-07-16 15:17:04 -0500 (Wed, 16 Jul 2008) | 1 line

  fix framework install on Mac 10.4
........
2008-07-16 20:33:37 +00:00
Benjamin Peterson 000b0dcb8a fix dependencies 2008-07-16 19:48:47 +00:00
Eric Smith 05212a11e7 Merged revisions 65023 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65023 | eric.smith | 2008-07-16 14:29:51 -0400 (Wed, 16 Jul 2008) | 1 line

  Renamed a parameter in calc_number_widths, for consistency with the same parameter in fill_non_digits.
........
2008-07-16 19:41:14 +00:00
Benjamin Peterson c47753b38f Merged revisions 65026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r65026 | benjamin.peterson | 2008-07-16 13:48:35 -0500 (Wed, 16 Jul 2008) | 9 lines

  Merged revisions 65025 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r65025 | benjamin.peterson | 2008-07-16 13:46:30 -0500 (Wed, 16 Jul 2008) | 1 line

    remove use of has_key
  ........
................
2008-07-16 18:52:50 +00:00
Benjamin Peterson d613bb4c29 Merged revisions 65019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r65019 | benjamin.peterson | 2008-07-16 12:01:46 -0500 (Wed, 16 Jul 2008) | 43 lines

  Merged revisions 64863,64868,64870,64942,65001-65002,65017-65018 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r64863 | brett.cannon | 2008-07-10 19:42:32 -0500 (Thu, 10 Jul 2008) | 1 line

    Add urlparse -> urllib.parse to fix_imports.
  ........
    r64868 | brett.cannon | 2008-07-10 20:00:10 -0500 (Thu, 10 Jul 2008) | 1 line

    Add robotparser -> urllib.robotparser to fix_imports.
  ........
    r64870 | brett.cannon | 2008-07-11 00:56:27 -0500 (Fri, 11 Jul 2008) | 6 lines

    Fix the fixers for the new dbm package.

    Had to create a new fixer (fix_imports2) which did fixes in post-order. This
    because ``import anydbm`` was being translated into ``import dbm`` which was
    then subsequently changed into ``import dbm.ndbm``; one transform too many.
  ........
    r64942 | collin.winter | 2008-07-13 20:19:05 -0500 (Sun, 13 Jul 2008) | 1 line

    Add a comment explaining part of fix_imports.py
  ........
    r65001 | brett.cannon | 2008-07-16 00:11:12 -0500 (Wed, 16 Jul 2008) | 2 lines

    Remove some extraneous whitespace.
  ........
    r65002 | brett.cannon | 2008-07-16 00:12:04 -0500 (Wed, 16 Jul 2008) | 4 lines

    Implement a fixer for urllib(2).

    Thanks Nick Edds for the patch.
  ........
    r65017 | benjamin.peterson | 2008-07-16 11:04:19 -0500 (Wed, 16 Jul 2008) | 1 line

    fix 2to3 in Python 2.6
  ........
    r65018 | benjamin.peterson | 2008-07-16 11:55:21 -0500 (Wed, 16 Jul 2008) | 1 line

    normalize whitespace
  ........
................
2008-07-16 18:44:47 +00:00
Benjamin Peterson d15db693bf Blocked revisions 65020 via svnmerge
........
  r65020 | benjamin.peterson | 2008-07-16 12:03:06 -0500 (Wed, 16 Jul 2008) | 1 line

  lib2to3 isn't broken anymore, so we can run the test
........
2008-07-16 17:04:41 +00:00
Georg Brandl 6ea420be25 Merged revisions 64982-64983,65004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64982 | georg.brandl | 2008-07-16 01:59:15 +0200 (Wed, 16 Jul 2008) | 2 lines

  Move label to correct heading.
........
  r64983 | georg.brandl | 2008-07-16 02:00:04 +0200 (Wed, 16 Jul 2008) | 2 lines

  Keep sorted.
........
  r65004 | martin.v.loewis | 2008-07-16 07:28:26 +0200 (Wed, 16 Jul 2008) | 2 lines

  Add Antoine.
........
2008-07-16 12:58:29 +00:00
Georg Brandl 2ee470f7f9 Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64722 | georg.brandl | 2008-07-05 12:13:36 +0200 (Sat, 05 Jul 2008) | 4 lines

  #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade.

  This is a new feature, but Barry authorized adding it in the beta period.
........
  r64729 | mark.dickinson | 2008-07-05 13:33:52 +0200 (Sat, 05 Jul 2008) | 5 lines

  Issue 3188: accept float('infinity') as well as float('inf').  This
  makes the float constructor behave in the same way as specified
  by various other language standards, including C99, IEEE 754r,
  and the IBM Decimal standard.
........
  r64753 | gregory.p.smith | 2008-07-06 05:35:58 +0200 (Sun, 06 Jul 2008) | 4 lines

  - Issue #2862: Make int and float freelist management consistent with other
    freelists.  Changes their CompactFreeList apis into ClearFreeList apis and
    calls them via gc.collect().
........
  r64845 | raymond.hettinger | 2008-07-10 16:03:19 +0200 (Thu, 10 Jul 2008) | 1 line

  Issue 3301:  Bisect functions behaved badly when lo was negative.
........
  r64846 | raymond.hettinger | 2008-07-10 16:34:57 +0200 (Thu, 10 Jul 2008) | 1 line

  Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.
........
  r64849 | andrew.kuchling | 2008-07-10 16:43:31 +0200 (Thu, 10 Jul 2008) | 1 line

  Wording changes
........
  r64871 | raymond.hettinger | 2008-07-11 14:00:21 +0200 (Fri, 11 Jul 2008) | 1 line

  Add cautionary note on the use of PySequence_Fast_ITEMS.
........
  r64880 | amaury.forgeotdarc | 2008-07-11 23:28:25 +0200 (Fri, 11 Jul 2008) | 5 lines

  #3317 in zipfile module, restore the previous names of global variables:
  some applications relied on them.

  Also remove duplicated lines.
........
  r64881 | amaury.forgeotdarc | 2008-07-11 23:45:06 +0200 (Fri, 11 Jul 2008) | 3 lines

  #3342: In tracebacks, printed source lines were not indented since r62555.
  #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
........
  r64882 | josiah.carlson | 2008-07-12 00:17:14 +0200 (Sat, 12 Jul 2008) | 2 lines

  Fix for the AttributeError in test_asynchat.
........
  r64885 | josiah.carlson | 2008-07-12 01:26:59 +0200 (Sat, 12 Jul 2008) | 2 lines

  Fixed test for asyncore.
........
  r64888 | matthias.klose | 2008-07-12 09:51:48 +0200 (Sat, 12 Jul 2008) | 2 lines

  - Fix bashisms in Tools/faqwiz/move-faqwiz.sh
........
  r64897 | benjamin.peterson | 2008-07-12 22:16:19 +0200 (Sat, 12 Jul 2008) | 1 line

  fix various doc typos #3320
........
  r64900 | alexandre.vassalotti | 2008-07-13 00:06:53 +0200 (Sun, 13 Jul 2008) | 2 lines

  Fixed typo.
........
  r64901 | benjamin.peterson | 2008-07-13 01:41:19 +0200 (Sun, 13 Jul 2008) | 1 line

  #1778443 robotparser fixes from Aristotelis Mikropoulos
........
  r64915 | nick.coghlan | 2008-07-13 16:52:36 +0200 (Sun, 13 Jul 2008) | 1 line

  Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
........
  r64926 | martin.v.loewis | 2008-07-13 22:31:49 +0200 (Sun, 13 Jul 2008) | 2 lines

  Add turtle into the module index.
........
  r64927 | alexandre.vassalotti | 2008-07-13 22:42:44 +0200 (Sun, 13 Jul 2008) | 3 lines

  Issue #3274: Use a less common identifier for the temporary variable
  in Py_CLEAR().
........
  r64928 | andrew.kuchling | 2008-07-13 23:43:25 +0200 (Sun, 13 Jul 2008) | 1 line

  Re-word
........
  r64929 | andrew.kuchling | 2008-07-13 23:43:52 +0200 (Sun, 13 Jul 2008) | 1 line

  Add various items; move ctypes items into a subsection of their own
........
  r64938 | andrew.kuchling | 2008-07-14 02:35:32 +0200 (Mon, 14 Jul 2008) | 1 line

  Typo fixes
........
  r64939 | andrew.kuchling | 2008-07-14 02:40:55 +0200 (Mon, 14 Jul 2008) | 1 line

  Typo fix
........
  r64940 | andrew.kuchling | 2008-07-14 03:18:16 +0200 (Mon, 14 Jul 2008) | 1 line

  Typo fix
........
  r64941 | andrew.kuchling | 2008-07-14 03:18:31 +0200 (Mon, 14 Jul 2008) | 1 line

  Expand the multiprocessing section
........
  r64944 | gregory.p.smith | 2008-07-14 08:06:48 +0200 (Mon, 14 Jul 2008) | 7 lines

  Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child
  process rather than both parent and child.

  Does anyone actually use fork1()?  It appears to be a Solaris thing
  but if Python is built with pthreads on Solaris, fork1() and fork()
  should be the same.
........
  r64961 | jesse.noller | 2008-07-15 15:47:33 +0200 (Tue, 15 Jul 2008) | 1 line

  multiprocessing/connection.py patch to remove fqdn oddness for issue 3270
........
  r64966 | nick.coghlan | 2008-07-15 17:40:22 +0200 (Tue, 15 Jul 2008) | 1 line

  Add missing NEWS entry for r64962
........
  r64973 | jesse.noller | 2008-07-15 20:29:18 +0200 (Tue, 15 Jul 2008) | 1 line

  Revert 3270 patch: self._address is in pretty widespread use, need to revisit
........
2008-07-16 12:55:28 +00:00
Mark Dickinson 38bbc4888a Merged revisions 64981 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64981 | mark.dickinson | 2008-07-15 22:55:23 +0100 (Tue, 15 Jul 2008) | 4 lines

  Fix float.from_hex tests.  It appears that Linux/ia64 doesn't like
  computing 2.0**-1074 accurately.  Using ldexp(1.0, -1074) should be
  safer.
........
2008-07-16 11:32:23 +00:00
Mark Dickinson 65fe25e597 Merged revisions 64974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64974 | mark.dickinson | 2008-07-15 20:08:33 +0100 (Tue, 15 Jul 2008) | 3 lines

  Issue #3008: add instance method float.hex and class method float.fromhex
  to convert floats to and from hexadecimal strings respectively.
........
2008-07-16 11:30:51 +00:00
Mark Dickinson 0c474d01a1 Blocked revisions 65005 via svnmerge
........
  r65005 | mark.dickinson | 2008-07-16 10:40:03 +0100 (Wed, 16 Jul 2008) | 2 lines

  Issue #3360: Fix incorrect parsing of "020000000000.0".
........
2008-07-16 10:33:39 +00:00
Georg Brandl 2318cfa51f Blocked revisions 64854-64855 via svnmerge
........
  r64854 | raymond.hettinger | 2008-07-10 17:37:08 +0200 (Thu, 10 Jul 2008) | 1 line

  Clear the -3 warnings in optparse.py
........
  r64855 | raymond.hettinger | 2008-07-10 18:06:41 +0200 (Thu, 10 Jul 2008) | 1 line

  Suppress -3 warnings in unittest.py
........
2008-07-16 03:45:47 +00:00
Georg Brandl 86b2fb9d77 Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64623 | benjamin.peterson | 2008-07-01 21:51:54 +0200 (Tue, 01 Jul 2008) | 1 line

  write a short little section for multiprocessing; it still needs help
........
  r64640 | georg.brandl | 2008-07-01 22:56:03 +0200 (Tue, 01 Jul 2008) | 2 lines

  Add a comment about incref'ing w.
........
  r64665 | jesse.noller | 2008-07-02 18:56:51 +0200 (Wed, 02 Jul 2008) | 1 line

  Add #!/usr/bin/env python for ben
........
  r64687 | andrew.kuchling | 2008-07-03 14:50:03 +0200 (Thu, 03 Jul 2008) | 1 line

  Tweak wording
........
  r64689 | benjamin.peterson | 2008-07-03 14:57:35 +0200 (Thu, 03 Jul 2008) | 1 line

  lowercase glossary term
........
  r64690 | benjamin.peterson | 2008-07-03 15:01:17 +0200 (Thu, 03 Jul 2008) | 1 line

  let the term be linked
........
  r64719 | raymond.hettinger | 2008-07-05 04:11:55 +0200 (Sat, 05 Jul 2008) | 1 line

  Update comment on prediction macros.
........
  r64721 | georg.brandl | 2008-07-05 12:07:18 +0200 (Sat, 05 Jul 2008) | 2 lines

  Fix tabs.
........
  r64735 | mark.dickinson | 2008-07-05 17:25:48 +0200 (Sat, 05 Jul 2008) | 3 lines

  Minor rewrite of cmath_log to work around a Sun compiler bug.  See issue
  #3168.
........
  r64742 | benjamin.peterson | 2008-07-05 18:29:38 +0200 (Sat, 05 Jul 2008) | 1 line

  make regrtest aware of the lib2to3 resource
........
  r64744 | georg.brandl | 2008-07-05 18:43:45 +0200 (Sat, 05 Jul 2008) | 2 lines

  Keep below 80 chars.
........
  r64745 | facundo.batista | 2008-07-05 21:19:50 +0200 (Sat, 05 Jul 2008) | 3 lines


  Issue 3289.  Removed two lines that ended doing nothing.
........
  r64746 | facundo.batista | 2008-07-05 22:39:59 +0200 (Sat, 05 Jul 2008) | 4 lines


  Issue #3239. Differentiate the ascii call from the curses one and
  the builtin one.
........
  r64756 | gregory.p.smith | 2008-07-06 09:16:40 +0200 (Sun, 06 Jul 2008) | 3 lines

  - Issue #2113: Fix error in subprocess.Popen if the select system call is
    interrupted by a signal.
........
  r64757 | benjamin.peterson | 2008-07-06 14:39:09 +0200 (Sun, 06 Jul 2008) | 1 line

  remove test_compact_freelists from test_sys
........
  r64758 | gregory.p.smith | 2008-07-06 19:06:29 +0200 (Sun, 06 Jul 2008) | 2 lines

  fix issue3304 - remove an incorrect PyMem_Free in fileio_init
........
  r64759 | georg.brandl | 2008-07-06 19:36:20 +0200 (Sun, 06 Jul 2008) | 2 lines

  Fix opensearch template.
........
  r64760 | andrew.kuchling | 2008-07-06 19:43:16 +0200 (Sun, 06 Jul 2008) | 1 line

  Wording fix
........
  r64761 | andrew.kuchling | 2008-07-06 19:44:17 +0200 (Sun, 06 Jul 2008) | 1 line

  Add two items; rewrap paragraph
........
  r64767 | gregory.p.smith | 2008-07-07 06:31:58 +0200 (Mon, 07 Jul 2008) | 4 lines

  - Issue #3309: Fix bz2.BZFile itererator to release its internal lock
    properly when raising an exception due to the bz2file being closed.
    Prevents a deadlock.
........
  r64768 | josiah.carlson | 2008-07-07 06:51:46 +0200 (Mon, 07 Jul 2008) | 2 lines

  Fixed bugs 760475, 953599, and 1519.
........
  r64769 | gregory.p.smith | 2008-07-07 06:54:31 +0200 (Mon, 07 Jul 2008) | 2 lines

  Add commented out #_sha256 and #_sha512 lines per issue 3183.
........
  r64771 | gregory.p.smith | 2008-07-07 07:09:12 +0200 (Mon, 07 Jul 2008) | 4 lines

  - Issue #3094: httplib.HTTPSConnection Host: headers no longer include the
    redundant ":443" port number designation when the connection is using the
    default https port (443).
........
  r64772 | skip.montanaro | 2008-07-07 13:16:14 +0200 (Mon, 07 Jul 2008) | 2 lines

  Correct grammar.
........
  r64774 | andrew.kuchling | 2008-07-07 18:51:09 +0200 (Mon, 07 Jul 2008) | 1 line

  Fix example to match text
........
  r64775 | facundo.batista | 2008-07-07 19:02:59 +0200 (Mon, 07 Jul 2008) | 3 lines


  Issue 3306. Better control for a lenght in findmax() function.
........
  r64788 | georg.brandl | 2008-07-08 09:05:23 +0200 (Tue, 08 Jul 2008) | 2 lines

  Add missing ABCs to list.
........
  r64793 | nick.coghlan | 2008-07-08 16:21:42 +0200 (Tue, 08 Jul 2008) | 1 line

  Add missing NEWS and ACK entries for r64791
........
  r64835 | raymond.hettinger | 2008-07-10 11:31:08 +0200 (Thu, 10 Jul 2008) | 1 line

  Issue 3287: Raise correct exception for float inputs.
........
  r64836 | raymond.hettinger | 2008-07-10 12:28:41 +0200 (Thu, 10 Jul 2008) | 1 line

  Use operator.index() instead of n.__index__().
........
2008-07-16 03:43:04 +00:00
Georg Brandl 3ccb787241 Merged revisions 64446,64490,64495,64526,64567 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64446 | facundo.batista | 2008-06-21 19:43:56 +0200 (Sat, 21 Jun 2008) | 4 lines


  Fixed issue #2888. Now the behaviour of pprint when working with nested
  structures follows the common sense (and works like in 2.5 and 3.0).
........
  r64490 | thomas.heller | 2008-06-23 21:51:41 +0200 (Mon, 23 Jun 2008) | 1 line

  Include debug info when assembling win64.asm in a debug build.
........
  r64495 | benjamin.peterson | 2008-06-24 04:41:08 +0200 (Tue, 24 Jun 2008) | 1 line

  minor fix
........
  r64526 | mark.dickinson | 2008-06-25 17:29:32 +0200 (Wed, 25 Jun 2008) | 2 lines

  issue #3199: Fix typo in Mac/Makefile.in
........
  r64567 | mark.dickinson | 2008-06-28 00:20:14 +0200 (Sat, 28 Jun 2008) | 3 lines

  Fix typo in configure.in, and propagate configure.in changes from r64002
  to configure and pyconfig.h.in.
........
2008-07-16 03:00:45 +00:00
Georg Brandl b6531d26d7 Blocked revisions 64453,64471,64489,64527,64535,64554,64595,64702 via svnmerge
........
  r64453 | andrew.kuchling | 2008-06-22 15:39:11 +0200 (Sun, 22 Jun 2008) | 1 line

  Wording fix
........
  r64471 | facundo.batista | 2008-06-23 01:19:14 +0200 (Mon, 23 Jun 2008) | 5 lines


  Fixing the problem stated in issue 2702 with the patch submitted
  in the issue 3165. Now cPickle does not fails with uncontrolled
  behaviour when pickling into a very deep nested structure.
........
  r64489 | thomas.heller | 2008-06-23 16:49:56 +0200 (Mon, 23 Jun 2008) | 2 lines

  Fix compilation on Windows.
........
  r64527 | facundo.batista | 2008-06-25 21:24:53 +0200 (Wed, 25 Jun 2008) | 9 lines


  Reverting the patch from #3165, as it broke other
  behaviours. I left the original test commented out (note
  that that test came from #2702, which seems to have a
  problem in FreeBSD and Windows, but not in Linux).

  I included a new test, to watch over the now-broken
  behaviour, I took it from #3179.
........
  r64535 | georg.brandl | 2008-06-26 20:55:37 +0200 (Thu, 26 Jun 2008) | 2 lines

  Add a version tag for shutdown().
........
  r64554 | trent.nelson | 2008-06-27 04:24:49 +0200 (Fri, 27 Jun 2008) | 3 lines

  Initialized merge tracking via "svnmerge" with revisions "1-64347" from
  svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade
........
  r64595 | facundo.batista | 2008-06-30 03:10:55 +0200 (Mon, 30 Jun 2008) | 3 lines


  Fix #2702, with a correct accounting of recursion.
........
  r64702 | georg.brandl | 2008-07-04 19:22:53 +0200 (Fri, 04 Jul 2008) | 2 lines

  Give the pickle special methods a signature.
........
2008-07-16 02:55:36 +00:00
Georg Brandl 250bc267d0 Blocked revisions 64438-64439,64516 via svnmerge
........
  r64438 | raymond.hettinger | 2008-06-21 08:39:53 +0200 (Sat, 21 Jun 2008) | 1 line

  Issue 3008: hex/oct/bin can show floats exactly.
........
  r64439 | hyeshik.chang | 2008-06-21 13:15:30 +0200 (Sat, 21 Jun 2008) | 2 lines

  Fix build on FreeBSD gcc.
........
  r64516 | raymond.hettinger | 2008-06-25 00:46:07 +0200 (Wed, 25 Jun 2008) | 1 line

  Revert 64424, 64438, and 64439.
........
2008-07-16 02:51:06 +00:00
Benjamin Peterson fc576351c0 sys.maxint -> sys.maxsize 2008-07-16 02:39:02 +00:00
Benjamin Peterson 8f95cc2965 update configure again :) 2008-07-16 02:23:25 +00:00
Georg Brandl 1543661815 Blocked revisions 64424 via svnmerge
........
  r64424 | raymond.hettinger | 2008-06-20 06:18:15 +0200 (Fri, 20 Jun 2008) | 1 line

  Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
........
2008-07-16 02:23:21 +00:00
Georg Brandl 93de216a33 Merged revisions 63997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63997 | ronald.oussoren | 2008-06-06 23:31:33 +0200 (Fri, 06 Jun 2008) | 2 lines

  Fix build issue on OSX 10.4
........
2008-07-16 02:21:06 +00:00
Benjamin Peterson 14ae959bb4 update configure 2008-07-16 02:20:15 +00:00
Georg Brandl fcaf910a1f Merged revisions 63955 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63955 | ronald.oussoren | 2008-06-05 14:58:24 +0200 (Thu, 05 Jun 2008) | 20 lines

  MacOS X: Enable 4-way universal builds

  This patch adds a new configure argument on OSX:
          --with-universal-archs=[32-bit|64-bit|all]

  When used with the --enable-universalsdk option this controls which
  CPU architectures are includes in the framework. The default is 32-bit,
  meaning i386 and ppc. The most useful alternative is 'all', which includes
  all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

  This includes limited support for the Carbon bindings in 64-bit mode as well,
  limited because (a) I haven't done extensive testing and (b) a large portion
  of the Carbon API's aren't available in 64-bit mode anyway.

  I've also duplicated a feature of Apple's build of python: setting the
  environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
  extensions using distutils.
........
2008-07-16 02:17:56 +00:00
Georg Brandl 26adf520f3 Merged revisions 63828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63828 | mark.hammond | 2008-05-31 07:11:07 +0200 (Sat, 31 May 2008) | 2 lines

  Fix bdist_wininst --user-access-control for win2k
........
2008-07-16 02:02:25 +00:00
Benjamin Peterson 21967458f0 Blocked revisions 64986 via svnmerge
........
  r64986 | benjamin.peterson | 2008-07-15 19:44:02 -0500 (Tue, 15 Jul 2008) | 1 line

  disable lib2to3 in the trunk. It's broken just for 2.6
........
2008-07-16 00:45:58 +00:00
Eric Smith d68af8f743 Merged revisions 64984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64984 | eric.smith | 2008-07-15 20:11:49 -0400 (Tue, 15 Jul 2008) | 1 line

  Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format().
........
2008-07-16 00:15:35 +00:00
Thomas Heller f70e195927 Merged revisions 64979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64979 | thomas.heller | 2008-07-15 22:18:46 +0200 (Tue, 15 Jul 2008) | 1 line

  Fix test on 64-bit platforms.
........
2008-07-15 20:23:33 +00:00
Thomas Heller 15383a08aa Merged revisions 64976-64977 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64976 | thomas.heller | 2008-07-15 21:39:38 +0200 (Tue, 15 Jul 2008) | 3 lines

  Issue #3313: Contrary to the man page, a failed dlopen() call does not
  always set a dlerror() message.
........
  r64977 | thomas.heller | 2008-07-15 21:44:25 +0200 (Tue, 15 Jul 2008) | 2 lines

  Add Victor Stinner, he provided the patch for issue #3313.
........
2008-07-15 19:46:52 +00:00
Neil Schemenauer a7024e9e84 Fix some broken URLs to GC design discussions. 2008-07-15 19:24:01 +00:00
Thomas Heller 0261e1e73f Merged revisions 64968,64971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64968 | thomas.heller | 2008-07-15 19:03:08 +0200 (Di, 15 Jul 2008) | 4 lines

  Issue #3258: Fix an assertion error (in debug build) and a crash (in
  release build) when the format string of a pointer to an incomplete
  structure is created.
........
  r64971 | thomas.heller | 2008-07-15 19:19:50 +0200 (Di, 15 Jul 2008) | 2 lines

  NEWS entry for #issue 3258.
........
2008-07-15 17:25:07 +00:00
Thomas Heller d88ddfa94a Make these files to compile again under Windows. 2008-07-15 17:14:51 +00:00
Thomas Heller 0d755b4e2b Fix a potential NameError. 2008-07-15 17:14:09 +00:00
Nick Coghlan d1abd25ed8 Manual forward port of 64962 - use PyObject_HashNotImplemented as a tp_hash level indicator that the default hash implementation has not been inherited 2008-07-15 15:46:38 +00:00
Benjamin Peterson e65282114e implement chained exception tracebacks
patch from Antoine Pitrou #3112
2008-07-15 15:32:09 +00:00
Nick Coghlan 9bab65c259 Blocked revisions 64962 via svnmerge
........
  r64962 | nick.coghlan | 2008-07-16 00:27:37 +1000 (Wed, 16 Jul 2008) | 1 line

  Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
........
2008-07-15 14:31:20 +00:00
Eric Smith b1ebcc6b0b Forward port of r64958.
Added '#' formatting to integers.  This adds the 0b, 0o, or 0x prefix for bin, oct, hex.  There's still one failing case, and I need to finish the docs.  I hope to finish those today.
2008-07-15 13:02:41 +00:00
Eric Smith e840b9ad51 Blocked revisions 64958 via svnmerge. Will merge by hand.
........
  r64958 | eric.smith | 2008-07-15 06:10:07 -0400 (Tue, 15 Jul 2008) | 1 line

  Added '#' formatting to integers.  This adds the 0b, 0o, or 0x prefix for bin, oct, hex.  There's still one failing case, and I need to finish the docs.  I hope to finish those today.
........
2008-07-15 10:11:44 +00:00
Benjamin Peterson 06157a4d21 correct docstring 2008-07-15 00:28:36 +00:00
Benjamin Peterson 0034ebb3ca Blocked revisions 64953 via svnmerge
........
  r64953 | benjamin.peterson | 2008-07-14 12:42:17 -0500 (Mon, 14 Jul 2008) | 4 lines

  fix test_py3kwarns

  The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
........
2008-07-14 17:49:43 +00:00
Benjamin Peterson 801844d6fc #2512 implement the 3.0 gettext API
All the u* gettext variants were renamed to their
none u* variants, since there's no point in translating
to byte strings. I also killed off the unicode parameters
for install
2008-07-14 14:32:15 +00:00
Robert Schuppenies fbe94c55ca Merged revisions 64842,64853,64856,64945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64842 | robert.schuppenies | 2008-07-10 15:43:26 +0200 (Thu, 10 Jul 2008) | 2 lines

  Fixed Issue3122 and extended sys.getsizeof tests for built-in types.
........
  r64853 | robert.schuppenies | 2008-07-10 17:24:04 +0200 (Thu, 10 Jul 2008) | 3 lines

  Added additional __sizeof__ implementations and addressed comments made in
  Issue3122.
........
  r64856 | robert.schuppenies | 2008-07-10 19:13:55 +0200 (Thu, 10 Jul 2008) | 3 lines

  Added garbage collector overhead and optional default return value to
  sys.getsizeof.
........
  r64945 | robert.schuppenies | 2008-07-14 10:42:18 +0200 (Mon, 14 Jul 2008) | 2 lines

  Fixed test failure on Win64 machines.
........
2008-07-14 10:13:31 +00:00
Alexandre Vassalotti 3065b87a07 Mention the behaviour of PyFunction_SetAnnotations() on error. 2008-07-13 22:28:42 +00:00