Commit graph

43198 commits

Author SHA1 Message Date
Brett Cannon
ddf949f194 The CD and cd modules for IRIX are deprecated for 3.0. 2008-05-14 20:31:38 +00:00
Georg Brandl
885982283e Fix another "refleak" by clearing the filters after test. 2008-05-14 07:18:22 +00:00
Neal Norwitz
40388cc330 Fix "refleak" by restoring the tearDown method removed by accident (AFAICT)
in r62788.
2008-05-14 06:47:56 +00:00
Gregory P. Smith
ee365b9f92 Enable the updated Lib/bsddb/test suite to run. 2008-05-14 04:27:01 +00:00
Brett Cannon
ea785fb0cf Rewrap some lines in test_py3kwarn. 2008-05-14 01:09:40 +00:00
Brett Cannon
34721d5683 Deprecate al/AL for removal in 3.0. 2008-05-14 01:08:21 +00:00
Jesus Cea
18eb1fa2dd Testsuite for bsddb module, version 4.6.4 2008-05-13 20:57:59 +00:00
Georg Brandl
913835763a #2831: add start argument to enumerate(). Patch by Scott Dial and me. 2008-05-13 19:04:54 +00:00
Neal Norwitz
752abd0d3c Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
2008-05-13 04:55:24 +00:00
Benjamin Peterson
32ac22a0de remove plat-darwin 2008-05-13 02:26:56 +00:00
Benjamin Peterson
bbb093751c use .format and fix a bug 2008-05-13 00:09:46 +00:00
Benjamin Peterson
b2fdf351e8 remove test_multifile 2008-05-12 23:48:08 +00:00
Benjamin Peterson
ab1fb9f728 Make error messages more helpful 2008-05-12 22:26:05 +00:00
Benjamin Peterson
69a07fbd9b Remove the Mac modules 2008-05-12 22:25:16 +00:00
Amaury Forgeot d'Arc
e1b93f2855 Adapt test_pyclbr to the new version of urllib.py:
The new mac-specific functions must be ignored.
2008-05-12 22:21:39 +00:00
Benjamin Peterson
236819310d Add warnings to and deprecated all those Mac modules 2008-05-12 21:42:13 +00:00
Georg Brandl
cc80bfeace Fix doctest's __all__. 2008-05-12 18:06:23 +00:00
Georg Brandl
c73728373c Remove function obsolete since Python 2.3 from traceback module. 2008-05-12 18:03:53 +00:00
Georg Brandl
3183585a86 Remove deprecated Tester class from doctest module. 2008-05-12 17:38:56 +00:00
Georg Brandl
1b4758d276 #2767: don't clear globs in run() call, since they could be needed in tearDown,
which clears them at the end.
2008-05-12 17:04:10 +00:00
Georg Brandl
45141d0057 #2766: remove code without effect. 2008-05-12 17:01:58 +00:00
Georg Brandl
23da6e6545 #1713041: fix pprint's handling of maximum depth. 2008-05-12 16:26:52 +00:00
Amaury Forgeot d'Arc
2b2b44dc2c #Issue2835: Correct an infinite recursion in webbrowser.open(), when KDE Konqueror is tried. 2008-05-12 14:41:00 +00:00
Ronald Oussoren
9dd6b1db5b MacOSX: remove dependency on Carbon package for urllib
This patch removes the dependency on the Carbon package from urllib.
The mac-specific code for getting proxy configuration is now writting in
Python using ctypes and uses the SystemConfiguration framework instead of
InternetConfig. Also provides a mac-specific implementation of proxy_bypass.
2008-05-12 11:31:05 +00:00
Ronald Oussoren
81af68ee61 Remove references to platform 'mac'
The 'mac' platform (that is, os.name == 'mac') was used for the MacOS 9 port,
which is no longer supported (as of Python 2.4 IIRC).
2008-05-12 11:24:33 +00:00
Brett Cannon
ac861b5a17 Deprecate the sv module as per PEP 4. 2008-05-12 03:45:59 +00:00
Brett Cannon
43e5ef49b1 Deprecate the multifile module as per PEP 4. 2008-05-12 03:19:20 +00:00
Brett Cannon
d3343cb8a1 Remove the multifile module as deprecated by PEP 4. 2008-05-12 03:18:21 +00:00
Alexandre Vassalotti
ce261952e6 Renamed the SocketServer module to 'socketserver'.
Merged revisions 63132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63132 | alexandre.vassalotti | 2008-05-11 22:11:22 -0400 (Sun, 11 May 2008) | 4 lines

  Updated all import statements to use the new socketserver module name.
  Renamed socketserver module in its own documentation.
  Renamed documentation references.
