]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Tarek Ziadé [Mon, 20 Apr 2009 12:39:26 +0000 (12:39 +0000)]
Merged revisions 71762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71762 | tarek.ziade | 2009-04-20 14:37:58 +0200 (Mon, 20 Apr 2009) | 9 lines
Merged revisions 71759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71759 | tarek.ziade | 2009-04-20 12:33:47 +0200 (Mon, 20 Apr 2009) | 1 line
making BuildWinInstTestCase silent in case bdist_wininst is not run under win32
........
................
Tarek Ziadé [Mon, 20 Apr 2009 12:38:48 +0000 (12:38 +0000)]
Blocked revisions 71761 via svnmerge
................
r71761 | tarek.ziade | 2009-04-20 14:18:08 +0200 (Mon, 20 Apr 2009) | 9 lines
Merged revisions 71758 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71758 | tarek.ziade | 2009-04-20 09:53:55 +0200 (Mon, 20 Apr 2009) | 1 line
#5795 sysconfig._config_vars was shadowed in tearDown
........
................
Mark Dickinson [Sun, 19 Apr 2009 20:41:10 +0000 (20:41 +0000)]
Blocked revisions 71754 via svnmerge
........
r71754 | mark.dickinson | 2009-04-19 21:40:33 +0100 (Sun, 19 Apr 2009) | 4 lines
Issue #5463: Remove deprecated float coercion from struct module, along
with the _PY_STRUCT_FLOAT_COERCE constant. Simplify tests accordingly,
and reenable (now-fixed) broken tests.
........
Mark Dickinson [Sun, 19 Apr 2009 17:14:54 +0000 (17:14 +0000)]
Blocked revisions 71752 via svnmerge
................
r71752 | mark.dickinson | 2009-04-19 18:14:11 +0100 (Sun, 19 Apr 2009) | 10 lines
Merged revisions 71750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71750 | mark.dickinson | 2009-04-19 18:10:47 +0100 (Sun, 19 Apr 2009) | 3 lines
Automatic conversion of floats to integers for struct.pack integer codes
is deprecated. Use an explicit int() instead.
........
................
Hirokazu Yamamoto [Sun, 19 Apr 2009 11:47:46 +0000 (11:47 +0000)]
Blocked revisions 71703 via svnmerge
........
r71703 | hirokazu.yamamoto | 2009-04-18 22:10:51 +0900 | 1 line
Added Python/dtoa.c to project files.
........
Mark Dickinson [Sun, 19 Apr 2009 11:38:03 +0000 (11:38 +0000)]
Blocked revisions 71747 via svnmerge
........
r71747 | mark.dickinson | 2009-04-19 12:35:55 +0100 (Sun, 19 Apr 2009) | 4 lines
Add comments to pyport.h explaining how to enable support for short
float repr on platforms that don't currently support it, and
reorganize the defines slightly to make adding support easier.
........
Ronald Oussoren [Sun, 19 Apr 2009 10:41:42 +0000 (10:41 +0000)]
Merged revisions 71745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71745 | ronald.oussoren | 2009-04-19 12:40:48 +0200 (Sun, 19 Apr 2009) | 9 lines
Merged revisions 71743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71743 | ronald.oussoren | 2009-04-19 12:38:20 +0200 (Sun, 19 Apr 2009) | 2 lines
Fix for issue5657.
........
................
Mark Dickinson [Sat, 18 Apr 2009 21:19:18 +0000 (21:19 +0000)]
Blocked revisions 71731 via svnmerge
........
r71731 | mark.dickinson | 2009-04-18 22:18:19 +0100 (Sat, 18 Apr 2009) | 3 lines
Move configure check for broken sem_getvalue outside the
LIBS="$LIBS $LIBM" section.
........
Benjamin Peterson [Sat, 18 Apr 2009 21:10:48 +0000 (21:10 +0000)]
Merged revisions 71727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71727 | benjamin.peterson | 2009-04-18 15:54:08 -0500 (Sat, 18 Apr 2009) | 9 lines
Merged revisions 71722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71722 | benjamin.peterson | 2009-04-18 15:12:47 -0500 (Sat, 18 Apr 2009) | 1 line
try to initalize all builtin types with PyType_Ready to avoid problems like #5787
........
................
Mark Dickinson [Sat, 18 Apr 2009 20:57:50 +0000 (20:57 +0000)]
Blocked revisions 71723-71724 via svnmerge
........
r71723 | mark.dickinson | 2009-04-18 21:17:52 +0100 (Sat, 18 Apr 2009) | 7 lines
The SSE2 detection and enabling could potentially cause
problems for binary distributions of Python in situations
where the build machine has SSE2 but the target machine
does not.
Therefore, don't enable SSE2 instructions automatically on x86.
........
r71724 | mark.dickinson | 2009-04-18 21:19:17 +0100 (Sat, 18 Apr 2009) | 2 lines
Revert accidental changes to Objects/floatobject.c
........
Mark Dickinson [Sat, 18 Apr 2009 14:21:40 +0000 (14:21 +0000)]
Merged revisions 71706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71706 | mark.dickinson | 2009-04-18 15:14:48 +0100 (Sat, 18 Apr 2009) | 9 lines
Merged revisions 71705 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71705 | mark.dickinson | 2009-04-18 15:13:43 +0100 (Sat, 18 Apr 2009) | 2 lines
copysign shouldn't be declared as static in pymath.c
........
................
Mark Dickinson [Sat, 18 Apr 2009 14:21:12 +0000 (14:21 +0000)]
Blocked revisions 71704 via svnmerge
........
r71704 | mark.dickinson | 2009-04-18 14:58:18 +0100 (Sat, 18 Apr 2009) | 3 lines
Add check for C99 round function to configure, and define
a fallback function if round doesn't exist.
........
Mark Dickinson [Sat, 18 Apr 2009 11:50:41 +0000 (11:50 +0000)]
Blocked revisions 71701 via svnmerge
........
r71701 | mark.dickinson | 2009-04-18 12:48:33 +0100 (Sat, 18 Apr 2009) | 7 lines
Issue #1869 (and 4707, 5118, 5473,
1456775 ): use the new
string <-> float conversion routines to make round(x, n) correctly
rounded for floats x, so that it always agrees with format(x, '.<n>f').
Also fix some other round nuisances, like round(123.456, 1-2**31) giving
an integer rather than a float.
........
Mark Dickinson [Sat, 18 Apr 2009 10:18:06 +0000 (10:18 +0000)]
Blocked revisions 71698 via svnmerge
........
r71698 | mark.dickinson | 2009-04-18 11:16:35 +0100 (Sat, 18 Apr 2009) | 3 lines
Issue #5781: Only use legacy string<->double conversions when
we can't figure out how to get and set the x87 control word.
........
Mark Dickinson [Sat, 18 Apr 2009 10:17:33 +0000 (10:17 +0000)]
Blocked revisions 71697 via svnmerge
........
r71697 | mark.dickinson | 2009-04-18 11:12:16 +0100 (Sat, 18 Apr 2009) | 3 lines
The comments at the top of intobject.h say that it will be removed in 3.1.
Make it so.
........
Eric Smith [Sat, 18 Apr 2009 00:25:01 +0000 (00:25 +0000)]
Merged revisions 71693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71693 | eric.smith | 2009-04-17 20:10:04 -0400 (Fri, 17 Apr 2009) | 1 line
Removed unused files.
........
Mark Dickinson [Fri, 17 Apr 2009 16:07:04 +0000 (16:07 +0000)]
Blocked revisions 71684 via svnmerge
........
r71684 | mark.dickinson | 2009-04-17 17:06:28 +0100 (Fri, 17 Apr 2009) | 3 lines
Add reminder to dtoa.c to check for updates regularly.
Fix a bug in the memory management in dtoa.c.
........
Mark Dickinson [Fri, 17 Apr 2009 16:03:52 +0000 (16:03 +0000)]
Blocked revisions 71670 via svnmerge
........
r71670 | mark.dickinson | 2009-04-17 09:41:23 +0100 (Fri, 17 Apr 2009) | 3 lines
Make sure that marshal and pickle continue to output 17
digits of precision for floats.
........
Tarek Ziadé [Fri, 17 Apr 2009 14:38:23 +0000 (14:38 +0000)]
Blocked revisions 71677 via svnmerge
................
r71677 | tarek.ziade | 2009-04-17 16:34:49 +0200 (Fri, 17 Apr 2009) | 9 lines
Merged revisions 71674 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line
DistutilsSetupError was not raised when one single warning occured
........
................
Tarek Ziadé [Fri, 17 Apr 2009 14:36:14 +0000 (14:36 +0000)]
Blocked revisions 71590 via svnmerge
................
r71590 | tarek.ziade | 2009-04-13 22:19:58 +0200 (Mon, 13 Apr 2009) | 9 lines
Merged revisions 71589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71589 | tarek.ziade | 2009-04-13 22:14:54 +0200 (Mon, 13 Apr 2009) | 1 line
pep8-fied
........
................
Eric Smith [Thu, 16 Apr 2009 20:16:49 +0000 (20:16 +0000)]
Blocked revisions 71665 via svnmerge
........
r71665 | eric.smith | 2009-04-16 16:16:10 -0400 (Thu, 16 Apr 2009) | 14 lines
The other half of Issue #1580: use short float repr where possible.
Addresses the float -> string conversion, using David Gay's code which
was added in Mark Dickinson's checkin r71663.
Also addresses these, which are intertwined with the short repr
changes:
- Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100'
- Issue #5515: 'n' formatting with commas no longer works poorly
with leading zeros.
- PEP 378 Format Specifier for Thousands Separator: implemented
for floats.
........
Mark Dickinson [Thu, 16 Apr 2009 20:06:09 +0000 (20:06 +0000)]
Blocked revisions 71663 via svnmerge
........
r71663 | mark.dickinson | 2009-04-16 20:52:09 +0100 (Thu, 16 Apr 2009) | 15 lines
Issue #1580: use short float repr where possible.
- incorporate and adapt David Gay's dtoa and strtod
into the Python core
- on platforms where we can use Gay's code (almost
all!), repr(float) is based on the shortest
sequence of decimal digits that rounds correctly.
- add sys.float_repr_style attribute to indicate
whether we're using Gay's code or not
- add autoconf magic to detect and enable SSE2
instructions on x86/gcc
- slight change to repr and str: repr switches
to exponential notation at 1e16 instead of
1e17, str switches at 1e11 instead of 1e12
........
Thomas Heller [Thu, 16 Apr 2009 19:12:35 +0000 (19:12 +0000)]
Merged revisions 71656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71656 | thomas.heller | 2009-04-16 20:37:24 +0200 (Do, 16 Apr 2009) | 14 lines
Merged revisions 71640-71641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line
Remove unneeded code.
........
r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines
Remove duplicated function declaration.
Make _pagesize static.
........
................
R. David Murray [Thu, 16 Apr 2009 18:17:08 +0000 (18:17 +0000)]
Merged revisions 71652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71652 | r.david.murray | 2009-04-16 14:15:32 -0400 (Thu, 16 Apr 2009) | 9 lines
Merged revisions 71651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines
Less red ink (warning->note) and add link to def of side-by-side assembly.
........
................
R. David Murray [Wed, 15 Apr 2009 22:38:32 +0000 (22:38 +0000)]
Merged revisions 71633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71633 | r.david.murray | 2009-04-15 18:35:15 -0400 (Wed, 15 Apr 2009) | 11 lines
Merged revisions 71631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines
Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
........
................
Benjamin Peterson [Wed, 15 Apr 2009 21:40:50 +0000 (21:40 +0000)]
Merged revisions 71628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71628 | benjamin.peterson | 2009-04-15 16:34:27 -0500 (Wed, 15 Apr 2009) | 11 lines
Merged revisions 71627 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71627 | benjamin.peterson | 2009-04-15 16:26:36 -0500 (Wed, 15 Apr 2009) | 4 lines
call __float__ on str subclasses #5759
tests by R. David Murray
........
................
Matthias Klose [Tue, 14 Apr 2009 08:00:41 +0000 (08:00 +0000)]
Backport from the 2.6 branch:
r71499 | georg.brandl | 2009-04-11 22:34:17 +0200 (Sa, 11. Apr 2009) | 1 line
Add a monkeypatching hack so that the docs can still be built with Sphinx 0.5.
Tarek Ziadé [Mon, 13 Apr 2009 20:08:14 +0000 (20:08 +0000)]
Blocked revisions 71571 via svnmerge
................
r71571 | tarek.ziade | 2009-04-13 14:59:03 +0200 (Mon, 13 Apr 2009) | 9 lines
Merged revisions 71569 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71569 | tarek.ziade | 2009-04-13 14:42:26 +0200 (Mon, 13 Apr 2009) | 1 line
deactivate test_search_cpp under win32
........
................
R. David Murray [Mon, 13 Apr 2009 17:12:43 +0000 (17:12 +0000)]
Recorded merge of revisions 71580-71581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71580 | r.david.murray | 2009-04-13 13:00:25 -0400 (Mon, 13 Apr 2009) | 9 lines
Merged revisions 71579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71579 | r.david.murray | 2009-04-13 12:56:32 -0400 (Mon, 13 Apr 2009) | 2 lines
Add missing NEWS item for issue1161031 fix.
........
................
r71581 | r.david.murray | 2009-04-13 13:06:33 -0400 (Mon, 13 Apr 2009) | 2 lines
Move NEWS item to correct section.
................
R. David Murray [Mon, 13 Apr 2009 17:08:50 +0000 (17:08 +0000)]
NEWS item for fix for Issue #
1161031 .
Tarek Ziadé [Mon, 13 Apr 2009 12:39:11 +0000 (12:39 +0000)]
Blocked revisions 71565 via svnmerge
................
r71565 | tarek.ziade | 2009-04-13 14:37:57 +0200 (Mon, 13 Apr 2009) | 9 lines
Merged revisions 71560 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71560 | tarek.ziade | 2009-04-13 14:34:01 +0200 (Mon, 13 Apr 2009) | 1 line
Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.
........
................
R. David Murray [Mon, 13 Apr 2009 01:27:49 +0000 (01:27 +0000)]
Merged revisions 71556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71556 | r.david.murray | 2009-04-12 21:22:04 -0400 (Sun, 12 Apr 2009) | 10 lines
Merged revisions 71553 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71553 | r.david.murray | 2009-04-12 21:06:46 -0400 (Sun, 12 Apr 2009) | 3 lines
Adjust test_asyncore to account for intentional asyncore behavior change
introduced by r70934 that was causing a test failure when run under -O.
........
................
Eric Smith [Mon, 13 Apr 2009 00:58:35 +0000 (00:58 +0000)]
Merged revisions 71550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71550 | eric.smith | 2009-04-12 20:50:23 -0400 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71548 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71548 | eric.smith | 2009-04-12 20:29:50 -0400 (Sun, 12 Apr 2009) | 1 line
Fixed incorrect object passed into format_float_internal(). This was resulting in a conversion being done twice.
........
................
Tarek Ziadé [Sun, 12 Apr 2009 17:05:27 +0000 (17:05 +0000)]
Blocked revisions 71535 via svnmerge
................
r71535 | tarek.ziade | 2009-04-12 19:04:39 +0200 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71533 | tarek.ziade | 2009-04-12 19:02:08 +0200 (Sun, 12 Apr 2009) | 1 line
removed string usage and added a test for _clean
........
................
Tarek Ziadé [Sun, 12 Apr 2009 16:50:37 +0000 (16:50 +0000)]
Blocked revisions 71530 via svnmerge
................
r71530 | tarek.ziade | 2009-04-12 18:49:20 +0200 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71528 | tarek.ziade | 2009-04-12 18:45:32 +0200 (Sun, 12 Apr 2009) | 1 line
added a test for finalize_options
........
................
Tarek Ziadé [Sun, 12 Apr 2009 16:50:03 +0000 (16:50 +0000)]
Blocked revisions 71525 via svnmerge
................
r71525 | tarek.ziade | 2009-04-12 18:34:34 +0200 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71523 | tarek.ziade | 2009-04-12 18:31:24 +0200 (Sun, 12 Apr 2009) | 1 line
added a simple test for search_cpp
........
................
R. David Murray [Sun, 12 Apr 2009 16:16:21 +0000 (16:16 +0000)]
Merged revisions 71520 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71520 | r.david.murray | 2009-04-12 11:35:44 -0400 (Sun, 12 Apr 2009) | 24 lines
Merged revisions 70873,70904,70934,71490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines
This resolves issue
1161031 . Tests pass.
........
r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines
Made handle_expt_event() be called last, so that we don't accidentally read
after closing the socket.
........
r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines
Fix for failing asyncore tests.
........
r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines
Make test_asyncore tests match code changes introduced by the
fix to Issue1161031, refactoring the test to simplify it in
the process.
........
................
Tarek Ziadé [Sun, 12 Apr 2009 15:08:24 +0000 (15:08 +0000)]
Blocked revisions 71515 via svnmerge
................
r71515 | tarek.ziade | 2009-04-12 17:07:31 +0200 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71513 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71513 | tarek.ziade | 2009-04-12 17:03:50 +0200 (Sun, 12 Apr 2009) | 1 line
pep8-fied the module before adding tests
........
................
Tarek Ziadé [Sun, 12 Apr 2009 14:58:39 +0000 (14:58 +0000)]
Blocked revisions 71511 via svnmerge
................
r71511 | tarek.ziade | 2009-04-12 16:57:46 +0200 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71509 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71509 | tarek.ziade | 2009-04-12 16:53:51 +0200 (Sun, 12 Apr 2009) | 1 line
removed the print statements and added a test
........
................
Tarek Ziadé [Sat, 11 Apr 2009 15:18:16 +0000 (15:18 +0000)]
Blocked revisions 71480 via svnmerge
................
r71480 | tarek.ziade | 2009-04-11 17:17:04 +0200 (Sat, 11 Apr 2009) | 9 lines
Merged revisions 71478 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71478 | tarek.ziade | 2009-04-11 17:14:17 +0200 (Sat, 11 Apr 2009) | 1 line
testing a full check case
........
................
Tarek Ziadé [Sat, 11 Apr 2009 15:03:47 +0000 (15:03 +0000)]
Blocked revisions 71475 via svnmerge
................
r71475 | tarek.ziade | 2009-04-11 17:00:43 +0200 (Sat, 11 Apr 2009) | 9 lines
Merged revisions 71473 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71473 | tarek.ziade | 2009-04-11 16:55:07 +0200 (Sat, 11 Apr 2009) | 1 line
#5732: added the check command into Distutils
........
................
Tarek Ziadé [Sat, 11 Apr 2009 15:03:18 +0000 (15:03 +0000)]
Merged revisions 71471 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71471 | tarek.ziade | 2009-04-11 16:32:37 +0200 (Sat, 11 Apr 2009) | 9 lines
Merged revisions 71467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71467 | tarek.ziade | 2009-04-11 15:59:05 +0200 (Sat, 11 Apr 2009) | 1 line
fixed link
........
................
Nick Coghlan [Sat, 11 Apr 2009 14:33:04 +0000 (14:33 +0000)]
Blocked revisions 71469 via svnmerge
................
r71469 | nick.coghlan | 2009-04-12 00:30:59 +1000 (Sun, 12 Apr 2009) | 9 lines
Merged revisions 71465 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71465 | nick.coghlan | 2009-04-11 23:31:31 +1000 (Sat, 11 Apr 2009) | 1 line
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
........
................
Guilherme Polo [Fri, 10 Apr 2009 22:20:27 +0000 (22:20 +0000)]
Blocked revisions 71457 via svnmerge
................
r71457 | guilherme.polo | 2009-04-10 19:19:09 -0300 (Fri, 10 Apr 2009) | 9 lines
Merged revisions 71210 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r71210 | guilherme.polo | 2009-04-04 23:11:19 -0300 (Sat, 04 Apr 2009) | 1 line
Include tkinter.h only after including tk.h (or the equivalent for another platform).
........
................
Raymond Hettinger [Fri, 10 Apr 2009 19:44:58 +0000 (19:44 +0000)]
Fix alignment
Raymond Hettinger [Fri, 10 Apr 2009 19:13:23 +0000 (19:13 +0000)]
Sync-up make.bat with Makefile.
Raymond Hettinger [Fri, 10 Apr 2009 19:08:06 +0000 (19:08 +0000)]
Add examples.
Georg Brandl [Fri, 10 Apr 2009 07:07:22 +0000 (07:07 +0000)]
Merged revisions 71436-71437 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
................
r71436 | georg.brandl | 2009-04-10 09:01:52 +0200 (Fr, 10 Apr 2009) | 9 lines
Merged revisions 71409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71409 | georg.brandl | 2009-04-09 21:01:04 +0200 (Do, 09 Apr 2009) | 1 line
Add a custom stylesheet with better table formatting.
........
................
r71437 | georg.brandl | 2009-04-10 09:02:56 +0200 (Fr, 10 Apr 2009) | 21 lines
Merged revisions 71424-71425,71428-71429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71424 | raymond.hettinger | 2009-04-10 01:25:30 +0200 (Fr, 10 Apr 2009) | 1 line
More table formatting.
........
r71425 | raymond.hettinger | 2009-04-10 01:34:14 +0200 (Fr, 10 Apr 2009) | 1 line
Center table headings.
........
r71428 | raymond.hettinger | 2009-04-10 02:49:41 +0200 (Fr, 10 Apr 2009) | 1 line
More table clean-up
........
r71429 | raymond.hettinger | 2009-04-10 04:01:21 +0200 (Fr, 10 Apr 2009) | 1 line
IE needs the border-left:0 for some reason.
........
................
Raymond Hettinger [Fri, 10 Apr 2009 04:30:08 +0000 (04:30 +0000)]
Clarify the table entries for combinatorics.
Tarek Ziadé [Thu, 9 Apr 2009 22:51:41 +0000 (22:51 +0000)]
Merged revisions 71415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71415 | tarek.ziade | 2009-04-10 00:02:39 +0200 (Fri, 10 Apr 2009) | 9 lines
Merged revisions 71413 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71413 | tarek.ziade | 2009-04-09 23:36:44 +0200 (Thu, 09 Apr 2009) | 1 line
Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms
........
................
R. David Murray [Thu, 9 Apr 2009 22:18:30 +0000 (22:18 +0000)]
Blocked revisions 71416 via svnmerge
................
r71416 | r.david.murray | 2009-04-09 18:16:43 -0400 (Thu, 09 Apr 2009) | 10 lines
Merged revisions 71414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71414 | r.david.murray | 2009-04-09 17:54:50 -0400 (Thu, 09 Apr 2009) | 3 lines
Issue #2170: refactored xml.dom.minidom.normalize, increasing both
its clarity and its speed.
........
................
Benjamin Peterson [Tue, 7 Apr 2009 19:42:10 +0000 (19:42 +0000)]
Merged revisions 71374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71374 | benjamin.peterson | 2009-04-07 14:34:08 -0500 (Tue, 07 Apr 2009) | 9 lines
Merged revisions 71335 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71335 | benjamin.peterson | 2009-04-06 17:53:29 -0500 (Mon, 06 Apr 2009) | 1 line
see if this helps the doc builds
........
................
Matthias Klose [Tue, 7 Apr 2009 16:11:56 +0000 (16:11 +0000)]
Merged revisions 71368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71368 | matthias.klose | 2009-04-07 18:08:29 +0200 (Di, 07 Apr 2009) | 4 lines
Don't check for broken Berkley-DB versions on some platforms; the
test was required for the _bsddb3 extension, not necessary for the
_dbm extension.
........
Matthias Klose [Tue, 7 Apr 2009 14:50:24 +0000 (14:50 +0000)]
Merged revisions 71357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71357 | matthias.klose | 2009-04-07 15:49:45 +0200 (Di, 07 Apr 2009) | 3 lines
- Issue #5359: Readd the Berkley-DB detection code to allow _dbm be built
using Berkley-DB.
........
Matthias Klose [Tue, 7 Apr 2009 14:48:10 +0000 (14:48 +0000)]
Merged revisions 71355 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71355 | matthias.klose | 2009-04-07 15:13:10 +0200 (Di, 07 Apr 2009) | 10 lines
Merged revisions 71268 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71268 | matthias.klose | 2009-04-05 23:00:48 +0200 (So, 05 Apr 2009) | 3 lines
- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
........
................
Hirokazu Yamamoto [Mon, 6 Apr 2009 21:21:20 +0000 (21:21 +0000)]
Merged revisions 70987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70987 | jesse.noller | 2009-04-02 05:51:28 +0900 | 9 lines
Merged revisions 70953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70953 | hirokazu.yamamoto | 2009-04-01 10:13:52 -0500 (Wed, 01 Apr 2009) | 1 line
Fixed compile error on windows.
........
................
Matthias Klose [Mon, 6 Apr 2009 20:59:24 +0000 (20:59 +0000)]
Misc/NEWS: Move all news items checked in after the 3.0.1 release
to the 3.0.2 section.
Tarek Ziadé [Sun, 5 Apr 2009 23:06:21 +0000 (23:06 +0000)]
Blocked revisions 71297 via svnmerge
................
r71297 | tarek.ziade | 2009-04-06 01:05:31 +0200 (Mon, 06 Apr 2009) | 9 lines
Merged revisions 71295 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71295 | tarek.ziade | 2009-04-06 01:03:10 +0200 (Mon, 06 Apr 2009) | 1 line
pep8-fied method names
........
................
Tarek Ziadé [Sun, 5 Apr 2009 22:58:18 +0000 (22:58 +0000)]
Blocked revisions 71293 via svnmerge
................
r71293 | tarek.ziade | 2009-04-06 00:57:21 +0200 (Mon, 06 Apr 2009) | 9 lines
Merged revisions 71291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71291 | tarek.ziade | 2009-04-06 00:51:09 +0200 (Mon, 06 Apr 2009) | 1 line
Fixed #5095: msi missing from Distutils bdist formats
........
................
Tarek Ziadé [Sun, 5 Apr 2009 21:52:04 +0000 (21:52 +0000)]
Merged revisions 71284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71284 | tarek.ziade | 2009-04-05 23:49:36 +0200 (Sun, 05 Apr 2009) | 9 lines
Merged revisions 71280 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71280 | tarek.ziade | 2009-04-05 23:44:08 +0200 (Sun, 05 Apr 2009) | 1 line
Fixed #
1491431 : distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test
........
................
Tarek Ziadé [Sun, 5 Apr 2009 18:37:01 +0000 (18:37 +0000)]
Blocked revisions 71254 via svnmerge
................
r71254 | tarek.ziade | 2009-04-05 20:33:34 +0200 (Sun, 05 Apr 2009) | 9 lines
Merged revisions 71253 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71253 | tarek.ziade | 2009-04-05 20:31:24 +0200 (Sun, 05 Apr 2009) | 1 line
Fixed 5694: removed spurious test output in Distutils
........
................
Mark Dickinson [Sun, 5 Apr 2009 16:04:57 +0000 (16:04 +0000)]
Blocked revisions 70753 via svnmerge
........
r70753 | georg.brandl | 2009-03-30 22:21:05 +0100 (Mon, 30 Mar 2009) | 1 line
Remove merging leftover.
........
Mark Dickinson [Sun, 5 Apr 2009 16:03:02 +0000 (16:03 +0000)]
Remove leftover svn conflict marker
Matthias Klose [Sun, 5 Apr 2009 13:44:43 +0000 (13:44 +0000)]
Merged revisions 70148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r70148 | benjamin.peterson | 2009-03-03 23:55:55 +0100 (Di, 03 Mär 2009) | 1 line
don't bother with version in doc builds
........
Martin v. Löwis [Sat, 4 Apr 2009 18:53:09 +0000 (18:53 +0000)]
Merged revisions 71180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71180 | martin.v.loewis | 2009-04-04 20:48:39 +0200 (Sa, 04 Apr 2009) | 9 lines
Merged revisions 71179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71179 | martin.v.loewis | 2009-04-04 20:44:44 +0200 (Sa, 04 Apr 2009) | 2 lines
Issue #5470: Package zipdir.zip.
........
................
Raymond Hettinger [Sat, 4 Apr 2009 05:39:19 +0000 (05:39 +0000)]
Add helpful link.
R. David Murray [Sat, 4 Apr 2009 01:43:09 +0000 (01:43 +0000)]
Merged revisions 71116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71116 | r.david.murray | 2009-04-03 21:38:38 -0400 (Fri, 03 Apr 2009) | 10 lines
Update documentation for csv module to reflect changes in code,
specifically that it now expects unicode input (and therefore the
paragraph about it not handling unicode is deleted, as well as
the 'how to handle unicode' examples) and that files should
be opened with "newline=''" instead of binary mode. Also removed
unused BytesIO import from test_csv.
This addresses issue 4847.
........
Eric Smith [Fri, 3 Apr 2009 14:46:32 +0000 (14:46 +0000)]
Blocked revisions 71096 via svnmerge
........
r71096 | eric.smith | 2009-04-03 10:45:06 -0400 (Fri, 03 Apr 2009) | 9 lines
Added ',' thousands grouping to int.__format__. See PEP 378.
This is incomplete, but I want to get some version into the next alpha. I am still working on:
Documentation.
More tests.
Implement for floats.
In addition, there's an existing bug with 'n' formatting that carries forward to thousands grouping (issue 5515).
........
Raymond Hettinger [Fri, 3 Apr 2009 05:46:13 +0000 (05:46 +0000)]
Fix typo.
Raymond Hettinger [Fri, 3 Apr 2009 02:49:10 +0000 (02:49 +0000)]
Localize the function lookup in timeit.
R. David Murray [Thu, 2 Apr 2009 20:26:12 +0000 (20:26 +0000)]
Mark 71067 as merged.
R. David Murray [Thu, 2 Apr 2009 20:22:29 +0000 (20:22 +0000)]
Actually this was merged by hand because svnmerge messed up the properties
on the merge of revision 71067 presumably as a result of my immediately
previous fix for Brett's fix for his fix....
Merged revisions 71067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71067 | r.david.murray | 2009-04-02 15:44:43 -0400 (Thu, 02 Apr 2009) | 13 lines
In 3k this becomes an items() call.
Merged revisions 71046 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71046 | r.david.murray | 2009-04-02 10:05:35 -0400 (Thu, 02 Apr 2009) | 4 lines
Add missing iteritems() call to the for loop in mailbox.MH.get_message().
Fixes issue2625.
........
................
Mark Dickinson [Thu, 2 Apr 2009 18:44:10 +0000 (18:44 +0000)]
Blocked revisions 71061 via svnmerge
........
r71061 | mark.dickinson | 2009-04-02 19:41:40 +0100 (Thu, 02 Apr 2009) | 2 lines
Rewrap some long lines.
........
R. David Murray [Thu, 2 Apr 2009 05:01:10 +0000 (05:01 +0000)]
Merged revisions 71038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71038 | r.david.murray | 2009-04-02 00:50:03 -0400 (Thu, 02 Apr 2009) | 9 lines
Clarify that datetime strftime does not produce leap seconds and datetime
strptime does not accept it in the strftime behavior section of the
datetime docs.
Closes issue 2568.
........
Benjamin Peterson [Thu, 2 Apr 2009 02:52:09 +0000 (02:52 +0000)]
Merged revisions 71018,71020-71021 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r71018 | benjamin.peterson | 2009-04-01 20:50:37 -0500 (Wed, 01 Apr 2009) | 1 line
fix ref leaks
........
r71020 | benjamin.peterson | 2009-04-01 21:27:20 -0500 (Wed, 01 Apr 2009) | 1 line
rewrite error handling to make sense
........
r71021 | benjamin.peterson | 2009-04-01 21:27:56 -0500 (Wed, 01 Apr 2009) | 1 line
remove unused variable
........
Raymond Hettinger [Wed, 1 Apr 2009 20:54:19 +0000 (20:54 +0000)]
Add link to an alternative generator with a long-period.
Raymond Hettinger [Wed, 1 Apr 2009 19:03:30 +0000 (19:03 +0000)]
Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.
Tarek Ziadé [Tue, 31 Mar 2009 22:52:58 +0000 (22:52 +0000)]
Blocked revisions 70924 via svnmerge
................
r70924 | tarek.ziade | 2009-03-31 17:50:54 -0500 (Tue, 31 Mar 2009) | 13 lines
Merged revisions 70920,70922 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70920 | tarek.ziade | 2009-03-31 17:44:10 -0500 (Tue, 31 Mar 2009) | 1 line
catching msvc9compiler error as well
........
r70922 | tarek.ziade | 2009-03-31 17:47:01 -0500 (Tue, 31 Mar 2009) | 1 line
fixed the test for win32 CompileError
........
................
Tarek Ziadé [Tue, 31 Mar 2009 22:43:15 +0000 (22:43 +0000)]
Blocked revisions 70914 via svnmerge
................
r70914 | tarek.ziade | 2009-03-31 17:37:55 -0500 (Tue, 31 Mar 2009) | 9 lines
Merged revisions 70910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70910 | tarek.ziade | 2009-03-31 17:27:23 -0500 (Tue, 31 Mar 2009) | 1 line
#5583 Added optional Extensions in Distutils
........
................
Jesse Noller [Tue, 31 Mar 2009 22:42:05 +0000 (22:42 +0000)]
Merged revisions 70913 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70913 | jesse.noller | 2009-03-31 17:36:44 -0500 (Tue, 31 Mar 2009) | 9 lines
Merged revisions 70908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line
Issue 5619: Pass MS CRT debug flags into subprocesses
........
................
Tarek Ziadé [Tue, 31 Mar 2009 21:39:59 +0000 (21:39 +0000)]
Blocked revisions 70898 via svnmerge
................
r70898 | tarek.ziade | 2009-03-31 16:37:16 -0500 (Tue, 31 Mar 2009) | 29 lines
Merged revisions 70886,70888-70892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70886 | tarek.ziade | 2009-03-31 15:50:59 -0500 (Tue, 31 Mar 2009) | 1 line
added tests for the clean command
........
r70888 | tarek.ziade | 2009-03-31 15:53:13 -0500 (Tue, 31 Mar 2009) | 1 line
more tests for the register command
........
r70889 | tarek.ziade | 2009-03-31 15:53:55 -0500 (Tue, 31 Mar 2009) | 1 line
more tests for the upload command
........
r70890 | tarek.ziade | 2009-03-31 15:54:38 -0500 (Tue, 31 Mar 2009) | 1 line
added test to the install_data command
........
r70891 | tarek.ziade | 2009-03-31 15:55:21 -0500 (Tue, 31 Mar 2009) | 1 line
added tests to the install_headers command
........
r70892 | tarek.ziade | 2009-03-31 15:56:11 -0500 (Tue, 31 Mar 2009) | 1 line
making sdist and config test silents
........
................
Hirokazu Yamamoto [Tue, 31 Mar 2009 20:51:44 +0000 (20:51 +0000)]
Merged revisions 70884 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70884 | hirokazu.yamamoto | 2009-04-01 05:43:56 +0900 | 9 lines
Merged revisions 70879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70879 | hirokazu.yamamoto | 2009-04-01 05:14:04 +0900 | 1 line
Issue #5387: Fixed mmap.move crash by integer overflow. (take2)
........
................
Jeremy Hylton [Tue, 31 Mar 2009 16:17:06 +0000 (16:17 +0000)]
Merged revisions 70823 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70823 | jeremy.hylton | 2009-03-31 11:26:37 -0400 (Tue, 31 Mar 2009) | 29 lines
Merged revisions 70801,70809 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
The merge ran into a lot of conflicts because dicts were replaced with
sets in the Python 3 version of the symbol table.
........
r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines
Add is_declared_global() which distinguishes between implicit and
explicit global variables.
........
r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines
Global statements from one function leaked into parallel functions.
Re http://bugs.python.org/issue4315
The symbol table used the same name dictionaries to recursively
analyze each of its child blocks, even though the dictionaries are
modified during analysis. The fix is to create new temporary
dictionaries via the analyze_child_block(). The only information that
needs to propagate back up is the names of the free variables.
Add more comments and break out a helper function. This code doesn't
get any easier to understand when you only look at it once a year.
........
................
Hirokazu Yamamoto [Tue, 31 Mar 2009 14:07:51 +0000 (14:07 +0000)]
Merged revisions 70808 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70808 | hirokazu.yamamoto | 2009-03-31 22:44:06 +0900 | 9 lines
Merged revisions 70800 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70800 | hirokazu.yamamoto | 2009-03-31 22:13:05 +0900 | 1 line
Issue #5387: Fixed mmap.move crash by integer overflow.
........
................
Guido van Rossum [Mon, 30 Mar 2009 22:04:49 +0000 (22:04 +0000)]
Blocked revisions 70762 via svnmerge
........
r70762 | guido.van.rossum | 2009-03-30 17:01:35 -0500 (Mon, 30 Mar 2009) | 8 lines
Issue #5604: non-ASCII characters in module name passed to
imp.find_module() were converted to UTF-8 while the path is
converted to the default filesystem encoding, causing nonsense.
Thanks to Andrew Svetlov.
(This time to the right branch. Will block duplicate merge to 3.0.2.)
........
Guido van Rossum [Mon, 30 Mar 2009 21:43:25 +0000 (21:43 +0000)]
Issue #5604: non-ASCII characters in module name passed to
imp.find_module() were converted to UTF-8 while the path is
converted to the default filesystem encoding, causing nonsense.
Thanks Andrew Svetlov!
Benjamin Peterson [Mon, 30 Mar 2009 14:55:02 +0000 (14:55 +0000)]
Merged revisions 70707 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70707 | benjamin.peterson | 2009-03-30 09:51:56 -0500 (Mon, 30 Mar 2009) | 58 lines
Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line
this is better written using assertRaises
........
r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line
this can be slightly less ugly
........
r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines
Adjusted _tkinter to compile without warnings when WITH_THREAD is not
defined (part of issue #5035)
........
r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line
Fix typo.
........
r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line
give os.symlink and os.link() better parameter names #5564
........
r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line
Switch to fixed Sphinx version.
........
r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines
Add section numbering to some of the larger subdocuments.
........
r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line
Typo fix.
........
r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line
Make life easier for non-CPython implementations.
........
r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line
this has been fixed since 2.6 (I love removing these)
........
r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line
thanks to guido's bytecode verifier, this is fixed
........
r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line
use the awesome new status iterator
........
r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line
there's actually three methods here #5600
........
................
Antoine Pitrou [Sun, 29 Mar 2009 19:03:52 +0000 (19:03 +0000)]
Merged revisions 70690,70692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r70690 | antoine.pitrou | 2009-03-29 20:40:13 +0200 (dim., 29 mars 2009) | 3 lines
Fix leak in _fileio.c (patch by Hirokazu Yamamoto)
........
r70692 | antoine.pitrou | 2009-03-29 20:55:12 +0200 (dim., 29 mars 2009) | 4 lines
Plug another leak, and finally add a test for #
1174606 (read() from /dev/zero).
The leak was the reason my previous attempts at testing failed...
........
Mark Dickinson [Sun, 29 Mar 2009 17:00:24 +0000 (17:00 +0000)]
Blocked revisions 70688 via svnmerge
........
r70688 | mark.dickinson | 2009-03-29 17:58:21 +0100 (Sun, 29 Mar 2009) | 6 lines
Issue #5463: Remove _PY_STRUCT_RANGE_CHECKING constant from struct
module, and remove associated code from test_struct. This was a
mechanism for skipping some of the tests for overflow behaviour when
packing integers; it's no longer necessary.
........
Mark Dickinson [Sun, 29 Mar 2009 16:36:01 +0000 (16:36 +0000)]
Merged revisions 70686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70686 | mark.dickinson | 2009-03-29 17:34:21 +0100 (Sun, 29 Mar 2009) | 15 lines
Merged revisions 70682,70684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70682 | mark.dickinson | 2009-03-29 17:17:16 +0100 (Sun, 29 Mar 2009) | 3 lines
Issue #532631: Add paranoid check to avoid potential buffer overflow
on systems with sizeof(int) > 4.
........
r70684 | mark.dickinson | 2009-03-29 17:24:29 +0100 (Sun, 29 Mar 2009) | 3 lines
Issue #532631: Apply floatformat changes to unicodeobject.c
as well as stringobject.c.
........
................
Mark Dickinson [Sun, 29 Mar 2009 15:21:46 +0000 (15:21 +0000)]
Merged revisions 70680 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70680 | mark.dickinson | 2009-03-29 16:19:47 +0100 (Sun, 29 Mar 2009) | 10 lines
Merged revisions 70678 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70678 | mark.dickinson | 2009-03-29 15:37:51 +0100 (Sun, 29 Mar 2009) | 3 lines
Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
with fabs(x) >= 1e50, and fix documentation.
........
................
Benjamin Peterson [Sun, 29 Mar 2009 13:12:59 +0000 (13:12 +0000)]
Merged revisions 70676 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r70676 | benjamin.peterson | 2009-03-29 08:02:52 -0500 (Sun, 29 Mar 2009) | 1 line
fix variable name #5595
........
Antoine Pitrou [Sun, 29 Mar 2009 01:10:14 +0000 (01:10 +0000)]
Blocked revisions 70666 via svnmerge
........
r70666 | antoine.pitrou | 2009-03-29 03:09:51 +0200 (dim., 29 mars 2009) | 3 lines
Restore a conditional I removed by mistake.
........
Antoine Pitrou [Sun, 29 Mar 2009 00:57:20 +0000 (00:57 +0000)]
Merged revisions 70664 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r70664 | antoine.pitrou | 2009-03-29 01:45:26 +0100 (dim., 29 mars 2009) | 6 lines
Issue #
1174606 : Calling read() without arguments of an unbounded file
(typically /dev/zero under Unix) could crash the interpreter.
No test as there always seems to be a risk of putting the machine on its knees.
........
Benjamin Peterson [Thu, 26 Mar 2009 21:54:53 +0000 (21:54 +0000)]
Merged revisions 70628 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r70628 | benjamin.peterson | 2009-03-26 16:49:58 -0500 (Thu, 26 Mar 2009) | 31 lines
Merged revisions 70518,70521,70590,70594-70595 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70518 | matthias.klose | 2009-03-22 08:08:22 -0500 (Sun, 22 Mar 2009) | 2 lines
- Fix comment macro in python.man
........
r70521 | benjamin.peterson | 2009-03-22 12:45:11 -0500 (Sun, 22 Mar 2009) | 1 line
close the file even if an exception occurs #5536
........
r70590 | skip.montanaro | 2009-03-24 19:52:11 -0500 (Tue, 24 Mar 2009) | 1 line
clarify the type of data returned
........
r70594 | marc-andre.lemburg | 2009-03-25 14:44:58 -0500 (Wed, 25 Mar 2009) | 9 lines
Remove the sys.version_info shortcut, since they cause the APIs
to return different information than the _sys_version() output
used in previous Python versions.
This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings
Added more tests for the various platform functions.
........
r70595 | marc-andre.lemburg | 2009-03-25 14:45:33 -0500 (Wed, 25 Mar 2009) | 3 lines
News item for the platform.py fix (r70594).
........
................
Benjamin Peterson [Thu, 26 Mar 2009 21:51:18 +0000 (21:51 +0000)]
Merged revisions 70610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r70610 | benjamin.peterson | 2009-03-26 12:15:46 -0500 (Thu, 26 Mar 2009) | 1 line
fix isprintable() on space characters #5126
........
Benjamin Peterson [Tue, 24 Mar 2009 01:36:17 +0000 (01:36 +0000)]
backport new c module docs
Raymond Hettinger [Tue, 24 Mar 2009 00:23:08 +0000 (00:23 +0000)]
Add links to related resources.
Raymond Hettinger [Mon, 23 Mar 2009 22:43:36 +0000 (22:43 +0000)]
Fix an incorrect merge.
Mark Dickinson [Mon, 23 Mar 2009 18:46:40 +0000 (18:46 +0000)]
Blocked revisions 70547 via svnmerge
................
r70547 | mark.dickinson | 2009-03-23 18:44:57 +0000 (Mon, 23 Mar 2009) | 21 lines
Merged revisions 70542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70542 | mark.dickinson | 2009-03-23 18:25:13 +0000 (Mon, 23 Mar 2009) | 14 lines
Issue #5512: speed up the long division algorithm for Python longs.
The basic algorithm remains the same; the most significant speedups
come from the following three changes:
(1) normalize by shifting instead of multiplying and dividing
(2) the old algorithm usually did an unnecessary extra iteration of
the outer loop; remove this. As a special case, this means that
long divisions with a single-digit result run twice as fast as
before.
(3) make inner loop much tighter.
Various benchmarks show speedups of between 50% and 150% for long
integer divisions and modulo operations.
........
................