Commit Graph

39681 Commits

Author SHA1 Message Date
R. David Murray 765b976a81 PEP-8-ify r73389. 2009-07-15 14:16:54 +00:00
Brett Cannon b49c70c7d3 Importlib was using custom code to discover all test modules in importlib.test.
This has now been removed in favor of using unittest's test discovery code in
TestLoader.discover().
2009-07-15 04:08:33 +00:00
Amaury Forgeot d'Arc d8840860df Oops, really pass a bytes string to the ctypes function. 2009-07-13 20:48:07 +00:00
Amaury Forgeot d'Arc 8b84ea0aa4 Merged revisions 74000-74001 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74000 | amaury.forgeotdarc | 2009-07-13 22:01:11 +0200 (lun., 13 juil. 2009) | 4 lines

  #1616979: Add the cp720 (Arabic DOS) encoding.
  Since there is no official mapping file from unicode.org,
  the codec file is generated on Windows with the new genwincodec.py script.
........
  r74001 | amaury.forgeotdarc | 2009-07-13 22:03:21 +0200 (lun., 13 juil. 2009) | 2 lines

  NEWS entry for r74000.
........
2009-07-13 20:38:21 +00:00
Amaury Forgeot d'Arc 514ae0178d Merged revisions 73998 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73998 | amaury.forgeotdarc | 2009-07-13 21:14:17 +0200 (lun., 13 juil. 2009) | 3 lines

  Set svn:eol-style=CRLF on all Visual Studio solution files.
  This should allow direct compilation from a downloaded source tar ball.
........
2009-07-13 19:17:00 +00:00
Vinay Sajip d4fabf410d Issue #6314: logging: Extra checks on the "level" argument. 2009-07-13 11:28:25 +00:00
Benjamin Peterson f67367e28b Unblocked revisions 73991 via svnmerge
........
  r73991 | benjamin.peterson | 2009-07-12 18:56:18 -0500 (Sun, 12 Jul 2009) | 1 line

  change encoding to utf-8
........
2009-07-13 00:00:31 +00:00
Benjamin Peterson 4e4b69c39b Blocked revisions 73991 via svnmerge
........
  r73991 | benjamin.peterson | 2009-07-12 18:56:18 -0500 (Sun, 12 Jul 2009) | 1 line

  change encoding to utf-8
........
2009-07-12 23:58:08 +00:00
Kristján Valur Jónsson f6087ca999 merging revision 73986 from trunk:
http://bugs.python.org/issue6267
Add more tests for the xlmrpc.ServerProxy
2009-07-12 22:45:18 +00:00
Raymond Hettinger 6db9470efd Document the thousands separator. 2009-07-12 20:49:21 +00:00
Benjamin Peterson aa97b6c929 Blocked revisions 73979 via svnmerge
........
  r73979 | benjamin.peterson | 2009-07-12 11:56:54 -0500 (Sun, 12 Jul 2009) | 1 line

  add versionadded
........
2009-07-12 17:02:22 +00:00
Amaury Forgeot d'Arc 1c25de69ee Merged revisions 73952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

