Commit Graph

37128 Commits

Author SHA1 Message Date
Neal Norwitz 06db799a53 Update props for r66007. 2008-08-24 05:54:11 +00:00
Neal Norwitz 2f99b24172 Merged revisions 66006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)

........
  r66006 | neal.norwitz | 2008-08-23 22:04:52 -0700 (Sat, 23 Aug 2008) | 25 lines

  Fix:
   * crashes on memory allocation failure found with failmalloc
   * memory leaks found with valgrind
   * compiler warnings in opt mode which would lead to invalid memory reads
   * problem using wrong name in decimal module reported by pychecker

  Update the valgrind suppressions file with new leaks that are small/one-time
  leaks we don't care about (ie, they are too hard to fix).

  TBR=barry
  TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
    in opt mode:
    valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
      ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
                          -x test_logging test_ssl test_multiprocessing
    valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
      ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
    for i in `seq 1 4000` ; do
      LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
          ./python -c pass
    done

  At least some of these fixes should probably be backported to 2.5.
........
2008-08-24 05:48:10 +00:00
Benjamin Peterson c4b153542d Blocked revisions 66004 via svnmerge
........
  r66004 | benjamin.peterson | 2008-08-23 16:40:15 -0500 (Sat, 23 Aug 2008) | 1 line

  fix warning
........
2008-08-23 21:48:02 +00:00
Benjamin Peterson 487b9dc002 bring the PyFile docs into sync with reality 2008-08-23 21:04:47 +00:00
Benjamin Peterson 6784eb79c9 #3643 add more checks to _testcapi to prevent segfaults
Author: Victor Stinner
Reviewer: Benjamin Peterson
2008-08-23 20:32:27 +00:00
Benjamin Peterson bc74e5be1a add NEWS note and test for last commit 2008-08-23 20:19:17 +00:00
Benjamin Peterson 2658260f3b fix #3653 Python could segfault if invalid values were passed to sys.excepthook
Author: Daniel Diniz
Reviewer: Georg Brandl
2008-08-23 20:08:07 +00:00
Georg Brandl 3c9d2efdd4 Blocked revisions 65995 via svnmerge
........
  r65995 | georg.brandl | 2008-08-23 17:15:31 +0200 (Sat, 23 Aug 2008) | 2 lines

  Small updates to types member docs, backport from r65994.
........
2008-08-23 15:21:08 +00:00
Georg Brandl d66a029511 Remove outdated example from types module doc. Since the types left
in the modules are obscure, I didn't add a substitute example.
2008-08-23 15:14:57 +00:00
Hye-Shik Chang 50d1f7935d #1276: Add temporary encoding aliases for non-supported Mac CJK
encodings that are detected as system defaults in MacOS with CJK
locales.  Will be replaced by properly-implemented codecs in 3.1.
2008-08-23 08:03:03 +00:00
Amaury Forgeot d'Arc 20443f3043 #3650: fix a reference leak in bytes.split('x')
Actually the same as r65785, but trunk only has bytearray.
2008-08-22 22:05:20 +00:00
Benjamin Peterson b6f9806bd6 Merged revisions 65982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65982 | benjamin.peterson | 2008-08-22 15:43:48 -0500 (Fri, 22 Aug 2008) | 4 lines

  fix a few get_name() calls and turn then to .name

  Reviewer: Christian Heimes
........
2008-08-22 20:50:59 +00:00
Christian Heimes e9cf5e3495 Merged revisions 65978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65978 | christian.heimes | 2008-08-22 21:55:54 +0200 (Fri, 22 Aug 2008) | 3 lines

  Silenced a compiler warning in the sqlite module
  Modules/_sqlite/row.c:187: warning: suggest parentheses around && within ||
  Reviewed by Benjamin Peterson
........
2008-08-22 19:56:47 +00:00
Christian Heimes 6144bee228 Merged revisions 65975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65975 | christian.heimes | 2008-08-22 21:34:15 +0200 (Fri, 22 Aug 2008) | 1 line

  Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
........
2008-08-22 19:38:45 +00:00
Robert Schuppenies ffeef9044e Merged revisions 65971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65971 | robert.schuppenies | 2008-08-22 10:03:43 +0200 (Fri, 22 Aug 2008) | 2 lines

  Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson.
........
2008-08-22 08:27:53 +00:00
Benjamin Peterson 6b84b6c6dc Blocked revisions 65922,65926 via svnmerge
........
  r65922 | barry.warsaw | 2008-08-20 20:15:08 -0500 (Wed, 20 Aug 2008) | 2 lines

  Bump to 2.6b3.
........
  r65926 | barry.warsaw | 2008-08-20 21:12:56 -0500 (Wed, 20 Aug 2008) | 1 line

  done with the release
