Commit graph

43198 commits

Author SHA1 Message Date
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
Georg Brandl
4e3e21e2cf Remove test for now-removed classes. 2008-05-11 16:52:22 +00:00
Benjamin Peterson
8041d47cfd fix __all__ 2008-05-11 16:17:24 +00:00
Georg Brandl
09d374fd67 #2803: fix heappush invocation (backport). 2008-05-11 15:21:42 +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
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
6f95ae55b1 #2659: add `break_on_hyphens` to TextWrapper. 2008-05-11 10:42:28 +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
edb978ff63 #2814: remove deprecated classes from mailbox module. Patch by Humberto Diogenes. 2008-05-11 08:59:40 +00:00
Alexandre Vassalotti
f7fa63dd55 Rename copy_reg module to copyreg.
Updated documentation.
Merged revisions 63042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63042 | alexandre.vassalotti | 2008-05-11 04:25:28 -0400 (Sun, 11 May 2008) | 5 lines

  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.
........
2008-05-11 08:55:36 +00:00
Alexandre Vassalotti
9510e4a9f8 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.
2008-05-11 08:25:28 +00:00
Alexandre Vassalotti
f602c71b07 Removed a dead line of code. 2008-05-11 07:10:25 +00:00
Alexandre Vassalotti
445ff35d5c Fixed typo in a comment of test_support.CleanImport. 2008-05-11 07:08:12 +00:00
Alexandre Vassalotti
eb83f70586 Added test framework for handling module renames.
Factored the import guard in test_py3kwarn.TestStdlibRemovals into
a context manager, namely test_support.CleanImport.
2008-05-11 07:06:04 +00:00
Brett Cannon
2a86913864 Deprecated the mhlib module for removal in 3.0. 2008-05-11 03:01:47 +00:00
Brett Cannon
d8b61ee8cc Remove the mhlib module. 2008-05-11 03:00:26 +00:00
Brett Cannon
df0a717037 The linuxaudidev module has been deprecated for removal in Python 3.0. 2008-05-11 00:50:51 +00:00
Brett Cannon
27508d4eb9 Deprecate ihooks for removal in 3.0. 2008-05-10 22:45:07 +00:00
Brett Cannon
bd474420e2 The ihooks module has been removed. 2008-05-10 22:42:14 +00:00
Andrew M. Kuchling
2bca212239 #1858: add distutils.config module 2008-05-10 22:12:38 +00:00
Brett Cannon
fe5985188d Deprecate the fpformat module for removal in 3.0. 2008-05-10 22:11:45 +00:00
Brett Cannon
b59a2bd906 Remove the fpformat module. 2008-05-10 22:03:16 +00:00
Brett Cannon
7f874fce63 Deprecate the dl module for removal in 3.0. 2008-05-10 21:20:19 +00:00
Brett Cannon
0aa6e1b8fb Deprecate the dircache module for 3.0. 2008-05-10 21:12:57 +00:00
Brett Cannon
f4fd99344a Remove the dircache module. 2008-05-10 21:11:46 +00:00
Brett Cannon
10f5db6424 Revert r62998 as it broke the build (seems distutils.config is missing). 2008-05-10 20:52:01 +00:00
Jeremy Hylton
7ecf3dcaee Fixup old, invalid import. 2008-05-10 20:38:40 +00:00
Alexandre Vassalotti
844f757aae 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.
2008-05-10 19:59:16 +00:00
Andrew M. Kuchling
cd8001c8ed #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.
2008-05-10 19:51:55 +00:00
Andrew M. Kuchling
5217d5d678 Docstring typo 2008-05-10 17:36:24 +00:00
Brett Cannon
d175b4cda5 The Canvas module has been removed. 2008-05-10 03:19:54 +00:00
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
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
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
Alexandre Vassalotti
f0c0ff6ce4 Removed redundant max() call.
Change suggested by Nick Coghlan.
2008-05-09 21:21:21 +00:00