]> granicus.if.org Git - python/log
python
16 years agoTestsuite for bsddb module, version 4.6.4
Jesus Cea [Tue, 13 May 2008 20:57:59 +0000 (20:57 +0000)]
Testsuite for bsddb module, version 4.6.4

16 years agoRemove leftovers from reverted setuptools checkin (they were added in r45525).
Marc-André Lemburg [Tue, 13 May 2008 19:10:45 +0000 (19:10 +0000)]
Remove leftovers from reverted setuptools checkin (they were added in r45525).

16 years ago#2831: add start argument to enumerate(). Patch by Scott Dial and me.
Georg Brandl [Tue, 13 May 2008 19:04:54 +0000 (19:04 +0000)]
#2831: add start argument to enumerate(). Patch by Scott Dial and me.

16 years agobsddb module updated to version 4.6.4
Jesus Cea [Tue, 13 May 2008 18:45:46 +0000 (18:45 +0000)]
bsddb module updated to version 4.6.4

16 years agouse .format and fix a bug
Benjamin Peterson [Tue, 13 May 2008 00:09:46 +0000 (00:09 +0000)]
use .format and fix a bug

16 years agoMake error messages more helpful
Benjamin Peterson [Mon, 12 May 2008 22:26:05 +0000 (22:26 +0000)]
Make error messages more helpful

16 years agoAdapt test_pyclbr to the new version of urllib.py:
Amaury Forgeot d'Arc [Mon, 12 May 2008 22:21:39 +0000 (22:21 +0000)]
Adapt test_pyclbr to the new version of urllib.py:
The new mac-specific functions must be ignored.

16 years agoAdd warnings to and deprecated all those Mac modules
Benjamin Peterson [Mon, 12 May 2008 21:42:13 +0000 (21:42 +0000)]
Add warnings to and deprecated all those Mac modules

16 years agoSync code with documentation, and remove Win95 support in winsound module.
Amaury Forgeot d'Arc [Mon, 12 May 2008 21:30:24 +0000 (21:30 +0000)]
Sync code with documentation, and remove Win95 support in winsound module.

16 years agoWin 95/98 is no longer supported.
Georg Brandl [Mon, 12 May 2008 17:52:13 +0000 (17:52 +0000)]
Win 95/98 is no longer supported.

16 years agoMention version in which the new marshal version was introduced.
Georg Brandl [Mon, 12 May 2008 17:48:56 +0000 (17:48 +0000)]
Mention version in which the new marshal version was introduced.

16 years agoMarshal is at version 2.
Georg Brandl [Mon, 12 May 2008 17:47:53 +0000 (17:47 +0000)]
Marshal is at version 2.

16 years agoFix markup.
Georg Brandl [Mon, 12 May 2008 17:43:13 +0000 (17:43 +0000)]
Fix markup.

16 years ago#1760: try-except-finally is one statement since PEP 341.
Georg Brandl [Mon, 12 May 2008 17:14:51 +0000 (17:14 +0000)]
#1760: try-except-finally is one statement since PEP 341.

16 years ago#2767: don't clear globs in run() call, since they could be needed in tearDown,
Georg Brandl [Mon, 12 May 2008 17:04:10 +0000 (17:04 +0000)]
#2767: don't clear globs in run() call, since they could be needed in tearDown,
which clears them at the end.

16 years ago#2766: remove code without effect.
Georg Brandl [Mon, 12 May 2008 17:01:58 +0000 (17:01 +0000)]
#2766: remove code without effect.

16 years agoFix parameter name for enumerate().
Georg Brandl [Mon, 12 May 2008 16:53:42 +0000 (16:53 +0000)]
Fix parameter name for enumerate().

16 years ago#2836: backport new string formatting docs.
Georg Brandl [Mon, 12 May 2008 16:45:43 +0000 (16:45 +0000)]
#2836: backport new string formatting docs.

16 years ago#1713041: fix pprint's handling of maximum depth.
Georg Brandl [Mon, 12 May 2008 16:26:52 +0000 (16:26 +0000)]
#1713041: fix pprint's handling of maximum depth.

16 years agoAdded 'n' presentation type for integers.
Eric Smith [Mon, 12 May 2008 14:00:01 +0000 (14:00 +0000)]
Added 'n' presentation type for integers.

