Commit Graph

41211 Commits

Author SHA1 Message Date
Florent Xicluna c049d870b5 Merged revisions 79344,79346,79350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79344 | florent.xicluna | 2010-03-23 15:36:45 +0100 (mar, 23 mar 2010) | 2 lines

  Silence test_subprocess.
........
  r79346 | florent.xicluna | 2010-03-23 16:05:30 +0100 (mar, 23 mar 2010) | 2 lines

  The standard error should be empty when the signal is killed, except on SIGINT.
........
  r79350 | florent.xicluna | 2010-03-23 20:19:16 +0100 (mar, 23 mar 2010) | 2 lines

  The SIGINT signal may happen earlier, during site.py initialization.
........
2010-03-27 22:47:23 +00:00
Florent Xicluna d35f117192 Blocked revisions 79288,79295-79296,79334,79378 via svnmerge
........
  r79288 | florent.xicluna | 2010-03-22 16:02:46 +0100 (lun, 22 mar 2010) | 2 lines

  Get rid of buffer() in test_ctypes:  backport the 3.x tests.
........
  r79295 | florent.xicluna | 2010-03-22 17:07:38 +0100 (lun, 22 mar 2010) | 3 lines

  Issue #7703: ctypes supports both buffer() and memoryview().  The former is deprecated.
  Complement of r79288.
........
  r79296 | florent.xicluna | 2010-03-22 17:36:51 +0100 (lun, 22 mar 2010) | 3 lines

  Preserve backward compatibility of the ctypes module.
  "This file should be kept compatible with Python 2.3, see PEP 291."
........
  r79334 | florent.xicluna | 2010-03-23 12:07:54 +0100 (mar, 23 mar 2010) | 2 lines

  Skip test_format_deprecation if _ctypes is not available.  Add a filter to the warning check.
........
  r79378 | florent.xicluna | 2010-03-24 18:32:58 +0100 (mer, 24 mar 2010) | 3 lines

  Skip test_ascii_formatd if _ctypes is not available (BSD, ...).
  Previous change was incomplete (r79334).
........
2010-03-27 22:18:04 +00:00
Michael Foord bf1fab4aa0 Merged revisions 79468 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79468 | michael.foord | 2010-03-27 13:42:34 +0000 (Sat, 27 Mar 2010) | 1 line

  Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
........
2010-03-27 13:45:04 +00:00
Michael Foord ff5366d2be Blocked revisions 79443 via svnmerge
........
  r79443 | benjamin.peterson | 2010-03-26 13:53:32 +0000 (Fri, 26 Mar 2010) | 1 line

  reorder imports
........
2010-03-27 13:29:35 +00:00
Michael Foord e65d8487bc Merged revisions 79442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79442 | michael.foord | 2010-03-26 13:07:38 +0000 (Fri, 26 Mar 2010) | 1 line

  Makefile.pre.in for the unittest/test directory
........
2010-03-27 13:28:27 +00:00
Michael Foord 65b69a1093 Merged revisions 79437 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79437 | michael.foord | 2010-03-26 03:18:31 +0000 (Fri, 26 Mar 2010) | 1 line

  Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
........
2010-03-27 13:25:41 +00:00
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