Commit Graph

13711 Commits

Author SHA1 Message Date
Brett Cannon 7b96f07feb Remove an unneeded import of abc.ABCMeta from 'inspect'. 2008-08-18 00:41:11 +00:00
Brett Cannon 46225e77fa Remove two unneeded imports in 'io'. 2008-08-18 00:36:52 +00:00
Brett Cannon 25c9d6aa00 Remove imports of 'warnings' that are no longer needed in dummy_thread,
filecmp, and shelve.
2008-08-17 22:10:11 +00:00
Antoine Pitrou 954ea64753 #3580: fix a failure in test_os 2008-08-17 20:15:07 +00:00
Benjamin Peterson 7dd854725b get the symtable module back in working order
- Fix broken functions
- Add (hopefully) extensive tests
- Modernize a little
2008-08-17 17:13:26 +00:00
Antoine Pitrou fd7c43e7be #3556: test_raiseMemError consumes an insane amount of memory 2008-08-17 17:01:49 +00:00
Antoine Pitrou bebb18bef5 backport r65723: strengthen test_os.test_closerange 2008-08-17 14:43:41 +00:00
Antoine Pitrou c53427087e fix ZipFile.testzip() to work with very large embedded files 2008-08-17 13:06:29 +00:00
Brett Cannon 047e4a915d Update distutils so that it triggers no warnings when run under -3. 2008-08-17 04:16:04 +00:00
Facundo Batista 94f243aa41 Issue 2464. Supports a malformation in the URL received
in a redirect.
2008-08-17 03:38:39 +00:00
Antoine Pitrou 1e45c58a55 Make test_ossaudiodev work. 2008-08-17 00:36:03 +00:00
Benjamin Peterson 0847332716 include filename and line number in SyntaxError 2008-08-16 22:11:33 +00:00
Brett Cannon 721b1457a0 Silence DeprecationWarning raised by mimetools and rfc822 in cgi. 2008-08-16 22:00:27 +00:00
Brett Cannon 0a4128eae2 Silence the DeprecationWarning raised in httplib when mimetools is imported. 2008-08-16 21:56:03 +00:00
Brett Cannon abe423ed2c Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
This does have an unfortunate side-effect of silencing the warning for all
subsequent code that imports mimetools as well since the warning is only
executed upon the first import of mimetools.
2008-08-16 21:47:07 +00:00
Benjamin Peterson 4acb1899c6 #3424 rearrange the order of tests in imghdr to place more common types first 2008-08-16 16:29:02 +00:00
Facundo Batista eb90b788f4 Issue #2776: fixed small issue when handling an URL with double slash
after a 302 response in the case of not going through a proxy.
2008-08-16 14:44:07 +00:00
Benjamin Peterson 1b5c32cd75 Merged revisions 65397 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65397 | collin.winter | 2008-08-01 22:39:06 -0500 (Fri, 01 Aug 2008) | 5 lines

  Patch #3480 by Nick Edds.

  Dramatically simplifies the fix_imports pattern, resulting in a reduction of the test_all_fixers runtime from 122+ secs to 59 secs (a good predictor of 2to3 performance).
........
2008-08-15 23:51:24 +00:00
Antoine Pitrou b90a8be96f #2676: email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input 2008-08-15 21:03:21 +00:00
Antoine Pitrou 11ec65d82b Issue #3476: make BufferedReader and BufferedWriter thread-safe 2008-08-14 21:04:30 +00:00
Thomas Heller 63d325e8c4 Disable the test until I have one that works. 2008-08-14 20:19:18 +00:00
Thomas Heller 6d2014ee59 Try to fix the test on 64-bit platforms. 2008-08-14 20:04:38 +00:00
Thomas Heller 57adf22f6e issue #3554: ctypes.string_at and ctypes.wstring_at must use the
pythonapi calling convention so that the GIL is held and error return
values are checked.
2008-08-14 19:10:48 +00:00
Facundo Batista 67d1981c51 Issue 1432. Fixes a bug caused because of the evolution
of the RFC that describes the behaviour. Note that we now
have the same behaviour than the current browsers.
2008-08-14 16:51:00 +00:00
Hirokazu Yamamoto 41a4f4631b Fixed test_distutils error (test_build_ext) on VC6. 2008-08-14 05:50:43 +00:00
Brett Cannon bf3157b8e0 Silence the DeprecationWarning of rfc822 triggered by its importation in
mimetools.