16 years agoMacOSX: remove dependency on Carbon package for urllib
Ronald Oussoren [Mon, 12 May 2008 11:31:05 +0000 (11:31 +0000)]
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.

16 years agoRemove references to platform 'mac'
Ronald Oussoren [Mon, 12 May 2008 11:24:33 +0000 (11:24 +0000)]
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).

16 years agoFix-up docs for the copyreg module renaming.
Georg Brandl [Mon, 12 May 2008 10:05:39 +0000 (10:05 +0000)]
Fix-up docs for the copyreg module renaming.

16 years agoFix-up docs for socketserver and queue renaming.
Georg Brandl [Mon, 12 May 2008 10:03:16 +0000 (10:03 +0000)]
Fix-up docs for socketserver and queue renaming.

16 years agoDeprecate the timing module for removal in Python 3.0.
Brett Cannon [Mon, 12 May 2008 03:47:47 +0000 (03:47 +0000)]
Deprecate the timing module for removal in Python 3.0.

16 years agoDeprecate the sv module as per PEP 4.
Brett Cannon [Mon, 12 May 2008 03:45:59 +0000 (03:45 +0000)]
Deprecate the sv module as per PEP 4.

16 years agoDeprecate the multifile module as per PEP 4.
Brett Cannon [Mon, 12 May 2008 03:19:20 +0000 (03:19 +0000)]
Deprecate the multifile module as per PEP 4.

16 years agoAdded stub entry in the documentation mentioning SocketServer
Alexandre Vassalotti [Mon, 12 May 2008 02:18:15 +0000 (02:18 +0000)]
Added stub entry in the documentation mentioning SocketServer
was renamed.

16 years agoUpdated all import statements to use the new socketserver module name.
Alexandre Vassalotti [Mon, 12 May 2008 02:11:22 +0000 (02:11 +0000)]
Updated all import statements to use the new socketserver module name.
Renamed socketserver module in its own documentation.
Renamed documentation references.

16 years agoRenamed SocketServer to 'socketserver'.
Alexandre Vassalotti [Mon, 12 May 2008 01:37:10 +0000 (01:37 +0000)]
Renamed SocketServer to 'socketserver'.
Deprecated old name.

16 years agomake message slightly more informative, so there's no chance of misunderstanding it
Benjamin Peterson [Mon, 12 May 2008 00:46:49 +0000 (00:46 +0000)]
make message slightly more informative, so there's no chance of misunderstanding it

16 years ago#2196 hasattr now allows SystemExit and KeyboardInterrupt to propagate
Benjamin Peterson [Mon, 12 May 2008 00:41:23 +0000 (00:41 +0000)]
#2196 hasattr now allows SystemExit and KeyboardInterrupt to propagate

16 years agoDepreate imageop for removal in 3.0.
Brett Cannon [Mon, 12 May 2008 00:08:34 +0000 (00:08 +0000)]
Depreate imageop for removal in 3.0.

16 years agoPut Lib/lib-old back on to sys.path for module renames.
Brett Cannon [Sun, 11 May 2008 23:39:04 +0000 (23:39 +0000)]
Put Lib/lib-old back on to sys.path for module renames.

16 years agoRevert commit r63086.
Alexandre Vassalotti [Sun, 11 May 2008 23:12:38 +0000 (23:12 +0000)]
Revert commit r63086.

16 years agoMoved the Queue module stub in lib-old.
Alexandre Vassalotti [Sun, 11 May 2008 23:04:27 +0000 (23:04 +0000)]
Moved the Queue module stub in lib-old.

16 years agoAdd a deprecation notice to mailbox' old classes' doc.
Georg Brandl [Sun, 11 May 2008 21:54:09 +0000 (21:54 +0000)]
Add a deprecation notice to mailbox' old classes' doc.

16 years agoFormally deprecate old classes in the cgi module.
Georg Brandl [Sun, 11 May 2008 21:37:53 +0000 (21:37 +0000)]
Formally deprecate old classes in the cgi module.

16 years ago#2535: remove duplicated method.
Georg Brandl [Sun, 11 May 2008 21:34:10 +0000 (21:34 +0000)]
#2535: remove duplicated method.

16 years agoClarify os.strerror()s exception behavior.
Georg Brandl [Sun, 11 May 2008 21:16:37 +0000 (21:16 +0000)]
Clarify os.strerror()s exception behavior.

