Commit Graph

36205 Commits

Author SHA1 Message Date
Brett Cannon 6ee80ec920 Blocked revisions 62900 via svnmerge
........
  r62900 | brett.cannon | 2008-05-08 13:36:09 -0700 (Thu, 08 May 2008) | 2 lines

  Deprecate the user module for removal in 3.0.
........
2008-05-08 20:37:28 +00:00
Brett Cannon 34afe87d3a Document that the mutex module is now gone. 2008-05-08 20:31:44 +00:00
Brett Cannon 900ee3a073 Remove the user module. 2008-05-08 20:31:11 +00:00
Brett Cannon 0e87f0f74b Blocked revisions 62888 via svnmerge
........
  r62888 | brett.cannon | 2008-05-08 12:52:45 -0700 (Thu, 08 May 2008) | 2 lines

  Deprecate stringold for removal in 3.0.
........
2008-05-08 19:53:31 +00:00
Brett Cannon e633740ebd Blocked revisions 62884 via svnmerge
........
  r62884 | brett.cannon | 2008-05-08 12:26:08 -0700 (Thu, 08 May 2008) | 2 lines

  The mutex module has been deprecated for removal in 3.0.
........
2008-05-08 19:27:16 +00:00
Brett Cannon d7cce26f7c Remove the mutex module. 2008-05-08 18:55:02 +00:00
Brett Cannon 39143f8156 Block r62879. 2008-05-08 18:16:22 +00:00
Brett Cannon 0d71ee756d Add entry for removal of imputil. Also start the 3.0b1 section. 2008-05-08 18:13:40 +00:00
Brett Cannon 0ec585575d Remove the imputil module. 2008-05-08 18:11:25 +00:00
Guido van Rossum 6d4df9b343 Don't echo the echo commands added to "make install". Fix a typo. 2008-05-08 17:53:56 +00:00
Christian Heimes e4ca8156ef Merged revisions 62805,62811,62841-62842,62848-62849,62853-62854 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62805 | christian.heimes | 2008-05-07 01:59:53 +0200 (Wed, 07 May 2008) | 1 line

  Re-added getbuildinfo.c solution item
........
  r62811 | benjamin.peterson | 2008-05-07 04:23:43 +0200 (Wed, 07 May 2008) | 2 lines

  update .bzrignore
........
  r62841 | christian.heimes | 2008-05-08 00:54:17 +0200 (Thu, 08 May 2008) | 1 line

  Replace more float hacks with correct math functions
........
  r62842 | benjamin.peterson | 2008-05-08 01:11:54 +0200 (Thu, 08 May 2008) | 2 lines

  Practice EAFP, and revert 62787
........
  r62848 | raymond.hettinger | 2008-05-08 06:35:20 +0200 (Thu, 08 May 2008) | 1 line

  Frozensets do not benefit from autoconversion.
........
  r62849 | raymond.hettinger | 2008-05-08 06:36:12 +0200 (Thu, 08 May 2008) | 1 line

  The __all__ variable forgot to expose the gcd() function.
........
  r62853 | raymond.hettinger | 2008-05-08 09:23:30 +0200 (Thu, 08 May 2008) | 1 line

  Fix-up the enumerate type example and move it to the end.
........
  r62854 | ronald.oussoren | 2008-05-08 12:34:39 +0200 (Thu, 08 May 2008) | 3 lines

  Fix for issue 1770190: platform.mac_ver() now returns the right
  version on OSX 10.4.10
........
2008-05-08 17:18:53 +00:00
Raymond Hettinger e580f5c55a Forward port r62849. 2008-05-08 16:03:04 +00:00
Raymond Hettinger 10956eab9e Forward port r62848. 2008-05-08 16:02:10 +00:00
Barry Warsaw 519a658c99 Oops, the retag screwed this up. First step in repairing this. 2008-05-08 15:37:53 +00:00
Barry Warsaw 4a1c213d24 Post tag updates. 2008-05-08 15:31:04 +00:00
Christian Heimes 6f8f2461e5 Blocked revisions 62861 via svnmerge
........
  r62861 | barry.warsaw | 2008-05-08 15:16:19 +0200 (Thu, 08 May 2008) | 1 line

  Bump to 2.6a3
........
2008-05-08 14:30:18 +00:00
Christian Heimes 90540004d3 Merged revisions 62734,62736,62748,62769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62734 | brett.cannon | 2008-05-05 22:21:38 +0200 (Mon, 05 May 2008) | 5 lines

  Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
  Ippolito.

  Closes issue #2750.
........
  r62736 | georg.brandl | 2008-05-05 22:53:39 +0200 (Mon, 05 May 2008) | 2 lines

  Fix JSON module docs.
........
  r62748 | benjamin.peterson | 2008-05-06 04:51:10 +0200 (Tue, 06 May 2008) | 2 lines

  PEP 8 nits in json package
