]> granicus.if.org Git - python/log
python
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().

16 years agoAdd an entry on the deprecation of Bastion and rexec.
Brett Cannon [Sat, 10 May 2008 02:53:46 +0000 (02:53 +0000)]
Add an entry on the deprecation of Bastion and rexec.

16 years agoDeprecate the bsddb185 module for removal in 3.0.
Brett Cannon [Sat, 10 May 2008 02:47:54 +0000 (02:47 +0000)]
Deprecate the bsddb185 module for removal in 3.0.

16 years agoDeprecate Bastion and rexec for 3.0.
Brett Cannon [Sat, 10 May 2008 02:27:04 +0000 (02:27 +0000)]
Deprecate Bastion and rexec for 3.0.

16 years agoFix some errors in the deprecation warnings for new and user.
Brett Cannon [Sat, 10 May 2008 02:25:00 +0000 (02:25 +0000)]
Fix some errors in the deprecation warnings for new and user.

16 years agoAdd support for extension modules in 3.0 deprection command.
Brett Cannon [Fri, 9 May 2008 22:52:28 +0000 (22:52 +0000)]
Add support for extension modules in 3.0 deprection command.

16 years agoDeprecate the pure module for 3.0.
Brett Cannon [Fri, 9 May 2008 22:51:58 +0000 (22:51 +0000)]
Deprecate the pure module for 3.0.

16 years agoBackport fast alternate io.BytesIO implementation.
Alexandre Vassalotti [Fri, 9 May 2008 21:49:43 +0000 (21:49 +0000)]
Backport fast alternate io.BytesIO implementation.
Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844,
r62846, r62952, r62956.

16 years agoAdd a todo list to the module deletion command.
Brett Cannon [Fri, 9 May 2008 21:30:36 +0000 (21:30 +0000)]
Add a todo list to the module deletion command.

16 years agoIn stdtypes.rst, move methods under class directives where applicable
Benjamin Peterson [Fri, 9 May 2008 21:30:26 +0000 (21:30 +0000)]
In stdtypes.rst, move methods under class directives where applicable

16 years agoPort to VS 2008. Drop W9x support.
Martin v. Löwis [Fri, 9 May 2008 20:11:37 +0000 (20:11 +0000)]
Port to VS 2008. Drop W9x support.

16 years agoUse the CHM file name that Sphinx assigns.
Martin v. Löwis [Fri, 9 May 2008 18:21:55 +0000 (18:21 +0000)]
Use the CHM file name that Sphinx assigns.

16 years agoIssue #2487. math.ldexp(x, n) raised OverflowError when n was large and
Mark Dickinson [Fri, 9 May 2008 17:54:23 +0000 (17:54 +0000)]
Issue #2487.  math.ldexp(x, n) raised OverflowError when n was large and
negative; fix to return an (appropriately signed) zero instead.

16 years agoAdd 2.6b1 and 2.6b2 UUIDs.
Martin v. Löwis [Fri, 9 May 2008 17:11:07 +0000 (17:11 +0000)]
Add 2.6b1 and 2.6b2 UUIDs.

16 years agoIssue #2801: fix bug in float.is_integer where ValueError
Mark Dickinson [Fri, 9 May 2008 16:14:15 +0000 (16:14 +0000)]
Issue #2801: fix bug in float.is_integer where ValueError
could be incorrectly raised.  This is a backport of the
Py3k fix in r62939.  (Should really have been fixed
in the trunk first and svnmerged into py3k.)

16 years agoAdd --user option to build_ext
Christian Heimes [Fri, 9 May 2008 12:19:09 +0000 (12:19 +0000)]
Add --user option to build_ext

16 years agoUpdate planned release date.
Andrew M. Kuchling [Fri, 9 May 2008 11:46:05 +0000 (11:46 +0000)]
Update planned release date.
Uncomment PEP 370 section.
Add some module items

16 years agoAdd a note about using reload().
Georg Brandl [Fri, 9 May 2008 06:39:58 +0000 (06:39 +0000)]
Add a note about using reload().

16 years agoAdd Kodos as a re reference.
Georg Brandl [Fri, 9 May 2008 06:36:07 +0000 (06:36 +0000)]
Add Kodos as a re reference.

16 years agoAdd another link to colorsys docs.
Georg Brandl [Fri, 9 May 2008 06:26:54 +0000 (06:26 +0000)]
Add another link to colorsys docs.

16 years agoAdd a sentence to basicConfig() that is in the docstring.
Georg Brandl [Fri, 9 May 2008 06:18:27 +0000 (06:18 +0000)]
Add a sentence to basicConfig() that is in the docstring.

16 years ago#2781: fix function name.
Georg Brandl [Fri, 9 May 2008 06:10:43 +0000 (06:10 +0000)]
#2781: fix function name.

16 years ago#2788: add .hgignore file.
Georg Brandl [Fri, 9 May 2008 06:09:25 +0000 (06:09 +0000)]
#2788: add .hgignore file.

16 years agoDeprecate the toaiff module for removal in 3.0.
Brett Cannon [Fri, 9 May 2008 05:32:42 +0000 (05:32 +0000)]
Deprecate the toaiff module for removal in 3.0.

16 years agoDeprecate test.testall for removal in 3.0.
Brett Cannon [Fri, 9 May 2008 05:25:37 +0000 (05:25 +0000)]
Deprecate test.testall for removal in 3.0.

16 years agoDeprecate the new module for removal in 3.0.
Brett Cannon [Fri, 9 May 2008 05:18:40 +0000 (05:18 +0000)]
Deprecate the new module for removal in 3.0.

16 years agoreindent example
Benjamin Peterson [Fri, 9 May 2008 00:50:40 +0000 (00:50 +0000)]
reindent example

16 years agoAdd an example about using NamedTemporaryFile() to replace mktemp(). I'm
Skip Montanaro [Fri, 9 May 2008 00:45:00 +0000 (00:45 +0000)]
Add an example about using NamedTemporaryFile() to replace mktemp().  I'm
unclear whether the verbatim text should have been indented or by how much.

16 years agoAdd Py3k warnings to os.path.walk
Benjamin Peterson [Fri, 9 May 2008 00:27:01 +0000 (00:27 +0000)]
Add Py3k warnings to os.path.walk