16 years ago- #2250: Exceptions raised during evaluation of names in rlcompleter's
Georg Brandl [Sun, 11 May 2008 21:03:42 +0000 (21:03 +0000)]
- #2250: Exceptions raised during evaluation of names in rlcompleter's
  ``Completer.complete()`` method are now caught and ignored.

16 years ago#2809 followup: even better split docstring.
Georg Brandl [Sun, 11 May 2008 20:53:55 +0000 (20:53 +0000)]
#2809 followup: even better split docstring.

16 years agoAdded stub for the PixMapWrapper module to be renamed in 3.0.
Alexandre Vassalotti [Sun, 11 May 2008 20:30:43 +0000 (20:30 +0000)]
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.

16 years agoTry setting HOME env.var to fix test on Win32
Andrew M. Kuchling [Sun, 11 May 2008 20:08:33 +0000 (20:08 +0000)]
Try setting HOME env.var to fix test on Win32

16 years agoAdded test for Queue rename warning.
Alexandre Vassalotti [Sun, 11 May 2008 20:04:03 +0000 (20:04 +0000)]
Added test for Queue rename warning.
Added note to documentation about Queue rename.

16 years agoAddresses issue 2802: 'n' formatting for integers.
Eric Smith [Sun, 11 May 2008 19:52:48 +0000 (19:52 +0000)]
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.

16 years agoAdded stub for the Queue module to be renamed in 3.0.
Alexandre Vassalotti [Sun, 11 May 2008 19:39:48 +0000 (19:39 +0000)]
Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.

16 years agoAdd message to test assertion
Andrew M. Kuchling [Sun, 11 May 2008 19:15:52 +0000 (19:15 +0000)]
Add message to test assertion

16 years agobroaden .bzrignore
Benjamin Peterson [Sun, 11 May 2008 16:38:07 +0000 (16:38 +0000)]
broaden .bzrignore

16 years ago#2803: fix wrong invocation of heappush in seldom-reached code.
Georg Brandl [Sun, 11 May 2008 15:20:16 +0000 (15:20 +0000)]
#2803: fix wrong invocation of heappush in seldom-reached code.
Thanks to Matt Harden.

16 years ago#2787: Flush stdout after writing test name, helpful when running
Georg Brandl [Sun, 11 May 2008 15:17:41 +0000 (15:17 +0000)]
#2787: Flush stdout after writing test name, helpful when running
hanging or long-running tests. Patch by Adam Olsen.

16 years ago#2816: clarify error messages for EOF while scanning strings.
Georg Brandl [Sun, 11 May 2008 15:07:39 +0000 (15:07 +0000)]
#2816: clarify error messages for EOF while scanning strings.

16 years ago#1326: document and test zipimporter.archive and zipimporter.prefix.
Georg Brandl [Sun, 11 May 2008 15:05:13 +0000 (15:05 +0000)]
#1326: document and test zipimporter.archive and zipimporter.prefix.

16 years ago#2709 followup: better description of Tk's pros and cons.
Georg Brandl [Sun, 11 May 2008 14:56:04 +0000 (14:56 +0000)]
#2709 followup: better description of Tk's pros and cons.

16 years agoAdd some sentence endings.
Georg Brandl [Sun, 11 May 2008 14:17:13 +0000 (14:17 +0000)]
Add some sentence endings.

16 years agoAdd the "until" command to pdb
Benjamin Peterson [Sun, 11 May 2008 14:13:25 +0000 (14:13 +0000)]
Add the "until" command to pdb

16 years ago#1858: re-apply patch for this, adding the missing files
Andrew M. Kuchling [Sun, 11 May 2008 14:00:00 +0000 (14:00 +0000)]
#1858: re-apply patch for this, adding the missing files

16 years ago#1792: Improve performance of marshal.dumps() on large objects by increasing
Andrew M. Kuchling [Sun, 11 May 2008 13:33:56 +0000 (13:33 +0000)]
#1792: Improve performance of marshal.dumps() on large objects by increasing
the size of the buffer more quickly.

16 years ago#2452: timeout is used for all blocking operations.
Georg Brandl [Sun, 11 May 2008 11:09:35 +0000 (11:09 +0000)]
#2452: timeout is used for all blocking operations.

16 years ago#2741: clarification of value range for address_family.
Georg Brandl [Sun, 11 May 2008 10:59:39 +0000 (10:59 +0000)]
#2741: clarification of value range for address_family.