(Only docstrings were modified, won't backport to 3.1)

........
  r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines

  #2622 Import errors in email.message, from a py2app standalone application.

  Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
........
2009-07-12 16:43:19 +00:00
Tarek Ziadé c9e6cecdce Fixed #6438: distutils.cygwinccompiler.get_versions was trying to use a re string pattern on a bytes 2009-07-12 08:27:26 +00:00
Kristján Valur Jónsson 1bbb19aad2 merging revision 73932 from trunk:
http://bugs.python.org/issue6460
Need to be careful with thread switching when testing the xmlrpc server.  The server thread may not have updated stats when the client thread tests them.
2009-07-11 21:57:16 +00:00
Ezio Melotti 76430242e7 Merged revisions 73931 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73931 | ezio.melotti | 2009-07-10 23:25:56 +0300 (Fri, 10 Jul 2009) | 1 line

  more cleanups and if zlib -> skipUnless(zlib)
........
2009-07-11 18:28:48 +00:00
Tarek Ziadé 5e840cfd01 Blocked revisions 73944 via svnmerge
........
  r73944 | tarek.ziade | 2009-07-11 12:48:31 +0200 (Sat, 11 Jul 2009) | 1 line

  cleaned up distutils.build_ext module
........
2009-07-11 11:02:29 +00:00
Tarek Ziadé 6504c664dc Merged revisions 73946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line

  fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
........
2009-07-11 10:59:56 +00:00
Georg Brandl 21dc5bacad #6421: The self argument of module-level PyCFunctions is now a reference to the module object. 2009-07-11 10:43:08 +00:00
Georg Brandl 216cca7d44 #6430: remove mention of "w" array typecode. 2009-07-11 10:39:23 +00:00
Georg Brandl 9cbb125d7d Merged revisions 73940 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73940 | georg.brandl | 2009-07-11 12:37:38 +0200 (Sa, 11 Jul 2009) | 1 line

  #6430: add note about size of "u" type.
........
2009-07-11 10:39:00 +00:00
Georg Brandl 489cb4f0b9 Revert r73807, which removed code to be able to build _dbm with bsddb. 2009-07-11 10:08:49 +00:00
Amaury Forgeot d'Arc 97e5f281a7 #6358: Merge r73933: Add basic tests for the return value of os.popen().close().
And fix the implementation to make these tests pass with py3k
2009-07-11 09:35:13 +00:00
Tarek Ziadé 15ccb3d3f7 Merged revisions 73925-73926 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73925 | tarek.ziade | 2009-07-10 11:57:15 +0200 (Fri, 10 Jul 2009) | 1 line

  Added test coverage for distutils.command.build
........
  r73926 | tarek.ziade | 2009-07-10 12:00:21 +0200 (Fri, 10 Jul 2009) | 1 line

  cleaned up distutils.command.build
........
2009-07-10 10:03:20 +00:00
Tarek Ziadé b7815e3110 Merged revisions 73921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line

  Fixed #6455 (the test shall use pyd files under win32, rather than so files)
........
2009-07-10 09:14:31 +00:00
Amaury Forgeot d'Arc 2de11157a8 NEWS entry for r73918. 2009-07-09 23:07:52 +00:00
Amaury Forgeot d'Arc a63505437a #6323: pdb doesn't deal well with SyntaxErrors.
It seems necessary to keep two layers of 'exec' (one in Bdb.run, one in Pdb._runscript);
this allows the tracing function to be active when the inner 'exec' runs
and tries to compile the real code.

This partially revert r58127, the net effet of the two changes is to replace
"exec('%s')" with "exec(%r)".
2009-07-09 23:00:40 +00:00
Amaury Forgeot d'Arc ace3102131 Merged revisions 73916 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73916 | amaury.forgeotdarc | 2009-07-10 00:37:22 +0200 (ven., 10 juil. 2009) | 5 lines

  #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
  PIPE_BUF is not defined on Windows, and probably has no meaning there.

  Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
........
2009-07-09 22:44:11 +00:00
R. David Murray 414c91f7e4 Merged revisions 73907-73908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........
  r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines

  Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
  cleanup.  If this fix works, it means that Solaris is unique among
  our platforms in what happens when shutil.rmtree is called on the
  current working directory (ie: it doesn't work on Solaris, but
  it does everywhere else).
........
2009-07-09 20:12:31 +00:00
R. David Murray 4e15f803b1 Unblocked revisions 73907 via svnmerge
........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........
2009-07-09 19:51:32 +00:00
R. David Murray 48f4fa10dc Blocked revisions 73907 via svnmerge
........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........
2009-07-09 19:47:26 +00:00
Tarek Ziadé 26f0c64587 Merged revisions 73901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73901 | tarek.ziade | 2009-07-09 09:42:42 +0200 (Thu, 09 Jul 2009) | 1 line

  PendingDeprecationWarning -> DeprecationWarning in build_ext
........
2009-07-09 07:46:10 +00:00
Tarek Ziadé 556934b385 Merged revisions 73895 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73895 | tarek.ziade | 2009-07-09 00:40:51 +0200 (Thu, 09 Jul 2009) | 1 line

  Sets the compiler attribute to keep the old behavior for third-party packages.
........
2009-07-08 22:42:43 +00:00
Ezio Melotti 74c96ec399 Merged revisions 73841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73841 | ezio.melotti | 2009-07-04 17:58:27 +0300 (Sat, 04 Jul 2009) | 1 line

  if zlib -> skipUnless(zlib) and minor cleanups
........
2009-07-08 22:24:06 +00:00
Mark Dickinson 9b10203537 Blocked revisions 73891 via svnmerge
........
  r73891 | mark.dickinson | 2009-07-07 16:08:28 +0100 (Tue, 07 Jul 2009) | 3 lines

  Issue #1523: Remove deprecated overflow masking in struct module, and
  make sure that out-of-range values consistently raise struct.error.
........
2009-07-07 15:09:33 +00:00
Mark Dickinson a962d3cb19 Blocked revisions 73888 via svnmerge
........
  r73888 | mark.dickinson | 2009-07-07 15:15:45 +0100 (Tue, 07 Jul 2009) | 3 lines

  Expand test coverage for struct.pack with native integer packing;
  reorganize the test_struct module to remove duplicated code and tests.
........
2009-07-07 14:18:33 +00:00
Mark Dickinson 0fca648f7e Blocked revisions 73884 via svnmerge
........
  r73884 | mark.dickinson | 2009-07-07 12:08:23 +0100 (Tue, 07 Jul 2009) | 1 line

  Add skipping to struct test that only applies when overflow masking is in effect
........
2009-07-07 11:09:38 +00:00
Mark Dickinson d99620d3a0 Merged revisions 73880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73880 | mark.dickinson | 2009-07-07 11:18:22 +0100 (Tue, 07 Jul 2009) | 1 line

  Typo in error message
........
2009-07-07 10:21:03 +00:00
Kristján Valur Jónsson a5b47cea76 http://bugs.python.org/issue6382
added the shutdown_request() which can perform shutdown before calling close.  This is needed for the ForkingMixIn because different close semantics are required for child and parent process.  shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request().  Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
2009-07-07 09:09:10 +00:00
Amaury Forgeot d'Arc 783f86ecb1 Merged revisions 73873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73873 | amaury.forgeotdarc | 2009-07-07 08:49:41 +0200 (mar., 07 juil. 2009) | 2 lines

  #6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
........
2009-07-07 06:51:26 +00:00
Gregory P. Smith b0d9ca9258 Add a unittest for r73566. 2009-07-07 05:06:04 +00:00
Amaury Forgeot d'Arc 097cd072c0 #6428: py3k requires that __bool__ return a bool (and not an int)
Fix the error message and the documentation.
2009-07-07 00:43:08 +00:00
Tarek Ziadé dd07ebb44a Merged revisions 73864 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73864 | tarek.ziade | 2009-07-06 14:50:46 +0200 (Mon, 06 Jul 2009) | 1 line

  Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option)
