Marc-André Lemburg
cb33aeaf02
Remove leftovers from reverted setuptools checkin (they were added in r45525).
2008-05-13 19:10:45 +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
Jesus Cea
ef9764f1a4
bsddb module updated to version 4.6.4
2008-05-13 18:45:46 +00:00
Benjamin Peterson
bbb093751c
use .format and fix a bug
2008-05-13 00:09:46 +00:00
Benjamin Peterson
ab1fb9f728
Make error messages more helpful
2008-05-12 22:26:05 +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
Amaury Forgeot d'Arc
f9b54c2411
Sync code with documentation, and remove Win95 support in winsound module.
2008-05-12 21:30:24 +00:00
Georg Brandl
ba39ef4ba4
Win 95/98 is no longer supported.
2008-05-12 17:52:13 +00:00
Georg Brandl
d23f1f2896
Mention version in which the new marshal version was introduced.
2008-05-12 17:48:56 +00:00
Georg Brandl
70dce223d4
Marshal is at version 2.
2008-05-12 17:47:53 +00:00
Georg Brandl
173b739ff8
Fix markup.
2008-05-12 17:43:13 +00:00
Georg Brandl
feb0921f9f
#1760 : try-except-finally is one statement since PEP 341.
2008-05-12 17:14:51 +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
21f990cf0e
Fix parameter name for enumerate().
2008-05-12 16:53:42 +00:00
Georg Brandl
e321c2f37d
#2836 : backport new string formatting docs.
2008-05-12 16:45:43 +00:00
Georg Brandl
23da6e6545
#1713041 : fix pprint's handling of maximum depth.
2008-05-12 16:26:52 +00:00
Eric Smith
103f19d286
Added 'n' presentation type for integers.
2008-05-12 14:00:01 +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
Georg Brandl
6a0a368479
Fix-up docs for the copyreg module renaming.
2008-05-12 10:05:39 +00:00
Georg Brandl
7a148c2357
Fix-up docs for socketserver and queue renaming.
2008-05-12 10:03:16 +00:00
Brett Cannon
bb141bb1f4
Deprecate the timing module for removal in Python 3.0.
2008-05-12 03:47:47 +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
Alexandre Vassalotti
fea23a4d00
Added stub entry in the documentation mentioning SocketServer
...
was renamed.
2008-05-12 02:18:15 +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
Benjamin Peterson
ed02e51ab2
make message slightly more informative, so there's no chance of misunderstanding it
2008-05-12 00:46:49 +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
Brett Cannon
b61d801adb
Put Lib/lib-old back on to sys.path for module renames.
2008-05-11 23:39:04 +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
Georg Brandl
5a3277253d
Add a deprecation notice to mailbox' old classes' doc.
2008-05-11 21:54:09 +00:00
Georg Brandl
d61c70d45f
Formally deprecate old classes in the cgi module.
2008-05-11 21:37:53 +00:00
Georg Brandl
275360eaa5
#2535 : remove duplicated method.
2008-05-11 21:34:10 +00:00
Georg Brandl
3fc974f2d4
Clarify os.strerror()s exception behavior.
2008-05-11 21:16:37 +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
Georg Brandl
ecbbd94e71
#2809 followup: even better split docstring.
2008-05-11 20:53:55 +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
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
Alexandre Vassalotti
30ece44f2e
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:39:48 +00:00
Andrew M. Kuchling
ca3ccd15ff
Add message to test assertion
2008-05-11 19:15:52 +00:00
Benjamin Peterson
e85ae1bbaf
broaden .bzrignore
2008-05-11 16:38:07 +00:00
Georg Brandl
ea823a866c
#2803 : fix wrong invocation of heappush in seldom-reached code.
...
Thanks to Matt Harden.
2008-05-11 15:20:16 +00:00
Georg Brandl
d063240d91
#2787 : Flush stdout after writing test name, helpful when running
...
hanging or long-running tests. Patch by Adam Olsen.
2008-05-11 15:17:41 +00:00