16 years ago#2147: PEP 237 changes to overflow behavior.
Georg Brandl [Sun, 11 May 2008 10:55:59 +0000 (10:55 +0000)]
#2147: PEP 237 changes to overflow behavior.

16 years ago#2659: add ``break_on_hyphens`` to TextWrapper.
Georg Brandl [Sun, 11 May 2008 10:42:28 +0000 (10:42 +0000)]
#2659: add ``break_on_hyphens`` to TextWrapper.

16 years ago#2709: clarification.
Georg Brandl [Sun, 11 May 2008 10:33:27 +0000 (10:33 +0000)]
#2709: clarification.

16 years agoFix typo.
Georg Brandl [Sun, 11 May 2008 10:13:59 +0000 (10:13 +0000)]
Fix typo.

16 years ago#2809: elaborate str.split docstring a bit.
Georg Brandl [Sun, 11 May 2008 09:11:40 +0000 (09:11 +0000)]
#2809: elaborate str.split docstring a bit.

16 years ago#1153769: document PEP 237 changes to string formatting.
Georg Brandl [Sun, 11 May 2008 09:06:30 +0000 (09:06 +0000)]
#1153769: document PEP 237 changes to string formatting.

16 years agoAdded test for copy_reg rename.
Alexandre Vassalotti [Sun, 11 May 2008 09:01:51 +0000 (09:01 +0000)]
Added test for copy_reg rename.
Added note to documentation about copy_reg rename.

16 years ago#2812: document property.getter/setter/deleter.
Georg Brandl [Sun, 11 May 2008 08:47:53 +0000 (08:47 +0000)]
#2812: document property.getter/setter/deleter.

16 years agoAdded module stub for copy_reg renaming in 3.0.
Alexandre Vassalotti [Sun, 11 May 2008 08:25:28 +0000 (08:25 +0000)]
Added module stub for copy_reg renaming in 3.0.
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.

16 years agoRemoved a dead line of code.
Alexandre Vassalotti [Sun, 11 May 2008 07:10:25 +0000 (07:10 +0000)]
Removed a dead line of code.

16 years agoFixed typo in a comment of test_support.CleanImport.
Alexandre Vassalotti [Sun, 11 May 2008 07:08:12 +0000 (07:08 +0000)]
Fixed typo in a comment of test_support.CleanImport.

16 years ago#2742: ``''`` is not converted to NULL in getaddrinfo.
Georg Brandl [Sun, 11 May 2008 07:06:05 +0000 (07:06 +0000)]
#2742: ``''`` is not converted to NULL in getaddrinfo.

16 years agoAdded test framework for handling module renames.
Alexandre Vassalotti [Sun, 11 May 2008 07:06:04 +0000 (07:06 +0000)]
Added test framework for handling module renames.
Factored the import guard in test_py3kwarn.TestStdlibRemovals into
a context manager, namely test_support.CleanImport.

16 years agoreload() takes the module itself.
Georg Brandl [Sun, 11 May 2008 07:02:17 +0000 (07:02 +0000)]
reload() takes the module itself.

16 years agoDeprecated the mhlib module for removal in 3.0.
Brett Cannon [Sun, 11 May 2008 03:01:47 +0000 (03:01 +0000)]
Deprecated the mhlib module for removal in 3.0.

16 years agoCopied two versions of the example from the interactive session. Delete
Skip Montanaro [Sun, 11 May 2008 02:59:30 +0000 (02:59 +0000)]
Copied two versions of the example from the interactive session.  Delete
one.

16 years agoFlesh out the 3.0 deprecation to suggest using the ctypes module.
Brett Cannon [Sun, 11 May 2008 01:09:32 +0000 (01:09 +0000)]
Flesh out the 3.0 deprecation to suggest using the ctypes module.

16 years agoFix up markup in the deprecation notice.
Brett Cannon [Sun, 11 May 2008 01:06:54 +0000 (01:06 +0000)]
Fix up markup in the deprecation notice.

16 years agoThe linuxaudidev module has been deprecated for removal in Python 3.0.
Brett Cannon [Sun, 11 May 2008 00:50:51 +0000 (00:50 +0000)]
The linuxaudidev module has been deprecated for removal in Python 3.0.

16 years agoDeprecate ihooks for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 22:45:07 +0000 (22:45 +0000)]
Deprecate ihooks for removal in 3.0.

