Commit Graph

37551 Commits

Author SHA1 Message Date
Brett Cannon 4dfca90d60 Blocked revisions 65508 via svnmerge
........
  r65508 | brett.cannon | 2008-08-04 14:10:50 -0700 (Mon, 04 Aug 2008) | 2 lines

  Remove dict.has_key() usage in xml.sax to silence warnings under -3.
........
2008-08-04 21:13:59 +00:00
Brett Cannon 6b8e4372be Blocked revisions 65506 via svnmerge
........
  r65506 | brett.cannon | 2008-08-04 14:07:59 -0700 (Mon, 04 Aug 2008) | 2 lines

  Remove the use of callable() in re to silence warnings under -3.
........
2008-08-04 21:08:43 +00:00
Nick Coghlan cea04af09a Blocked revisions 65487-65488 via svnmerge
........
  r65487 | nick.coghlan | 2008-08-04 22:40:59 +1000 (Mon, 04 Aug 2008) | 1 line

  Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow).
........
  r65488 | nick.coghlan | 2008-08-04 22:47:17 +1000 (Mon, 04 Aug 2008) | 1 line

  Add missing NEWS entry for r65487
........
2008-08-04 13:00:15 +00:00
Georg Brandl 8c66a6d25f Remove the deprecated posix attribute. 2008-08-04 08:25:03 +00:00
Georg Brandl 655c641ad1 Blocked revisions 65477 via svnmerge
........
  r65477 | georg.brandl | 2008-08-04 07:23:29 +0000 (Mon, 04 Aug 2008) | 2 lines

  Template is always "tmp".
........
2008-08-04 07:26:07 +00:00
Georg Brandl 4b26ff8327 Undocument deprecated module global "template". 2008-08-04 07:24:52 +00:00
Brett Cannon 18c55d340f Blocked revisions 65467 via svnmerge
........
  r65467 | brett.cannon | 2008-08-03 17:50:11 -0700 (Sun, 03 Aug 2008) | 3 lines

  Remove assignment to True/False and use of dict.has_key() to silence warnings
  while running under -3.
........
2008-08-04 00:51:17 +00:00
Brett Cannon 71ff98f708 Blocked revisions 65464 via svnmerge
........
  r65464 | brett.cannon | 2008-08-03 17:27:29 -0700 (Sun, 03 Aug 2008) | 2 lines

  Silence warnings under -3 about using dict.has_key() for modulefinder.
........
2008-08-04 00:28:42 +00:00
Brett Cannon f3e432a405 Blocked revisions 65462 via svnmerge
........
  r65462 | brett.cannon | 2008-08-03 17:23:58 -0700 (Sun, 03 Aug 2008) | 3 lines

  Remove dict.has_key() usage in xml.dom.minidom to silence warnings while
  running under -3.
........
2008-08-04 00:24:38 +00:00
Brett Cannon 85866243cd Blocked revisions 65457 via svnmerge
........
  r65457 | brett.cannon | 2008-08-03 17:09:43 -0700 (Sun, 03 Aug 2008) | 3 lines

  Remove dict.has_key() and apply() usage from the logging package to silence
  warnings when run under -3.
........
2008-08-04 00:10:29 +00:00
Brett Cannon ce1396a5db Blocked revisions 65455 via svnmerge
........
  r65455 | brett.cannon | 2008-08-03 16:52:32 -0700 (Sun, 03 Aug 2008) | 2 lines

  Remove a use of callable() in fileinput to silence a -3 warning.
........
2008-08-03 23:53:13 +00:00
Brett Cannon db09c8d16a Blocked revisions 65453 via svnmerge
........
  r65453 | brett.cannon | 2008-08-03 16:46:46 -0700 (Sun, 03 Aug 2008) | 3 lines

  Move filecmp from using dict.has_key() to dict.__contains__() to silence
  warnings triggered under -3.
........
2008-08-03 23:47:26 +00:00
Brett Cannon 2dd17e435e Blocked revisions 65451 via svnmerge
........
  r65451 | brett.cannon | 2008-08-03 16:40:13 -0700 (Sun, 03 Aug 2008) | 2 lines

  Remove a dict.has_key() usage in email._parseaddr found while running -3.
........
2008-08-03 23:40:51 +00:00
Brett Cannon 6d898391af Blocked revisions 65449 via svnmerge
........
  r65449 | brett.cannon | 2008-08-03 16:27:32 -0700 (Sun, 03 Aug 2008) | 3 lines

  Remove Barry's love of deprecated syntax to silence warnings in the email
  package, when run under -3, about using <>.
