........
r65613 | brett.cannon | 2008-08-09 16:06:16 -0700 (Sat, 09 Aug 2008) | 4 lines
Suppress the warning in asynchat from using buffer() when running udner -3.
Naively removing the usage causes a large number of test failures, so it was
just easier to suppress the warning.
........
........
r65588 | brett.cannon | 2008-08-07 21:27:28 -0700 (Thu, 07 Aug 2008) | 3 lines
Remove buffer() usage in the socket module by just slicing directly on the
object. This removes all warnings for the module caused by running under -3.
........
........
r65586 | brett.cannon | 2008-08-07 21:19:32 -0700 (Thu, 07 Aug 2008) | 5 lines
Remove warnings generated for the suprocess module when run under -3. Required
commenting out True/False compatbility stuff, remove a use of apply(), and
remove a use of buffer() (just pulled the solution used in 3.0 which is direct
slicing).
........
........
r65584 | brett.cannon | 2008-08-07 21:15:53 -0700 (Thu, 07 Aug 2008) | 3 lines
Change the warning emitted for using the buffer() object; memoryview() in 3.0
is not an equivalent.
........
PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.
We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
........
r65563 | brett.cannon | 2008-08-06 15:28:09 -0700 (Wed, 06 Aug 2008) | 3 lines
Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in
has been removed there.
........
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65544 | guido.van.rossum | 2008-08-04 20:39:21 -0700 (Mon, 04 Aug 2008) | 28 lines
Tracker issue 3487: sre "bytecode" verifier.
This is a verifier for the binary code used by the _sre module (this
is often called bytecode, though to distinguish it from Python bytecode
I put it in quotes).
I wrote this for Google App Engine, and am making the patch available as
open source under the Apache 2 license. Below are the copyright
statement and license, for completeness.
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
It's not necessary to include these copyrights and bytecode in the
source file. Google has signed a contributor's agreement with the PSF
already.
........
........
r65524 | brett.cannon | 2008-08-04 14:34:34 -0700 (Mon, 04 Aug 2008) | 2 lines
Remove use of callable() from pickle to silence warnings under -3.
........
........
r65516 | brett.cannon | 2008-08-04 14:24:43 -0700 (Mon, 04 Aug 2008) | 2 lines
Remove a use of callable() from Tkinter to silence warnings under -3.
........
........
r65514 | brett.cannon | 2008-08-04 14:23:07 -0700 (Mon, 04 Aug 2008) | 3 lines
Remove a dict.has_key() and list.sort(cmp=) usage from tarfile to silence
warnings under -3.
........
........
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.
........
........
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
........
........
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.
........
........
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.
........
........
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.
........
........
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.
........
........
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.
........
........
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 <>.
........
........
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.
........
........
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.
........
........
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=.
........
........
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.
........
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.
........
........
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.
........
........
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.
........