Antoine Pitrou
c9e92167ac
Fix test skipping in multibyte codec tests
2009-11-01 15:59:11 +00:00
Eric Smith
1bfa799b42
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.
........
2009-10-31 17:08:48 +00:00
Mark Dickinson
a14c2ed15d
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.
........
2009-10-31 10:38:43 +00:00
Antoine Pitrou
aecd3b7718
Merged revisions 75967 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75967 | antoine.pitrou | 2009-10-30 22:41:22 +0100 (ven., 30 oct. 2009) | 3 lines
Try to fix transient refleaks in test_pydoc.
........
2009-10-30 21:45:40 +00:00
Antoine Pitrou
046467cf9a
Followup to r75965: replace the test_uuid-specific patch with a generic fix
...
(other tests may have the same problem).
2009-10-30 18:30:35 +00:00
Antoine Pitrou
1e8e5f0680
Fix a refleak in test_uuid when run with -j.
...
The "refleak" was simply the effect of internal buffering in block buffering mode
(rather than line buffering when sys.stdout is a terminal)
2009-10-30 18:15:02 +00:00
Antoine Pitrou
e03866f6f1
Merged revisions 75962-75963 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75962 | antoine.pitrou | 2009-10-30 18:55:21 +0100 (ven., 30 oct. 2009) | 3 lines
Try to fix transient refleaks in test_asynchat.
........
r75963 | antoine.pitrou | 2009-10-30 18:56:00 +0100 (ven., 30 oct. 2009) | 3 lines
Try to fix transient refleaks in test_xmlrpc.
........
2009-10-30 17:58:27 +00:00
Antoine Pitrou
d52656b4bc
Merged revisions 75960 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75960 | antoine.pitrou | 2009-10-30 18:33:28 +0100 (ven., 30 oct. 2009) | 3 lines
Fix transient refleaks in test_docxmlrpc.
........
2009-10-30 17:34:49 +00:00
Antoine Pitrou
65c9c6426b
Merged revisions 75958 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75958 | antoine.pitrou | 2009-10-30 18:07:08 +0100 (ven., 30 oct. 2009) | 7 lines
Issue #7222 : Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
........
2009-10-30 17:25:12 +00:00
Mark Dickinson
a2d1fe0b84
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.
........
2009-10-29 12:23:02 +00:00
Lars Gustäbel
1440df2fcf
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.
........
2009-10-29 09:39:47 +00:00
Benjamin Peterson
b2e796aa27
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.
2009-10-28 21:59:39 +00:00
R. David Murray
7b1b094ff1
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.
........
2009-10-28 14:07:51 +00:00
Tarek Ziadé
7a8ad4a981
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
........
2009-10-28 06:48:27 +00:00
Tarek Ziadé
c7c71ff87c
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
........
2009-10-27 23:12:01 +00:00
Mark Dickinson
70ec8ee2ed
Remove extra blank line accidentally introduced in r75885
2009-10-27 23:00:56 +00:00
Georg Brandl
035265540a
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.
........
2009-10-27 23:00:28 +00:00
Mark Dickinson
a9023be873
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
........
2009-10-27 22:12:20 +00:00
Antoine Pitrou
c00d4b437d
Merged revisions 75874 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (mar., 27 oct. 2009) | 4 lines
Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222 .
........
2009-10-27 21:32:38 +00:00
Tarek Ziadé
8c0e217158
Merged revisions 75871 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line
Issue #7218 : Fix test_site for win32
........
2009-10-27 21:24:21 +00:00
Georg Brandl
96f7897dd2
Merged revisions 75866-75867 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75866 | georg.brandl | 2009-10-27 21:52:02 +0100 (Di, 27 Okt 2009) | 1 line
Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
........
r75867 | georg.brandl | 2009-10-27 21:55:44 +0100 (Di, 27 Okt 2009) | 1 line
Reformat the regrtest command-line option help and group the options into sections.
........
2009-10-27 21:02:11 +00:00
Antoine Pitrou
1568732d73
Merged revisions 75860 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (mar., 27 oct. 2009) | 3 lines
Try to fix transient refleaks in test_distutils.
........
2009-10-27 20:21:45 +00:00
Antoine Pitrou
aefe6af18f
Merged revisions 75855 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75855 | antoine.pitrou | 2009-10-27 21:14:04 +0100 (mar., 27 oct. 2009) | 3 lines
Fix transient refleaks in test_urllib2_localnet.
........
2009-10-27 20:17:03 +00:00
Antoine Pitrou
b0e9bd4741
Merged revisions 75851 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75851 | antoine.pitrou | 2009-10-27 21:02:23 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_threading.
........
2009-10-27 20:05:26 +00:00
Antoine Pitrou
c3d47724c1
Merged revisions 75849 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75849 | antoine.pitrou | 2009-10-27 20:47:30 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_smtplib.
........
2009-10-27 19:49:45 +00:00
Antoine Pitrou
836f0e217e
Merged revisions 75842 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75842 | antoine.pitrou | 2009-10-27 20:23:56 +0100 (mar., 27 oct. 2009) | 3 lines
Fix transient refleak in test_sys.
........
2009-10-27 19:25:57 +00:00
Antoine Pitrou
45ebeb8f24
Merged revisions 75838 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75838 | antoine.pitrou | 2009-10-27 19:50:52 +0100 (mar., 27 oct. 2009) | 3 lines
(Hopefully) suppress transient refleaks in test_httpservers.
........
2009-10-27 18:52:30 +00:00
Antoine Pitrou
5ed353c293
Merged revisions 75826 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75826 | antoine.pitrou | 2009-10-27 19:36:47 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_asyncore
........
2009-10-27 18:49:23 +00:00
Antoine Pitrou
c66363f5e0
Merged revisions 75818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines
Issue #7205 : Fix a possible deadlock when using a BZ2File object from several threads at once.
........
2009-10-27 17:47:14 +00:00
Georg Brandl
495f7b5adb
Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line
Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there.
........
r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line
Fix markup.
........
r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line
#7125 : fix typo.
........
r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line
#7126 : os.environ changes *do* take effect in subprocesses started with os.system().
........
r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line
#7116 : str.join() takes an iterable.
........
r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line
Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
........
r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line
Fix missing word.
........
r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line
Fix punctuation.
........
r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line
Revert unintended change.
........
r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line
Fix markup.
........
r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line
Fix duplicate target.
........
r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line
Add a new directive marking up implementation details and start using it.
........
r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line
Make it more robust.
........
r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line
Document new directive.
........
r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line
Allow short form with text as argument.
........
r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line
Fix stylesheet for multi-paragraph impl-details.
........
r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line
Use "impl-detail" directive where applicable.
........
r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line
#6324 : membership test tries iteration via __iter__.
........
r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line
#7088 : document new functions in signal as Unix-only.
........
r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line
Reorder __slots__ fine print and add a clarification.
........
r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line
#7035 : improve docs of the various <method>_errors() functions, and give them docstrings.
........
r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line
#7156 : document curses as Unix-only.
........
r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line
#6977 : getopt does not support optional option arguments.
........
r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line
Add proper references.
........
r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line
Make printout margin important.
........
r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line
#7188 : fix optionxform() docs.
........
r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines
add further note about what's passed to optionxform
........
r75640 | neil.schemenauer | 2009-10-23 21:58:17 +0200 (Fr, 23 Okt 2009) | 2 lines
Improve some docstrings in the 'warnings' module.
........
r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line
Fix markup.
........
r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line
Fix a demo.
........
r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line
Fix a strange mis-edit.
........
2009-10-27 15:28:25 +00:00
Mark Dickinson
3a22b4fa99
Issue #7207 : Fix race condition in telnetlib test; should stop test failures on OS X 10.6.
2009-10-26 22:48:32 +00:00
Mark Dickinson
f972488213
Remove length limitation on string arguments to complex()
2009-10-26 21:51:18 +00:00
Mark Dickinson
2d7062e1b4
Merged revisions 75711 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line
Skip readline tests if readline module is not available.
........
2009-10-26 12:01:06 +00:00
R. David Murray
0548ce088d
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.
2009-10-26 08:24:14 +00:00
Tarek Ziadé
04fe7c01a8
Merged revisions 75669-75671 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line
Issue #7071 : byte-compilation in Distutils now looks at sys.dont_write_bytecode
........
r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line
fixed finally state in distutils.test_util
........
r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line
fixed warning and error message
........
2009-10-25 23:08:47 +00:00
Antoine Pitrou
6103ab1d0b
Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0).
2009-10-24 20:11:21 +00:00
Mark Dickinson
55d110c82c
Add tests for sys.float_repr_style
2009-10-24 14:04:48 +00:00
Tarek Ziadé
978cca6e27
Merged revisions 75659 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75659 | tarek.ziade | 2009-10-24 15:29:44 +0200 (Sat, 24 Oct 2009) | 1 line
#7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
........
2009-10-24 13:38:27 +00:00
Antoine Pitrou
899d1c64e3
Merged revisions 75624 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines
Fix Windows buildbot failure
........
2009-10-23 21:55:36 +00:00
Antoine Pitrou
97115d190a
Merged revisions 75633 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines
Issue #7194 : test_thread could try to release an unacquired mutex (and fail).
........
2009-10-23 18:34:17 +00:00
Eric Smith
5ccfa29f04
Changed try/finally to contextlib.closing, as discussed in issue 6882.
2009-10-23 12:56:11 +00:00
Raymond Hettinger
af7adad51d
Peephole constant folding had missed UNARY_POSITIVE.
2009-10-22 11:22:50 +00:00
Vinay Sajip
42ead48dc1
Issue #7077 : logging: SysLogHandler now treats Unicode as per RFC 5424.
2009-10-21 20:22:14 +00:00
Antoine Pitrou
6a354d7e08
Another futile error in the previous commit :-(
2009-10-20 22:05:38 +00:00
Antoine Pitrou
be03eec2e6
Merged revisions 75574 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines
Test wouldn't work in debug mode.
We probably need a function in test_support to handle this.
........
2009-10-20 22:02:29 +00:00
Antoine Pitrou
011bd62c8c
Merged revisions 75570 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines
Issue #1722344 : threading._shutdown() is now called in Py_Finalize(), which
fixes the problem of some exceptions being thrown at shutdown when the
interpreter is killed. Patch by Adam Olsen.
........
2009-10-20 21:52:47 +00:00
Mark Dickinson
06bb6746ed
Merged revisions 75561 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines
Issue #7099 : Decimal.is_normal should return True for all nonzero
finite non-subnormal values, even those with exponent > Emax.
........
2009-10-20 13:38:04 +00:00
R. David Murray
afaf48b953
Remove comment that went with the print_lock that was previously deleted.
2009-10-20 11:18:29 +00:00
Antoine Pitrou
6a448d4c2e
Issue #7080 : locale.strxfrm() raises a MemoryError on 64-bit non-Windows
...
platforms, and assorted locale fixes by Derk Drukker.
2009-10-19 19:43:09 +00:00
R. David Murray
723357e014
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.
........
2009-10-19 18:06:17 +00:00