........
2009-07-06 13:52:17 +00:00
Alexandre Vassalotti 47137250ff Add the fix for issue 4509 to the mapping methods. 2009-07-05 19:57:00 +00:00
Mark Dickinson 1d2e8b90cc Blocked revisions 73858 via svnmerge
........
  r73858 | mark.dickinson | 2009-07-05 11:01:24 +0100 (Sun, 05 Jul 2009) | 3 lines

  Issues #1530559, #1741130:  Fix various inconsistencies in struct.pack
  integer packing, and reenable some previously broken tests.
........
2009-07-05 10:03:49 +00:00
Alexandre Vassalotti 9b45cb4f27 Add NEWS entries for the changes I made recently. 2009-07-05 06:50:08 +00:00
Alexandre Vassalotti 515a74fbf9 Issue 4005: Remove .sort() call on dict_keys object.
This caused pydoc to fail when there was a zip file in sys.path.

Patch contributed by Amaury Forgeot d'Arc.
2009-07-05 06:42:44 +00:00
Alexandre Vassalotti 2fef5b4a83 Blocked revisions 73854 via svnmerge
........
  r73854 | alexandre.vassalotti | 2009-07-05 02:33:41 -0400 (Sun, 05 Jul 2009) | 2 lines

  Backport test cases added in r73852.
........
2009-07-05 06:34:48 +00:00
Alexandre Vassalotti cb812b5ced Blocked revisions 73846-73847 via svnmerge
........
  r73846 | alexandre.vassalotti | 2009-07-05 00:22:40 -0400 (Sun, 05 Jul 2009) | 6 lines

  Issue 2370: Add Python 3 warnings for the removal of operator.isCallable and
  operator.sequenceIncludes.

  Patch contributed by Jeff Balogh (and updated slightly by me).
........
  r73847 | alexandre.vassalotti | 2009-07-05 00:25:46 -0400 (Sun, 05 Jul 2009) | 2 lines

  Fix bad variable name in r73846.
........
2009-07-05 06:31:55 +00:00
Alexandre Vassalotti e503cf9b0e Fix array.extend and array.__iadd__ to handle the case where an array
is extended with itself.

This bug is specific the py3k version of arraymodule.c
2009-07-05 06:25:14 +00:00
Alexandre Vassalotti b78637a5bc Add more test cases to BaseTest.test_memoryview_no_resize. 2009-07-05 05:47:28 +00:00