........
2008-08-03 23:28:13 +00:00
Brett Cannon cc5dca5cdf Blocked revisions 65446 via svnmerge
........
  r65446 | brett.cannon | 2008-08-03 15:59:46 -0700 (Sun, 03 Aug 2008) | 2 lines

  Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.
........
2008-08-03 23:00:33 +00:00
Brett Cannon 68751a2c6e Blocked revisions 65444 via svnmerge
........
  r65444 | brett.cannon | 2008-08-03 15:57:23 -0700 (Sun, 03 Aug 2008) | 3 lines

  Remove a dict.has_key() and callable() usage in SimpleXMLRPCServer as triggered
  under -3 through test_xmlrpc.
........
2008-08-03 22:58:03 +00:00
Brett Cannon e5a9b80f89 Blocked revisions 65442 via svnmerge
........
  r65442 | brett.cannon | 2008-08-03 15:52:42 -0700 (Sun, 03 Aug 2008) | 3 lines

  Silence -3 warnings in pstats: a dict.has_key() usage and backport solution to
  move from list.sort(cmp=) to key=.
........
2008-08-03 22:53:31 +00:00
Brett Cannon cc834497b3 Blocked revisions 65440 via svnmerge
........
  r65440 | brett.cannon | 2008-08-03 15:38:19 -0700 (Sun, 03 Aug 2008) | 2 lines

  Remove a dict.has_key() usage in profile to silence a -3 DeprecationWarning.
........
2008-08-03 22:38:58 +00:00
Brett Cannon 81bf914030 Blocked revisions 65438 via svnmerge
........
  r65438 | brett.cannon | 2008-08-03 15:34:25 -0700 (Sun, 03 Aug 2008) | 3 lines

  Remove a use of list.sort(cmp=) to silence a -3 DeprecationWarning in
  cookielib.
........
2008-08-03 22:35:21 +00:00
Georg Brandl abecbf7f8d Use version 3.0. 2008-08-03 10:04:14 +00:00
Georg Brandl 5b318c0e07 Merged revisions 65378-65379,65430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65378 | georg.brandl | 2008-08-01 22:04:43 +0200 (Fri, 01 Aug 2008) | 4 lines

  Add the grammar to the reference manual, since the new docs don't
  have the feature of putting all the small EBNF snippets together
  into one big file.
........
  r65379 | georg.brandl | 2008-08-01 22:13:29 +0200 (Fri, 01 Aug 2008) | 2 lines

  This should really be a comment.
........
  r65430 | georg.brandl | 2008-08-03 11:21:18 +0200 (Sun, 03 Aug 2008) | 2 lines

  #3495: use current version.
........
2008-08-03 09:47:27 +00:00
Georg Brandl cca483a740 Blocked revisions 65422 via svnmerge
........
  r65422 | antoine.pitrou | 2008-08-02 23:58:05 +0200 (Sat, 02 Aug 2008) | 1 line

  Preemptively backport the relevant parts of r65420
........
2008-08-03 09:45:51 +00:00
Brett Cannon 7f8d2a50bb Blocked revisions 65425 via svnmerge
........
  r65425 | brett.cannon | 2008-08-02 17:58:51 -0700 (Sat, 02 Aug 2008) | 3 lines

  Silence SyntaxWarning and DeprecationWarning in pydoc triggered by tuple
  unpacking in parameter lists and using callable(). Found through -3.
........
2008-08-03 00:59:47 +00:00
Brett Cannon 85e83fd326 Blocked revisions 65423 via svnmerge
........
  r65423 | brett.cannon | 2008-08-02 17:51:02 -0700 (Sat, 02 Aug 2008) | 3 lines

  Silence some SyntaxWarnings for tuple unpacking in a parameter list for
  urlparse when run under -3.
........
2008-08-03 00:51:38 +00:00
Antoine Pitrou 2f89aa6785 #2538: bytes objects can only provide read-only buffers 2008-08-02 21:02:48 +00:00
Georg Brandl 07431a302a str.join() doesn't convert arguments anymore. 2008-08-02 16:34:27 +00:00
Lars Gustäbel 0c24e8b8ca Remove the TarFileCompat class from tarfile.py. 2008-08-02 11:43:24 +00:00
Lars Gustäbel 8e746e3e2d Blocked revisions 65402 via svnmerge
........
  r65402 | lars.gustaebel | 2008-08-02 13:26:39 +0200 (Sat, 02 Aug 2008) | 5 lines

  Issue #3039: Fix TarFileCompat.writestr() which always raised an
  AttributeError since __slots__ were added to zipfile.ZipInfo in
  r46967 two years ago.
  Add a warning about the removal of TarFileCompat in Python 3.0.
