Michael Foord
8777f01d71
Blocked revisions 79436 via svnmerge
...
........
r79436 | michael.foord | 2010-03-26 02:53:56 +0000 (Fri, 26 Mar 2010) | 1 line
Move a support TestCase out of the main namespace in unittest.test.test_suite
........
2010-03-27 12:49:01 +00:00
Michael Foord
a20220723d
Blocked revisions 79433 via svnmerge
...
........
r79433 | michael.foord | 2010-03-26 00:03:38 +0000 (Fri, 26 Mar 2010) | 1 line
Remove incorrect docstring in unittest.test
........
2010-03-27 12:41:09 +00:00
Michael Foord
2560e5cf53
Breaking test_unittest.py into a package. Manual merge of revision 79432.
2010-03-27 12:34:21 +00:00
Mark Dickinson
ab4d63b7f7
Merged revisions 79457 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79457 | mark.dickinson | 2010-03-27 11:14:37 +0000 (Sat, 27 Mar 2010) | 1 line
Add Misc/NEWS entry for r79455.
........
2010-03-27 11:16:00 +00:00
Mark Dickinson
327f02c60c
Merged revisions 79455 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79455 | mark.dickinson | 2010-03-27 11:09:29 +0000 (Sat, 27 Mar 2010) | 2 lines
Make Fraction to complex comparisons with <=, <, >= or > raise TypeError.
........
2010-03-27 11:11:13 +00:00
Michael Foord
e6be10990d
Blocked revisions 79432 via svnmerge
...
........
r79432 | michael.foord | 2010-03-25 23:56:33 +0000 (Thu, 25 Mar 2010) | 1 line
Turn unittest tests into a package
........
2010-03-27 01:41:24 +00:00
Antoine Pitrou
3c0fac2f1c
Add NEWS entry for r79449.
2010-03-26 19:36:14 +00:00
Antoine Pitrou
5f1c38f06b
Merged revisions 79448 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79448 | antoine.pitrou | 2010-03-26 20:27:16 +0100 (ven., 26 mars 2010) | 6 lines
Issue #8222 : Enable the SSL_MODE_AUTO_RETRY flag on SSL sockets, so that blocking
reads and writes are always retried by OpenSSL itself.
(this is a followup to issue #3890 )
........
2010-03-26 19:32:24 +00:00
Brian Curtin
027e478f3f
Merged revisions 79430 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines
Fix #6538 . Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
........
2010-03-26 00:39:56 +00:00
Benjamin Peterson
fa0aebacd9
Merged revisions 79428 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79428 | benjamin.peterson | 2010-03-25 18:27:16 -0500 (Thu, 25 Mar 2010) | 1 line
make naming convention consistent
........
2010-03-25 23:30:20 +00:00
Victor Stinner
4ce881e928
Fix my test introduced in test_sys by r79394:
...
Restore the orginal filesystem encoding before testing
assertRaises(LookupError, sys.setfilesystemencoding, "xxx"). Unittest formats
the exception, but the formatting failed because the file system was invalid
(set to iso-8859-1 by the previous test).
Anyway, ensure to restore the original filesystem encoding when exiting
test_setfilesystemencoding() to avoid error propagation to the other tests.
2010-03-25 12:24:38 +00:00
Benjamin Peterson
e777a68682
Blocked revisions 79413 via svnmerge
...
........
r79413 | benjamin.peterson | 2010-03-24 22:44:24 -0500 (Wed, 24 Mar 2010) | 1 line
make an attempt to add capsule to the Windows build
........
2010-03-25 03:46:05 +00:00
Larry Hastings
048bb6e212
Blocked revisions 79410 via svnmerge
...
........
r79410 | larry.hastings | 2010-03-24 18:23:27 -0700 (Wed, 24 Mar 2010) | 2 lines
Remove extraneous experimental code checked in by accident.
........
2010-03-25 01:25:31 +00:00
Benjamin Peterson
af257f6967
Merged revisions 79403 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79403 | benjamin.peterson | 2010-03-24 20:04:58 -0500 (Wed, 24 Mar 2010) | 1 line
set eol on email example
........
2010-03-25 01:21:09 +00:00
Benjamin Peterson
98579c62c5
Blocked revisions 79402,79406 via svnmerge
...
........
r79402 | benjamin.peterson | 2010-03-24 20:03:51 -0500 (Wed, 24 Mar 2010) | 1 line
set bsddb eol style
........
r79406 | benjamin.peterson | 2010-03-24 20:05:57 -0500 (Wed, 24 Mar 2010) | 1 line
fix eol properties on capsule files
........
2010-03-25 01:11:10 +00:00
Victor Stinner
00d6a1d5d5
Merged revisions 79392 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79392 | victor.stinner | 2010-03-25 01:21:53 +0100 (jeu., 25 mars 2010) | 3 lines
Issue #8211 : Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
optimizations are disabled when --with-pydebug is used.
........
2010-03-25 01:02:29 +00:00
Larry Hastings
1d85bf49c3
Blocked revisions 79397 via svnmerge
...
........
r79397 | larry.hastings | 2010-03-24 17:54:54 -0700 (Wed, 24 Mar 2010) | 4 lines
Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
........
2010-03-25 00:57:10 +00:00
Victor Stinner
41ff399486
Merged revisions 79395 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79395 | victor.stinner | 2010-03-25 01:51:58 +0100 (jeu., 25 mars 2010) | 5 lines
Fix _curses.tiget*() functions: deny None to avoid a crash.
Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None),
_curses.tigetstr(None).
........
2010-03-25 00:55:12 +00:00
Victor Stinner
120c21227a
Issue #8226 : sys.setfilesystemencoding() raises a LookupError if the encoding
...
is unknown.
2010-03-25 00:30:28 +00:00
Steven Bethard
cd4ec0e273
Merged revisions 79388 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79388 | steven.bethard | 2010-03-24 16:03:24 -0700 (Wed, 24 Mar 2010) | 1 line
Replace license with simple attribution.
........
2010-03-24 23:07:31 +00:00
Benjamin Peterson
2b37fc4ce3
Merged revisions 79385 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79385 | benjamin.peterson | 2010-03-24 17:03:09 -0500 (Wed, 24 Mar 2010) | 1 line
replace copy right notice with simple attribution
........
2010-03-24 22:10:42 +00:00
Florent Xicluna
c857592dd8
Revert improper merge in test_inspect (r79251).
2010-03-24 17:37:49 +00:00
Martin v. Löwis
60f9aab7fa
Merged revisions 79374 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79374 | martin.v.loewis | 2010-03-24 16:05:53 +0100 (Mi, 24 Mär 2010) | 2 lines
Add Brian Curtin.
........
2010-03-24 15:07:12 +00:00
R. David Murray
a1135543dd
Fix porting mistake in r79298.
2010-03-24 00:29:21 +00:00
Ezio Melotti
8bc4bbd21d
Merged revisions 79362 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79362 | ezio.melotti | 2010-03-24 01:53:20 +0200 (Wed, 24 Mar 2010) | 1 line
Another typo.
........
2010-03-23 23:56:06 +00:00
Ezio Melotti
845994d616
Merged revisions 79358 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79358 | ezio.melotti | 2010-03-24 01:26:21 +0200 (Wed, 24 Mar 2010) | 1 line
#8217 : typo.
........
2010-03-23 23:29:39 +00:00
Benjamin Peterson
65b4ec500c
Merged revisions 79351 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79351 | benjamin.peterson | 2010-03-23 15:58:37 -0500 (Tue, 23 Mar 2010) | 1 line
the == test doesn't work on Solaris #8210
........
2010-03-23 21:02:34 +00:00
Senthil Kumaran
5b58f5e509
Merged revisions 79329 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79329 | senthil.kumaran | 2010-03-23 14:16:31 +0530 (Tue, 23 Mar 2010) | 2 lines
Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs
........
2010-03-23 11:00:53 +00:00
Benjamin Peterson
0af9398d27
Merged revisions 79306,79311,79325 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
................
r79306 | benjamin.peterson | 2010-03-22 17:40:06 -0500 (Mon, 22 Mar 2010) | 21 lines
Merged revisions 79077,79137,79304-79305 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79077 | benjamin.peterson | 2010-03-18 18:05:29 -0500 (Thu, 18 Mar 2010) | 1 line
port detect_encoding improvements from py3k
........
r79137 | benjamin.peterson | 2010-03-20 11:12:53 -0500 (Sat, 20 Mar 2010) | 1 line
add a fixer for setting sys.exitfunc #2356
........
r79304 | benjamin.peterson | 2010-03-22 17:20:22 -0500 (Mon, 22 Mar 2010) | 1 line
fix test_parser when it's run in a path with spaces #7666
........
r79305 | benjamin.peterson | 2010-03-22 17:27:07 -0500 (Mon, 22 Mar 2010) | 1 line
normalize whitespace
........
................
r79311 | benjamin.peterson | 2010-03-22 17:54:42 -0500 (Mon, 22 Mar 2010) | 9 lines
Merged revisions 79309 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79309 | benjamin.peterson | 2010-03-22 17:50:47 -0500 (Mon, 22 Mar 2010) | 1 line
pass correct symbol in
........
................
r79325 | benjamin.peterson | 2010-03-22 22:03:55 -0500 (Mon, 22 Mar 2010) | 13 lines
Merged revisions 79313,79324 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79313 | benjamin.peterson | 2010-03-22 17:59:57 -0500 (Mon, 22 Mar 2010) | 1 line
another case where a symbol is needed
........
r79324 | benjamin.peterson | 2010-03-22 21:59:47 -0500 (Mon, 22 Mar 2010) | 1 line
use unicode literals
........
................
2010-03-23 03:22:05 +00:00
Ezio Melotti
d96b2f249d
Merged revisions 79320 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79320 | ezio.melotti | 2010-03-23 02:38:12 +0200 (Tue, 23 Mar 2010) | 1 line
Link specifically to the UCD version 5.2.0.
........
2010-03-23 00:39:22 +00:00
Ezio Melotti
b1493b8edd
Merged revisions 79316 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79316 | ezio.melotti | 2010-03-23 02:25:19 +0200 (Tue, 23 Mar 2010) | 1 line
Remove link to objects.rst (gone in r79179).
........
2010-03-23 00:32:49 +00:00
Antoine Pitrou
39b3543174
Issue #8139 : ossaudiodev didn't initialize its types properly, therefore
...
some methods (such as oss_mixer_device.fileno()) were not available.
Initial patch by Bertrand Janin.
2010-03-23 00:25:54 +00:00
Ezio Melotti
4c5475d196
Merged revisions 79314 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79314 | ezio.melotti | 2010-03-23 01:07:32 +0200 (Tue, 23 Mar 2010) | 1 line
Update the version number of the Unicode Database in a few more places.
........
2010-03-22 23:16:42 +00:00
Antoine Pitrou
910bd51ea1
Merged revisions 79299 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79299 | antoine.pitrou | 2010-03-22 20:59:46 +0100 (lun., 22 mars 2010) | 5 lines
Issue #7512 : shutil.copystat() could raise an OSError when the filesystem
didn't support chflags() (for example ZFS under FreeBSD). The error is
now silenced.
........
2010-03-22 20:11:09 +00:00
R. David Murray
ca2edce676
Merged revisions 79294 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79294 | r.david.murray | 2010-03-22 11:55:09 -0400 (Mon, 22 Mar 2010) | 4 lines
Issue #7860 : platform.uname now reports the correct 'machine' type
when Python is running in WOW64 mode on 64 bit Windows. Patch by
Brian Curtin.
........
2010-03-22 17:48:48 +00:00
Antoine Pitrou
37c1f18a72
Fix a blunder in r79287. This part is, obviously, poorly tested (if at all).
2010-03-22 15:07:09 +00:00
Antoine Pitrou
5733c08f55
Merged revisions 79226,79286 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79226 | antoine.pitrou | 2010-03-21 20:33:38 +0100 (dim., 21 mars 2010) | 4 lines
Issue #3890 : Fix recv() and recv_into() on non-blocking SSL sockets.
........
r79286 | antoine.pitrou | 2010-03-22 15:41:48 +0100 (lun., 22 mars 2010) | 3 lines
Fix an occasional test_ftplib failure, following r79226.
........
2010-03-22 14:49:10 +00:00
Victor Stinner
808fc0a0ee
Merged revisions 79278,79280 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79278 | victor.stinner | 2010-03-22 13:24:37 +0100 (lun., 22 mars 2010) | 2 lines
Issue #1583863 : An unicode subclass can now override the __str__ method
........
r79280 | victor.stinner | 2010-03-22 13:36:28 +0100 (lun., 22 mars 2010) | 5 lines
Fix the NEWS about my last commit: an unicode subclass can now override the
__unicode__ method (and not the __str__ method).
Simplify also the testcase.
........
2010-03-22 12:50:40 +00:00
Victor Stinner
0477bf3a93
Fix a crash in _elementtree related to lone unicode surrogates.
...
Fix a segfault on:
>>> import _elementtree
>>> _elementtree.iterparse('/bin/sh', ("\uDC80", "\ud808\udf45"))
2010-03-22 12:11:44 +00:00
Benjamin Peterson
eab4b4c784
Merged revisions 79274 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79274 | michael.foord | 2010-03-21 21:49:08 -0500 (Sun, 21 Mar 2010) | 1 line
Correct usage message displayed for python -m unittest -h
........
2010-03-22 02:53:52 +00:00
Benjamin Peterson
f8197c3489
Merged revisions 79270 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79270 | michael.foord | 2010-03-21 20:56:54 -0500 (Sun, 21 Mar 2010) | 1 line
expected failure should not trigger failfast behavior in unittest.
........
2010-03-22 02:02:37 +00:00
Victor Stinner
e3a1f6d3b7
Issue #4282 : Fix the main function of the profile module for a non-ASCII
...
script, open the file in binary mode and not in text mode with the default
(utf8) encoding.
2010-03-22 01:58:35 +00:00
Benjamin Peterson
434ae7703d
Merged revisions 79268 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79268 | michael.foord | 2010-03-21 20:41:11 -0500 (Sun, 21 Mar 2010) | 1 line
Removing Python 2.3 compatibility code from unittest.
........
2010-03-22 01:46:47 +00:00
Benjamin Peterson
8769fd8a17
Merged revisions 79265-79266 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79265 | michael.foord | 2010-03-21 20:01:34 -0500 (Sun, 21 Mar 2010) | 1 line
-f/--failfast command line option for unittest. Issue 8074. Documentation still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest
........
r79266 | michael.foord | 2010-03-21 20:02:23 -0500 (Sun, 21 Mar 2010) | 1 line
Fix failing test committed by accident.
........
2010-03-22 01:13:48 +00:00
Benjamin Peterson
dccc1fcfaf
Merged revisions 79263 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79263 | michael.foord | 2010-03-21 19:06:30 -0500 (Sun, 21 Mar 2010) | 1 line
Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.
........
2010-03-22 00:15:53 +00:00
Benjamin Peterson
a6884fc0fd
Recorded merge of revisions 79047 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79047 | senthil.kumaran | 2010-03-18 07:14:15 -0500 (Thu, 18 Mar 2010) | 3 lines
Fix for Issue8135 - urllib.unquote to support mixed percent escapes
........
2010-03-21 23:25:07 +00:00
Benjamin Peterson
e90f54e384
Merged revisions 79138-79139 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79138 | benjamin.peterson | 2010-03-20 11:16:44 -0500 (Sat, 20 Mar 2010) | 1 line
document exitfunc fixer
........
r79139 | benjamin.peterson | 2010-03-20 11:17:37 -0500 (Sat, 20 Mar 2010) | 1 line
wrap
........
2010-03-21 23:17:57 +00:00
Benjamin Peterson
886af966d8
Merged revisions 78966,78970,79018,79026-79027,79055,79156,79159,79163-79164,79173,79176,79194,79208,79212 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78966 | florent.xicluna | 2010-03-14 10:20:59 -0500 (Sun, 14 Mar 2010) | 2 lines
Do not hardcode Expat version. It's possible to build Python with --with-system-expat option.
........
r78970 | benjamin.peterson | 2010-03-14 21:58:24 -0500 (Sun, 14 Mar 2010) | 1 line
this little exception dance is pointless
........
r79018 | collin.winter | 2010-03-16 22:04:01 -0500 (Tue, 16 Mar 2010) | 1 line
Delete unused import.
........
r79026 | vinay.sajip | 2010-03-17 10:05:57 -0500 (Wed, 17 Mar 2010) | 1 line
Issue #8162 : logging: Clarified docstring and documentation for disable function.
........
r79027 | collin.winter | 2010-03-17 12:36:16 -0500 (Wed, 17 Mar 2010) | 1 line
Avoid hardcoding refcounts in tests.
........
r79055 | benjamin.peterson | 2010-03-18 16:30:48 -0500 (Thu, 18 Mar 2010) | 1 line
remove installation of deleted test/output dir
........
r79156 | florent.xicluna | 2010-03-20 17:21:02 -0500 (Sat, 20 Mar 2010) | 2 lines
Cleanup test_struct using check_warnings.
........
r79159 | florent.xicluna | 2010-03-20 17:26:42 -0500 (Sat, 20 Mar 2010) | 2 lines
Cleanup test_tarfile, and use check_warnings.
........
r79163 | michael.foord | 2010-03-20 19:53:39 -0500 (Sat, 20 Mar 2010) | 1 line
A faulty load_tests in a test module no longer halts test discovery. A placeholder test, that reports the failure, is created instead.
........
r79164 | michael.foord | 2010-03-20 19:55:58 -0500 (Sat, 20 Mar 2010) | 1 line
Change order of arguments in a unittest function.
........
r79173 | georg.brandl | 2010-03-21 04:09:38 -0500 (Sun, 21 Mar 2010) | 1 line
Document that GzipFile supports iteration.
........
r79176 | georg.brandl | 2010-03-21 04:17:41 -0500 (Sun, 21 Mar 2010) | 1 line
Introduce copy by slicing, used in later chapters.
........
r79194 | florent.xicluna | 2010-03-21 06:58:11 -0500 (Sun, 21 Mar 2010) | 2 lines
Use assertRaises and add a specific warning filter.
........
r79208 | andrew.kuchling | 2010-03-21 13:47:12 -0500 (Sun, 21 Mar 2010) | 1 line
Add items
........
r79212 | georg.brandl | 2010-03-21 14:01:38 -0500 (Sun, 21 Mar 2010) | 1 line
Fix plural.
........
2010-03-21 23:13:07 +00:00
Benjamin Peterson
11dbfd4195
Merged revisions 78417 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78417 | dirkjan.ochtman | 2010-02-23 22:49:00 -0600 (Tue, 23 Feb 2010) | 1 line
Issue #7427 : improve the representation of httplib.BadStatusLine exceptions.
........
2010-03-21 22:50:04 +00:00
Benjamin Peterson
f61ff6d792
Blocked revisions 78722 via svnmerge
...
........
r78722 | florent.xicluna | 2010-03-06 05:01:08 -0600 (Sat, 06 Mar 2010) | 2 lines
#6906 : TCL_LIBRARY and TK_LIBRARY environment variables should be encoded.
........
2010-03-21 22:46:35 +00:00