Commit Graph

39453 Commits

Author SHA1 Message Date
Brett Cannon ddf7a4214e Make sure warnings are not suppressed when testing for the raised
DeprecationWarning.
2008-05-10 03:16:38 +00:00
Brett Cannon d5a0985265 The Canvas module has been deprecated for removal in 3.0. 2008-05-10 03:14:32 +00:00
Brett Cannon 756bc0b722 Add a test for the deprecation of the compiler package. 2008-05-10 03:09:35 +00:00
Benjamin Peterson 5f9050a1c6 Add the examples in the json module docstring as a doctest 2008-05-10 03:08:17 +00:00
Brett Cannon 6192df10b6 Deprecate the compiler package for removal in 3.0. 2008-05-10 02:58:26 +00:00
Brett Cannon af87804831 Also ignore package deprecations. 2008-05-10 02:57:03 +00:00
Brett Cannon edb628f241 Suppress deprecations for packages as well when using
test.test_support.import_module().
2008-05-10 02:54:52 +00:00
Brett Cannon cda73a4b4e Add an entry on the deprecation of Bastion and rexec. 2008-05-10 02:53:46 +00:00
Brett Cannon 768d44f54d Deprecate the bsddb185 module for removal in 3.0. 2008-05-10 02:47:54 +00:00
Brett Cannon 4c1f881f13 Deprecate Bastion and rexec for 3.0. 2008-05-10 02:27:04 +00:00
Brett Cannon ccdf9081b7 Fix some errors in the deprecation warnings for new and user. 2008-05-10 02:25:00 +00:00
Brett Cannon f0a0a0dbb9 Add support for extension modules in 3.0 deprection command. 2008-05-09 22:52:28 +00:00
Brett Cannon 9ac3974de8 Deprecate the pure module for 3.0. 2008-05-09 22:51:58 +00:00
Alexandre Vassalotti 1aed624f7c Backport fast alternate io.BytesIO implementation.
Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844,
r62846, r62952, r62956.
2008-05-09 21:49:43 +00:00
Brett Cannon 81673b7b63 Add a todo list to the module deletion command. 2008-05-09 21:30:36 +00:00
Benjamin Peterson 54718dd691 In stdtypes.rst, move methods under class directives where applicable 2008-05-09 21:30:26 +00:00
Martin v. Löwis f466c2a247 Port to VS 2008. Drop W9x support. 2008-05-09 20:11:37 +00:00
Martin v. Löwis 344d066a43 Use the CHM file name that Sphinx assigns. 2008-05-09 18:21:55 +00:00
Mark Dickinson f8476c1573 Issue #2487. math.ldexp(x, n) raised OverflowError when n was large and
negative; fix to return an (appropriately signed) zero instead.
2008-05-09 17:54:23 +00:00
Martin v. Löwis 8bd5334a9e Add 2.6b1 and 2.6b2 UUIDs. 2008-05-09 17:11:07 +00:00
Mark Dickinson e81c376080 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.)
2008-05-09 16:14:15 +00:00
Christian Heimes 17433d206c Add --user option to build_ext 2008-05-09 12:19:09 +00:00
Andrew M. Kuchling ba290db601 Update planned release date.
Uncomment PEP 370 section.
Add some module items
2008-05-09 11:46:05 +00:00
Georg Brandl 68fd63ba9a Add a note about using reload(). 2008-05-09 06:39:58 +00:00
Georg Brandl 2e829cb769 Add Kodos as a re reference. 2008-05-09 06:36:07 +00:00
Georg Brandl 3ddaf2d64b Add another link to colorsys docs. 2008-05-09 06:26:54 +00:00
Georg Brandl dfb5bbd44a Add a sentence to basicConfig() that is in the docstring. 2008-05-09 06:18:27 +00:00
Georg Brandl 5117409a53 #2781: fix function name. 2008-05-09 06:10:43 +00:00
Georg Brandl ada12e30d1 #2788: add .hgignore file. 2008-05-09 06:09:25 +00:00
Brett Cannon fa24d9a71c Deprecate the toaiff module for removal in 3.0. 2008-05-09 05:32:42 +00:00
Brett Cannon 3c75914434 Deprecate test.testall for removal in 3.0. 2008-05-09 05:25:37 +00:00
Brett Cannon d7265d6483 Deprecate the new module for removal in 3.0. 2008-05-09 05:18:40 +00:00
Benjamin Peterson d03238a647 reindent example 2008-05-09 00:50:40 +00:00
Skip Montanaro e404a12a46 Add an example about using NamedTemporaryFile() to replace mktemp(). I'm
unclear whether the verbatim text should have been indented or by how much.
2008-05-09 00:45:00 +00:00
Benjamin Peterson 0893a0a961 Add Py3k warnings to os.path.walk 2008-05-09 00:27:01 +00:00
Benjamin Peterson 9ec4aa01f9 Replace instances of os.path.walk with os.walk 2008-05-08 22:09:54 +00:00
Brett Cannon e3b1940eb9 Deprecate the user module for removal in 3.0. 2008-05-08 20:36:09 +00:00
Brett Cannon cae4f5f4ac Add test.test_support.catch_warning()'s new argument. 2008-05-08 20:24:43 +00:00
Brett Cannon 3c1d50a5d1 Add a missing entry on the fix for issue #2790. 2008-05-08 20:23:54 +00:00
Brett Cannon be1501b976 Fix sys.flags to properly expose bytes_warning.
Closes issue #2790.
2008-05-08 20:23:06 +00:00
Brett Cannon 98b9c07ab7 Document the 'record' argument for test.test_support.catch_warning(). 2008-05-08 20:20:54 +00:00
Brett Cannon 5d023c3afa Fix a bug introduced by the addition of the 'record' argument to
test.test_support.catch_warning() where showwarning() was not being set
properly.
2008-05-08 20:20:24 +00:00
Brett Cannon 6071cc8fb0 Deprecate stringold for removal in 3.0. 2008-05-08 19:52:45 +00:00
Brett Cannon bfb997d6a5 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.
2008-05-08 19:50:51 +00:00
Brett Cannon 9d44182427 The mutex module has been deprecated for removal in 3.0. 2008-05-08 19:26:08 +00:00
Brett Cannon 80bb9d92e3 Deprecate the imputil module for removal in 3.0. 2008-05-08 18:15:14 +00:00
Raymond Hettinger f8105ceec7 Issue 2778. Document the temporary frozenset swap in __contains__(), remove(), and discard(). 2008-05-08 17:18:13 +00:00
Barry Warsaw bf5bd9f2f0 Post tag updates. 2008-05-08 15:30:00 +00:00
Barry Warsaw f8a0ded522 Tagging 2.6a3 2008-05-08 13:17:34 +00:00
Barry Warsaw 6cc7940e10 Bump to 2.6a3 2008-05-08 13:16:19 +00:00