Commit Graph

36260 Commits

Author SHA1 Message Date
Eric Smith 5807c415c5 Merged revisions 63078 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

When forward porting this, I added _PyUnicode_InsertThousandsGrouping.

........
  r63078 | eric.smith | 2008-05-11 15:52:48 -0400 (Sun, 11 May 2008) | 14 lines

  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.
........
2008-05-11 21:00:57 +00:00
Georg Brandl aa5b411b41 #756982: Remove rfc822 reference. 2008-05-11 20:51:18 +00:00
Alexandre Vassalotti 2b576d22af Renamed PixMapWrapper module to pixmapwrapper. 2008-05-11 20:36:09 +00:00
Alexandre Vassalotti de088f03db Blocked revisions 63086 via svnmerge
........
  r63086 | alexandre.vassalotti | 2008-05-11 16:30:43 -0400 (Sun, 11 May 2008) | 6 lines

  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.
........
2008-05-11 20:31:43 +00:00
Alexandre Vassalotti a0563ba63a Blocked revisions 63046 via svnmerge
........
  r63046 | alexandre.vassalotti | 2008-05-11 05:01:51 -0400 (Sun, 11 May 2008) | 3 lines

  Added test for copy_reg rename.
  Added note to documentation about copy_reg rename.
........
2008-05-11 20:08:44 +00:00
Alexandre Vassalotti 176040b9b9 Blocked revisions 63080 via svnmerge
........
  r63080 | alexandre.vassalotti | 2008-05-11 16:04:03 -0400 (Sun, 11 May 2008) | 3 lines

  Added test for Queue rename warning.
  Added note to documentation about Queue rename.
........
2008-05-11 20:07:57 +00:00
Alexandre Vassalotti f260e443ac Rename Queue module to queue.
Updated documentation to use new name.
Merged revisions 63077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines

  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:59:59 +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 30c78d6df1 Update the codecs docs w.r.t. str/bytes. 2008-05-11 14:52:00 +00:00
Georg Brandl 20a046cc5f Remove old macro that isn't used anywhere anymore. 2008-05-11 14:42:16 +00:00
Georg Brandl 95817b36f0 Remove mentions of "plain" integers. 2008-05-11 14:30:18 +00:00
Georg Brandl 6e6dcb5719 Block doc change about plain/long integers. 2008-05-11 10:57:28 +00:00
Georg Brandl bb74a78f0a Remove an obsolete sentence. 2008-05-11 10:53:16 +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
Brett Cannon 7760008c38 Blocked revisions 63030 via svnmerge
........
  r63030 | brett.cannon | 2008-05-10 20:01:47 -0700 (Sat, 10 May 2008) | 1 line

  Deprecated the mhlib module for removal in 3.0.
........
2008-05-11 03:04:55 +00:00
Brett Cannon d8b61ee8cc Remove the mhlib module. 2008-05-11 03:00:26 +00:00
Brett Cannon 99a9b8628b Blocked revisions 63025 via svnmerge
........
  r63025 | brett.cannon | 2008-05-10 18:06:54 -0700 (Sat, 10 May 2008) | 2 lines

  Fix up markup in the deprecation notice.
........
2008-05-11 01:08:09 +00:00
Brett Cannon d8dcebd2ef Blocked revisions 63021 via svnmerge
........
  r63021 | brett.cannon | 2008-05-10 17:50:51 -0700 (Sat, 10 May 2008) | 1 line

  The linuxaudidev module has been deprecated for removal in Python 3.0.
........
2008-05-11 00:51:30 +00:00
Brett Cannon 5438934473 Blocked revisions 63018 via svnmerge
........
  r63018 | brett.cannon | 2008-05-10 15:45:07 -0700 (Sat, 10 May 2008) | 1 line

  Deprecate ihooks for removal in 3.0.
........
2008-05-10 22:46:23 +00:00
Brett Cannon bd474420e2 The ihooks module has been removed. 2008-05-10 22:42:14 +00:00
Brett Cannon 4fabdc7a63 Blocked revisions 63013 via svnmerge
........
  r63013 | brett.cannon | 2008-05-10 15:11:45 -0700 (Sat, 10 May 2008) | 2 lines

  Deprecate the fpformat module for removal in 3.0.
........
2008-05-10 22:12:57 +00:00
Brett Cannon 1efcdab313 Remove a reference to the docs of fpformat. 2008-05-10 22:04:30 +00:00
Brett Cannon b59a2bd906 Remove the fpformat module. 2008-05-10 22:03:16 +00:00
Brett Cannon 386a22962f Blocked revisions 63007-63008 via svnmerge
........
  r63007 | brett.cannon | 2008-05-10 14:20:19 -0700 (Sat, 10 May 2008) | 2 lines

  Deprecate the dl module for removal in 3.0.
........
  r63008 | brett.cannon | 2008-05-10 14:22:43 -0700 (Sat, 10 May 2008) | 2 lines

  Add an entry for the deprecation of the dl module.
........
2008-05-10 21:25:32 +00:00
Brett Cannon 52600aa8ac Blocked revisions 63004 via svnmerge
........
  r63004 | brett.cannon | 2008-05-10 14:12:57 -0700 (Sat, 10 May 2008) | 2 lines

  Deprecate the dircache module for 3.0.
