Michael Foord
4fedbce55a
Adding tests for unittest command line handling of buffer, catchbreak and failfast.
2010-05-07 15:52:05 +00:00
Michael Foord
215d394b82
Adding a test for unittest test discovery with dotted path name.
2010-05-07 15:34:08 +00:00
Andrew M. Kuchling
d1e696b60f
Re-word text
2010-05-07 11:30:47 +00:00
Antoine Pitrou
d69e6ee656
Fix some markup and a class name. Also, wrap a long line.
2010-05-07 10:15:51 +00:00
Senthil Kumaran
e41bb0bc2c
Testsuite for RFC3986 based parsing scenario. Related Issue1462525.
2010-05-07 04:07:29 +00:00
Andrew M. Kuchling
02f7b990e1
Add a new section on the development plan; add an item
2010-05-07 01:45:14 +00:00
Benjamin Peterson
328e3775df
ensure that availability information is on its own line at the end of the function docs
2010-05-06 22:49:28 +00:00
Benjamin Peterson
7aaef849f9
Availability gets its own line
2010-05-06 22:33:46 +00:00
Giampaolo Rodolà
e4499a88c2
adds handle_error(self):raise to test modules using asyncore to provide a clearer error message in case something goes wrong
2010-05-06 20:19:32 +00:00
Giampaolo Rodolà
215b6b392d
provides a clearer warning message when cheap inheritance with the underlying socket object is used
2010-05-06 19:56:34 +00:00
Giampaolo Rodolà
f7454fa98d
Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__
2010-05-06 17:57:06 +00:00
Brett Cannon
a8ac944924
Add back in a line that was unneeded which advanced a pointer, but commented
...
out as it is currently unneeded.
This effectively adds back in the line removed in r80809 as a comment.
2010-05-06 17:56:36 +00:00
Andrew M. Kuchling
acab940c70
Change section title; point to unittest2
2010-05-06 17:27:57 +00:00
Andrew M. Kuchling
837a538db1
Add 2 items; record ideas for two initial sections; clarify wording
2010-05-06 17:21:59 +00:00
Andrew M. Kuchling
e86b7fe37d
Describe ElementTree 1.3; rearrange new-module sections; describe dict views as sets; small edits and items
2010-05-06 14:14:09 +00:00
Antoine Pitrou
1bbb68d37c
`self` doesn't exist here
2010-05-06 14:11:23 +00:00
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