........
  r62769 | christian.heimes | 2008-05-06 18:18:41 +0200 (Tue, 06 May 2008) | 2 lines

  Intern static string
  Use float constructors instead of magic code for float constants
........
2008-05-08 14:29:10 +00:00
Barry Warsaw c848655eb0 Move tag. 2008-05-08 13:06:07 +00:00
Barry Warsaw 9eab8b0385 Missed one file 2008-05-08 13:05:38 +00:00
Barry Warsaw 54e74ddf74 Tagging for 3.0a5 2008-05-08 11:56:58 +00:00
Barry Warsaw 160b9a3c94 Bumping versions for 3.0a5 2008-05-08 11:54:13 +00:00
Barry Warsaw 8d109cb043 Antoine Pitrou's patch for bug 2507; exception state lives too long in
3.0.
2008-05-08 04:26:35 +00:00
Alexandre Vassalotti 96de30ae1e Removed test_overflow from test_memoryio.CBytesIOTest.
This test depends too much on the platform it is running-on to be
useful.
2008-05-08 01:45:31 +00:00
Alexandre Vassalotti 8130f7c3c4 Fixed the negative value check in io._BytesIO.seek(). 2008-05-08 01:39:38 +00:00
Alexandre Vassalotti 10dfc1ee31 Fixed bytes naming in the docstrings of _bytesio.c. 2008-05-08 01:34:41 +00:00
Christian Heimes bcd2c08e11 Fixed a memory leak introduced in r62462 2008-05-08 01:20:25 +00:00
Alexandre Vassalotti ec924c995c Reverted (partially) patch r62667 to zipimport.c.
test_pkgutil and test_zipimport are failing on the amd64-gentoo
buildbot due to a yet unknown change introduced by r62667. To find
out what is causing the failure, I am reverting partially r62667.
2008-05-07 02:48:42 +00:00
Benjamin Peterson 9ea0117500 Remove ">>>>" markers left over from merge 2008-05-07 02:16:54 +00:00
Alexandre Vassalotti 7d06089150 Fixed docstring of _bytesio._BytesIO.writelines(). 2008-05-07 01:47:37 +00:00
Alexandre Vassalotti 1bfe9dc871 Changed _bytesio.c to avoid comparing a signed with an unsigned value.
Added tests for overflow checks.
2008-05-07 01:44:31 +00:00
Alexandre Vassalotti 2e0419dcd6 Cleaned how _BytesIO.read() returns an empty bytes object.
Thank you, Guido, for noticing!
2008-05-07 00:09:04 +00:00
Christian Heimes 8e99760c90 Added code to compile new _bytesio on Windows 2008-05-07 00:00:23 +00:00
Christian Heimes 75ca4ea6e1 Merged revisions 62792,62799-62800 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62792 | brett.cannon | 2008-05-07 01:22:02 +0200 (Wed, 07 May 2008) | 2 lines

  When testing a module's __all__, we really don't care if it is deprecated.
........
  r62799 | christian.heimes | 2008-05-07 01:42:58 +0200 (Wed, 07 May 2008) | 1 line

  Disabled some unit tests for the upcoming release. See #2777
........
  r62800 | brett.cannon | 2008-05-07 01:44:04 +0200 (Wed, 07 May 2008) | 2 lines

  Create a TextMate directory in Misc to house a Python-Dev bundle.
........
2008-05-06 23:48:04 +00:00
Alexandre Vassalotti 4833b3c37f Fixed a small bug introduced by r62778.
One of the codepaths of _BytesIO.read() returned a bytearray
object, by mistake, when it should always return a bytes object.
Interestingly, the fact this bug shown up probably means that
some platforms are not using the new C-accelerated io.BytesIO.
2008-05-06 23:47:23 +00:00
Christian Heimes 8dc226fccd Merged revisions 62774-62775,62785,62787-62788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62774 | georg.brandl | 2008-05-06 19:11:42 +0200 (Tue, 06 May 2008) | 2 lines

  #2773: fix description of 'g' and 'G' formatting spec.
........
  r62775 | georg.brandl | 2008-05-06 19:20:54 +0200 (Tue, 06 May 2008) | 2 lines

  > != (!<).
........
  r62785 | benjamin.peterson | 2008-05-07 00:18:11 +0200 (Wed, 07 May 2008) | 2 lines

  Fix logic error in Python/_warnings.c and add a test to verify
........
  r62787 | benjamin.peterson | 2008-05-07 00:31:52 +0200 (Wed, 07 May 2008) | 2 lines

  Make the Python implementation of warnings compatible with the C implementation regarding non-callable showwarning
........
  r62788 | christian.heimes | 2008-05-07 00:41:46 +0200 (Wed, 07 May 2008) | 1 line

  Implemented PEP 370
