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

16 years agoReplace instances of os.path.walk with os.walk
Benjamin Peterson [Thu, 8 May 2008 22:09:54 +0000 (22:09 +0000)]
Replace instances of os.path.walk with os.walk

16 years agoDeprecate the user module for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 20:36:09 +0000 (20:36 +0000)]
Deprecate the user module for removal in 3.0.

16 years agoAdd test.test_support.catch_warning()'s new argument.
Brett Cannon [Thu, 8 May 2008 20:24:43 +0000 (20:24 +0000)]
Add test.test_support.catch_warning()'s new argument.

16 years agoAdd a missing entry on the fix for issue #2790.
Brett Cannon [Thu, 8 May 2008 20:23:54 +0000 (20:23 +0000)]
Add a missing entry on  the fix for issue #2790.

16 years agoFix sys.flags to properly expose bytes_warning.
Brett Cannon [Thu, 8 May 2008 20:23:06 +0000 (20:23 +0000)]
Fix sys.flags to properly expose bytes_warning.

Closes issue #2790.

16 years agoDocument the 'record' argument for test.test_support.catch_warning().
Brett Cannon [Thu, 8 May 2008 20:20:54 +0000 (20:20 +0000)]
Document the 'record' argument for test.test_support.catch_warning().

16 years agoFix a bug introduced by the addition of the 'record' argument to
Brett Cannon [Thu, 8 May 2008 20:20:24 +0000 (20:20 +0000)]
Fix a bug introduced by the addition of the 'record' argument to
test.test_support.catch_warning() where showwarning() was not being set
properly.

16 years agoDeprecate stringold for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 19:52:45 +0000 (19:52 +0000)]
Deprecate stringold for removal in 3.0.

16 years agoMake test.test_support.catch_warning() take an argument specifying if any
Brett Cannon [Thu, 8 May 2008 19:50:51 +0000 (19:50 +0000)]
Make test.test_support.catch_warning() take an argument specifying if any
triggered warnings should be captured. This allows the context manager to be
used to just prevent the internal state of the 'warnings' framework and thus
allow triggered warnings to be displayed.

16 years agoThe mutex module has been deprecated for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 19:26:08 +0000 (19:26 +0000)]
The mutex module has been deprecated for removal in 3.0.

16 years agoDeprecate the imputil module for removal in 3.0.
Brett Cannon [Thu, 8 May 2008 18:15:14 +0000 (18:15 +0000)]
Deprecate the imputil module for removal in 3.0.

16 years agoIssue 2778. Document the temporary frozenset swap in __contains__(), remove(), and...
Raymond Hettinger [Thu, 8 May 2008 17:18:13 +0000 (17:18 +0000)]
Issue 2778.  Document the temporary frozenset swap in __contains__(), remove(), and discard().

16 years agoPost tag updates.
Barry Warsaw [Thu, 8 May 2008 15:30:00 +0000 (15:30 +0000)]
Post tag updates.

16 years agoTagging 2.6a3
Barry Warsaw [Thu, 8 May 2008 13:17:34 +0000 (13:17 +0000)]
Tagging 2.6a3

16 years agoBump to 2.6a3 v2.6a3
Barry Warsaw [Thu, 8 May 2008 13:16:19 +0000 (13:16 +0000)]
Bump to 2.6a3

16 years agoFix for issue 1770190: platform.mac_ver() now returns the right
Ronald Oussoren [Thu, 8 May 2008 10:34:39 +0000 (10:34 +0000)]
Fix for issue 1770190: platform.mac_ver() now returns the right
version on OSX 10.4.10

16 years agoFix-up the enumerate type example and move it to the end.
Raymond Hettinger [Thu, 8 May 2008 07:23:30 +0000 (07:23 +0000)]
Fix-up the enumerate type example and move it to the end.

16 years agoThe __all__ variable forgot to expose the gcd() function.
Raymond Hettinger [Thu, 8 May 2008 04:36:12 +0000 (04:36 +0000)]
The __all__ variable forgot to expose the gcd() function.

16 years agoFrozensets do not benefit from autoconversion.
Raymond Hettinger [Thu, 8 May 2008 04:35:20 +0000 (04:35 +0000)]
Frozensets do not benefit from autoconversion.

16 years agoPractice EAFP, and revert 62787
Benjamin Peterson [Wed, 7 May 2008 23:11:54 +0000 (23:11 +0000)]
Practice EAFP, and revert 62787