........
2008-08-02 11:36:08 +00:00
Martin v. Löwis cdfae162c9 Merged revisions 65399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65399 | martin.v.loewis | 2008-08-02 09:20:25 +0200 (Sa, 02 Aug 2008) | 3 lines

  Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
  Tcl command objects.
........
2008-08-02 07:23:15 +00:00
Brett Cannon 59b4b170ed Blocked revisions 65395 via svnmerge
........
  r65395 | brett.cannon | 2008-08-01 20:37:50 -0700 (Fri, 01 Aug 2008) | 3 lines

  Remove a __getitem__() removal on an exception to silence a warning triggered
  under -3.
........
2008-08-02 03:38:29 +00:00
Brett Cannon eff773e7f9 Blocked revisions 65393 via svnmerge
........
  r65393 | brett.cannon | 2008-08-01 20:32:13 -0700 (Fri, 01 Aug 2008) | 2 lines

  Remove a dict.has_key() use to silence a warning when running under -3.
........
2008-08-02 03:32:49 +00:00
Brett Cannon 3ae9a5275e Blocked revisions 65391 via svnmerge
........
  r65391 | brett.cannon | 2008-08-01 20:28:42 -0700 (Fri, 01 Aug 2008) | 2 lines

  Remove a dict.has_key() use to silence a warning raised under -3.
........
2008-08-02 03:29:56 +00:00
Benjamin Peterson 7d5dd8af9b Merged revisions 65385 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65385 | benjamin.peterson | 2008-08-01 22:11:16 -0500 (Fri, 01 Aug 2008) | 1 line

  fix compile error on Windows
........
2008-08-02 03:17:02 +00:00
Brett Cannon 8dfcdda840 Blocked revisions 65387 via svnmerge
........
  r65387 | brett.cannon | 2008-08-01 20:15:20 -0700 (Fri, 01 Aug 2008) | 3 lines

  Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raised
  while running under -3.
........
2008-08-02 03:16:31 +00:00
Brett Cannon c65f1266d9 Blocked revisions 65386 via svnmerge
........
  r65386 | brett.cannon | 2008-08-01 20:13:46 -0700 (Fri, 01 Aug 2008) | 3 lines

  Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with
  -3.
........
2008-08-02 03:15:58 +00:00
Benjamin Peterson a54c092fc7 Blocked revisions 65382-65383 via svnmerge
........
  r65382 | benjamin.peterson | 2008-08-01 21:57:17 -0500 (Fri, 01 Aug 2008) | 1 line

  fix indentation that caused logic bug
........
  r65383 | benjamin.peterson | 2008-08-01 22:05:11 -0500 (Fri, 01 Aug 2008) | 1 line

  revert last revision; code was right
........
2008-08-02 03:08:49 +00:00
Jesse Noller 91639e0973 Merge 65376 into 3k, fix for issue 3399 2008-08-02 02:03:58 +00:00
Georg Brandl ebd9af44c5 Fix merge conflict. 2008-08-01 16:25:12 +00:00
Benjamin Peterson 33df74ae12 Blocked revisions 65355 via svnmerge
........
  r65355 | brett.cannon | 2008-07-31 20:45:49 -0500 (Thu, 31 Jul 2008) | 2 lines

  Remove a use of callable() to silence the warning triggered under -3.
........
2008-08-01 16:19:40 +00:00
Martin v. Löwis 4fe5ed8f25 Merged revisions 65368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65368 | martin.v.loewis | 2008-08-01 16:10:26 +0200 (Fr, 01 Aug 2008) | 3 lines

  Generate the PatternGrammar pickle during "make install".
  Fixes part of #3131.
........
2008-08-01 14:15:22 +00:00
Mark Dickinson 4aab7119b7 Merged revisions 65366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65366 | mark.dickinson | 2008-08-01 10:13:07 +0100 (Fri, 01 Aug 2008) | 2 lines

  Tone down math.fsum warning.
........
2008-08-01 09:14:03 +00:00
Mark Dickinson aa7633ab94 Merged revisions 65258,65292,65299,65308-65309,65315,65326 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65258 | mark.dickinson | 2008-07-27 08:15:29 +0100 (Sun, 27 Jul 2008) | 4 lines

  Remove math.sum tests related to overflow, special values, and behaviour
  near the extremes of the floating-point range.  (The behaviour of math.sum
  should be regarded as undefined in these cases.)
........
  r65292 | mark.dickinson | 2008-07-29 19:45:38 +0100 (Tue, 29 Jul 2008) | 4 lines

  More modifications to tests for math.sum:  replace the Python
  version of msum by a version using a different algorithm, and
  use the new float.fromhex method to specify test results exactly.