........
2008-05-10 21:13:53 +00:00
Brett Cannon f4fd99344a Remove the dircache module. 2008-05-10 21:11:46 +00:00
Jeremy Hylton 7ecf3dcaee Fixup old, invalid import. 2008-05-10 20:38:40 +00:00
Brett Cannon d175b4cda5 The Canvas module has been removed. 2008-05-10 03:19:54 +00:00
Brett Cannon 704cf164d0 Blocked revisions 62985-62986 via svnmerge
........
  r62985 | brett.cannon | 2008-05-09 20:14:32 -0700 (Fri, 09 May 2008) | 2 lines

  The Canvas module has been deprecated for removal in 3.0.
........
  r62986 | brett.cannon | 2008-05-09 20:16:38 -0700 (Fri, 09 May 2008) | 3 lines

  Make sure warnings are not suppressed when testing for the raised
  DeprecationWarning.
........
2008-05-10 03:17:52 +00:00
Brett Cannon 2fd53bb727 Blocked revisions 62983 via svnmerge
........
  r62983 | brett.cannon | 2008-05-09 20:09:35 -0700 (Fri, 09 May 2008) | 2 lines

  Add a test for the deprecation of the compiler package.
........
2008-05-10 03:11:05 +00:00
Brett Cannon b0ce5aa721 Blocked revisions 62977 via svnmerge
........
  r62977 | brett.cannon | 2008-05-09 19:58:26 -0700 (Fri, 09 May 2008) | 2 lines

  Deprecate the compiler package for removal in 3.0.
........
2008-05-10 02:59:33 +00:00
Brett Cannon 5d64a417f9 Blocked revisions 62974 via svnmerge
........
  r62974 | brett.cannon | 2008-05-09 19:53:46 -0700 (Fri, 09 May 2008) | 2 lines

  Add an entry on the deprecation of Bastion and rexec.
........
2008-05-10 02:58:58 +00:00
Brett Cannon 67c6df4d21 Blocked revisions 62971 via svnmerge
........
  r62971 | brett.cannon | 2008-05-09 19:47:54 -0700 (Fri, 09 May 2008) | 2 lines

  Deprecate the bsddb185 module for removal in 3.0.
........
2008-05-10 02:48:35 +00:00
Brett Cannon 848b3393fe Blocked revisions 62968 via svnmerge
........
  r62968 | brett.cannon | 2008-05-09 19:27:04 -0700 (Fri, 09 May 2008) | 2 lines

  Deprecate Bastion and rexec for 3.0.
........
2008-05-10 02:37:39 +00:00
Brett Cannon aaa0d7d104 Blocked revisions 62962 via svnmerge
........
  r62962 | brett.cannon | 2008-05-09 15:51:58 -0700 (Fri, 09 May 2008) | 2 lines

  Deprecate the pure module for 3.0.
........
2008-05-09 22:53:31 +00:00
Alexandre Vassalotti 27b495f9c0 Blocked revisions 62960 via svnmerge
........
  r62960 | alexandre.vassalotti | 2008-05-09 17:49:43 -0400 (Fri, 09 May 2008) | 5 lines

  Backport fast alternate io.BytesIO implementation.
  Merged r62778, r62779, r62802, r62806, r62807, r62808, r62809, r62844,
  r62846, r62952, r62956.
........
2008-05-09 21:57:48 +00:00
Alexandre Vassalotti f0c0ff6ce4 Removed redundant max() call.
Change suggested by Nick Coghlan.
2008-05-09 21:21:21 +00:00
Alexandre Vassalotti 4e6531e7de Removed remnants of os.path.walk(). 2008-05-09 20:00:17 +00:00
Alexandre Vassalotti 14a767d4f4 Made the TypeError message in bytes_iconcat() less confusing.
Before this change, the following example would output:

  >>> b = bytearray(b"hello")
  >>> b += "world"
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  TypeError: can't concat bytes to bytearray
2008-05-09 19:50:27 +00:00
Martin v. Löwis b2289ec60c Merged revisions 62946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62946 | martin.v.loewis | 2008-05-09 19:11:07 +0200 (Fr, 09 Mai 2008) | 1 line

  Add 2.6b1 and 2.6b2 UUIDs.
........
2008-05-09 17:14:15 +00:00
Martin v. Löwis 66834fd078 Use UNICODE wWinMain, to make CRT initialize __wargv. 2008-05-09 17:06:49 +00:00
Mark Dickinson b134227737 block r62943 2008-05-09 16:16:28 +00:00
Mark Dickinson b63aff15e8 Revert the temporary change in r62624 2008-05-09 14:10:27 +00:00
Mark Dickinson c4352b061a Issue 2801: fix bug in float.is_integer where ValueError was incorrectly
raised.
2008-05-09 13:55:01 +00:00
Mark Dickinson b27406c03e Issue 2748: fix __ceil__, __floor__ and __round__ magic methods in
Decimal, and add tests.
2008-05-09 13:42:33 +00:00
Brett Cannon 97371eb1ad Blocked revisions 62923 via svnmerge
........
  r62923 | brett.cannon | 2008-05-08 22:32:42 -0700 (Thu, 08 May 2008) | 2 lines

  Deprecate the toaiff module for removal in 3.0.
........
2008-05-09 05:33:23 +00:00
Brett Cannon bd898605a9 Blocked revisions 62920 via svnmerge
........
  r62920 | brett.cannon | 2008-05-08 22:25:37 -0700 (Thu, 08 May 2008) | 2 lines

  Deprecate test.testall for removal in 3.0.
........
2008-05-09 05:26:16 +00:00
Brett Cannon 6bae081293 Blocked revisions 62917 via svnmerge
........
  r62917 | brett.cannon | 2008-05-08 22:18:40 -0700 (Thu, 08 May 2008) | 2 lines

  Deprecate the new module for removal in 3.0.
........
2008-05-09 05:20:35 +00:00