Mark Dickinson [Sat, 28 Nov 2009 16:39:12 +0000 (16:39 +0000)]
Merged revisions 76577 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76577 | mark.dickinson | 2009-11-28 16:38:16 +0000 (Sat, 28 Nov 2009) | 12 lines
Merged revisions 76575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76575 | mark.dickinson | 2009-11-28 16:32:27 +0000 (Sat, 28 Nov 2009) | 5 lines
Issue #
1678380: When distinguishing between -0.0 and 0.0 in
compiler_add_o, use copysign instead of examining the first and last
bytes of the double. The latter method fails for little-endian
ARM, OABI, where doubles are little-endian but with the words swapped.
........
................
Antoine Pitrou [Sat, 28 Nov 2009 16:16:09 +0000 (16:16 +0000)]
Merged revisions 76573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76573 | antoine.pitrou | 2009-11-28 17:12:28 +0100 (sam., 28 nov. 2009) | 3 lines
Issue #4486: When an exception has an explicit cause, do not print its implicit context too.
........
Mark Dickinson [Sat, 28 Nov 2009 12:52:39 +0000 (12:52 +0000)]
Merged revisions 76566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76566 | mark.dickinson | 2009-11-28 12:48:43 +0000 (Sat, 28 Nov 2009) | 18 lines
Merged revisions 76432,76558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines
Issue #7272: Add configure test to detect whether sem_open works
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal. This should fix some FreeBSD buildbot
failures for test_multiprocessing.
........
r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines
Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available; define a new variable
POSIX_SEMAPHORES_NOT_ENABLED instead.
........
................
Mark Dickinson [Sat, 28 Nov 2009 12:37:41 +0000 (12:37 +0000)]
Blocked revisions 76563 via svnmerge
................
r76563 | mark.dickinson | 2009-11-28 12:35:42 +0000 (Sat, 28 Nov 2009) | 12 lines
Merged revisions 76561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76561 | mark.dickinson | 2009-11-28 12:30:36 +0000 (Sat, 28 Nov 2009) | 5 lines
Include ieeefp.h (when available) in pyport.h instead of individually in
Objects/floatobject.c and Objects/complexobject.c. This should silence
compiler warnings about implicit declaration of the 'finite' function
on Solaris.
........
................
Barry Warsaw [Wed, 25 Nov 2009 18:45:04 +0000 (18:45 +0000)]
Add mktime_tz to __all__. It's documented as being available in email.utils.
Benjamin Peterson [Wed, 25 Nov 2009 18:37:12 +0000 (18:37 +0000)]
Merged revisions 76518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76518 | benjamin.peterson | 2009-11-25 12:34:42 -0600 (Wed, 25 Nov 2009) | 60 lines
Merged revisions 76259,76326,76376-76377,76430,76471,76517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r76259 | georg.brandl | 2009-11-14 05:50:51 -0600 (Sat, 14 Nov 2009) | 1 line
Fix terminology.
................
r76326 | georg.brandl | 2009-11-16 10:44:05 -0600 (Mon, 16 Nov 2009) | 1 line
#7302: fix link.
................
r76376 | georg.brandl | 2009-11-18 13:39:14 -0600 (Wed, 18 Nov 2009) | 1 line
upcase Python
................
r76377 | georg.brandl | 2009-11-18 14:05:15 -0600 (Wed, 18 Nov 2009) | 1 line
Fix markup.
................
r76430 | r.david.murray | 2009-11-20 07:29:43 -0600 (Fri, 20 Nov 2009) | 2 lines
Issue 7363: fix indentation in socketserver udpserver example.
................
r76471 | georg.brandl | 2009-11-23 13:53:19 -0600 (Mon, 23 Nov 2009) | 1 line
#7345: fix arguments of formatyear().
................
r76517 | benjamin.peterson | 2009-11-25 12:16:46 -0600 (Wed, 25 Nov 2009) | 29 lines
Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76160 | benjamin.peterson | 2009-11-08 18:53:48 -0600 (Sun, 08 Nov 2009) | 1 line
undeprecate the -p option; it's useful for converting python3 sources
........
r76161 | benjamin.peterson | 2009-11-08 19:05:37 -0600 (Sun, 08 Nov 2009) | 1 line
simplify condition
........
r76250 | benjamin.peterson | 2009-11-13 16:56:48 -0600 (Fri, 13 Nov 2009) | 1 line
fix handling of a utf-8 bom #7313
........
r76252 | benjamin.peterson | 2009-11-13 16:58:36 -0600 (Fri, 13 Nov 2009) | 1 line
remove pdb turd
........
r76447 | benjamin.peterson | 2009-11-22 18:17:40 -0600 (Sun, 22 Nov 2009) | 1 line
#7375 fix nested transformations in fix_urllib
........
r76506 | benjamin.peterson | 2009-11-24 18:34:31 -0600 (Tue, 24 Nov 2009) | 1 line
use generator expressions in any()
........
................
................
Mark Dickinson [Tue, 24 Nov 2009 20:56:11 +0000 (20:56 +0000)]
Blocked revisions 76503 via svnmerge
................
r76503 | mark.dickinson | 2009-11-24 20:54:11 +0000 (Tue, 24 Nov 2009) | 10 lines
Merged revisions 76502 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76502 | mark.dickinson | 2009-11-24 20:51:48 +0000 (Tue, 24 Nov 2009) | 3 lines
Issue #7228: Fix format mismatch when printing something of type off_t.
(Should silence some compiler warnings.)
........
................
Mark Dickinson [Tue, 24 Nov 2009 14:36:23 +0000 (14:36 +0000)]
Merged revisions 76491 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k
................
r76491 | mark.dickinson | 2009-11-24 14:33:29 +0000 (Tue, 24 Nov 2009) | 9 lines
Merged revisions 76489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line
Fix some documentation examples involving the repr of a float.
........
................
Mark Dickinson [Tue, 24 Nov 2009 14:35:53 +0000 (14:35 +0000)]
Unblocked revisions 76491 via svnmerge
................
r76491 | mark.dickinson | 2009-11-24 14:33:29 +0000 (Tue, 24 Nov 2009) | 9 lines
Merged revisions 76489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line
Fix some documentation examples involving the repr of a float.
........
................
Mark Dickinson [Tue, 24 Nov 2009 14:33:53 +0000 (14:33 +0000)]
Blocked revisions 76491 via svnmerge
................
r76491 | mark.dickinson | 2009-11-24 14:33:29 +0000 (Tue, 24 Nov 2009) | 9 lines
Merged revisions 76489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76489 | mark.dickinson | 2009-11-24 14:27:02 +0000 (Tue, 24 Nov 2009) | 1 line
Fix some documentation examples involving the repr of a float.
........
................
Mark Dickinson [Tue, 24 Nov 2009 11:00:21 +0000 (11:00 +0000)]
Merged revisions 76485 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k
................
r76485 | mark.dickinson | 2009-11-24 10:59:34 +0000 (Tue, 24 Nov 2009) | 9 lines
Merged revisions 76483 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76483 | mark.dickinson | 2009-11-24 10:54:58 +0000 (Tue, 24 Nov 2009) | 2 lines
round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.
........
................
Senthil Kumaran [Mon, 23 Nov 2009 19:06:11 +0000 (19:06 +0000)]
Merged revisions 76469 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76469 | senthil.kumaran | 2009-11-24 00:32:52 +0530 (Tue, 24 Nov 2009) | 10 lines
Merged revisions 76464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76464 | senthil.kumaran | 2009-11-24 00:11:31 +0530 (Tue, 24 Nov 2009) | 4 lines
Fix for issue1488943 - difflib.Differ() doesn't always add hints for tab
characters.
........
................
Mark Dickinson [Mon, 23 Nov 2009 16:42:35 +0000 (16:42 +0000)]
Merged revisions 76462 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k
................
r76462 | mark.dickinson | 2009-11-23 16:41:41 +0000 (Mon, 23 Nov 2009) | 9 lines
Merged revisions 76460 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76460 | mark.dickinson | 2009-11-23 16:39:05 +0000 (Mon, 23 Nov 2009) | 2 lines
Issue #7369: Fibonacci series should start at 0 in tutorial example.
........
................
Mark Dickinson [Mon, 23 Nov 2009 16:28:18 +0000 (16:28 +0000)]
Merged revisions 76458 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k
................
r76458 | mark.dickinson | 2009-11-23 16:27:17 +0000 (Mon, 23 Nov 2009) | 9 lines
Merged revisions 76456 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76456 | mark.dickinson | 2009-11-23 16:23:43 +0000 (Mon, 23 Nov 2009) | 2 lines
Issue #7379: Fix incorrect doctest for Fraction.limit_denominator.
........
................
Lars Gustäbel [Mon, 23 Nov 2009 16:04:57 +0000 (16:04 +0000)]
Merged revisions 76453 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76453 | lars.gustaebel | 2009-11-23 16:48:33 +0100 (Mon, 23 Nov 2009) | 10 lines
Merged revisions 76452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76452 | lars.gustaebel | 2009-11-23 16:46:19 +0100 (Mon, 23 Nov 2009) | 3 lines
Add a testcase that checks if the TarFile constructor successfully
closes the internal file object in case of an error (issue #7341).
........
................
R. David Murray [Mon, 23 Nov 2009 03:14:51 +0000 (03:14 +0000)]
Merged revisions 76448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76448 | r.david.murray | 2009-11-22 22:13:23 -0500 (Sun, 22 Nov 2009) | 4 lines
Update example in doctest chapter that uses math.floor to reflect the
fact that the result is an int in py3k. Thanks to 'flox' for pointing out
the discrepancy.
........
Lars Gustäbel [Sun, 22 Nov 2009 19:02:36 +0000 (19:02 +0000)]
Blocked revisions 76444 via svnmerge
................
r76444 | lars.gustaebel | 2009-11-22 19:48:49 +0100 (Sun, 22 Nov 2009) | 30 lines
Merged revisions 76443 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76443 | lars.gustaebel | 2009-11-22 19:30:53 +0100 (Sun, 22 Nov 2009) | 24 lines
Issue #6123: Fix opening empty archives and files.
(Note that an empty archive is not the same as an empty file. An
empty archive contains no members and is correctly terminated with an
EOF block full of zeros. An empty file contains no data at all.)
The problem was that although tarfile was able to create empty
archives, it failed to open them raising a ReadError. On the other
hand, tarfile opened empty files without error in most read modes and
presented them as empty archives. (However, some modes still raised
errors: "r|gz" raised ReadError, but "r:gz" worked, "r:bz2" even
raised EOFError.)
In order to get a more fine-grained control over the various internal
error conditions I now split up the HeaderError exception into a
number of meaningful sub-exceptions. This makes it easier in the
TarFile.next() method to react to the different conditions in the
correct way.
The visible change in its behaviour now is that tarfile will open
empty archives correctly and raise ReadError consistently for empty
files.
........
................
Benjamin Peterson [Sat, 21 Nov 2009 23:56:56 +0000 (23:56 +0000)]
remove 3.1 link
Jesse Noller [Sat, 21 Nov 2009 14:28:39 +0000 (14:28 +0000)]
Merged revisions 76435 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76435 | jesse.noller | 2009-11-21 09:20:14 -0500 (Sat, 21 Nov 2009) | 9 lines
Merged revisions 76433 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76433 | jesse.noller | 2009-11-21 09:01:56 -0500 (Sat, 21 Nov 2009) | 1 line
issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.
........
................
Benjamin Peterson [Fri, 20 Nov 2009 01:21:35 +0000 (01:21 +0000)]
Merged revisions 76425 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76425 | benjamin.peterson | 2009-11-19 19:19:41 -0600 (Thu, 19 Nov 2009) | 13 lines
Merged revisions 76423-76424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76423 | benjamin.peterson | 2009-11-19 19:15:53 -0600 (Thu, 19 Nov 2009) | 1 line
provide line number for lambdas
........
r76424 | benjamin.peterson | 2009-11-19 19:16:58 -0600 (Thu, 19 Nov 2009) | 1 line
genexps have linenos
........
................
Benjamin Peterson [Thu, 19 Nov 2009 21:26:17 +0000 (21:26 +0000)]
Merged revisions 76414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76414 | benjamin.peterson | 2009-11-19 15:22:27 -0600 (Thu, 19 Nov 2009) | 1 line
fix message for py3
........
Ronald Oussoren [Thu, 19 Nov 2009 17:45:30 +0000 (17:45 +0000)]
Merged revisions 76409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76409 | ronald.oussoren | 2009-11-19 18:44:52 +0100 (Thu, 19 Nov 2009) | 11 lines
Merged revisions 76407 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76407 | ronald.oussoren | 2009-11-19 18:42:51 +0100 (Thu, 19 Nov 2009) | 4 lines
Don't use the '==' operator with test, that's an unportable bash-ism.
(Issue 7179)
........
................
Ronald Oussoren [Thu, 19 Nov 2009 17:30:05 +0000 (17:30 +0000)]
Merged revisions 76405 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76405 | ronald.oussoren | 2009-11-19 18:15:31 +0100 (Thu, 19 Nov 2009) | 21 lines
Merged revisions 76403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76403 | ronald.oussoren | 2009-11-19 17:25:21 +0100 (Thu, 19 Nov 2009) | 14 lines
Fix for issue #7085
On MacOSX 10.6 the CoreFoundation framework must be initialized on the main
thread, the constructor function in that framework will cause an SIGABRT when
it is called on any other thread.
Because a number of extension link (indirectly) to CoreFoundation and the
Python core itself didn't the interpreter crashed when importing some
extensions, such as _locale, on a secondary thread.
This fix ensures that Python is linked to CoreFoundation on OSX, which results
in the CoreFoundation constructor being called when Python is loaded. This
does not require code changes.
........
................
Tarek Ziadé [Thu, 19 Nov 2009 05:41:34 +0000 (05:41 +0000)]
Merged revisions 76401 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76401 | tarek.ziade | 2009-11-19 06:39:00 +0100 (Thu, 19 Nov 2009) | 9 lines
Merged revisions 76399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76399 | tarek.ziade | 2009-11-19 06:33:16 +0100 (Thu, 19 Nov 2009) | 1 line
dragfullwindows can have value 2
........
................
Benjamin Peterson [Thu, 19 Nov 2009 03:10:36 +0000 (03:10 +0000)]
Merged revisions 76396 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76396 | benjamin.peterson | 2009-11-18 21:08:32 -0600 (Wed, 18 Nov 2009) | 10 lines
fix __bytes__ handling here in py3x
Merged revisions 76395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76395 | benjamin.peterson | 2009-11-18 21:00:02 -0600 (Wed, 18 Nov 2009) | 1 line
#5037 proxy __unicode__ correctly
........
................
Raymond Hettinger [Thu, 19 Nov 2009 01:23:41 +0000 (01:23 +0000)]
Fix docstrings for itertools combinatoric functions.
Raymond Hettinger [Thu, 19 Nov 2009 01:02:56 +0000 (01:02 +0000)]
Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types.
Raymond Hettinger [Thu, 19 Nov 2009 00:01:54 +0000 (00:01 +0000)]
Issue 7263: Fix set.intersection() docstring.
Lars Gustäbel [Wed, 18 Nov 2009 21:11:27 +0000 (21:11 +0000)]
Merged revisions 76383 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76383 | lars.gustaebel | 2009-11-18 21:29:25 +0100 (Wed, 18 Nov 2009) | 10 lines
Merged revisions 76381 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76381 | lars.gustaebel | 2009-11-18 21:24:54 +0100 (Wed, 18 Nov 2009) | 3 lines
Issue #7341: Close the internal file object in the TarFile
constructor in case of an error.
........
................
Nick Coghlan [Wed, 18 Nov 2009 11:39:26 +0000 (11:39 +0000)]
Blocked revisions 76364 via svnmerge
................
r76364 | nick.coghlan | 2009-11-18 21:35:25 +1000 (Wed, 18 Nov 2009) | 9 lines
Merged revisions 76362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76362 | nick.coghlan | 2009-11-18 21:27:53 +1000 (Wed, 18 Nov 2009) | 1 line
Correctly escape arbitrary error message text in the runpy unit tests
........
................
Tarek Ziadé [Wed, 18 Nov 2009 10:19:38 +0000 (10:19 +0000)]
Merged revisions 76360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76360 | tarek.ziade | 2009-11-18 10:32:34 +0100 (Wed, 18 Nov 2009) | 9 lines
Merged revisions 76358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76358 | tarek.ziade | 2009-11-18 09:46:56 +0100 (Wed, 18 Nov 2009) | 1 line
#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
........
................
Mark Dickinson [Mon, 16 Nov 2009 17:01:22 +0000 (17:01 +0000)]
Blocked revisions 76328 via svnmerge
................
r76328 | mark.dickinson | 2009-11-16 17:00:11 +0000 (Mon, 16 Nov 2009) | 10 lines
Merged revisions 76308 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76308 | mark.dickinson | 2009-11-15 16:18:58 +0000 (Sun, 15 Nov 2009) | 3 lines
Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.
........
................
Nick Coghlan [Mon, 16 Nov 2009 06:57:43 +0000 (06:57 +0000)]
Blocked revisions 76324 via svnmerge
................
r76324 | nick.coghlan | 2009-11-16 16:49:25 +1000 (Mon, 16 Nov 2009) | 17 lines
Merged revisions 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311,76313-76322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76286 | nick.coghlan | 2009-11-15 17:30:34 +1000 (Sun, 15 Nov 2009) | 1 line
Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
........
r76321 | nick.coghlan | 2009-11-16 13:55:51 +1000 (Mon, 16 Nov 2009) | 1 line
Account for another cache when hunting ref leaks
........
r76322 | nick.coghlan | 2009-11-16 13:57:32 +1000 (Mon, 16 Nov 2009) | 1 line
Allow for backslashes in file paths passed to the regex engine
........
................
Benjamin Peterson [Mon, 16 Nov 2009 00:36:18 +0000 (00:36 +0000)]
Merged revisions 76319 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76319 | benjamin.peterson | 2009-11-15 18:34:25 -0600 (Sun, 15 Nov 2009) | 4 lines
fix one visible and several possible refleaks in rangeobject.c
In some cases, the code was just reordered to allow for less decrefing.
........
Nick Coghlan [Sun, 15 Nov 2009 23:27:31 +0000 (23:27 +0000)]
Recorded merge of revisions 76314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76314 | nick.coghlan | 2009-11-16 09:04:33 +1000 (Mon, 16 Nov 2009) | 9 lines
Merged revisions 76312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76312 | nick.coghlan | 2009-11-16 08:36:47 +1000 (Mon, 16 Nov 2009) | 1 line
Issue #7328: don't corrupt sys.path when running pydoc with the -m switch
........
................
Mark Dickinson [Sun, 15 Nov 2009 18:25:23 +0000 (18:25 +0000)]
Merged revisions 76310 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76310 | mark.dickinson | 2009-11-15 18:23:13 +0000 (Sun, 15 Nov 2009) | 1 line
Regenerate pyconfig.h.in using autoconf 2.61
........
Mark Dickinson [Sun, 15 Nov 2009 13:59:18 +0000 (13:59 +0000)]
Blocked revisions 76304 via svnmerge
........
r76304 | mark.dickinson | 2009-11-15 13:58:49 +0000 (Sun, 15 Nov 2009) | 2 lines
Issue #6970: Remove redundant calls made when comparing objects.
........
Mark Dickinson [Sun, 15 Nov 2009 13:48:24 +0000 (13:48 +0000)]
Blocked revisions 76301 via svnmerge
................
r76301 | mark.dickinson | 2009-11-15 13:47:27 +0000 (Sun, 15 Nov 2009) | 10 lines
Merged revisions 76300 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76300 | mark.dickinson | 2009-11-15 13:12:43 +0000 (Sun, 15 Nov 2009) | 3 lines
Issue #5792: Extend short float repr support to x86 platforms using suncc or icc.
Many thanks Stefan Krah for help and OpenSolaris testing.
........
................
Mark Dickinson [Sun, 15 Nov 2009 12:56:59 +0000 (12:56 +0000)]
Merged revisions 76298 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76298 | mark.dickinson | 2009-11-15 12:56:08 +0000 (Sun, 15 Nov 2009) | 1 line
Fix another case of potential signed overflow.
........
Mark Dickinson [Sun, 15 Nov 2009 10:17:48 +0000 (10:17 +0000)]
Merged revisions 76292-76293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76292 | mark.dickinson | 2009-11-15 09:57:26 +0000 (Sun, 15 Nov 2009) | 6 lines
Issue #7298: Fix a variety of problems leading to wrong results with
the fast versions of range.__reversed__ and range iteration. Also
fix wrong results and a refleak for PyLong version of range.__reversed__.
Thanks Eric Smith for reviewing, and for suggesting improved tests.
........
r76293 | mark.dickinson | 2009-11-15 10:04:50 +0000 (Sun, 15 Nov 2009) | 1 line
r76292 commit accidentally committed some extra code; remove it
........
Senthil Kumaran [Sun, 15 Nov 2009 08:45:27 +0000 (08:45 +0000)]
Merged revisions 76290 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76290 | senthil.kumaran | 2009-11-15 14:13:45 +0530 (Sun, 15 Nov 2009) | 10 lines
Merged revisions 76288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines
Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
........
................
Senthil Kumaran [Sun, 15 Nov 2009 07:27:02 +0000 (07:27 +0000)]
Merged revisions 76284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76284 | senthil.kumaran | 2009-11-15 11:50:55 +0530 (Sun, 15 Nov 2009) | 9 lines
Merged revisions 76282 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines
Addition of some details in the code comments.
........
................
R. David Murray [Sun, 15 Nov 2009 00:35:37 +0000 (00:35 +0000)]
Merged revisions 76279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76279 | r.david.murray | 2009-11-14 19:23:21 -0500 (Sat, 14 Nov 2009) | 10 lines
Merged revisions 76276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76276 | r.david.murray | 2009-11-14 19:04:32 -0500 (Sat, 14 Nov 2009) | 3 lines
Issue 7324: add a sanity check to regrtest argument parsing to
catch the case of an option with no handler.
........
................
R. David Murray [Sat, 14 Nov 2009 22:28:36 +0000 (22:28 +0000)]
Merged revisions 76272 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76272 | r.david.murray | 2009-11-14 17:27:22 -0500 (Sat, 14 Nov 2009) | 2 lines
Fix print function conversion missed in merge of faq/programming update.
........
R. David Murray [Sat, 14 Nov 2009 22:24:15 +0000 (22:24 +0000)]
Merged revisions 76270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76270 | r.david.murray | 2009-11-14 17:21:32 -0500 (Sat, 14 Nov 2009) | 10 lines
Merged revisions 76190 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76190 | r.david.murray | 2009-11-10 13:58:02 -0500 (Tue, 10 Nov 2009) | 3 lines
Update the FAQ entry that explains that assignments in the local scope
shadow variables in the outer scope (issue 7290).
........
................
R. David Murray [Sat, 14 Nov 2009 16:22:13 +0000 (16:22 +0000)]
Blocked revisions 76261 via svnmerge
................
r76261 | r.david.murray | 2009-11-14 11:13:02 -0500 (Sat, 14 Nov 2009) | 11 lines
Merged revisions 76260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76260 | r.david.murray | 2009-11-14 10:18:22 -0500 (Sat, 14 Nov 2009) | 5 lines
Issue #7312 (new feature): Add a -F flag to run the selected tests in
a loop until a test fails. Can be combined with -j. Patch by Antoine
Pitrou.
........
................
Benjamin Peterson [Fri, 13 Nov 2009 23:15:59 +0000 (23:15 +0000)]
Merged revisions 76256 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76256 | benjamin.peterson | 2009-11-13 17:14:24 -0600 (Fri, 13 Nov 2009) | 9 lines
Merged revisions 76255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76255 | benjamin.peterson | 2009-11-13 17:11:54 -0600 (Fri, 13 Nov 2009) | 1 line
use Sphinx 0.6.3
........
................
Antoine Pitrou [Fri, 13 Nov 2009 22:39:40 +0000 (22:39 +0000)]
Merged revisions 76247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76247 | antoine.pitrou | 2009-11-13 23:35:18 +0100 (ven., 13 nov. 2009) | 12 lines
Merged revisions 76245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76245 | antoine.pitrou | 2009-11-13 23:31:18 +0100 (ven., 13 nov. 2009) | 6 lines
Issue #7318: multiprocessing now uses a timeout when it fails to establish
a connection with another process, rather than looping endlessly. The
default timeout is 20 seconds, which should be amply sufficient for
local connections.
........
................
Antoine Pitrou [Fri, 13 Nov 2009 16:31:51 +0000 (16:31 +0000)]
Merged revisions 76240 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76240 | antoine.pitrou | 2009-11-13 17:29:04 +0100 (ven., 13 nov. 2009) | 6 lines
Issue #6551: test_zipimport could import and then destroy some modules of
the encodings package, which would make other tests fail further down
the road because the internally cached encoders and decoders would point
to empty global variables.
........
Benjamin Peterson [Fri, 13 Nov 2009 02:29:35 +0000 (02:29 +0000)]
Merged revisions 76235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76235 | benjamin.peterson | 2009-11-12 20:25:08 -0600 (Thu, 12 Nov 2009) | 170 lines
Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75149 | gregory.p.smith | 2009-09-29 16:56:31 -0500 (Tue, 29 Sep 2009) | 3 lines
Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
........
r75260 | andrew.kuchling | 2009-10-05 16:24:20 -0500 (Mon, 05 Oct 2009) | 1 line
Wording fix
........
r75261 | andrew.kuchling | 2009-10-05 16:24:35 -0500 (Mon, 05 Oct 2009) | 1 line
Fix narkup
........
r75262 | andrew.kuchling | 2009-10-05 16:25:03 -0500 (Mon, 05 Oct 2009) | 1 line
Document 'skip' parameter to constructor
........
r75263 | andrew.kuchling | 2009-10-05 16:25:35 -0500 (Mon, 05 Oct 2009) | 1 line
Note side benefit of socket.create_connection()
........
r75265 | andrew.kuchling | 2009-10-05 17:31:11 -0500 (Mon, 05 Oct 2009) | 1 line
Reword sentence
........
r75266 | andrew.kuchling | 2009-10-05 17:32:48 -0500 (Mon, 05 Oct 2009) | 1 line
Use standard comma punctuation; reword some sentences in the docs
........
r75267 | andrew.kuchling | 2009-10-05 17:42:56 -0500 (Mon, 05 Oct 2009) | 1 line
Backport r73983: Document the thousands separator.
........
r75292 | benjamin.peterson | 2009-10-08 22:11:36 -0500 (Thu, 08 Oct 2009) | 1 line
death to old CVS keyword
........
r75300 | benjamin.peterson | 2009-10-09 16:48:14 -0500 (Fri, 09 Oct 2009) | 1 line
fix some coding style
........
r75376 | benjamin.peterson | 2009-10-11 20:26:07 -0500 (Sun, 11 Oct 2009) | 1 line
platform we don't care about
........
r75405 | neil.schemenauer | 2009-10-14 12:17:14 -0500 (Wed, 14 Oct 2009) | 4 lines
Issue #
1754094: Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
........
r75429 | benjamin.peterson | 2009-10-14 20:47:28 -0500 (Wed, 14 Oct 2009) | 1 line
pep8ify if blocks
........
r75430 | benjamin.peterson | 2009-10-14 20:49:37 -0500 (Wed, 14 Oct 2009) | 1 line
use floor division and add a test that exercises the tabsize codepath
........
r75431 | benjamin.peterson | 2009-10-14 20:56:25 -0500 (Wed, 14 Oct 2009) | 1 line
change test to what I intended
........
r75432 | benjamin.peterson | 2009-10-14 22:05:39 -0500 (Wed, 14 Oct 2009) | 1 line
some cleanups
........
r75433 | benjamin.peterson | 2009-10-14 22:06:55 -0500 (Wed, 14 Oct 2009) | 1 line
make inspect.isabstract() always return a boolean; add a test for it, too #7069
........
r75437 | benjamin.peterson | 2009-10-15 10:44:46 -0500 (Thu, 15 Oct 2009) | 1 line
only clear a module's __dict__ if the module is the only one with a reference to it #7140
........
r75445 | vinay.sajip | 2009-10-16 09:06:44 -0500 (Fri, 16 Oct 2009) | 1 line
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
........
r75501 | antoine.pitrou | 2009-10-18 13:37:11 -0500 (Sun, 18 Oct 2009) | 3 lines
Add a comment about unreachable code, and fix a typo
........
r75551 | benjamin.peterson | 2009-10-19 22:14:10 -0500 (Mon, 19 Oct 2009) | 1 line
use property api
........
r75572 | benjamin.peterson | 2009-10-20 16:55:17 -0500 (Tue, 20 Oct 2009) | 1 line
clarify buffer arg #7178
........
r75589 | benjamin.peterson | 2009-10-21 21:26:47 -0500 (Wed, 21 Oct 2009) | 1 line
whitespace
........
r75590 | benjamin.peterson | 2009-10-21 21:36:47 -0500 (Wed, 21 Oct 2009) | 1 line
rewrite to be nice to other implementations
........
r75591 | benjamin.peterson | 2009-10-21 21:50:38 -0500 (Wed, 21 Oct 2009) | 4 lines
rewrite for style, clarify, and comments
Also, use the hasattr() like scheme of allowing BaseException exceptions through.
........
r75657 | antoine.pitrou | 2009-10-24 07:41:27 -0500 (Sat, 24 Oct 2009) | 3 lines
Fix compilation error in debug mode.
........
r75742 | benjamin.peterson | 2009-10-26 17:51:16 -0500 (Mon, 26 Oct 2009) | 1 line
use 'is' instead of id()
........
r75868 | benjamin.peterson | 2009-10-27 15:59:18 -0500 (Tue, 27 Oct 2009) | 1 line
test expect base classes
........
r75952 | georg.brandl | 2009-10-29 15:38:32 -0500 (Thu, 29 Oct 2009) | 1 line
Use the correct function name in docstring.
........
r75953 | georg.brandl | 2009-10-29 15:39:50 -0500 (Thu, 29 Oct 2009) | 1 line
Remove mention of the old -X command line switch.
........
r75954 | georg.brandl | 2009-10-29 15:53:00 -0500 (Thu, 29 Oct 2009) | 1 line
Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests.
........
r75955 | georg.brandl | 2009-10-29 15:54:03 -0500 (Thu, 29 Oct 2009) | 1 line
Use a single style for all the docstrings in the math module.
........
r75956 | georg.brandl | 2009-10-29 16:16:34 -0500 (Thu, 29 Oct 2009) | 1 line
I do not think the "railroad" program mentioned is still available.
........
r75957 | georg.brandl | 2009-10-29 16:44:56 -0500 (Thu, 29 Oct 2009) | 1 line
Fix constant name.
........
r76057 | benjamin.peterson | 2009-11-02 09:06:45 -0600 (Mon, 02 Nov 2009) | 1 line
prevent a rather unlikely segfault
........
r76105 | georg.brandl | 2009-11-04 01:38:12 -0600 (Wed, 04 Nov 2009) | 1 line
#7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
........
r76139 | benjamin.peterson | 2009-11-06 19:04:38 -0600 (Fri, 06 Nov 2009) | 1 line
spelling
........
r76143 | georg.brandl | 2009-11-07 02:26:07 -0600 (Sat, 07 Nov 2009) | 1 line
#7271: fix typo.
........
r76162 | benjamin.peterson | 2009-11-08 22:10:53 -0600 (Sun, 08 Nov 2009) | 1 line
discuss how to use -p
........
r76223 | georg.brandl | 2009-11-12 02:29:46 -0600 (Thu, 12 Nov 2009) | 1 line
Give the profile module a module directive.
........
................
Raymond Hettinger [Thu, 12 Nov 2009 17:42:47 +0000 (17:42 +0000)]
Add examples to whatsnew entry for OrderedDict.
Ezio Melotti [Thu, 12 Nov 2009 10:41:24 +0000 (10:41 +0000)]
fix highlight in the datetime example
Antoine Pitrou [Wed, 11 Nov 2009 21:01:33 +0000 (21:01 +0000)]
Merged revisions 76219 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76219 | antoine.pitrou | 2009-11-11 21:59:38 +0100 (mer., 11 nov. 2009) | 9 lines
Merged revisions 76217 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76217 | antoine.pitrou | 2009-11-11 21:55:07 +0100 (mer., 11 nov. 2009) | 3 lines
Issue #7295: Do not use a hardcoded file name in test_tarfile.
........
................
Senthil Kumaran [Wed, 11 Nov 2009 04:21:22 +0000 (04:21 +0000)]
Merged revisions 76210 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76210 | senthil.kumaran | 2009-11-11 09:47:53 +0530 (Wed, 11 Nov 2009) | 10 lines
Merged revisions 76208 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76208 | senthil.kumaran | 2009-11-11 07:04:44 +0530 (Wed, 11 Nov 2009) | 3 lines
CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix
based on Issue1235.
........
................
Raymond Hettinger [Tue, 10 Nov 2009 18:21:06 +0000 (18:21 +0000)]
Show example of how to make a sorted dictionary
Mark Dickinson [Mon, 9 Nov 2009 20:10:01 +0000 (20:10 +0000)]
Merged revisions 76185 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k
................
r76185 | mark.dickinson | 2009-11-09 20:08:57 +0000 (Mon, 09 Nov 2009) | 9 lines
Merged revisions 76182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76182 | mark.dickinson | 2009-11-09 19:54:51 +0000 (Mon, 09 Nov 2009) | 1 line
Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
........
................
Mark Dickinson [Mon, 9 Nov 2009 17:14:18 +0000 (17:14 +0000)]
Merged revisions 76177 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k
................
r76177 | mark.dickinson | 2009-11-09 17:12:30 +0000 (Mon, 09 Nov 2009) | 13 lines
Merged revisions 76176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76176 | mark.dickinson | 2009-11-09 17:03:34 +0000 (Mon, 09 Nov 2009) | 7 lines
Issue #7251: Break out round tests for large values into a separate
test function, and skip that test on Linux/alpha systems with a broken
system round function.
This should turn the Debian/alpha buildbot green.
........
................
Antoine Pitrou [Mon, 9 Nov 2009 16:52:46 +0000 (16:52 +0000)]
Merged revisions 76138,76173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76138 | antoine.pitrou | 2009-11-06 23:41:14 +0100 (ven., 06 nov. 2009) | 10 lines
Merged revisions 76137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76137 | antoine.pitrou | 2009-11-06 23:34:35 +0100 (ven., 06 nov. 2009) | 4 lines
Issue #7270: Add some dedicated unit tests for multi-thread synchronization
primitives such as Lock, RLock, Condition, Event and Semaphore.
........
................
r76173 | antoine.pitrou | 2009-11-09 17:08:16 +0100 (lun., 09 nov. 2009) | 11 lines
Merged revisions 76172 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76172 | antoine.pitrou | 2009-11-09 17:00:11 +0100 (lun., 09 nov. 2009) | 5 lines
Issue #7282: Fix a memory leak when an RLock was used in a thread other
than those started through `threading.Thread` (for example, using
`thread.start_new_thread()`.
........
................
Eric Smith [Mon, 9 Nov 2009 15:24:55 +0000 (15:24 +0000)]
Merged revisions 76170 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76170 | eric.smith | 2009-11-09 10:23:15 -0500 (Mon, 09 Nov 2009) | 9 lines
Merged revisions 76168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76168 | eric.smith | 2009-11-09 10:16:23 -0500 (Mon, 09 Nov 2009) | 1 line
Issue 7294: Fixed URL in a comment.
........
................
R. David Murray [Mon, 9 Nov 2009 14:22:36 +0000 (14:22 +0000)]
Merged revisions 76165 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76165 | r.david.murray | 2009-11-09 09:21:38 -0500 (Mon, 09 Nov 2009) | 9 lines
Merged revisions 76163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76163 | r.david.murray | 2009-11-09 09:18:14 -0500 (Mon, 09 Nov 2009) | 2 lines
Remove redundant sentence.
........
................
Benjamin Peterson [Mon, 9 Nov 2009 00:52:04 +0000 (00:52 +0000)]
Merged revisions 76158 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76158 | benjamin.peterson | 2009-11-08 18:49:19 -0600 (Sun, 08 Nov 2009) | 1 line
convert to use print() function
........
Benjamin Peterson [Mon, 9 Nov 2009 00:45:40 +0000 (00:45 +0000)]
Merged revisions 76156 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76156 | benjamin.peterson | 2009-11-08 18:42:58 -0600 (Sun, 08 Nov 2009) | 1 line
fix some imports
........
Antoine Pitrou [Sun, 8 Nov 2009 00:36:36 +0000 (00:36 +0000)]
Merged revisions 76149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76149 | antoine.pitrou | 2009-11-08 01:30:04 +0100 (dim., 08 nov. 2009) | 11 lines
Merged revisions 76148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76148 | antoine.pitrou | 2009-11-08 01:24:12 +0100 (dim., 08 nov. 2009) | 4 lines
Kill a small potential leak in test_threading.
The leak may not manifest itself if the OS re-uses the same thread ids
(I suppose Neal's machine doesn't :-))
........
................
Brett Cannon [Sat, 7 Nov 2009 23:57:20 +0000 (23:57 +0000)]
Merged revisions 76146 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76146 | brett.cannon | 2009-11-07 15:55:05 -0800 (Sat, 07 Nov 2009) | 6 lines
When trying to write new bytecode, importlib was not catching the IOError
thrown if the file happened to be read-only to keep the failure silent.
Fixes issue #7187. Thanks, Dave Malcolm for the report and analysis of the
problem.
........
Jack Diederich [Fri, 6 Nov 2009 21:14:59 +0000 (21:14 +0000)]
Merged revisions 74638,76133 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r74638 | jack.diederich | 2009-09-03 16:37:58 -0400 (Thu, 03 Sep 2009) | 4 lines
- apply issue 6582 to test all the write methods of telnetlib
- add patch author to ACKS
- possibly fix test timeouts on non-linux platforms
........
r76133 | jack.diederich | 2009-11-06 12:20:42 -0500 (Fri, 06 Nov 2009) | 3 lines
- issue #6748 intermittent test failures from sockets
- telnetlib tests now use mock sockets for most tests
........
Antoine Pitrou [Thu, 5 Nov 2009 13:51:19 +0000 (13:51 +0000)]
Merged revisions 76119 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76119 | antoine.pitrou | 2009-11-05 14:49:14 +0100 (jeu., 05 nov. 2009) | 10 lines
Merged revisions 76117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76117 | antoine.pitrou | 2009-11-05 14:42:29 +0100 (jeu., 05 nov. 2009) | 5 lines
Issue #7264: Fix a possible deadlock when deallocating thread-local objects
which are part of a reference cycle.
........
................
Brett Cannon [Thu, 5 Nov 2009 01:34:30 +0000 (01:34 +0000)]
Merged revisions 76113-76114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76113 | brett.cannon | 2009-11-04 17:17:22 -0800 (Wed, 04 Nov 2009) | 3 lines
importlib.test.source.util referenced variables in the 'finally' part of a
try/finally which may not have been set.
........
r76114 | brett.cannon | 2009-11-04 17:26:57 -0800 (Wed, 04 Nov 2009) | 6 lines
Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places
source files for tests. Allows for concurrent execution of the tests by
preventing various executions from trampling each other.
Closes issue #7248.
........
Antoine Pitrou [Wed, 4 Nov 2009 01:00:48 +0000 (01:00 +0000)]
Merged revisions 76103 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76103 | antoine.pitrou | 2009-11-04 01:57:15 +0100 (mer., 04 nov. 2009) | 9 lines
Merged revisions 76101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76101 | antoine.pitrou | 2009-11-04 01:50:26 +0100 (mer., 04 nov. 2009) | 3 lines
Make test_shutil clean up after itself
........
................
Antoine Pitrou [Tue, 3 Nov 2009 17:21:14 +0000 (17:21 +0000)]
Merged revisions 76090 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76090 | antoine.pitrou | 2009-11-03 18:20:10 +0100 (mar., 03 nov. 2009) | 9 lines
Merged revisions 76086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76086 | antoine.pitrou | 2009-11-03 17:41:20 +0100 (mar., 03 nov. 2009) | 3 lines
Try to make test_wsgiref less fragile against environment changes by other tests
........
................
Antoine Pitrou [Tue, 3 Nov 2009 17:18:48 +0000 (17:18 +0000)]
Merged revisions 76088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76088 | antoine.pitrou | 2009-11-03 18:13:59 +0100 (mar., 03 nov. 2009) | 3 lines
Since time.xmlrpc.com is unreliable, add another test to test_xmlrpc_net
........
Mark Dickinson [Tue, 3 Nov 2009 16:29:43 +0000 (16:29 +0000)]
Merged revisions 76084 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76084 | mark.dickinson | 2009-11-03 16:29:10 +0000 (Tue, 03 Nov 2009) | 9 lines
Merged revisions 76082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76082 | mark.dickinson | 2009-11-03 16:26:14 +0000 (Tue, 03 Nov 2009) | 1 line
Fix doc typo reported by Arfrever.
........
................
Skip Montanaro [Tue, 3 Nov 2009 02:44:54 +0000 (02:44 +0000)]
typo (space-o?)
Benjamin Peterson [Mon, 2 Nov 2009 18:33:36 +0000 (18:33 +0000)]
Merged revisions 76063,76068 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76063 | benjamin.peterson | 2009-11-02 12:16:28 -0600 (Mon, 02 Nov 2009) | 77 lines
Merged revisions 76062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r76062 | benjamin.peterson | 2009-11-02 12:12:12 -0600 (Mon, 02 Nov 2009) | 70 lines
Merged revisions 74359,75081,75088,75213,75278,75303,75427-75428,75734-75736,75865,76059-76061 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74359 | benjamin.peterson | 2009-08-12 17:23:13 -0500 (Wed, 12 Aug 2009) | 1 line
don't pass the deprecated print_function option
........
r75081 | benjamin.peterson | 2009-09-26 22:02:57 -0500 (Sat, 26 Sep 2009) | 1 line
let 2to3 work with extended iterable unpacking
........
r75088 | benjamin.peterson | 2009-09-27 11:25:21 -0500 (Sun, 27 Sep 2009) | 1 line
look on the type only for __call__
........
r75213 | benjamin.peterson | 2009-10-03 10:09:46 -0500 (Sat, 03 Oct 2009) | 5 lines
revert 75212; it's not correct
People can use isinstance(x, collections.Callable) if they expect objects with
__call__ in their instance dictionaries.
........
r75278 | benjamin.peterson | 2009-10-07 16:25:56 -0500 (Wed, 07 Oct 2009) | 4 lines
fix whitespace problems with fix_idioms #3563
Patch by Joe Amenta.
........
r75303 | benjamin.peterson | 2009-10-09 16:59:11 -0500 (Fri, 09 Oct 2009) | 1 line
port latin-1 and utf-8 cookie improvements
........
r75427 | benjamin.peterson | 2009-10-14 20:35:57 -0500 (Wed, 14 Oct 2009) | 1 line
force floor division
........
r75428 | benjamin.peterson | 2009-10-14 20:39:21 -0500 (Wed, 14 Oct 2009) | 1 line
silence -3 warnings about __hash__
........
r75734 | benjamin.peterson | 2009-10-26 16:25:53 -0500 (Mon, 26 Oct 2009) | 2 lines
warn on map(None, ...) with more than 2 arguments #7203
........
r75735 | benjamin.peterson | 2009-10-26 16:28:25 -0500 (Mon, 26 Oct 2009) | 1 line
remove unused result
........
r75736 | benjamin.peterson | 2009-10-26 16:29:02 -0500 (Mon, 26 Oct 2009) | 1 line
using get() here is a bit pointless
........
r75865 | benjamin.peterson | 2009-10-27 15:49:00 -0500 (Tue, 27 Oct 2009) | 1 line
explain reason for warning
........
r76059 | benjamin.peterson | 2009-11-02 11:43:47 -0600 (Mon, 02 Nov 2009) | 1 line
tuples are no longer used for children
........
r76060 | benjamin.peterson | 2009-11-02 11:55:40 -0600 (Mon, 02 Nov 2009) | 1 line
revert r76059; apparently some fixers rely on Leaf no () for children
........
r76061 | benjamin.peterson | 2009-11-02 12:06:17 -0600 (Mon, 02 Nov 2009) | 1 line
make fix_tuple_params keep the tree valid #7253
........
................
................
r76068 | benjamin.peterson | 2009-11-02 12:30:48 -0600 (Mon, 02 Nov 2009) | 24 lines
Merged revisions 76064,76066-76067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r76064 | benjamin.peterson | 2009-11-02 12:16:36 -0600 (Mon, 02 Nov 2009) | 1 line
add space
................
r76066 | benjamin.peterson | 2009-11-02 12:22:53 -0600 (Mon, 02 Nov 2009) | 9 lines
Merged revisions 76065 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76065 | benjamin.peterson | 2009-11-02 12:21:25 -0600 (Mon, 02 Nov 2009) | 1 line
don't print stuff in tests
........
................
r76067 | benjamin.peterson | 2009-11-02 12:24:57 -0600 (Mon, 02 Nov 2009) | 1 line
enable test_parser in lib2to3
................
................
Antoine Pitrou [Mon, 2 Nov 2009 11:40:19 +0000 (11:40 +0000)]
Merged revisions 76055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76055 | antoine.pitrou | 2009-11-02 12:36:51 +0100 (lun., 02 nov. 2009) | 13 lines
Merged revisions 76034,76054 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76034 | antoine.pitrou | 2009-11-01 22:29:33 +0100 (dim., 01 nov. 2009) | 3 lines
This should finally fix #6896. Let's watch the buildbots.
........
r76054 | antoine.pitrou | 2009-11-02 12:34:27 +0100 (lun., 02 nov. 2009) | 3 lines
Since r76034 was successful, add a NEWS entry for it.
........
................
Tarek Ziadé [Sun, 1 Nov 2009 23:11:55 +0000 (23:11 +0000)]
reapplied r74493 (after #6665 fix has been backported)
Antoine Pitrou [Sun, 1 Nov 2009 22:28:14 +0000 (22:28 +0000)]
Merged revisions 76040 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76040 | antoine.pitrou | 2009-11-01 23:13:48 +0100 (dim., 01 nov. 2009) | 9 lines
Merged revisions 76037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76037 | antoine.pitrou | 2009-11-01 23:02:03 +0100 (dim., 01 nov. 2009) | 3 lines
Use a custom timeout in test_support.open_urlresource.
........
................
Antoine Pitrou [Sun, 1 Nov 2009 22:07:18 +0000 (22:07 +0000)]
Merged revisions 76036 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76036 | antoine.pitrou | 2009-11-01 22:43:20 +0100 (dim., 01 nov. 2009) | 9 lines
Merged revisions 76033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76033 | antoine.pitrou | 2009-11-01 22:26:14 +0100 (dim., 01 nov. 2009) | 3 lines
test_normalization should skip and not crash when the resource isn't available
........
................
Raymond Hettinger [Sun, 1 Nov 2009 21:02:38 +0000 (21:02 +0000)]
Fix exception handling in itertools.izip_longest().
Gregory P. Smith [Sun, 1 Nov 2009 20:36:24 +0000 (20:36 +0000)]
Merged revisions 74476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r74476 | gregory.p.smith | 2009-08-16 11:58:46 -0700 (Sun, 16 Aug 2009) | 9 lines
Merged revisions 74475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines
Issue 6665: Fix fnmatch to properly match filenames with newlines in them.
........
................
Gregory P. Smith [Sun, 1 Nov 2009 18:48:31 +0000 (18:48 +0000)]
Merged revisions 76017 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76017 | gregory.p.smith | 2009-11-01 10:42:17 -0800 (Sun, 01 Nov 2009) | 18 lines
Merged revisions 76000,76016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76000 | gregory.p.smith | 2009-10-31 14:26:08 -0700 (Sat, 31 Oct 2009) | 7 lines
Fixes issue7208 - getpass would still allow the password to be echoed on
Solaris due to not flushing the input buffer.
This change also incorporates some additional getpass implementation
suggestions for security based on an analysis of getpass.c linked to from the
issue.
........
r76016 | gregory.p.smith | 2009-11-01 10:33:55 -0800 (Sun, 01 Nov 2009) | 2 lines
news entry for r76000
........
................
Antoine Pitrou [Sun, 1 Nov 2009 16:04:09 +0000 (16:04 +0000)]
Merged revisions 76010 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r76010 | antoine.pitrou | 2009-11-01 16:59:11 +0100 (dim., 01 nov. 2009) | 3 lines
Fix test skipping in multibyte codec tests
........
Eric Smith [Sat, 31 Oct 2009 17:09:43 +0000 (17:09 +0000)]
Blocked revisions 75997 via svnmerge
................
r75997 | eric.smith | 2009-10-31 13:08:48 -0400 (Sat, 31 Oct 2009) | 9 lines
Merged revisions 75995 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75995 | eric.smith | 2009-10-31 13:07:17 -0400 (Sat, 31 Oct 2009) | 1 line
Improved test for a deprecation warning.
........
................
Mark Dickinson [Sat, 31 Oct 2009 10:39:21 +0000 (10:39 +0000)]
Merged revisions 75988 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75988 | mark.dickinson | 2009-10-31 10:38:43 +0000 (Sat, 31 Oct 2009) | 9 lines
Merged revisions 75986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75986 | mark.dickinson | 2009-10-31 10:36:06 +0000 (Sat, 31 Oct 2009) | 2 lines
Issue #7042: Use a better mechanism for testing timers in test_signal.
........
................
Mark Dickinson [Sat, 31 Oct 2009 10:20:38 +0000 (10:20 +0000)]
Merged revisions 75984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75984 | mark.dickinson | 2009-10-31 10:18:44 +0000 (Sat, 31 Oct 2009) | 12 lines
Merged revisions 75982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75982 | mark.dickinson | 2009-10-31 10:11:28 +0000 (Sat, 31 Oct 2009) | 5 lines
Issue #6603: Fix --with-tsc build failures on x86-64 that resulted
from a gcc inline assembler peculiarity. (gcc's "A" constraint
apparently means 'rax or rdx' in 64-bit mode, not edx:eax
or rdx:rax as one might expect.)
........
................
Mark Dickinson [Sat, 31 Oct 2009 09:40:56 +0000 (09:40 +0000)]
Merged revisions 75977 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75977 | mark.dickinson | 2009-10-31 09:39:52 +0000 (Sat, 31 Oct 2009) | 1 line
Fix ReST markup.
........
Mark Dickinson [Thu, 29 Oct 2009 12:25:07 +0000 (12:25 +0000)]
Merged revisions 75947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75947 | mark.dickinson | 2009-10-29 12:23:02 +0000 (Thu, 29 Oct 2009) | 20 lines
Merged revisions 75943-75945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75943 | mark.dickinson | 2009-10-29 11:09:09 +0000 (Thu, 29 Oct 2009) | 1 line
Fix duplicate test numbers in extra.decTest
........
r75944 | mark.dickinson | 2009-10-29 12:04:00 +0000 (Thu, 29 Oct 2009) | 3 lines
Issue #7233: A number of two-argument Decimal methods were failing to
accept ints and longs for the second argument.
........
r75945 | mark.dickinson | 2009-10-29 12:11:18 +0000 (Thu, 29 Oct 2009) | 4 lines
Issue #7233: Fix Decimal.shift and Decimal.rotate methods for
arguments with more digits than the current context precision.
Bug reported by Stefan Krah.
........
................
Mark Dickinson [Thu, 29 Oct 2009 10:01:23 +0000 (10:01 +0000)]
Merged revisions 75941 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75941 | mark.dickinson | 2009-10-29 09:58:06 +0000 (Thu, 29 Oct 2009) | 11 lines
Merged revisions 75939 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75939 | mark.dickinson | 2009-10-29 09:46:04 +0000 (Thu, 29 Oct 2009) | 5 lines
Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
and PyErr_Format. See issue #7228.
........
................
Lars Gustäbel [Thu, 29 Oct 2009 09:41:17 +0000 (09:41 +0000)]
Blocked revisions 75937 via svnmerge
................
r75937 | lars.gustaebel | 2009-10-29 10:39:47 +0100 (Thu, 29 Oct 2009) | 10 lines
Merged revisions 75935 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75935 | lars.gustaebel | 2009-10-29 10:15:00 +0100 (Thu, 29 Oct 2009) | 3 lines
Issue #4750: Store the basename of the original filename in
the gzip FNAME header as required by RFC 1952.
........
................
Benjamin Peterson [Thu, 29 Oct 2009 01:22:38 +0000 (01:22 +0000)]
Merged revisions 75928 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75928 | benjamin.peterson | 2009-10-28 16:59:39 -0500 (Wed, 28 Oct 2009) | 5 lines
in wide builds, avoid storing high unicode characters from source code with surrogates
This is accomplished by decoding with utf-32 instead of utf-16 on all builds.
The patch is by Adam Olsen.
........
R. David Murray [Wed, 28 Oct 2009 21:40:22 +0000 (21:40 +0000)]
Blocked revisions 75710 via svnmerge
........
r75710 | r.david.murray | 2009-10-26 04:24:14 -0400 (Mon, 26 Oct 2009) | 6 lines
Make the XMLRCP CGIHandlerTestCase pass like it did before the change of
the test to use StringIO instead of a temp file. There may or may not
be an underlying problem here, so this patch makes the test function
as originally designed until a determination can be made as to whether
or not there is an underlying bug here. See issue 7165 for discussion.
........
R. David Murray [Wed, 28 Oct 2009 14:47:15 +0000 (14:47 +0000)]
Merged revisions 75525,75530,75922 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75525 | r.david.murray | 2009-10-19 12:33:43 -0400 (Mon, 19 Oct 2009) | 12 lines
Merged revisions 75524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines
Eliminate warning message that looks like an error message. When it was
added not finding Lib/test in the path indicated something was wrong,
but when running regtest using "python -m" Lib/test isn't typically in
the path, so this message is now more disturbing than it is helpful.
........
................
r75530 | r.david.murray | 2009-10-19 14:06:17 -0400 (Mon, 19 Oct 2009) | 10 lines
Merged revisions 75528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines
Clarify error report message, and don't recommend running in verbose
mode for more information if we are already running in verbose mode.
........
................
r75922 | r.david.murray | 2009-10-28 10:07:51 -0400 (Wed, 28 Oct 2009) | 9 lines
Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines
Remove variable that is no longer used.
........
................
Mark Dickinson [Wed, 28 Oct 2009 07:50:03 +0000 (07:50 +0000)]
Merged revisions 75911 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75911 | mark.dickinson | 2009-10-28 07:49:26 +0000 (Wed, 28 Oct 2009) | 9 lines
Merged revisions 75909 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line
Fix format specifier for MSVC
........
................
Mark Dickinson [Wed, 28 Oct 2009 07:25:44 +0000 (07:25 +0000)]
Merged revisions 75907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75907 | mark.dickinson | 2009-10-28 07:25:03 +0000 (Wed, 28 Oct 2009) | 9 lines
Merged revisions 75905 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75905 | mark.dickinson | 2009-10-28 07:23:49 +0000 (Wed, 28 Oct 2009) | 1 line
Replace long long with PY_LONG_LONG
........
................
Tarek Ziadé [Wed, 28 Oct 2009 06:50:03 +0000 (06:50 +0000)]
Blocked revisions 75903 via svnmerge
................
r75903 | tarek.ziade | 2009-10-28 07:48:27 +0100 (Wed, 28 Oct 2009) | 9 lines
Merged revisions 75901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Wed, 28 Oct 2009) | 1 line
removed spurious spaces
........
................
Tarek Ziadé [Tue, 27 Oct 2009 23:13:00 +0000 (23:13 +0000)]
Blocked revisions 75895 via svnmerge
................
r75895 | tarek.ziade | 2009-10-28 00:12:01 +0100 (Wed, 28 Oct 2009) | 9 lines
Merged revisions 75893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Wed, 28 Oct 2009) | 1 line
Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
........
................
Mark Dickinson [Tue, 27 Oct 2009 23:02:24 +0000 (23:02 +0000)]
Merged revisions 75890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75890 | mark.dickinson | 2009-10-27 23:00:56 +0000 (Tue, 27 Oct 2009) | 1 line
Remove extra blank line accidentally introduced in r75885
........
Georg Brandl [Tue, 27 Oct 2009 23:01:30 +0000 (23:01 +0000)]
Merged revisions 75889 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
................
r75889 | georg.brandl | 2009-10-28 00:00:28 +0100 (Mi, 28 Okt 2009) | 9 lines
Merged revisions 75887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line
Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
................
Mark Dickinson [Tue, 27 Oct 2009 22:13:18 +0000 (22:13 +0000)]
Merged revisions 75885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75885 | mark.dickinson | 2009-10-27 22:12:20 +0000 (Tue, 27 Oct 2009) | 9 lines
Merged revisions 75883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line
Test long inputs to float
........
................
Mark Dickinson [Tue, 27 Oct 2009 21:51:51 +0000 (21:51 +0000)]
Merged revisions 75881 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75881 | mark.dickinson | 2009-10-27 21:49:48 +0000 (Tue, 27 Oct 2009) | 10 lines
Merged revisions 75879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines
Silence gcc warnings when trying to print an off_t using "lld", on platforms
where off_t has type long (e.g., 64-bit Linux).
........
................
Georg Brandl [Tue, 27 Oct 2009 21:39:08 +0000 (21:39 +0000)]
Merged revisions 75877 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r75877 | georg.brandl | 2009-10-27 22:37:48 +0100 (Di, 27 Okt 2009) | 1 line
Only declare variable when it's used.
........