........
2008-05-06 23:45:46 +00:00
Brett Cannon 1bf7108fd5 Block a Misc/NEWS entry (r62797). 2008-05-06 23:42:27 +00:00
Brett Cannon 87c2eb31e8 Block r62793 (deprecation of audiodev). 2008-05-06 23:24:23 +00:00
Christian Heimes 5fdea68107 Silence a compiler warning 2008-05-06 23:15:46 +00:00
Christian Heimes 2ef32f24c8 Blocked revisions 62769 via svnmerge
........
  r62769 | christian.heimes | 2008-05-06 18:18:41 +0200 (Tue, 06 May 2008) | 2 lines

  Intern static string
  Use float constructors instead of magic code for float constants
........
2008-05-06 22:57:20 +00:00
Alexandre Vassalotti 5da31eb261 Added tests to check the buffer type returned during reading. 2008-05-06 20:30:41 +00:00
Alexandre Vassalotti 77250f4df7 Added fast alternate io.BytesIO implementation and its test suite.
Removed old test suite for StringIO.
Modified truncate() to imply a seek to given argument value.
2008-05-06 19:48:38 +00:00
Christian Heimes 5d8da20dd1 Merged revisions 62713,62715,62728,62737,62740,62744,62749,62756 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62713 | georg.brandl | 2008-05-04 23:40:44 +0200 (Sun, 04 May 2008) | 2 lines

  #2695: Do case-insensitive check for algorithms.
........
  r62715 | benjamin.peterson | 2008-05-05 00:39:33 +0200 (Mon, 05 May 2008) | 2 lines

  Remove method signatures from the docstrings of io.py
........
  r62728 | martin.v.loewis | 2008-05-05 19:54:01 +0200 (Mon, 05 May 2008) | 2 lines

  Revert bogus checkin in r62724 to that file.
........
  r62737 | georg.brandl | 2008-05-05 22:59:05 +0200 (Mon, 05 May 2008) | 2 lines

  #2769: markup glitch.
........
  r62740 | georg.brandl | 2008-05-05 23:06:48 +0200 (Mon, 05 May 2008) | 2 lines

  #2752: fix second example too.
........
  r62744 | gregory.p.smith | 2008-05-05 23:53:45 +0200 (Mon, 05 May 2008) | 13 lines

  Fix a bug introduced in r62627.  see issue2760 and issue2632.

  An assertion in readline() would fail as data was already in the
  internal buffer even though the socket was in unbuffered read mode.
  That case is now handled.  More importantly, read() has been fixed to
  not over-recv() and leave newly recv()d data in the _fileobject buffer.

  The max() vs min() issue in read() is now gone.  Neither was correct.
  On bounded reads, always ask recv() for the exact amount of data we
  still need.

  Candidate for backporting to release25-maint along with r62627.
........
  r62749 | brett.cannon | 2008-05-06 06:37:31 +0200 (Tue, 06 May 2008) | 3 lines

  Fix a bug in the handling of the stacklevel argument in warnings.warn() where
  the stack was being unwound by two levels instead of one each time.
........
  r62756 | gregory.p.smith | 2008-05-06 09:05:18 +0200 (Tue, 06 May 2008) | 2 lines

  fix issue2707 - os.walk docstring example correctness typo.
........
2008-05-06 13:58:24 +00:00
Christian Heimes b91960c687 Blocked revisions 62734,62736,62748 via svnmerge
Blocking json for now. It requires a careful redesign in order to
support bytes and unicode strings.

........
  r62734 | brett.cannon | 2008-05-05 22:21:38 +0200 (Mon, 05 May 2008) | 5 lines

  Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob
  Ippolito.

  Closes issue #2750.
........
  r62736 | georg.brandl | 2008-05-05 22:53:39 +0200 (Mon, 05 May 2008) | 2 lines

  Fix JSON module docs.
........
  r62748 | benjamin.peterson | 2008-05-06 04:51:10 +0200 (Tue, 06 May 2008) | 2 lines

  PEP 8 nits in json package
........
2008-05-06 13:46:15 +00:00
Georg Brandl e06de8b3cc #2762: remove 2.x remnants and patch up some new documentation. 2008-05-05 21:42:51 +00:00
Georg Brandl 7694100e4b Give with_traceback a docstring. 2008-05-05 21:38:47 +00:00
Georg Brandl 4251481ed9 #2761: Some are types too. 2008-05-05 21:05:32 +00:00
Georg Brandl de2b00e911 Clarify map() behavior. 2008-05-05 21:04:12 +00:00
Martin v. Löwis 1a9f900073 Merged revisions 62726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62726 | martin.v.loewis | 2008-05-05 19:47:06 +0200 (Mo, 05 Mai 2008) | 2 lines

  Fix Unicode filename test.
........
2008-05-05 17:50:05 +00:00
Martin v. Löwis 8570f6a402 Merged revisions 62724 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r62724 | martin.v.loewis | 2008-05-05 19:16:58 +0200 (Mo, 05 Mai 2008) | 2 lines

  Issue #1734346: Support Unicode file names for zipfiles.
........
2008-05-05 17:44:38 +00:00
Brett Cannon 43653bbdab Block r62722 since it relies on r62720. 2008-05-05 17:00:47 +00:00