Benjamin Peterson [Thu, 17 Jul 2008 03:19:14 +0000 (03:19 +0000)]
kill test_macos
Benjamin Peterson [Thu, 17 Jul 2008 02:21:56 +0000 (02:21 +0000)]
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
........
................
Georg Brandl [Wed, 16 Jul 2008 23:19:01 +0000 (23:19 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 23:18:01 +0000 (23:18 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 23:15:30 +0000 (23:15 +0000)]
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".
........
Georg Brandl [Wed, 16 Jul 2008 21:21:29 +0000 (21:21 +0000)]
#3310: stop referring to basestring.
Benjamin Peterson [Wed, 16 Jul 2008 20:33:37 +0000 (20:33 +0000)]
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
........
Benjamin Peterson [Wed, 16 Jul 2008 19:48:47 +0000 (19:48 +0000)]
fix dependencies
Eric Smith [Wed, 16 Jul 2008 19:41:14 +0000 (19:41 +0000)]
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.
........
Benjamin Peterson [Wed, 16 Jul 2008 18:52:50 +0000 (18:52 +0000)]
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
........
................
Benjamin Peterson [Wed, 16 Jul 2008 18:44:47 +0000 (18:44 +0000)]
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
........
................
Benjamin Peterson [Wed, 16 Jul 2008 17:04:41 +0000 (17:04 +0000)]
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
........
Georg Brandl [Wed, 16 Jul 2008 12:58:29 +0000 (12:58 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 12:55:28 +0000 (12:55 +0000)]
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
........
Mark Dickinson [Wed, 16 Jul 2008 11:32:23 +0000 (11:32 +0000)]
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.
........
Mark Dickinson [Wed, 16 Jul 2008 11:30:51 +0000 (11:30 +0000)]
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.
........
Mark Dickinson [Wed, 16 Jul 2008 10:33:39 +0000 (10:33 +0000)]
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".
........
Georg Brandl [Wed, 16 Jul 2008 03:45:47 +0000 (03:45 +0000)]
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
........
Georg Brandl [Wed, 16 Jul 2008 03:43:04 +0000 (03:43 +0000)]
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__().
........
Georg Brandl [Wed, 16 Jul 2008 03:00:45 +0000 (03:00 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 02:55:36 +0000 (02:55 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 02:51:06 +0000 (02:51 +0000)]
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.
........
Benjamin Peterson [Wed, 16 Jul 2008 02:39:02 +0000 (02:39 +0000)]
sys.maxint -> sys.maxsize
Benjamin Peterson [Wed, 16 Jul 2008 02:23:25 +0000 (02:23 +0000)]
update configure again :)
Georg Brandl [Wed, 16 Jul 2008 02:23:21 +0000 (02:23 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 02:21:06 +0000 (02:21 +0000)]
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
........
Benjamin Peterson [Wed, 16 Jul 2008 02:20:15 +0000 (02:20 +0000)]
update configure
Georg Brandl [Wed, 16 Jul 2008 02:17:56 +0000 (02:17 +0000)]
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.
........
Georg Brandl [Wed, 16 Jul 2008 02:02:25 +0000 (02:02 +0000)]
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
........
Benjamin Peterson [Wed, 16 Jul 2008 00:45:58 +0000 (00:45 +0000)]
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
........
Eric Smith [Wed, 16 Jul 2008 00:15:35 +0000 (00:15 +0000)]
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().
........
Thomas Heller [Tue, 15 Jul 2008 20:23:33 +0000 (20:23 +0000)]
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.
........
Thomas Heller [Tue, 15 Jul 2008 19:46:52 +0000 (19:46 +0000)]
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.
........
Neil Schemenauer [Tue, 15 Jul 2008 19:24:01 +0000 (19:24 +0000)]
Fix some broken URLs to GC design discussions.
Thomas Heller [Tue, 15 Jul 2008 17:25:07 +0000 (17:25 +0000)]
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.
........
Thomas Heller [Tue, 15 Jul 2008 17:14:51 +0000 (17:14 +0000)]
Make these files to compile again under Windows.
Thomas Heller [Tue, 15 Jul 2008 17:14:09 +0000 (17:14 +0000)]
Fix a potential NameError.
Nick Coghlan [Tue, 15 Jul 2008 15:46:38 +0000 (15:46 +0000)]
Manual forward port of 64962 - use PyObject_HashNotImplemented as a tp_hash level indicator that the default hash implementation has not been inherited
Benjamin Peterson [Tue, 15 Jul 2008 15:32:09 +0000 (15:32 +0000)]
implement chained exception tracebacks
patch from Antoine Pitrou #3112
Nick Coghlan [Tue, 15 Jul 2008 14:31:20 +0000 (14:31 +0000)]
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
........
Eric Smith [Tue, 15 Jul 2008 13:02:41 +0000 (13:02 +0000)]
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.
Eric Smith [Tue, 15 Jul 2008 10:11:44 +0000 (10:11 +0000)]
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.
........
Benjamin Peterson [Tue, 15 Jul 2008 00:28:36 +0000 (00:28 +0000)]
correct docstring
Benjamin Peterson [Mon, 14 Jul 2008 17:49:43 +0000 (17:49 +0000)]
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.
........
Benjamin Peterson [Mon, 14 Jul 2008 14:32:15 +0000 (14:32 +0000)]
#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
Robert Schuppenies [Mon, 14 Jul 2008 10:13:31 +0000 (10:13 +0000)]
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.
........
Alexandre Vassalotti [Sun, 13 Jul 2008 22:28:42 +0000 (22:28 +0000)]
Mention the behaviour of PyFunction_SetAnnotations() on error.
Alexandre Vassalotti [Sun, 13 Jul 2008 22:26:50 +0000 (22:26 +0000)]
Added documentation for PyFunction_GetAnnotations() and
PyFunction_SetAnnotations().
Benjamin Peterson [Sun, 13 Jul 2008 22:19:10 +0000 (22:19 +0000)]
Blocked revisions 64930 via svnmerge
........
r64930 | alexandre.vassalotti | 2008-07-13 16:47:59 -0500 (Sun, 13 Jul 2008) | 3 lines
Issue #3153: sqlite leaks on error.
Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj).
........
Alexandre Vassalotti [Sun, 13 Jul 2008 21:57:48 +0000 (21:57 +0000)]
Forward port r64930.
Fix one more case in cursor.c.
Alexandre Vassalotti [Sun, 13 Jul 2008 18:48:30 +0000 (18:48 +0000)]
Fixed _pickle to use Py_EnterRecursiveCall().
Benjamin Peterson [Sun, 13 Jul 2008 18:45:30 +0000 (18:45 +0000)]
remove 3.0 conditional
Benjamin Peterson [Sun, 13 Jul 2008 18:41:02 +0000 (18:41 +0000)]
Blocked revisions 64922 via svnmerge
........
r64922 | benjamin.peterson | 2008-07-13 13:34:58 -0500 (Sun, 13 Jul 2008) | 1 line
remove sys.version_info check for 3.0
........
Benjamin Peterson [Sun, 13 Jul 2008 18:32:09 +0000 (18:32 +0000)]
Merged revisions 64920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64920 | benjamin.peterson | 2008-07-13 13:25:13 -0500 (Sun, 13 Jul 2008) | 1 line
remove bytes alias
........
Benjamin Peterson [Sun, 13 Jul 2008 17:44:16 +0000 (17:44 +0000)]
move test_long_future into test_long
Nick Coghlan [Sun, 13 Jul 2008 12:38:21 +0000 (12:38 +0000)]
Blocked revisions 64913 via svnmerge
........
r64913 | nick.coghlan | 2008-07-13 22:36:42 +1000 (Sun, 13 Jul 2008) | 1 line
Correct a couple of errors in the updated catch_warning documentation (the Py3k version was fixed before being checked in)
........
Nick Coghlan [Sun, 13 Jul 2008 12:29:08 +0000 (12:29 +0000)]
Blocked revisions 64910 via svnmerge
........
r64910 | nick.coghlan | 2008-07-13 22:23:47 +1000 (Sun, 13 Jul 2008) | 1 line
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
........
Nick Coghlan [Sun, 13 Jul 2008 12:25:08 +0000 (12:25 +0000)]
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for it to test_warnings. (forward port of r64910 from trunk)
Brett Cannon [Sun, 13 Jul 2008 01:38:36 +0000 (01:38 +0000)]
Clean up list of undocumented modules as most of them have been removed in Python 3.0.
Brett Cannon [Sun, 13 Jul 2008 01:19:15 +0000 (01:19 +0000)]
Merged revisions 64903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64903 | brett.cannon | 2008-07-12 18:15:07 -0700 (Sat, 12 Jul 2008) | 6 lines
dummy_thread.acquire() would return None if no waitflag argument was given. It
should have returned True.
Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
........
Benjamin Peterson [Sat, 12 Jul 2008 21:11:03 +0000 (21:11 +0000)]
These revisions were merged manaually:
Blocked revisions 64062,64068-64069,64080 via svnmerge
........
r64062 | josiah.carlson | 2008-06-10 00:00:08 -0500 (Tue, 10 Jun 2008) | 5 lines
Applying updated patch from Issue
1736190, which addresses partial
issues in: 909005 and
17361001, as well as completely as possible issues
539444, 760475, 777588, 889153, 953599,
1025525,
1063924, and 658749.
This patch also includes doc and test updates as necessary.
........
r64068 | benjamin.peterson | 2008-06-10 08:37:13 -0500 (Tue, 10 Jun 2008) | 2 lines
fix markup
........
r64069 | georg.brandl | 2008-06-10 08:53:24 -0500 (Tue, 10 Jun 2008) | 2 lines
more markup fix.
........
r64080 | josiah.carlson | 2008-06-10 10:58:19 -0500 (Tue, 10 Jun 2008) | 3 lines
Fixed test to reflect new filedispatcher semantics, as well as two
NameErrors pointed out by Giampaolo.
........
Benjamin Peterson [Sat, 12 Jul 2008 20:06:53 +0000 (20:06 +0000)]
kill off plat-mac
Josiah Carlson [Fri, 11 Jul 2008 23:26:37 +0000 (23:26 +0000)]
Fixed test for asyncore.
Josiah Carlson [Fri, 11 Jul 2008 22:18:27 +0000 (22:18 +0000)]
Fix for AttributeError in test_asynchat.
Brett Cannon [Fri, 11 Jul 2008 00:50:40 +0000 (00:50 +0000)]
Blocked revisions 64865-64866 via svnmerge
........
r64865 | brett.cannon | 2008-07-10 17:48:57 -0700 (Thu, 10 Jul 2008) | 1 line
Doc that robotparse has been renamed urllib.robotparser in Python 3.0.
........
r64866 | brett.cannon | 2008-07-10 17:50:01 -0700 (Thu, 10 Jul 2008) | 1 line
Fix a minor typo in the last entry made.
........
Brett Cannon [Fri, 11 Jul 2008 00:17:07 +0000 (00:17 +0000)]
Blocked revisions 64861 via svnmerge
........
r64861 | brett.cannon | 2008-07-10 17:16:30 -0700 (Thu, 10 Jul 2008) | 1 line
Doc that urlparse is named urllib.parse in Python 3.0.
........
Brett Cannon [Fri, 11 Jul 2008 00:13:34 +0000 (00:13 +0000)]
Blocked revisions 64858-64859 via svnmerge
........
r64858 | brett.cannon | 2008-07-10 17:10:49 -0700 (Thu, 10 Jul 2008) | 2 lines
Removal an invalid entry as the fixer for urllib is under active development.
........
r64859 | brett.cannon | 2008-07-10 17:12:52 -0700 (Thu, 10 Jul 2008) | 3 lines
Document the fact that urllib2 spans multiple modules with new names in Python
3.0.
........
Nick Coghlan [Tue, 8 Jul 2008 14:12:42 +0000 (14:12 +0000)]
Blocked revisions 64791 via svnmerge
........
r64791 | nick.coghlan | 2008-07-09 00:08:04 +1000 (Wed, 09 Jul 2008) | 1 line
Issue 2517: Allow unicode messages in Exceptions again by correctly bypassing the instance dictionary when looking up __unicode__ on new-style classes
........
Facundo Batista [Mon, 7 Jul 2008 18:24:11 +0000 (18:24 +0000)]
Issue 3314. The sys module is used in an error case.
Josiah Carlson [Mon, 7 Jul 2008 05:04:12 +0000 (05:04 +0000)]
Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768
to the py3k branch.
Josiah Carlson [Mon, 7 Jul 2008 04:24:24 +0000 (04:24 +0000)]
Removed extraneous whitespace.
Josiah Carlson [Mon, 7 Jul 2008 04:23:14 +0000 (04:23 +0000)]
Fixed documentation to be correct for Py3k.
Josiah Carlson [Mon, 7 Jul 2008 04:15:08 +0000 (04:15 +0000)]
Committing Py3k version of changelist 64080 and 64257, along with updated tests
for smtpd, which required updating with the new semantics.
Amaury Forgeot d'Arc [Sun, 6 Jul 2008 21:37:52 +0000 (21:37 +0000)]
Blocked revisions 64762 via svnmerge
........
r64762 | amaury.forgeotdarc | 2008-07-06 23:34:39 +0200 (dim., 06 juil. 2008) | 8 lines
Issue839496: SimpleHTTPServer should open all files in binary mode.
Forward-port of 38255 (2005/01/15!)
This was already fixed in 2.4, but never merged into trunk...
py3k is already right, thanks to the bytes/str distinction!
Should be backported to 2.5.
........
Benjamin Peterson [Sat, 5 Jul 2008 23:39:56 +0000 (23:39 +0000)]
fix no-op in tutorial
Benjamin Peterson [Sat, 5 Jul 2008 23:38:30 +0000 (23:38 +0000)]
#3295 actually define PyExc_BufferError
Benjamin Peterson [Sat, 5 Jul 2008 22:51:21 +0000 (22:51 +0000)]
make the symlink to Python be created on install for IDLE.app
Benjamin Peterson [Sat, 5 Jul 2008 21:20:33 +0000 (21:20 +0000)]
finish fixing the rlcompleter regression (thanks for noticing Antonine Pitrou)
Benjamin Peterson [Sat, 5 Jul 2008 20:59:18 +0000 (20:59 +0000)]
fix regression from merge error in rlcompletor
Martin v. Löwis [Sat, 5 Jul 2008 15:55:00 +0000 (15:55 +0000)]
Merged revisions 64736-64737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r64736 | martin.v.loewis | 2008-07-05 17:45:45 +0200 (Sa, 05 Jul 2008) | 20 lines
Merged revisions 64285-64735 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r64493 | benjamin.peterson | 2008-06-24 04:14:14 +0200 (Di, 24 Jun 2008) | 1 line
add a fix_import mapping for cPickle -> pickle
........
r64651 | brett.cannon | 2008-07-02 04:00:11 +0200 (Mi, 02 Jul 2008) | 3 lines
Update fix_imports for urllib. Had to change the fixer itself to handle modules
that are split across several renames in 3.0.
........
r64669 | brett.cannon | 2008-07-02 21:43:48 +0200 (Mi, 02 Jul 2008) | 4 lines
Backing out last change until fix_imports is working again. Also re-enable the
testing for fix_imports; if it is deemed that it takes too long to run then a
random sample should be taken and used to test it.
........
................
r64737 | martin.v.loewis | 2008-07-05 17:48:20 +0200 (Sa, 05 Jul 2008) | 2 lines
Disable lib2to3 by default, unless run explicitly.
................
Mark Dickinson [Sat, 5 Jul 2008 11:29:03 +0000 (11:29 +0000)]
Docstring typo
Amaury Forgeot d'Arc [Fri, 4 Jul 2008 21:34:47 +0000 (21:34 +0000)]
Correct a typo during previous checkin.
Amaury Forgeot d'Arc [Fri, 4 Jul 2008 21:26:43 +0000 (21:26 +0000)]
Issue #3280: like chr() already does, the "%c" format now accepts the full unicode range
even on "narrow Unicode" builds; the result is a pair of UTF-16 surrogates.
Benjamin Peterson [Fri, 4 Jul 2008 19:55:29 +0000 (19:55 +0000)]
touch up str docstrings #3284
Amaury Forgeot d'Arc [Fri, 4 Jul 2008 17:57:09 +0000 (17:57 +0000)]
Correct a test after r64701.
Georg Brandl [Fri, 4 Jul 2008 15:55:02 +0000 (15:55 +0000)]
Issue #3282: str.isprintable() should return False for undefined Unicode characters.
Georg Brandl [Fri, 4 Jul 2008 15:45:10 +0000 (15:45 +0000)]
Fix committed merge conflict.
Benjamin Peterson [Thu, 3 Jul 2008 20:28:26 +0000 (20:28 +0000)]
remove traces of .next
Benjamin Peterson [Thu, 3 Jul 2008 14:45:20 +0000 (14:45 +0000)]
document LOAD_BUILD_CLASS
Martin v. Löwis [Thu, 3 Jul 2008 14:13:42 +0000 (14:13 +0000)]
Merged revisions 64688 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64688 | martin.v.loewis | 2008-07-03 14:51:14 +0200 (Do, 03 Jul 2008) | 9 lines
Patch #1622: Correct interpretation of various ZIP header fields.
Also fixes
- Issue #1526: Allow more than 64k files to be added to Zip64 file.
- Issue #1746: Correct handling of zipfile archive comments (previously
archives with comments over 4k were flagged as invalid). Allow writing
Zip files with archives by setting the 'comment' attribute of a ZipFile.
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:44:19 +0000 (23:44 +0000)]
Merged revisions 64685 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64685 | amaury.forgeotdarc | 2008-07-03 01:40:28 +0200 (Thu, 03 Jul 2008) | 3 lines
Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot:
the GIL must be re-acquired in the callback function
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:22:30 +0000 (23:22 +0000)]
Correct a typo that breaks test_distutils
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 23:02:21 +0000 (23:02 +0000)]
Add a NEWS entry for Issue #3247.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 22:59:48 +0000 (22:59 +0000)]
#3247: get rid of Py_FindMethods
Remove references in documentation;
also rewrite a paragraph that looked off-topic to me.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 22:38:47 +0000 (22:38 +0000)]
#3247: get rid of Py_FindMethod
Third step: unix-only modules. Really remove the function this time.
Brett Cannon [Wed, 2 Jul 2008 22:07:22 +0000 (22:07 +0000)]
Block r64673.
Brett Cannon [Wed, 2 Jul 2008 22:06:12 +0000 (22:06 +0000)]
Merged revisions 64677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64677 | brett.cannon | 2008-07-02 14:52:42 -0700 (Wed, 02 Jul 2008) | 2 lines
Revert r64673 and instead just change the file encoding.
........
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 21:47:18 +0000 (21:47 +0000)]
Oops, forgot that there are modules outside the win32 world.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 21:41:01 +0000 (21:41 +0000)]
#3247: Get rid of Py_FindMethod:
Second step: keep tp_getattr functions when they are complex,
but use PyObject_GenericGetAttr() as a fallback.
These were the last occurrences of Py_FindMethod.
Amaury Forgeot d'Arc [Wed, 2 Jul 2008 20:50:16 +0000 (20:50 +0000)]
#3247 Get rid of Py_FindMethod; use tp_members instead.
Otherwise dir(_sre.SRE_Match) returns an empty list.
First step: handle most occurrences, remove tp_getattr and fill the tp_methods and tp_members slots.
Add some test about attribute access.