........
  r65299 | mark.dickinson | 2008-07-30 13:01:41 +0100 (Wed, 30 Jul 2008) | 5 lines

  Fix special-value handling for math.sum.
  Also minor cleanups to the code: fix tabbing, remove
  trailing whitespace, and reformat to fit into 80
  columns.
........
  r65308 | mark.dickinson | 2008-07-30 17:20:10 +0100 (Wed, 30 Jul 2008) | 2 lines

  Rename math.sum to math.fsum
........
  r65309 | mark.dickinson | 2008-07-30 17:25:16 +0100 (Wed, 30 Jul 2008) | 3 lines

  Replace math.sum with math.fsum in a couple of comments
  that were missed by r65308
........
  r65315 | mark.dickinson | 2008-07-30 21:23:15 +0100 (Wed, 30 Jul 2008) | 2 lines

  Add note about problems with math.fsum on x86 hardware.
........
  r65326 | mark.dickinson | 2008-07-31 15:48:32 +0100 (Thu, 31 Jul 2008) | 2 lines

  Rename testSum to testFsum and move it to proper place in test_math.py
........
2008-08-01 08:16:13 +00:00
Brett Cannon c57df32319 Blocked revisions 65353 via svnmerge
........
  r65353 | brett.cannon | 2008-07-31 18:40:24 -0700 (Thu, 31 Jul 2008) | 4 lines

  Silence (Syntax|Deprecation)Warning for 'inspect'. Had to remove tuple
  unpacking in a parameter list and set some constants by hand that were pulled
  from the 'compiler' package.
........
2008-08-01 01:41:04 +00:00
Brett Cannon 77256ec057 Blocked revisions 65351 via svnmerge
........
  r65351 | brett.cannon | 2008-07-31 18:36:47 -0700 (Thu, 31 Jul 2008) | 3 lines

  Remove use of tuple unpacking and dict.has_key() so as to silence
  SyntaxWarning as triggered by -3.
........
2008-08-01 01:38:47 +00:00
Brett Cannon e631d5e8eb Blocked revisions 65349 via svnmerge
........
  r65349 | brett.cannon | 2008-07-31 18:34:05 -0700 (Thu, 31 Jul 2008) | 3 lines

  Remove assignment to True/False to silence the SyntaxWarning that is triggered
  by -3.
........
2008-08-01 01:34:40 +00:00
Brett Cannon 87668303a4 Blocked revisions 65346 via svnmerge
........
  r65346 | brett.cannon | 2008-07-31 18:21:50 -0700 (Thu, 31 Jul 2008) | 1 line

  Fix a DeprecationWarning about __getitem__() and exceptions in the 'traceback' module.
........
2008-08-01 01:23:09 +00:00
Amaury Forgeot d'Arc 7888d0803d Merged revisions 65339-65340,65342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65339 | amaury.forgeotdarc | 2008-07-31 23:28:03 +0200 (jeu., 31 juil. 2008) | 5 lines

  #3479: unichr(2**32) used to return u'\x00'.
  The argument was fetched in a long, but PyUnicode_FromOrdinal takes an int.

  (why doesn't gcc issue a truncation warning in this case?)
........
  r65340 | amaury.forgeotdarc | 2008-07-31 23:35:03 +0200 (jeu., 31 juil. 2008) | 2 lines

  Remove a dummy test that was checked in by mistake
........
  r65342 | amaury.forgeotdarc | 2008-08-01 01:39:05 +0200 (ven., 01 août 2008) | 8 lines

  Correct a crash when two successive unicode allocations fail with a MemoryError:
  the freelist contained half-initialized objects with freed pointers.

  The comment
  /* XXX UNREF/NEWREF interface should be more symmetrical */
  was copied from tupleobject.c, and appears in some other places.
  I sign the petition.
........
2008-08-01 01:06:32 +00:00
Amaury Forgeot d'Arc e2e36ba696 posix.fdopen does not exists any more; and os.fdopen exists on all platforms.
Move tests from test_posix to test_os.
2008-08-01 00:14:22 +00:00
Amaury Forgeot d'Arc bdbddf8a82 #2491: os.fdopen() is now almost an alias to the builtin open(), and accepts the same parameters.
It just checks that the first argument is a file descriptor.
2008-08-01 00:06:49 +00:00
Amaury Forgeot d'Arc e19cadb427 Correct one of the "MemoryError oddities":
the traceback would grow each time a MemoryError is raised.
2008-07-31 22:56:02 +00:00