This has an unfortunate side-effect of potentially not letting any warning
about rfc822's deprecation be seen by user-visible code if rfc822 is not
imported before mimetools. This is because modules are cached in sys.modules
and thus do not have their deprecation triggered more than once. But this
silencing would have happened by other code that silences the use of mimetools
or rfc822 anyway in the stdlib or user code, and thus seems justified to be
done here.
2008-08-14 05:00:03 +00:00
Bill Janssen 39295c2650 remove duplicate close() from ssl.py; expose unwrap and add test for it 2008-08-12 16:31:21 +00:00
Jesse Noller 5d35373706 Fix the connection refused error part of issue 3419, use errno module instead of a static list of possible connection refused messages. 2008-08-11 19:00:15 +00:00
Antoine Pitrou 9fcd4b3d29 #3134: shutil referenced undefined WindowsError symbol 2008-08-11 17:21:36 +00:00
Nick Coghlan 48361f5cbf Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings. 2008-08-11 15:45:58 +00:00
Jesse Noller f8d62d23e9 Remove the fqdn call for issue 3270 2008-08-11 14:28:07 +00:00
Georg Brandl 1e13ea94a3 - Issue #3537: Fix an assertion failure when an empty but presized dict
object was stored in the freelist.
2008-08-11 09:07:59 +00:00
Robert Schuppenies 14646337bf Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to
menu entries were not deleted.
2008-08-10 11:01:53 +00:00
Brett Cannon 9fc5631be6 Silence warnings in csv about using reduce() when run under -3 by using
functools.reduce() instead.
2008-08-09 23:39:11 +00:00
Brett Cannon 46265860c2 Use functools.reduce() in difflib instead of __builtin__.reduce() to silence
warnings when running under -3.
2008-08-09 23:34:11 +00:00
Brett Cannon 83e818415a Copy reduce() to _functools so to have functools.reduce() not raise a warning
from usage under -3.
2008-08-09 23:30:55 +00:00
Brett Cannon c1b76e4aaa 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.
2008-08-09 23:06:16 +00:00
Skip Montanaro a032bf41f6 accept issue 3436 2008-08-08 22:52:51 +00:00
Brett Cannon 3f92bc6f48 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.
2008-08-08 04:27:28 +00:00
Brett Cannon 03446c43ca 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).
2008-08-08 04:19:32 +00:00
Antoine Pitrou 74022ab013 #1288615: Python code.interact() and non-ASCII input 2008-08-07 18:42:40 +00:00
Brett Cannon 3aa2a49ec9 Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in
has been removed there.
2008-08-06 22:28:09 +00:00
Mark Dickinson c777a412f1 Remove duplicate import 2008-08-06 21:36:57 +00:00
Mark Dickinson 9752195a71 Docstring typo 2008-08-06 20:12:30 +00:00
Andrew M. Kuchling 10288e19bf Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available 2008-08-05 01:00:57 +00:00
Brett Cannon 211b3cdbdc Remove use of callable() from pickle to silence warnings under -3. 2008-08-04 21:34:34 +00:00
Brett Cannon d13e4ba416 Remove tuple parameter unpacking in aifc to silence warnings under -3. 2008-08-04 21:33:00 +00:00
Brett Cannon d250c8d666 Silence warnings under -3 triggered by wsgiref. 2008-08-04 21:30:53 +00:00
Mark Dickinson b646757e01 Issue #1481296: (again!) Make conversion of a float NaN to an int or
long raise ValueError instead of returning 0.  Also, change the error
message for conversion of an infinity to an integer, replacing 'long' by
'integer', so that it's appropriate for both long(float('inf')) and
int(float('inf')).
2008-08-04 21:30:09 +00:00
Brett Cannon ff6868cf10 Remove a use of callable() from Tkinter to silence warnings under -3. 2008-08-04 21:24:43 +00:00
Brett Cannon 132fc54069 Remove a dict.has_key() and list.sort(cmp=) usage from tarfile to silence
warnings under -3.
2008-08-04 21:23:07 +00:00
Brett Cannon cf297cd73f Remove usage of apply() in sqlite3 to silence warnings under -3. 2008-08-04 21:19:41 +00:00
Brett Cannon 753ecb13db Remove dict.has_key() usage in the shelve module to silence warnings under -3. 2008-08-04 21:17:15 +00:00
Brett Cannon 5b3d3729ba Remove dict.has_key() usage in xml.sax to silence warnings under -3. 2008-08-04 21:10:50 +00:00
Brett Cannon d9636e17cc Remove the use of callable() in re to silence warnings under -3. 2008-08-04 21:07:59 +00:00
Andrew M. Kuchling 70a6dbd46e Bug 3228: Explicitly supply the file mode to avoid creating executable files,
and add corresponding tests.
Possible 2.5 backport candidate
2008-08-04 01:43:43 +00:00
Brett Cannon 814820bb28 Remove assignment to True/False and use of dict.has_key() to silence warnings
while running under -3.
2008-08-04 00:50:11 +00:00
Brett Cannon 9bd059ff4e Silence warnings under -3 about using dict.has_key() for modulefinder. 2008-08-04 00:27:29 +00:00
Brett Cannon 5dd504df28 Remove dict.has_key() usage in xml.dom.minidom to silence warnings while
running under -3.
2008-08-04 00:23:58 +00:00
Gregory P. Smith a36f8fefb0 - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword
argument in python 2.5, this broke code that subclassed Popen to include its
  own poll method.  Fixed my moving _deadstate to an _internal_poll method.
