R. David Murray
08dca0d6da
Remove a leftover from a previous iteration of the issue 7376 patch.
2009-12-21 12:45:41 +00:00
Mark Dickinson
bd335bfce7
Additional edge-case tests for test_long_and_overflow.
2009-12-21 12:15:48 +00:00
Mark Dickinson
ed02b3f342
Fix reference counts for test_long_and_overflow.
2009-12-21 11:31:54 +00:00
Mark Dickinson
e31d300664
Issue #7528 : Backport PyLong_AsLongAndOverflow from py3k to trunk.
...
Thanks Case Van Horsen for the patch.
2009-12-21 11:21:25 +00:00
Tarek Ziadé
2b66da7d15
massive import cleaning in Distutils
2009-12-21 01:22:46 +00:00
Tarek Ziadé
2421d56e02
Fixed #7552 : fixed distutils.command.upload failure on very long passwords
2009-12-20 23:23:34 +00:00
Mark Dickinson
603ae9e371
Issue #7554 : Various fixups in test_cmath.py: remove code duplication,
...
use new-style formatting. Thanks Florent Xicluna for the patch.
2009-12-20 20:34:44 +00:00
Mark Dickinson
ed284991e1
Silence -3 warnings. Thanks Florent Xicluna.
2009-12-20 20:23:01 +00:00
Mark Dickinson
3e0bafef25
Fix for consistency with py3k keyword-only version of assertAlmostEqual
2009-12-20 19:52:36 +00:00
Mark Dickinson
1d2ae215aa
Issue #7554 : Fix incorrect usage of rAssertAlmostEqual. Thanks Florent Xicluna.
2009-12-20 19:45:37 +00:00
R. David Murray
77e48ba993
Issue #7376 : When called with no arguments doctest was running a
...
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
2009-12-20 16:46:06 +00:00
R. David Murray
97138117b2
Fix comment typo.
2009-12-20 16:24:46 +00:00
Mark Dickinson
b5e348b305
Add missing tests for PyArg_Parse* with format 'h'
2009-12-20 15:57:56 +00:00
Benjamin Peterson
1c2353b0d9
builtin-ins -> builtins
2009-12-20 15:23:22 +00:00
Georg Brandl
6ab5d083f2
#7381 : subprocess documentation and library docstring consistency fixes.
2009-12-20 14:33:20 +00:00
Georg Brandl
819a8fa0f6
Small indentation fix.
2009-12-20 14:28:05 +00:00
Georg Brandl
0cedb4bffa
#7495 : backport Programming FAQ review to trunk.
2009-12-20 14:20:16 +00:00
Mark Dickinson
5698977186
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
...
it to do the conversion explicitly instead. See issue #7550 .
2009-12-20 13:58:18 +00:00
Senthil Kumaran
0732fd952b
Document the headers parameter for set_tunnel.
2009-12-20 07:29:31 +00:00
Senthil Kumaran
7713acf201
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
...
Refactored HTTPHandler tests and added testcase for proxy authorization.
2009-12-20 06:05:13 +00:00
Ezio Melotti
062d2b52f3
#7388 : "python".capitalize() in the Doc
2009-12-19 22:41:49 +00:00
Antoine Pitrou
98a24def03
Remove superfetatory paragraph (left there by mistake).
2009-12-19 21:06:36 +00:00
Antoine Pitrou
e812d29b52
Issue #7545 : improve documentation of the `buffering` argument in io.open().
2009-12-19 21:01:10 +00:00
Georg Brandl
d86e9d7616
#7480 : remove tautology.
2009-12-19 18:20:18 +00:00
Georg Brandl
c51d1f0862
#7479 : add note about function availability on Unices.
2009-12-19 18:16:31 +00:00
Georg Brandl
27d19030c6
#7493 : review of Design FAQ by Florent Xicluna.
2009-12-19 17:43:33 +00:00
Georg Brandl
670e5969cb
#7521 : remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().
2009-12-19 17:34:32 +00:00
Georg Brandl
8b10f13aaf
#7527 : use standard versionadded tags.
2009-12-19 17:30:28 +00:00
Mark Dickinson
5ff37ae14b
Issue #3366 : Add error function and complementary error function to
...
math module.
2009-12-19 11:07:23 +00:00
Vinay Sajip
0c6a0e3318
Issue #7529 : logging: Minor correction to documentation.
2009-12-17 14:52:00 +00:00
Mark Dickinson
1c49828fa0
Add _math.h to math module dependencies in setup.py.
2009-12-17 08:33:56 +00:00
Mark Dickinson
9cae178f21
Issue #3366 : Add expm1 function to math module. Thanks Eric Smith for
...
testing on Windows.
2009-12-16 20:13:40 +00:00
R. David Murray
98e3df38fd
Issue #7396 : fix -s, which was broken by the -j enhancement.
2009-12-16 11:49:46 +00:00
Benjamin Peterson
0c0dcaf272
remove type_compare, since type_richcompare does the same trick
2009-12-16 03:36:22 +00:00
Benjamin Peterson
36902988a6
remove lib2to3 resource
2009-12-16 03:28:52 +00:00
Tarek Ziadé
c0680e2d4b
cleaned up the module (PEP 8 + old fashion test removal)
2009-12-15 06:29:19 +00:00
Benjamin Peterson
bf306cadd6
adverb
2009-12-15 03:25:27 +00:00
R. David Murray
c7298ff0fa
Issue #7498 : make test_multiprocessing use test_support.find_unused_port
...
instead of a hard coded port number in test_rapid_restart.
2009-12-14 21:57:39 +00:00
R. David Murray
0a0a1a842c
Issue #1680159 : unicode coercion during an 'in' operation was masking
...
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context. This patch lets any errors through, as was already
done during coercion of the right hand side.
2009-12-14 16:28:26 +00:00
R. David Murray
96228739c5
Clarify phrasing that explains that there are currently two branches.
2009-12-14 02:50:32 +00:00
Tarek Ziadé
4f786b20ab
reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
2009-12-13 23:24:13 +00:00
Benjamin Peterson
001e4a6c07
add a test of loading the datetime capi
2009-12-13 21:27:53 +00:00
Benjamin Peterson
3095d20a53
initialize to NULL
2009-12-13 21:21:43 +00:00
Benjamin Peterson
db9352f00f
avoid having to update this statement all the time
2009-12-13 21:15:31 +00:00
Mark Dickinson
59dc89e87d
Issue #7492 : Autoconf tests were leaving semaphore files behind. Add
...
sem_unlink calls to delete those semaphore files.
2009-12-13 21:06:06 +00:00
Benjamin Peterson
aef189939e
remove unused variable
2009-12-13 19:27:02 +00:00
Benjamin Peterson
ddd392cbb9
accept None as the same as having passed no argument in file types #7349
...
This is for consistency with imitation file objects like StringIO and BytesIO.
This commit also adds a few tests, where they were lacking for concerned
methods.
2009-12-13 19:19:07 +00:00
Ezio Melotti
e304852e21
#7342 : make sure that the datetime object in test_fraction always has a number of microseconds != 0
2009-12-13 18:54:53 +00:00
Benjamin Peterson
c4771d2fe1
add NEWS note
2009-12-13 17:31:31 +00:00
Benjamin Peterson
414721614f
make StringIO like other file objects in that readline(-1) has no effect #7348
2009-12-13 17:29:16 +00:00