........
2008-08-22 00:57:24 +00:00
Mark Dickinson 42a72ee181 Merged revisions 65964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65964 | mark.dickinson | 2008-08-21 22:38:38 +0100 (Thu, 21 Aug 2008) | 7 lines

  issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, so
  rewrite float.fromhex to only allow ASCII hex digits on all platforms.
  (Tests for this are already present, but the test_float failures
  on Solaris hadn't been noticed before.)

  Reviewed by Antoine Pitrou.
........
2008-08-21 21:40:15 +00:00
Mark Dickinson 589b795986 Merged revisions 65958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65958 | mark.dickinson | 2008-08-21 21:02:24 +0100 (Thu, 21 Aug 2008) | 5 lines

  Fix float.fromhex test to give additional information on failure.  This
  change is aimed at diagnosing issue 3633 (test_float fails on Solaris).

  Reviewed by Benjamin Peterson
........
2008-08-21 20:05:56 +00:00
Benjamin Peterson 9b6760225a move test to a better location 2008-08-21 17:00:40 +00:00
Benjamin Peterson f9aefce634 PyObject_Unicode doesn't exist anymore 2008-08-21 16:51:15 +00:00
Barry Warsaw 8509df7f9d done with 3.0 2008-08-21 03:02:47 +00:00
Barry Warsaw 238444e09f Tagging 3.0b3 2008-08-21 02:40:46 +00:00
Barry Warsaw 57c1058c34 Bumping to 3.0b3 2008-08-21 02:39:51 +00:00
Benjamin Peterson 6e7740c790 apply a fix for #3611 where the current exception context was deleted with a generator causing a segfault 2008-08-20 23:23:34 +00:00
Amaury Forgeot d'Arc 41e36676cd #3614: Correct a typo in xmlrpc.client. 2008-08-20 21:35:50 +00:00
Hirokazu Yamamoto 84c43ab556 Blocked revisions 65917 via svnmerge
........
  r65917 | hirokazu.yamamoto | 2008-08-21 01:15:28 +0900 | 1 line

  Reverted r65900. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
........
2008-08-20 16:20:46 +00:00
Hirokazu Yamamoto ca765d5828 Reverted r65901 and uses GetVolumeInformationW because string in py3k is unicode.
See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
2008-08-20 16:18:19 +00:00
Guido van Rossum 87c624421f Blocked revisions 65914 via svnmerge
........
  r65914 | guido.van.rossum | 2008-08-20 08:01:50 -0700 (Wed, 20 Aug 2008) | 2 lines

  News for the tp_flags change.
........
2008-08-20 15:02:34 +00:00
Guido van Rossum 9253b8c98e Blocked revisions 65912 via svnmerge
........
  r65912 | guido.van.rossum | 2008-08-20 07:57:20 -0700 (Wed, 20 Aug 2008) | 2 lines

  News for the imageop fix.
........
2008-08-20 14:59:20 +00:00
Hirokazu Yamamoto c4523628a7 Merged revisions 65908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65908 | hirokazu.yamamoto | 2008-08-20 22:14:07 +0900 | 1 line

  Issue #3612: Added some missing basic types in ctypes.wintypes.
........
2008-08-20 13:42:16 +00:00
Benjamin Peterson b71caf186a revert 65897 2008-08-20 12:55:31 +00:00
Amaury Forgeot d'Arc 768008c6e2 For some reason sys.stdin may be None on Windows, and makes test_multiprocessing fail.
Since we are closing the fileno anyway, the best is to skip this part.

Now test_multiprocessing should pass on Windows.
2008-08-20 09:04:46 +00:00
Amaury Forgeot d'Arc d757e73f66 Partially revert r65883 to let the tests pass.
I am working on the proper fix, which is to use the custom pickler in connection.send(),
instead of the standard pickle.dumps().
2008-08-20 08:58:40 +00:00
Mark Summerfield 8676534082 Tiny fix of IGNORECASE plus removal of a UNICODE reference. 2008-08-20 07:40:18 +00:00
Mark Summerfield 6c4f617922 Revised all texts concerning the ASCII flag: (1) put Unicode case first
(since that's the default), (2) made all descriptions consistent, (3)
dropped mention of re.LOCALE in most places since it is not recommended.
2008-08-20 07:34:41 +00:00
Hirokazu Yamamoto 5ef6d18bdf Merged revisions 65900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65900 | hirokazu.yamamoto | 2008-08-20 13:13:28 +0900 | 1 line

  fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk)
........
2008-08-20 04:17:24 +00:00
Benjamin Peterson 3938a90a4a Merged revisions 65885,65892,65894,65898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65885 | benjamin.peterson | 2008-08-19 17:06:11 -0500 (Tue, 19 Aug 2008) | 1 line

  check that the parser module can handle the new keyword syntax
........
  r65892 | benjamin.peterson | 2008-08-19 20:27:30 -0500 (Tue, 19 Aug 2008) | 1 line

  add a NEWS note for new args syntax
........
  r65894 | benjamin.peterson | 2008-08-19 20:44:45 -0500 (Tue, 19 Aug 2008) | 2 lines

  newSymbolTable is not public API
........
  r65898 | benjamin.peterson | 2008-08-19 21:15:42 -0500 (Tue, 19 Aug 2008) | 1 line

  fix silly errors of mine
........
2008-08-20 02:33:00 +00:00
Benjamin Peterson 9f9fc68b0f return sets instead of tuples from some symtable methods 2008-08-20 02:06:00 +00:00
Benjamin Peterson 87069fd8fe kill the obsolete symtable.Symbol methods 2008-08-20 02:00:14 +00:00
Benjamin Peterson a5e37e6cc3 Blocked revisions 65806,65880,65891,65893 via svnmerge
........
  r65806 | marc-andre.lemburg | 2008-08-18 06:13:45 -0500 (Mon, 18 Aug 2008) | 3 lines

  Restore Python 2.3 compatibility and remove "with" usage.
........
  r65880 | guido.van.rossum | 2008-08-19 16:02:04 -0500 (Tue, 19 Aug 2008) | 2 lines

  Issue 1179: [CVE-2007-4965] Integer overflow in imageop module.
........
  r65891 | amaury.forgeotdarc | 2008-08-19 19:08:47 -0500 (Tue, 19 Aug 2008) | 2 lines

  follow-up of issue3473: update the compiler package to recognize the new syntax.
........
  r65893 | benjamin.peterson | 2008-08-19 20:42:01 -0500 (Tue, 19 Aug 2008) | 1 line

  deprecate some useless, noop methods in symtable
........
2008-08-20 01:51:10 +00:00
Amaury Forgeot d'Arc 629acd75aa Blocked revisions 65016 via svnmerge
........
  r65016 | jesse.noller | 2008-07-16 16:32:36 +0200 (mer., 16 juil. 2008) | 2 lines

  Apply Amaury's patch to multiprocessing for issue 3125, removes the copy_reg and replaces it with ForkingPickler.register(), which should resolve the conflict with the global registry/ctypes
........
2008-08-19 23:30:42 +00:00
Benjamin Peterson e9ea19e2e3 disable test_nis; it hangs 2008-08-19 23:02:38 +00:00
Antoine Pitrou 616d28566b Issue #2394: implement more of the memoryview API. 2008-08-19 22:09:34 +00:00
Benjamin Peterson 4aeec04624 Merged revisions 65658,65869,65882 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r65658 | bill.janssen | 2008-08-12 12:09:57 -0500 (Tue, 12 Aug 2008) | 1 line

  update ssl documentation
................
  r65869 | benjamin.peterson | 2008-08-19 14:27:53 -0500 (Tue, 19 Aug 2008) | 1 line

  fix a little typo
................
  r65882 | benjamin.peterson | 2008-08-19 16:07:15 -0500 (Tue, 19 Aug 2008) | 9 lines

  Merged revisions 65876 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r65876 | benjamin.peterson | 2008-08-19 15:54:52 -0500 (Tue, 19 Aug 2008) | 1 line

    apply a fix I think will help Windows
  ........
................
2008-08-19 21:42:13 +00:00
Amaury Forgeot d'Arc 949d47dc7a Issue #3125: Remove copy_reg in multiprocessing and replace it with
ForkingPickler.register() to resolve conflict with ctypes.
2008-08-19 21:30:55 +00:00
Guido van Rossum 3ad89100c1 Remove four uu-encoded image files that were once useful for testing
imgfile, rgbimg and imageop.  None of those modules exist any more...
2008-08-19 21:04:40 +00:00
Antoine Pitrou 53a2bb447e Fix a failure in bsddb tests, following the changes in regular expression semantics 2008-08-19 21:01:52 +00:00
Benjamin Peterson 2d735bc098 allow keyword args after *args in a function call 2008-08-19 20:57:10 +00:00
Guido van Rossum de0de885f7 Blocked revisions 65874 via svnmerge
........
  r65874 | guido.van.rossum | 2008-08-19 13:13:02 -0700 (Tue, 19 Aug 2008) | 3 lines

  Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG from
  Py_TPFLAGS_DEFAULT when not building the core.
........
2008-08-19 20:15:03 +00:00
Benjamin Peterson a525ddc321 Blocked revisions 65872 via svnmerge
........
  r65872 | benjamin.peterson | 2008-08-19 14:52:46 -0500 (Tue, 19 Aug 2008) | 1 line

  allow keyword args to be passed in after *args #3473
........
2008-08-19 19:55:35 +00:00