Andrew M. Kuchling
a14f2d1147
Use anonymous hyperlinks
2010-05-06 13:03:39 +00:00
Brian Curtin
11f8b9db79
Fix #7863 . Properly identify Windows 7 and Server 2008 R2.
...
Removed various unused code and added a way to correctly determine
server vs. workstation via the registry.
2010-05-06 02:54:44 +00:00
Andrew M. Kuchling
ca4856249d
Add various items
2010-05-06 01:10:56 +00:00
Andrew M. Kuchling
4758183f0a
Reword paragraph; fix filename, which should be pyconfig.h
2010-05-06 01:09:47 +00:00
R. David Murray
1f7de71090
Have the serve.py script announce the directory it is
...
serving and which port it is serving it on (I can
never remember the default port number it uses...)
2010-05-06 00:59:04 +00:00
Victor Stinner
862490a546
Untabify Modules/posixmodule.c (2)
...
Fix some more functions by hand
2010-05-06 00:03:44 +00:00
Victor Stinner
d6f8542307
Untabify Modules/posixmodule.c
...
Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some
continuation lines).
2010-05-05 23:33:33 +00:00
Brett Cannon
f4f0bf850b
Revert a change where an expression is not needed now, but could be in the future.
2010-05-05 23:11:08 +00:00
Mark Dickinson
481ab89b75
Issue #1533 : test_range in test_builtin: fix test comment and add test
...
for rejection of small floats. Thanks Alexander Belopolsky.
2010-05-05 22:42:51 +00:00
Tarek Ziadé
31a673da52
removed non needed lines
2010-05-05 22:41:25 +00:00
Mark Dickinson
d2f3e3fc1d
Issue #8625 : Turn off gcc optimization in debug builds.
2010-05-05 22:23:58 +00:00
Tarek Ziadé
38f81223ae
Fixed #4265 : shutil.copyfile() was leaking file descriptors when disk fills
2010-05-05 22:15:31 +00:00
Mark Dickinson
9319548e56
Issue 8628: fix incorrect documentation for numbers.Complex.imag.
2010-05-05 21:52:39 +00:00
Brett Cannon
5fb89df07b
Mention how Clang's static anaylzer was run over Objects/ and Python/.
2010-05-05 20:54:53 +00:00
Brett Cannon
5335e77810
Remove an unneeded variable assignment.
...
Found using Clang's static analyzer.
2010-05-05 20:53:20 +00:00
Brett Cannon
0b64be2389
Explicitly add stdio.h and string.h to make strtod.c work standalone.
...
Found using Clang's static analyzer.
2010-05-05 20:50:03 +00:00
Brett Cannon
c33e82d23c
Change to a Py_XDECREF and fix some whitespace.
...
Found using Clang's static analyzer.
2010-05-05 20:38:52 +00:00
Brett Cannon
1771ecf879
Remove an unnecessary variable assignment.
...
Found using Clang's static analyzer.
2010-05-05 20:35:24 +00:00
Brett Cannon
fa84d923ec
Remove two unneeded branches to an 'if' statement by applying De Morgan's Law
...
and creating a single 'if' statement along with a NULL default value for a
variable.
Also clean up a bunch of whitespace.
Found using Clang's static analyzer.
2010-05-05 20:30:30 +00:00
Brett Cannon
2ee5183852
Remove an unneeded variable increment.
...
Found using Clang's static analyzer.
2010-05-05 20:27:49 +00:00
Brett Cannon
8b9c04941b
Remove an unneeded variable and fix a little whitespace.
...
Found using Clang's static analyzer.
2010-05-05 20:26:58 +00:00
Brett Cannon
b166afc17c
Fix whitespace.
2010-05-05 20:25:47 +00:00
Brett Cannon
417439e6cd
Partially revert the over-reaching r80813.
2010-05-05 20:24:30 +00:00
Brett Cannon
0b03f10afb
Remove three unneeded variable assignments.
...
Found using Clang's static analyzer.
2010-05-05 20:20:19 +00:00
Brett Cannon
8a478ced55
Remove an unneeded assignment.
...
Found using Clang's static analyzer.
2010-05-05 20:19:26 +00:00
Brett Cannon
fee3acb082
Remove an unneeded variable assignment.
...
Found using Clang's static analyzer.
2010-05-05 20:18:23 +00:00
Brett Cannon
eb3fef59b9
Remove an unneeded variable.
...
Found using Clang's static analyzer.
2010-05-05 20:16:50 +00:00
Brett Cannon
6f38175cbc
Remove an unneeded variable increment.
...
Found using Clang's static analyzer.
2010-05-05 20:16:09 +00:00
Brett Cannon
7a4cd7e1e2
Remove extraneous whitespace.
2010-05-05 20:15:14 +00:00
Brett Cannon
a1b562943b
Remove an unnecessary variable.
...
Found using Clang's static analyzer.
2010-05-05 20:14:27 +00:00
Ronald Oussoren
9545a23c7f
In a number of places code still revers
...
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Antoine Pitrou
a8157183b8
Issue #8600 : fix test_gdb failures when gdb issues some spurious warnings.
2010-05-05 18:29:02 +00:00
R. David Murray
7d93221a5c
Issue #7472 : remove unused code from email.encoders.encode_7or8bit.
...
Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
to special case iso-2022 codecs. It turns out that the code in
question is never used, because whereas it was designed to trigger
if the payload encoding was eight bit but its output encoding was
7 bit, in practice the payload is always converted to the 7bit
encoding before encode_7or8bit is called. Patch by Shawat Anand.
2010-05-05 17:31:03 +00:00
Antoine Pitrou
b26dc46576
Untabify Modules/_io/fileio.c
2010-05-05 16:27:30 +00:00
Barry Warsaw
8efa867bcf
NEWS
2010-05-05 16:17:22 +00:00
Barry Warsaw
43ad706ef4
Bug 7755: audiotest.au is arguably copyrighted material, but definitely makes
...
Debian unhappy. The actual contents of the audio clip are unimportant, so
replace it with something that we know is okay. Guido likes woodpeckers.
2010-05-05 16:15:09 +00:00
Antoine Pitrou
a4c2a5c9a0
Untabify Modules/_ssl.c
2010-05-05 15:53:45 +00:00
Ronald Oussoren
91165c0b42
Force exit using os._exit instead of sys.exit,
...
this makes sure that the child does not continue
testing.
2010-05-05 15:32:39 +00:00
Ronald Oussoren
3320696371
The C function used by uuid.uuid4 is broken on
...
OSX 10.6 in that after os.fork() the parent and
child generate the same sequence of UUIDs.
This patch falls back to the the Python implementation
on OSX 10.6 or later.
Fixes issue #8621 .
2010-05-05 14:48:37 +00:00
Marc-André Lemburg
9b90f7af49
Update the NEWS entry for issue #8211 .
2010-05-05 13:30:01 +00:00
Victor Stinner
926fd4ee32
Issue #8313 : traceback.format_exception_only() encodes unicode message to
...
ASCII with backslashreplace error handler if str(value) failed
2010-05-05 12:40:49 +00:00
Thomas Heller
f3c157f639
Remove reference to unused source file.
2010-05-04 19:08:18 +00:00
Mark Dickinson
3b0b4ff19e
Fix test_gzip failure on OS X. The failure was a result of trying to fflush
...
a file that wasn't open for writing. Patch by Antoine Pitrou.
2010-05-04 18:45:27 +00:00
Thomas Heller
06a7e2069a
On Windows, ctypes does no longer check the stack before and after
...
calling a foreign function. This allows to use the unmodified libffi
library.
Remove most files from _ctypes/libffi_msvc, only two include files
stay (updated from _ctypes/libffi/...). Other files are used in the
cross-platform _ctypes/libffi directory.
2010-05-04 18:44:42 +00:00
Mark Dickinson
ef9b4abfea
Fix trailing whitespace.
2010-05-04 16:19:06 +00:00
Mark Dickinson
a8d2668818
Issue #1533 : fix inconsistency in range function argument processing:
...
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method. Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.
Patch by Alexander Belopolsky (with minor modifications).
2010-05-04 16:18:25 +00:00
Mark Dickinson
4f96f5ffc6
Issue #8567 : Fix incorrect precedence of signals in Decimal module.
...
When a Decimal operation raises multiple signals and more than one of
those signals is trapped, the specification determines the order in
which the signals should be handled. In many cases this order wasn't
being followed, leading to the wrong Python exception being raised.
This commit fixes those cases, and adds extra tests. The tests are
only enabled when EXTENDEDERRORTESTS is True, since they involve
rerunning each Decimal testcase several times.
2010-05-04 14:25:50 +00:00
Victor Stinner
7120219918
_pyio: Fix TextIOWrapper constructor: os has no device_encoding() function
...
_io module doesn't call this function which was introduced in Python3.
2010-05-04 11:35:36 +00:00
Alexandre Vassalotti
268e4872d3
Issue #8404 : Fix set operations on dictionary views.
2010-05-04 03:21:51 +00:00
Andrew M. Kuchling
04b99cc68d
Add some more items; the urlparse change is added twice
2010-05-04 01:24:22 +00:00