16 years ago#1858: add distutils.config module
Andrew M. Kuchling [Sat, 10 May 2008 22:12:38 +0000 (22:12 +0000)]
#1858: add distutils.config module

16 years agoDeprecate the fpformat module for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 22:11:45 +0000 (22:11 +0000)]
Deprecate the fpformat module for removal in 3.0.

16 years agoAdd an entry for the deprecation of the dl module.
Brett Cannon [Sat, 10 May 2008 21:22:43 +0000 (21:22 +0000)]
Add an entry for the deprecation of the dl module.

16 years agoDeprecate the dl module for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 21:20:19 +0000 (21:20 +0000)]
Deprecate the dl module for removal in 3.0.

16 years agoDeprecate the dircache module for 3.0.
Brett Cannon [Sat, 10 May 2008 21:12:57 +0000 (21:12 +0000)]
Deprecate the dircache module for 3.0.

16 years agoRevert r62998 as it broke the build (seems distutils.config is missing).
Brett Cannon [Sat, 10 May 2008 20:52:01 +0000 (20:52 +0000)]
Revert r62998 as it broke the build (seems distutils.config is missing).

16 years agoCleaned up io._BytesIO.write().
Alexandre Vassalotti [Sat, 10 May 2008 19:59:16 +0000 (19:59 +0000)]
Cleaned up io._BytesIO.write().

I am amazed that the old code, for inserting null-bytes, actually
worked. Who wrote that thing? Oh, it is me... doh.

16 years ago#1858 from Tarek Ziade:
Andrew M. Kuchling [Sat, 10 May 2008 19:51:55 +0000 (19:51 +0000)]
#1858 from Tarek Ziade:
Allow multiple repositories in .pypirc; see http://wiki.python.org/moin/EnhancedPyPI
for discussion.

The patch is slightly revised from Tarek's last patch: I've simplified
the PyPIRCCommand.finalize_options() method to not look at sys.argv.
Tests still pass.

16 years ago#1625509: describe behaviour of import lock
Andrew M. Kuchling [Sat, 10 May 2008 17:48:45 +0000 (17:48 +0000)]
#1625509: describe behaviour of import lock

16 years agoDocument the 'line' argument
Andrew M. Kuchling [Sat, 10 May 2008 17:37:05 +0000 (17:37 +0000)]
Document the 'line' argument

16 years agoDocstring typo
Andrew M. Kuchling [Sat, 10 May 2008 17:36:24 +0000 (17:36 +0000)]
Docstring typo

16 years agoNote the PyPI-edness of bsddb185 for people who might still need it.
Skip Montanaro [Sat, 10 May 2008 14:48:49 +0000 (14:48 +0000)]
Note the PyPI-edness of bsddb185 for people who might still need it.

16 years agoExplicitly refer to current hhp file (2.6a3)
Martin v. Löwis [Sat, 10 May 2008 13:24:09 +0000 (13:24 +0000)]
Explicitly refer to current hhp file (2.6a3)

16 years agoMake sure warnings are not suppressed when testing for the raised
Brett Cannon [Sat, 10 May 2008 03:16:38 +0000 (03:16 +0000)]
Make sure warnings are not suppressed when testing for the raised
DeprecationWarning.

16 years agoThe Canvas module has been deprecated for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 03:14:32 +0000 (03:14 +0000)]
The Canvas module has been deprecated for removal in 3.0.

16 years agoAdd a test for the deprecation of the compiler package.
Brett Cannon [Sat, 10 May 2008 03:09:35 +0000 (03:09 +0000)]
Add a test for the deprecation of the compiler package.

16 years agoAdd the examples in the json module docstring as a doctest
Benjamin Peterson [Sat, 10 May 2008 03:08:17 +0000 (03:08 +0000)]
Add the examples in the json module docstring as a doctest

16 years agoDeprecate the compiler package for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 02:58:26 +0000 (02:58 +0000)]
Deprecate the compiler package for removal in 3.0.

16 years agoAlso ignore package deprecations.
Brett Cannon [Sat, 10 May 2008 02:57:03 +0000 (02:57 +0000)]
Also ignore package deprecations.

16 years agoSuppress deprecations for packages as well when using
Brett Cannon [Sat, 10 May 2008 02:54:52 +0000 (02:54 +0000)]
Suppress deprecations for packages as well when using
test.test_support.import_module().