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
Georg Brandl
b52a74b517
#2816 : clarify error messages for EOF while scanning strings.
2008-05-11 15:07:39 +00:00
Georg Brandl
6a57c08dc8
#1326 : document and test zipimporter.archive and zipimporter.prefix.
2008-05-11 15:05:13 +00:00
Georg Brandl
ae98f50eca
#2709 followup: better description of Tk's pros and cons.
2008-05-11 14:56:04 +00:00
Georg Brandl
9020ff88e6
Add some sentence endings.
2008-05-11 14:17:13 +00:00
Benjamin Peterson
98353941ea
Add the "until" command to pdb
2008-05-11 14:13:25 +00:00
Andrew M. Kuchling
aac5c8669f
#1858 : re-apply patch for this, adding the missing files
2008-05-11 14:00:00 +00:00
Andrew M. Kuchling
6c02916dfb
#1792 : Improve performance of marshal.dumps() on large objects by increasing
...
the size of the buffer more quickly.
2008-05-11 13:33:56 +00:00
Georg Brandl
ab756f60bd
#2452 : timeout is used for all blocking operations.
2008-05-11 11:09:35 +00:00
Georg Brandl
0aaf559bfe
#2741 : clarification of value range for address_family.
2008-05-11 10:59:39 +00:00
Georg Brandl
e9135ba79d
#2147 : PEP 237 changes to overflow behavior.
2008-05-11 10:55:59 +00:00
Georg Brandl
6f95ae55b1
#2659 : add ``break_on_hyphens`` to TextWrapper.
2008-05-11 10:42:28 +00:00
Georg Brandl
5b54887deb
#2709 : clarification.
2008-05-11 10:33:27 +00:00
Georg Brandl
a36909e10d
Fix typo.
2008-05-11 10:13:59 +00:00
Georg Brandl
dfb77dbc70
#2809 : elaborate str.split docstring a bit.
2008-05-11 09:11:40 +00:00
Georg Brandl
53905d8f7f
#1153769 : document PEP 237 changes to string formatting.
2008-05-11 09:06:30 +00:00
Alexandre Vassalotti
25ad76c91d
Added test for copy_reg rename.
...
Added note to documentation about copy_reg rename.
2008-05-11 09:01:51 +00:00
Georg Brandl
2ac747c05a
#2812 : document property.getter/setter/deleter.
2008-05-11 08:47:53 +00:00