2008-08-04 00:13:29 +00:00
Brett Cannon e6bfe80b67 Remove dict.has_key() and apply() usage from the logging package to silence
warnings when run under -3.
2008-08-04 00:09:43 +00:00
Brett Cannon 36bed8a25f Remove a use of callable() in fileinput to silence a -3 warning. 2008-08-03 23:52:32 +00:00
Brett Cannon c66b03a4c1 Move filecmp from using dict.has_key() to dict.__contains__() to silence
warnings triggered under -3.
2008-08-03 23:46:46 +00:00
Brett Cannon 8161498817 Remove a dict.has_key() usage in email._parseaddr found while running -3. 2008-08-03 23:40:13 +00:00
Brett Cannon 1f571c6e60 Remove Barry's love of deprecated syntax to silence warnings in the email
package, when run under -3, about using <>.
2008-08-03 23:27:32 +00:00
Brett Cannon b2f49ff88d Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3. 2008-08-03 22:59:46 +00:00
Brett Cannon 0a0f608244 Remove a dict.has_key() and callable() usage in SimpleXMLRPCServer as triggered
under -3 through test_xmlrpc.
2008-08-03 22:57:23 +00:00
Brett Cannon c3ce0e53ad 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:52:42 +00:00
Brett Cannon cc2f7b4994 Remove a dict.has_key() usage in profile to silence a -3 DeprecationWarning. 2008-08-03 22:38:19 +00:00
Brett Cannon 52f03c5d20 Remove a use of list.sort(cmp=) to silence a -3 DeprecationWarning in
cookielib.
2008-08-03 22:34:25 +00:00
Brett Cannon aca98b0a2c Silence SyntaxWarning and DeprecationWarning in pydoc triggered by tuple
unpacking in parameter lists and using callable(). Found through -3.
2008-08-03 00:58:51 +00:00
Brett Cannon 89318d89d6 Silence some SyntaxWarnings for tuple unpacking in a parameter list for
urlparse when run under -3.
2008-08-03 00:51:02 +00:00
Antoine Pitrou 92a6240198 Preemptively backport the relevant parts of r65420 2008-08-02 21:58:05 +00:00
Lars Gustäbel 727bd0b687 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:26:39 +00:00
Martin v. Löwis aabf404ecc Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
Tcl command objects.
2008-08-02 07:20:25 +00:00
Brett Cannon 97b1fb6a98 Remove a __getitem__() removal on an exception to silence a warning triggered
under -3.
2008-08-02 03:37:50 +00:00
Brett Cannon 0d89407a0d Remove a dict.has_key() use to silence a warning when running under -3. 2008-08-02 03:32:13 +00:00
Brett Cannon 926779e758 Remove a dict.has_key() use to silence a warning raised under -3. 2008-08-02 03:28:42 +00:00
Brett Cannon 50bb7e12ec Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raised
while running under -3.
2008-08-02 03:15:20 +00:00
Brett Cannon 2005050152 Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with
-3.
2008-08-02 03:13:46 +00:00
Brett Cannon 52597be2a1 Remove a use of callable() to silence the warning triggered under -3. 2008-08-01 01:45:49 +00:00
Brett Cannon f5eb2ff100 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:40:24 +00:00
Brett Cannon c6a30ecf7a Remove use of tuple unpacking and dict.has_key() so as to silence
SyntaxWarning as triggered by -3.
2008-08-01 01:36:47 +00:00
Brett Cannon 791ec1fc13 Remove assignment to True/False to silence the SyntaxWarning that is triggered
by -3.
2008-08-01 01:34:05 +00:00
Brett Cannon 5400b6b2e2 Fix a DeprecationWarning about __getitem__() and exceptions in the 'traceback' module. 2008-08-01 01:21:50 +00:00
Amaury Forgeot d'Arc 06847b13ca 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-07-31 23:39:05 +00:00
Amaury Forgeot d'Arc ad9604003c Remove a dummy test that was checked in by mistake 2008-07-31 21:35:03 +00:00
Amaury Forgeot d'Arc 39fd672dfe #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?)
2008-07-31 21:28:03 +00:00
Neal Norwitz e7d8be80ba Security patches from Apple: prevent int overflow when allocating memory 2008-07-31 17:17:14 +00:00
Benjamin Peterson e70f8e1205 remove usage of MacOS from Tkinter 2008-07-31 15:15:45 +00:00
Mark Dickinson 0f6414a0d6 Rename testSum to testFsum and move it to proper place in test_math.py 2008-07-31 14:48:32 +00:00
Brett Cannon cda5ce24ed Backport test.support.fcmp() from 3.0 to silence -3 warnings. 2008-07-31 03:00:53 +00:00
Raymond Hettinger f080e6d7e0 Alter recipe to show how to call izip_longest() with
both a keyword argument and star arguments.
2008-07-31 01:19:50 +00:00
Amaury Forgeot d'Arc 246daedd11 #2542: now that issubclass() may call arbitrary code,
make sure that PyErr_ExceptionMatches returns 0 when an exception occurs there.
2008-07-31 00:42:16 +00:00
Benjamin Peterson b8827c00b8 I mess up again; BufferError inherits StandardError 2008-07-30 23:49:28 +00:00
Benjamin Peterson 67ebfefef5 add BufferError to the exception hieracrchy 2008-07-30 19:35:27 +00:00
Mark Dickinson fef6b13c32 Rename math.sum to math.fsum 2008-07-30 16:20:10 +00:00
Benjamin Peterson f2eb2b44fc getrandombits is actually getrandbits 2008-07-30 13:46:53 +00:00
Raymond Hettinger efdf706a9f Neaten-up the itertools recipes. 2008-07-30 07:27:30 +00:00
Mark Dickinson ff5f16e4e5 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.
2008-07-29 18:45:38 +00:00
Jesus Cea cde8cdd898 Be less strict with replication timeouts (the machine
can be a bit loaded), and be sure to yield the CPU
when waiting.
2008-07-29 16:16:23 +00:00
Jesus Cea a99363f472 Refinements in the bsddb testsuite 2008-07-29 13:38:50 +00:00
Benjamin Peterson 01a24322ec backport r65264 2008-07-28 23:35:27 +00:00
Mark Dickinson 3e9c60c5fe 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.)
2008-07-27 07:15:29 +00:00
Mark Dickinson fe84cce668 Issue #3449: Update decimal module to use most recent specification
(v. 1.68) and tests (v. 2.58) from IBM.
2008-07-27 06:39:07 +00:00
Skip Montanaro 1ef19f0de1 Close issue 3437 - missing state change when Allow lines are processed.
Adds test cases which use Allow: as well.
2008-07-27 00:49:02 +00:00
Antoine Pitrou 36897e1ff9 disable some failing tests in test_locale due to a bug in locale.py.
this should fix the failures on the solaris buildbot.
2008-07-26 13:49:13 +00:00
Antoine Pitrou 6327e8482e Fix more buildbot failures on test_locale. 2008-07-26 11:56:37 +00:00
Antoine Pitrou 524f4135dc try to fix most buildbot failures on test_locale + add a debug output for the solaris buildbot 2008-07-26 10:29:43 +00:00
Antoine Pitrou ba54edadb3 convert test_locale to unittest, and add a mechanism to override localconv() results for further testing (#1864, #1222) 2008-07-25 20:40:19 +00:00
Antoine Pitrou 5fdfa3e36d #3394: zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix 2008-07-25 19:42:26 +00:00
Raymond Hettinger 8c664e8628 Issue 1592: Better error reporting for operations on closed shelves. 2008-07-25 18:43:33 +00:00
Antoine Pitrou 4982d5d04a #2242: utf7 decoding crashes on bogus input on some Windows/MSVC versions 2008-07-25 17:45:59 +00:00
Benjamin Peterson c6ad794051 use isinstance 2008-07-23 13:25:06 +00:00
Jesus Cea c5a11fabdb bsddb module updated to version 4.7.2devel9.
This patch publishes the work done until now
for Python 3.0 compatibility. Still a lot
to be done.

When possible, we use 3.0 features in Python 2.6,
easing development and testing, and exposing internal
changes to a wider audience, for better test coverage.

Some mode details:
http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.2
2008-07-23 11:38:42 +00:00
Benjamin Peterson 30e208d525 remove unneeded import 2008-07-22 23:44:37 +00:00
Benjamin Peterson f5574a0c29 don't use assert statement 2008-07-21 22:05:34 +00:00
Amaury Forgeot d'Arc e4921fec01 Issue2378: pdb would delete free variables when stepping into a class statement.
The problem was introduced by r53954, the correction is to restore the symmetry between
PyFrame_FastToLocals and PyFrame_LocalsToFast
2008-07-21 22:00:38 +00:00
Facundo Batista f3f67599fe Issue 3396. Fixed the autocompletion of 'int.', and worked
a little that part of the code, fixing a detail and enhancing
a bit others.
2008-07-21 14:28:17 +00:00
Georg Brandl fa267829e7 Save the whole of sys.modules instead of using an import tracker.
This, when merged to py3k, will fix the spurious buildbot failure
in test_urllib2 ("<urlopen error unknown url type: do>").
2008-07-20 23:18:55 +00:00
Neal Norwitz be3ff9cdc9 Fix misspeeld method name (negative) 2008-07-20 20:39:36 +00:00
Georg Brandl 61d5c43011 Remove exception indexing in asyncore. 2008-07-20 07:29:58 +00:00
Raymond Hettinger f1f46f0350 Clean-up itertools docs and recipes. 2008-07-19 23:58:47 +00:00
Raymond Hettinger 39e0eb766f Fix compress() recipe in docs to use itertools. 2008-07-19 23:21:57 +00:00
Benjamin Peterson 0147a761b1 Merged revisions 65137 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65137 | georg.brandl | 2008-07-19 08:32:57 -0500 (Sat, 19 Jul 2008) | 2 lines

  #3334: correctly set prefix of imports.
........
2008-07-19 14:14:06 +00:00
Georg Brandl 59ec315b04 #3319: don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
2008-07-19 13:00:22 +00:00
Georg Brandl 278fc50c07 #3303: fix crash with invalid Py_DECREF in strcoll(). 2008-07-19 12:46:12 +00:00
Raymond Hettinger 3369167089 Add recipe to the itertools docs. 2008-07-19 00:43:00 +00:00
Raymond Hettinger 3c212163ec Improve accuracy of gamma test function 2008-07-19 00:42:03 +00:00
Eric Smith f032a00271 Fix issue 3411: default float format spec fails on negative numbers. 2008-07-19 00:24:05 +00:00
Brett Cannon 1e8fba729e Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality. 2008-07-18 19:30:22 +00:00
Georg Brandl 56af5fcab7 #3390: replace a remaining has_key(). 2008-07-18 19:30:10 +00:00
Georg Brandl 74bbc79d10 Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
Benjamin Peterson e2886fd3ca now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource 2008-07-18 14:26:35 +00:00
Benjamin Peterson 0e3a6cf2cb backport test_fileio 2008-07-18 14:14:41 +00:00
Georg Brandl 730c8185b9 Correct attribute name. 2008-07-18 10:29:30 +00:00
Georg Brandl 9334d02ff5 Remove duplicate entry in __all__. 2008-07-18 10:20:59 +00:00
Vinay Sajip 70fdc95b96 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 09:00:00 +00:00
Vinay Sajip bc7e34f692 Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch. 2008-07-18 08:59:06 +00:00
Barry Warsaw daddf03f77 Bumping to 2.6b2 2008-07-18 03:20:07 +00:00
Jesse Noller 7fb9640d57 Fix issue 3395, update _debugInfo to be _debug_info 2008-07-17 21:01:05 +00:00
Eric Smith d6c393ab2b Backed out r65069, pending fixing it in Windows. 2008-07-17 19:49:47 +00:00
Bill Janssen 0c1dbf8792 catch socket.error errors in badCertTest 2008-07-17 18:01:57 +00:00
Eric Smith 454816d8bd Issue 3382: Make '%F' and float.__format__('F') convert results to upper case. 2008-07-17 17:48:39 +00:00
Benjamin Peterson f5668f13c8 try to fix test_threading on the Windows bot 2008-07-17 12:57:22 +00:00
Benjamin Peterson 1ab3149063 Merged revisions 65053-65054 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65053 | benjamin.peterson | 2008-07-16 21:04:12 -0500 (Wed, 16 Jul 2008) | 1 line

  massive optimizations for 2to3 (especially fix_imports) from Nick Edds
........
  r65054 | benjamin.peterson | 2008-07-16 21:05:09 -0500 (Wed, 16 Jul 2008) | 1 line

  normalize whitespace
........
2008-07-17 02:07:46 +00:00
Georg Brandl 0a34baf1fc Byte items *can* be chars in 2.6. 2008-07-16 23:18:51 +00:00
Georg Brandl 3e483f643d #3156: fix consistency in what type bytearray methods accept as items.
Also rename confusing "item" parameters to "index".
2008-07-16 22:57:41 +00:00
Georg Brandl a24869ada7 #3312: fix two sqlite3 crashes. 2008-07-16 22:33:18 +00:00
Georg Brandl 4ed9be733b #3345: fix docstring. 2008-07-16 22:09:17 +00:00