........
2008-05-12 02:31:37 +00:00
Alexandre Vassalotti
d192c925ac Updated all import statements to use the new socketserver module name.
Renamed socketserver module in its own documentation.
Renamed documentation references.
2008-05-12 02:11:22 +00:00
Alexandre Vassalotti
fb9ce65a91 Renamed SocketServer to 'socketserver'.
Deprecated old name.
2008-05-12 01:37:10 +00:00
Brett Cannon
23a4a7b5a1 The __all__ value for 'collections' was missing UserList and UserString. 2008-05-12 00:56:28 +00:00
Benjamin Peterson
b9030f4f0d #2196 hasattr now allows SystemExit and KeyboardInterrupt to propagate 2008-05-12 00:41:23 +00:00
Brett Cannon
42bfa90f02 Depreate imageop for removal in 3.0. 2008-05-12 00:08:34 +00:00
Alexandre Vassalotti
25c7f0ff94 Revert commit r63088. 2008-05-11 23:17:37 +00:00
Alexandre Vassalotti
1fcaa77ac5 Revert commit r63086. 2008-05-11 23:12:38 +00:00
Alexandre Vassalotti
f4e83dedda Moved the Queue module stub in lib-old. 2008-05-11 23:04:27 +00:00
Brett Cannon
cf3520c2bf Remove the sre module. 2008-05-11 22:47:58 +00:00
Georg Brandl
49d1b4f919 Remove old backwards-compatibility classes from the cgi module. 2008-05-11 21:42:51 +00:00
Georg Brandl
275360eaa5 #2535: remove duplicated method. 2008-05-11 21:34:10 +00:00
Georg Brandl
fb16cf1d9b Remove rfc822 dependency in test. 2008-05-11 21:31:44 +00:00
Georg Brandl
627a666db0 - #2250: Exceptions raised during evaluation of names in rlcompleter's
``Completer.complete()`` method are now caught and ignored.
2008-05-11 21:03:42 +00:00
Eric Smith
5807c415c5 Merged revisions 63078 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

When forward porting this, I added _PyUnicode_InsertThousandsGrouping.

........
  r63078 | eric.smith | 2008-05-11 15:52:48 -0400 (Sun, 11 May 2008) | 14 lines

  Addresses issue 2802: 'n' formatting for integers.

  Adds 'n' as a format specifier for integers, to mirror the same
  specifier which is already available for floats.  'n' is the same as
  'd', but inserts the current locale-specific thousands grouping.

  I added this as a stringlib function, but it's only used by str type,
  not unicode.  This is because of an implementation detail in
  unicode.format(), which does its own str->unicode conversion.  But the
  unicode version will be needed in 3.0, and it may be needed by other
  code eventually in 2.6 (maybe decimal?), so I left it as a stringlib
  implementation.  As long as the unicode version isn't instantiated,
  there's no overhead for this.
........
2008-05-11 21:00:57 +00:00
Georg Brandl
aa5b411b41 #756982: Remove rfc822 reference. 2008-05-11 20:51:18 +00:00
Alexandre Vassalotti
2b576d22af Renamed PixMapWrapper module to pixmapwrapper. 2008-05-11 20:36:09 +00:00
Alexandre Vassalotti
8940ecd39d Added stub for the PixMapWrapper module to be renamed in 3.0.
Modified TestStdlibRenames to support platform specific renames.
Added test for PixMapWrapper rename warning.
Added note to documentation about PixMapWrapper rename.
2008-05-11 20:30:43 +00:00
Andrew M. Kuchling
5128fb9715 Try setting HOME env.var to fix test on Win32 2008-05-11 20:08:33 +00:00
Alexandre Vassalotti
73812bf2a6 Added test for Queue rename warning.
Added note to documentation about Queue rename.
2008-05-11 20:04:03 +00:00
Alexandre Vassalotti
f260e443ac Rename Queue module to queue.
Updated documentation to use new name.
Merged revisions 63077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines

  Added stub for the Queue module to be renamed in 3.0.
  Use the 3.0 module name to avoid spurious warnings.
........
2008-05-11 19:59:59 +00:00
Eric Smith
cf537ff39e Addresses issue 2802: 'n' formatting for integers.
Adds 'n' as a format specifier for integers, to mirror the same
specifier which is already available for floats.  'n' is the same as
'd', but inserts the current locale-specific thousands grouping.

I added this as a stringlib function, but it's only used by str type,
not unicode.  This is because of an implementation detail in
unicode.format(), which does its own str->unicode conversion.  But the
unicode version will be needed in 3.0, and it may be needed by other
code eventually in 2.6 (maybe decimal?), so I left it as a stringlib
implementation.  As long as the unicode version isn't instantiated,
there's no overhead for this.
2008-05-11 19:52:48 +00:00