]> granicus.if.org Git - python/log
python
15 years agoMerged revisions 72213 via svnmerge from
Andrew M. Kuchling [Sun, 3 May 2009 02:52:20 +0000 (02:52 +0000)]
Merged revisions 72213 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72213 | andrew.kuchling | 2009-05-02 15:17:28 -0400 (Sat, 02 May 2009) | 3 lines

  #1607951: Make mailbox.Maildir re-read the directories less frequently.
  This is done by recording the current time -1sec, and not re-reading unless
  the directory mod. times are >= the recorded time.
........

15 years agoMerged revisions 72223 via svnmerge from
Antoine Pitrou [Sat, 2 May 2009 21:41:14 +0000 (21:41 +0000)]
Merged revisions 72223 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72223 | antoine.pitrou | 2009-05-02 23:13:23 +0200 (sam., 02 mai 2009) | 5 lines

  Isue #5084: unpickling now interns the attribute names of pickled objects,
  saving memory and avoiding growth in size of subsequent pickles. Proposal
  and original patch by Jake McGuire.
........

15 years agoBlocked revisions 71662,72052,72117 via svnmerge
Benjamin Peterson [Sat, 2 May 2009 20:31:20 +0000 (20:31 +0000)]
Blocked revisions 71662,72052,72117 via svnmerge

........
  r71662 | vinay.sajip | 2009-04-16 14:15:49 -0500 (Thu, 16 Apr 2009) | 1 line

  Issue #5768: Change to Unicode output logic and test case for same.
........
  r72052 | raymond.hettinger | 2009-04-27 16:12:27 -0500 (Mon, 27 Apr 2009) | 1 line

  Update spec version number.
........
  r72117 | benjamin.peterson | 2009-04-29 15:36:25 -0500 (Wed, 29 Apr 2009) | 1 line

  run autoconf
........

15 years agotry to get merge props correct
Benjamin Peterson [Sat, 2 May 2009 20:25:05 +0000 (20:25 +0000)]
try to get merge props correct

15 years agorevert merge properties to something sane
Benjamin Peterson [Sat, 2 May 2009 20:14:55 +0000 (20:14 +0000)]
revert merge properties to something sane

15 years agoMake PyCodec_SurrogateErrors static.
Martin v. Löwis [Sat, 2 May 2009 19:27:30 +0000 (19:27 +0000)]
Make PyCodec_SurrogateErrors static.

15 years agoBlocked revisions 71780,71961,72117,72155 via svnmerge
Benjamin Peterson [Sat, 2 May 2009 19:15:23 +0000 (19:15 +0000)]
Blocked revisions 71780,71961,72117,72155 via svnmerge

........
  r71780 | senthil.kumaran | 2009-04-20 22:24:19 -0500 (Mon, 20 Apr 2009) | 3 lines

  Fix for the Issue918368 - urllib doesn't correct server returned urls
........
  r71961 | georg.brandl | 2009-04-26 04:57:29 -0500 (Sun, 26 Apr 2009) | 2 lines

  Update pydoc topics.
........
  r72117 | benjamin.peterson | 2009-04-29 15:36:25 -0500 (Wed, 29 Apr 2009) | 1 line

  run autoconf
........
  r72155 | senthil.kumaran | 2009-05-01 00:59:52 -0500 (Fri, 01 May 2009) | 4 lines

  Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the
  "<local>" macro as the only entry, this function bypasses any host name that
  does not contain a period.
........

15 years agoMerged revisions 72210 via svnmerge from
Gregory P. Smith [Sat, 2 May 2009 19:01:54 +0000 (19:01 +0000)]
Merged revisions 72210 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72210 | gregory.p.smith | 2009-05-02 11:58:21 -0700 (Sat, 02 May 2009) | 2 lines

  Convert test method names to PEP8 style.
........

15 years agoIssue #3672: Reject surrogates in utf-8 codec; add surrogates error
Martin v. Löwis [Sat, 2 May 2009 18:52:14 +0000 (18:52 +0000)]
Issue #3672: Reject surrogates in utf-8 codec; add surrogates error
handler.

15 years agoipaddr cleanup for python 3.x:
Gregory P. Smith [Sat, 2 May 2009 18:35:58 +0000 (18:35 +0000)]
ipaddr cleanup for python 3.x:
* Get rid of __hex__.
* Support bytearray as well as bytes.
* Don't double test for integer input.

15 years agomake py3k compat code explicitly on
Benjamin Peterson [Sat, 2 May 2009 18:10:37 +0000 (18:10 +0000)]
make py3k compat code explicitly on

15 years agoMerged revisions 72202 via svnmerge from
Mark Dickinson [Sat, 2 May 2009 17:57:52 +0000 (17:57 +0000)]
Merged revisions 72202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72202 | mark.dickinson | 2009-05-02 18:55:01 +0100 (Sat, 02 May 2009) | 3 lines

  Remove unnecessary use of context for long getters.
  (Related to issue #5880).
........

15 years agoBlocked revisions 72199-72200 via svnmerge
Benjamin Peterson [Sat, 2 May 2009 17:38:06 +0000 (17:38 +0000)]
Blocked revisions 72199-72200 via svnmerge

........
  r72199 | benjamin.peterson | 2009-05-02 12:33:01 -0500 (Sat, 02 May 2009) | 1 line

  remove py3k compat code
........
  r72200 | benjamin.peterson | 2009-05-02 12:35:39 -0500 (Sat, 02 May 2009) | 1 line

  revert unrelated change
........

15 years agoFixed warning. (Should not use *const* as variable name)
Hirokazu Yamamoto [Sat, 2 May 2009 15:55:19 +0000 (15:55 +0000)]
Fixed warning. (Should not use *const* as variable name)

15 years agoBlocked revisions 70443,70471,70702 via svnmerge
Benjamin Peterson [Sat, 2 May 2009 15:28:37 +0000 (15:28 +0000)]
Blocked revisions 70443,70471,70702 via svnmerge

........
  r70443 | bob.ippolito | 2009-03-17 18:19:00 -0500 (Tue, 17 Mar 2009) | 1 line

  merge json library with simplejson 2.0.9 (issue 4136)
........
  r70471 | raymond.hettinger | 2009-03-19 14:19:03 -0500 (Thu, 19 Mar 2009) | 3 lines

  Issue 5381:  Add object_pairs_hook to the json module.
........
  r70702 | bob.ippolito | 2009-03-29 17:33:58 -0500 (Sun, 29 Mar 2009) | 1 line

  Issue 5381: fix regression in pure python code path, Issue 5584: fix a decoder bug for unicode float literals outside of a container
........

15 years agoport simplejson upgrade from the trunk #4136
Benjamin Peterson [Sat, 2 May 2009 12:36:44 +0000 (12:36 +0000)]
port simplejson upgrade from the trunk #4136

json also now works only with unicode strings

Patch by Antoine Pitrou; updated by me

15 years agoMerged revisions 72189 via svnmerge from
Eric Smith [Sat, 2 May 2009 12:15:39 +0000 (12:15 +0000)]
Merged revisions 72189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72189 | eric.smith | 2009-05-02 05:58:09 -0400 (Sat, 02 May 2009) | 1 line

  Keep py3k and trunk code in sync.
........

15 years agoMerged revisions 72183-72184 via svnmerge from
Gregory P. Smith [Sat, 2 May 2009 06:15:18 +0000 (06:15 +0000)]
Merged revisions 72183-72184 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72183 | georg.brandl | 2009-05-01 14:28:35 -0700 (Fri, 01 May 2009) | 2 lines

  Review ipaddr docs and add them in the TOC under "Internet protocols".
........
  r72184 | georg.brandl | 2009-05-01 14:30:25 -0700 (Fri, 01 May 2009) | 1 line

  Fix directive name.
........

15 years agoMerged revisions 72173 via svnmerge from
Gregory P. Smith [Fri, 1 May 2009 22:13:48 +0000 (22:13 +0000)]
Merged revisions 72173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines

  Adds the ipaddr module to the standard library.  Issue #3959.
  Based off of subversion r69 from http://code.google.com/p/ipaddr-py/

  This code is 2to3 safe, I'll merge it into py3k later this afternoon.
........

15 years agouse C character code to simplify #5410
Benjamin Peterson [Fri, 1 May 2009 21:42:23 +0000 (21:42 +0000)]
use C character code to simplify #5410

15 years agoMerged revisions 72180 via svnmerge from
Antoine Pitrou [Fri, 1 May 2009 21:18:27 +0000 (21:18 +0000)]
Merged revisions 72180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72180 | antoine.pitrou | 2009-05-01 23:16:14 +0200 (ven., 01 mai 2009) | 4 lines

  Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully.
  Patch by Floris Bruynooghe.
........

15 years agoMerged revisions 72178 via svnmerge from
Antoine Pitrou [Fri, 1 May 2009 21:09:44 +0000 (21:09 +0000)]
Merged revisions 72178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72178 | antoine.pitrou | 2009-05-01 22:55:35 +0200 (ven., 01 mai 2009) | 4 lines

  Issue #3002: `shutil.copyfile()` and `shutil.copytree()` now raise an
  error when a named pipe is encountered, rather than blocking infinitely.
........

15 years agoversionadded
Benjamin Peterson [Fri, 1 May 2009 20:48:14 +0000 (20:48 +0000)]
versionadded

15 years agoadd myself
Benjamin Peterson [Fri, 1 May 2009 20:45:43 +0000 (20:45 +0000)]
add myself

15 years agoimplement a detach() method for BufferedIOBase and TextIOBase #5883
Benjamin Peterson [Fri, 1 May 2009 20:40:59 +0000 (20:40 +0000)]
implement a detach() method for BufferedIOBase and TextIOBase #5883

15 years agoMerged revisions 72167 via svnmerge from
Walter Dörwald [Fri, 1 May 2009 19:58:58 +0000 (19:58 +0000)]
Merged revisions 72167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines

  Make test.test_support.EnvironmentVarGuard behave like a dictionary.

  All changes are mirrored to the underlying os.environ dict, but rolled back
  on exit from the with block.
........

15 years agoIssue #5859: Remove '%f' to '%g' formatting switch for large floats.
Mark Dickinson [Fri, 1 May 2009 15:37:04 +0000 (15:37 +0000)]
Issue #5859: Remove '%f' to '%g' formatting switch for large floats.

15 years agoIssue #5859: Remove use of fixed-length buffers for float formatting
Mark Dickinson [Fri, 1 May 2009 11:42:00 +0000 (11:42 +0000)]
Issue #5859: Remove use of fixed-length buffers for float formatting
in unicodeobject.c and the fallback version of PyOS_double_to_string.
As a result, operations like '%.120e' % 12.34 no longer raise an
exception.

15 years agoMerged revisions 72159 via svnmerge from
Georg Brandl [Fri, 1 May 2009 08:59:13 +0000 (08:59 +0000)]
Merged revisions 72159 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72159 | georg.brandl | 2009-05-01 10:51:37 +0200 (Fr, 01 Mai 2009) | 2 lines

  #5889: remove comma at the end of a list that some C compilers don't like.
........

15 years agoFix for Issue1648102, based on the MSDN spec: If this parameter specifies the
Senthil Kumaran [Fri, 1 May 2009 06:00:23 +0000 (06:00 +0000)]
Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the
"<local>" macro as the only entry, this function bypasses any host name that
does not contain a period.

15 years ago- Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
Matthias Klose [Thu, 30 Apr 2009 08:06:49 +0000 (08:06 +0000)]
- Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
  the order that backends for the dbm extension are checked.

15 years agoIssue #1588: Add complex.__format__.
Eric Smith [Thu, 30 Apr 2009 01:00:33 +0000 (01:00 +0000)]
Issue #1588: Add complex.__format__.

15 years agoBlocked revisions 72137 via svnmerge
Eric Smith [Thu, 30 Apr 2009 00:59:58 +0000 (00:59 +0000)]
Blocked revisions 72137 via svnmerge

........
  r72137 | eric.smith | 2009-04-29 20:58:58 -0400 (Wed, 29 Apr 2009) | 1 line

  Issue #1588: Add complex.__format__.
........

15 years agoMerged revisions 72135 via svnmerge from
Benjamin Peterson [Thu, 30 Apr 2009 00:30:08 +0000 (00:30 +0000)]
Merged revisions 72135 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72135 | benjamin.peterson | 2009-04-29 19:23:11 -0500 (Wed, 29 Apr 2009) | 1 line

  prevent ref cycles by removing bound method on close()
........

15 years agofix test__all__
Benjamin Peterson [Wed, 29 Apr 2009 22:00:44 +0000 (22:00 +0000)]
fix test__all__

15 years agoBlocked revisions 72126-72127 via svnmerge
Mark Dickinson [Wed, 29 Apr 2009 21:58:53 +0000 (21:58 +0000)]
Blocked revisions 72126-72127 via svnmerge

........
  r72126 | mark.dickinson | 2009-04-29 22:56:53 +0100 (Wed, 29 Apr 2009) | 2 lines

  Remove format_float and use _PyOS_double_to_string instead.
........
  r72127 | mark.dickinson | 2009-04-29 22:57:15 +0100 (Wed, 29 Apr 2009) | 2 lines

  Backport some of the float formatting tests from py3k.
........

15 years agoadd UnsupportedOperation to __all__
Benjamin Peterson [Wed, 29 Apr 2009 21:53:47 +0000 (21:53 +0000)]
add UnsupportedOperation to __all__

15 years agoDocument the fact that 'compname' and 'comptype' are bytes.
R. David Murray [Wed, 29 Apr 2009 21:50:39 +0000 (21:50 +0000)]
Document the fact that 'compname' and 'comptype' are bytes.

15 years agoBlocked revisions 72119 via svnmerge
Mark Dickinson [Wed, 29 Apr 2009 20:43:11 +0000 (20:43 +0000)]
Blocked revisions 72119 via svnmerge

........
  r72119 | mark.dickinson | 2009-04-29 21:41:00 +0100 (Wed, 29 Apr 2009) | 3 lines

  Issue #5864: format(1234.5, '.4') gives misleading result
  (Backport of r72109 from py3k.)
........

15 years agoMerged revisions 72115 via svnmerge from
R. David Murray [Wed, 29 Apr 2009 20:40:42 +0000 (20:40 +0000)]
Merged revisions 72115 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72115 | r.david.murray | 2009-04-29 16:15:18 -0400 (Wed, 29 Apr 2009) | 2 lines

  More aifc tests.
........

15 years agoIssue #5864: Fix problem with empty code formatting for floats,
Mark Dickinson [Wed, 29 Apr 2009 18:47:07 +0000 (18:47 +0000)]
Issue #5864: Fix problem with empty code formatting for floats,
where a bogus trailing zero could be added.

15 years agoMerged revisions 72100-72101 via svnmerge from
R. David Murray [Wed, 29 Apr 2009 15:34:32 +0000 (15:34 +0000)]
Merged revisions 72100-72101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72100 | r.david.murray | 2009-04-29 09:17:37 -0400 (Wed, 29 Apr 2009) | 7 lines

  Fix issue 2245.  aifc now skips any chunk type it doesn't actually
  process instead of throwing errors for anything not in an explicit
  skip list.  This is per this spec: http://www.cnpbagwell.com/aiff-c.txt.
  Spec reference and test sound file provided by Santiago Peresón, fix
  based on patch by Hiroaki Kawai.
........
  r72101 | r.david.murray | 2009-04-29 09:51:44 -0400 (Wed, 29 Apr 2009) | 2 lines

  Now that we've got a test_aifc, add a few tests.
........

15 years agoRemove dependency on the collections module.
Raymond Hettinger [Wed, 29 Apr 2009 14:21:25 +0000 (14:21 +0000)]
Remove dependency on the collections module.

15 years agoAdded test that didn't make it in an svnmerge.
Eric Smith [Wed, 29 Apr 2009 12:34:19 +0000 (12:34 +0000)]
Added test that didn't make it in an svnmerge.

15 years agoMerged revisions 72094 via svnmerge from
Tarek Ziadé [Wed, 29 Apr 2009 08:07:44 +0000 (08:07 +0000)]
Merged revisions 72094 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72094 | tarek.ziade | 2009-04-29 10:03:46 +0200 (Wed, 29 Apr 2009) | 1 line

  Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore
........

15 years agoDie, buffer(), die.
Georg Brandl [Wed, 29 Apr 2009 06:37:12 +0000 (06:37 +0000)]
Die, buffer(), die.

15 years agoIssue #5857: tokenize.tokenize() now returns named tuples.
Raymond Hettinger [Wed, 29 Apr 2009 00:38:08 +0000 (00:38 +0000)]
Issue #5857: tokenize.tokenize() now returns named tuples.

15 years agoIssue #5857: tokenize.tokenize() now returns named tuples.
Raymond Hettinger [Wed, 29 Apr 2009 00:34:27 +0000 (00:34 +0000)]
Issue #5857: tokenize.tokenize() now returns named tuples.

15 years agoMerged revisions 72081 via svnmerge from
Thomas Heller [Tue, 28 Apr 2009 19:55:58 +0000 (19:55 +0000)]
Merged revisions 72081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72081 | thomas.heller | 2009-04-28 21:23:41 +0200 (Di, 28 Apr 2009) | 3 lines

  Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips
  instead of mipsel)
........

15 years agoMerged revisions 72060 via svnmerge from
R. David Murray [Tue, 28 Apr 2009 18:02:00 +0000 (18:02 +0000)]
Merged revisions 72060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72060 | r.david.murray | 2009-04-28 12:08:18 -0400 (Tue, 28 Apr 2009) | 10 lines

  Various small fixups to the multiprocessing docs, mostly fixing and
  enabling doctests that Sphinx can run, and fixing and disabling tests that
  Sphinx can't run.  I hand checked every test not now marked as a doctest,
  and all except the two that have open bug reports against them now work,
  at least on Linux/trunk. (I did not look at the last example at all since
  there was already an open bug).  I did not read the whole document with
  an editor's eye, but I did fix a few things I noticed while working on
  the tests.
........

15 years agoBlocked revisions 72056 via svnmerge
Eric Smith [Tue, 28 Apr 2009 07:37:06 +0000 (07:37 +0000)]
Blocked revisions 72056 via svnmerge

........
  r72056 | eric.smith | 2009-04-28 03:33:09 -0400 (Tue, 28 Apr 2009) | 1 line

  Silence warning on Windows.
........

15 years agoMerged revisions 72054 via svnmerge from
Antoine Pitrou [Mon, 27 Apr 2009 22:31:40 +0000 (22:31 +0000)]
Merged revisions 72054 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72054 | antoine.pitrou | 2009-04-27 23:53:26 +0200 (lun., 27 avril 2009) | 5 lines

  Issue #1734234: Massively speedup `unicodedata.normalize()` when the
  string is already in normalized form, by performing a quick check beforehand.
  Original patch by Rauli Ruohonen.
........

15 years agoMerged revisions 72045 via svnmerge from
Antoine Pitrou [Mon, 27 Apr 2009 21:04:19 +0000 (21:04 +0000)]
Merged revisions 72045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72045 | antoine.pitrou | 2009-04-27 22:50:20 +0200 (lun., 27 avril 2009) | 5 lines

  Issue #5853: calling a function of the mimetypes module from several threads
  at once could hit the recursion limit if the mimetypes database hadn't been
  initialized before.
........

15 years agoAdd another example to the seealso section.
Raymond Hettinger [Mon, 27 Apr 2009 21:01:21 +0000 (21:01 +0000)]
Add another example to the seealso section.

15 years agoInclude files missed in r72044.
Eric Smith [Mon, 27 Apr 2009 20:54:42 +0000 (20:54 +0000)]
Include files missed in r72044.

15 years agoMerged revisions 72040 via svnmerge from
Eric Smith [Mon, 27 Apr 2009 20:39:49 +0000 (20:39 +0000)]
Merged revisions 72040 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72040 | eric.smith | 2009-04-27 15:04:37 -0400 (Mon, 27 Apr 2009) | 1 line

  Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
........

15 years agoTypo fix. Thanks Damien Diederen.
Mark Dickinson [Mon, 27 Apr 2009 19:41:00 +0000 (19:41 +0000)]
Typo fix.  Thanks Damien Diederen.

15 years agoThird to last example is now marked as a test, but I can't actually test
R. David Murray [Mon, 27 Apr 2009 18:38:19 +0000 (18:38 +0000)]
Third to last example is now marked as a test, but I can't actually test
it yet since sphinx can't run the doctests using python3.

Merged revisions 72038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72038 | r.david.murray | 2009-04-27 13:22:36 -0400 (Mon, 27 Apr 2009) | 8 lines

  Make sys.xxx variable references into links, note that print_last only
  works when an exception gets to the interactive prompt, and update the
  examples after testing.  The last one is now a valid Sphinx doctest,
  but of the preceding two one can't be made a doctest and the other one
  I'm postponing to 3.x because sphinx handles doctests as Unicode strings
  and that makes the 2.x output confusing.
........

15 years agoMerged revisions 71995 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:58:05 +0000 (16:58 +0000)]
Merged revisions 71995 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71995 | kurt.kaiser | 2009-04-27 01:22:11 +0200 (Mo, 27 Apr 2009) | 2 lines

  Right click 'go to file/line' not working if spaces
  in path.  Bug 5559.
........

15 years agoMerged revisions 71955,71962 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:54:22 +0000 (16:54 +0000)]
Merged revisions 71955,71962 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71955 | georg.brandl | 2009-04-26 08:01:04 +0200 (So, 26 Apr 2009) | 1 line

  Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
........
  r71962 | eric.smith | 2009-04-26 12:05:11 +0200 (So, 26 Apr 2009) | 1 line

  Note that the caller is resposible for freeing the result of PyOS_double_to_string.
........

15 years agoBlocked revisions 71893,71904 via svnmerge
Georg Brandl [Mon, 27 Apr 2009 16:52:18 +0000 (16:52 +0000)]
Blocked revisions 71893,71904 via svnmerge

........
  r71893 | jeroen.ruigrok | 2009-04-25 15:58:58 +0200 (Sa, 25 Apr 2009) | 2 lines

  Reformat file prior to editing.
........
  r71904 | georg.brandl | 2009-04-25 17:11:29 +0200 (Sa, 25 Apr 2009) | 1 line

  #5841: add deprecation py3k warning and notice in the docs for commands module.
........

15 years agoMerged revisions 71814-71817,71901-71903 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:51:45 +0000 (16:51 +0000)]
Merged revisions 71814-71817,71901-71903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71814 | georg.brandl | 2009-04-23 10:44:57 +0200 (Do, 23 Apr 2009) | 1 line

  #5820: fix bug in usage of getreader().
........
  r71815 | georg.brandl | 2009-04-23 10:49:39 +0200 (Do, 23 Apr 2009) | 1 line

  Fix rewrapping accident.
........
  r71816 | georg.brandl | 2009-04-23 10:49:56 +0200 (Do, 23 Apr 2009) | 1 line

  #5813: add a reference to the "future statements" section.
........
  r71817 | georg.brandl | 2009-04-23 10:52:03 +0200 (Do, 23 Apr 2009) | 1 line

  Add link to PEP 236.
........
  r71901 | georg.brandl | 2009-04-25 16:50:25 +0200 (Sa, 25 Apr 2009) | 1 line

  #3320: fix spelling.
........
  r71902 | georg.brandl | 2009-04-25 16:51:31 +0200 (Sa, 25 Apr 2009) | 1 line

  #5834: use "failure" instead of "error" because the two have different meanings in unittest context.
........
  r71903 | georg.brandl | 2009-04-25 17:05:04 +0200 (Sa, 25 Apr 2009) | 1 line

  #5821: add some capabilities of TarFile's file-like object.
........

15 years agoMerged revisions 71740 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:50:10 +0000 (16:50 +0000)]
Merged revisions 71740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71740 | benjamin.peterson | 2009-04-19 05:02:54 +0200 (So, 19 Apr 2009) | 1 line

  fix typo
........

15 years agoMerged revisions 71607,71653,71696,71771,71786 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:49:41 +0000 (16:49 +0000)]
Merged revisions 71607,71653,71696,71771,71786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71607 | benjamin.peterson | 2009-04-14 23:23:09 +0200 (Di, 14 Apr 2009) | 1 line

  tupel -> tuple
........
  r71653 | raymond.hettinger | 2009-04-16 20:16:10 +0200 (Do, 16 Apr 2009) | 1 line

  Clarify the behavior of any() and all() with an empty iterable.
........
  r71696 | georg.brandl | 2009-04-18 10:26:21 +0200 (Sa, 18 Apr 2009) | 1 line

  "not subscriptable" should be a bit more understandable than "unsubscriptable".
........
  r71771 | raymond.hettinger | 2009-04-20 20:23:57 +0200 (Mo, 20 Apr 2009) | 1 line

  Fix typo
........
  r71786 | georg.brandl | 2009-04-21 20:23:08 +0200 (Di, 21 Apr 2009) | 1 line

  #5757: fix copy-paste error in notify().
........

15 years agoBlocked revisions 71787 via svnmerge
Georg Brandl [Mon, 27 Apr 2009 16:48:18 +0000 (16:48 +0000)]
Blocked revisions 71787 via svnmerge

........
  r71787 | georg.brandl | 2009-04-21 20:24:34 +0200 (Di, 21 Apr 2009) | 1 line

  #5751: fix escaping of \\n.
........

15 years agoMerged revisions 71572 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:46:17 +0000 (16:46 +0000)]
Merged revisions 71572 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line

  #5745: more linking for identifiers in email docs.
........

15 years agoMerged revisions 71544,71546,71554-71555 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:45:26 +0000 (16:45 +0000)]
Merged revisions 71544,71546,71554-71555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line

  fix extra parenthesis #5774
........
  r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line

  fix missing quote
........
  r71554 | hirokazu.yamamoto | 2009-04-13 03:07:06 +0200 (Mo, 13 Apr 2009) | 1 line

  Fixed typo. (email.Utils => email.utils)
........
  r71555 | hirokazu.yamamoto | 2009-04-13 03:21:56 +0200 (Mo, 13 Apr 2009) | 1 line

  Fixed another typos. (email.Utils => email.utils)
........

15 years agoMerged revisions 71564 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:43:36 +0000 (16:43 +0000)]
Merged revisions 71564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71564 | georg.brandl | 2009-04-13 14:36:24 +0200 (Mo, 13 Apr 2009) | 1 line

  #5741 followup: should also allow %%(blah)s.
........

15 years agoMerged revisions 71537 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:42:58 +0000 (16:42 +0000)]
Merged revisions 71537 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71537 | georg.brandl | 2009-04-12 19:24:11 +0200 (So, 12 Apr 2009) | 1 line

  #5741: dont disallow double percent signs in SafeConfigParser.set() keys.
........

15 years agoMerged revisions 71540,71563 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:41:41 +0000 (16:41 +0000)]
Merged revisions 71540,71563 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line

  #5719: add short usage example to optparse docstring.
........
  r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line

  Simplify markup.
........

15 years agoBlocked revisions 71507 via svnmerge
Georg Brandl [Mon, 27 Apr 2009 16:38:34 +0000 (16:38 +0000)]
Blocked revisions 71507 via svnmerge

........
  r71507 | georg.brandl | 2009-04-12 14:08:12 +0200 (So, 12 Apr 2009) | 1 line

  #5704: let python -3 imply -t as well.
........

15 years agoMerged revisions 71503 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:38:14 +0000 (16:38 +0000)]
Merged revisions 71503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71503 | eric.smith | 2009-04-12 04:57:29 +0200 (So, 12 Apr 2009) | 1 line

  Take credit for my patch for issue 5237.
........

15 years agoRecorded merge of revisions 71957,71959,71961 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:36:03 +0000 (16:36 +0000)]
Recorded merge of revisions 71957,71959,71961 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71957 | georg.brandl | 2009-04-26 08:05:58 +0200 (So, 26 Apr 2009) | 2 lines

  Note that the versions are also in README.txt.
........
  r71959 | georg.brandl | 2009-04-26 08:06:53 +0200 (So, 26 Apr 2009) | 2 lines

  Another file where the versions need to be up to date.
........
  r71961 | georg.brandl | 2009-04-26 11:57:29 +0200 (So, 26 Apr 2009) | 2 lines

  Update pydoc topics.
........

15 years agoUpdate pydoc topics for py3k.
Georg Brandl [Mon, 27 Apr 2009 16:34:57 +0000 (16:34 +0000)]
Update pydoc topics for py3k.

15 years agoRemove merging accident.
Georg Brandl [Mon, 27 Apr 2009 16:34:37 +0000 (16:34 +0000)]
Remove merging accident.

15 years agoMerged revisions 71958 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:32:11 +0000 (16:32 +0000)]
Merged revisions 71958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71958 | georg.brandl | 2009-04-26 08:06:19 +0200 (So, 26 Apr 2009) | 1 line

  Remove outdated TODO file.
........

15 years agoMerged revisions 71956 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:29:51 +0000 (16:29 +0000)]
Merged revisions 71956 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71956 | georg.brandl | 2009-04-26 08:05:18 +0200 (So, 26 Apr 2009) | 1 line

  Update versions in instructions for manual set-up.
........

15 years agoMerged revisions 71960 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:28:57 +0000 (16:28 +0000)]
Merged revisions 71960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71960 | georg.brandl | 2009-04-26 11:56:44 +0200 (So, 26 Apr 2009) | 1 line

  Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
........

15 years agoRecorded merge of revisions 72004 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:24:36 +0000 (16:24 +0000)]
Recorded merge of revisions 72004 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72004 | vinay.sajip | 2009-04-27 15:44:27 +0200 (Mo, 27 Apr 2009) | 1 line

  Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.
........

15 years agoMerged revisions 72008 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:23:47 +0000 (16:23 +0000)]
Merged revisions 72008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72008 | georg.brandl | 2009-04-27 17:10:44 +0200 (Mo, 27 Apr 2009) | 1 line

  Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
........

15 years agoMerged revisions 72007 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:22:44 +0000 (16:22 +0000)]
Merged revisions 72007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72007 | georg.brandl | 2009-04-27 17:09:25 +0200 (Mo, 27 Apr 2009) | 1 line

  #5856: fix typo s in traceback example.
........

15 years agoMerged revisions 72009 via svnmerge from
Georg Brandl [Mon, 27 Apr 2009 16:20:50 +0000 (16:20 +0000)]
Merged revisions 72009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines

  Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
  should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
........

15 years agoBlocked revisions 72010 via svnmerge
Georg Brandl [Mon, 27 Apr 2009 15:35:21 +0000 (15:35 +0000)]
Blocked revisions 72010 via svnmerge

........
  r72010 | georg.brandl | 2009-04-27 17:29:26 +0200 (Mo, 27 Apr 2009) | 2 lines

  Demote warnings to notices, part 2: stuff that is 2.x-only.
........

15 years agoIssue #5854: Updated __all__ to include some missing names and remove some names...
Vinay Sajip [Mon, 27 Apr 2009 13:55:05 +0000 (13:55 +0000)]
Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported.

15 years agoFor some reason the property did not get committed properly even though
Jeroen Ruigrok van der Werven [Mon, 27 Apr 2009 12:43:21 +0000 (12:43 +0000)]
For some reason the property did not get committed properly even though
the diffs said it did.

15 years agoReintroduce versionchanged tags, but with correct version.
Georg Brandl [Mon, 27 Apr 2009 08:58:15 +0000 (08:58 +0000)]
Reintroduce versionchanged tags, but with correct version.

15 years agoAfter discussing some more with Georg, do no migrate versionchanged:: 2.5 to
Jeroen Ruigrok van der Werven [Mon, 27 Apr 2009 08:07:12 +0000 (08:07 +0000)]
After discussing some more with Georg, do no migrate versionchanged:: 2.5 to
this branch. While I am here, also get rid of other versionchanged:: 2.x
constructs, as discussed.

15 years ago#5061: improve open() docs a bit.
Georg Brandl [Mon, 27 Apr 2009 06:13:55 +0000 (06:13 +0000)]
#5061: improve open() docs a bit.

15 years agoMerged revisions 71920-71923,71925-71929,71931-71934,71937 via svnmerge from
Jeroen Ruigrok van der Werven [Mon, 27 Apr 2009 05:43:17 +0000 (05:43 +0000)]
Merged revisions 71920-71923,71925-71929,71931-71934,71937 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71920 | jeroen.ruigrok | 2009-04-25 21:44:55 +0200 (za, 25 apr 2009) | 5 lines

  Issue #4129: More documentation pointers about int -> Py_ssize_t.
  Also fix up the documentation for PyObject_GC_Resize(). It seems that since
  it first got documented, the documentation was actually for
  _PyObject_GC_Resize().
........
  r71921 | jeroen.ruigrok | 2009-04-25 21:46:19 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Documentation notes for int -> Py_ssize_t changes.
........
  r71922 | jeroen.ruigrok | 2009-04-25 21:49:05 +0200 (za, 25 apr 2009) | 2 lines

  Reformat, since I've been busy here anyway.
........
  r71923 | jeroen.ruigrok | 2009-04-25 21:54:34 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Add a versionchanged notice for a few forgotten entries.
........
  r71925 | jeroen.ruigrok | 2009-04-25 22:37:39 +0200 (za, 25 apr 2009) | 2 lines

  Since it's a macro, actually refer to it as such instead of function.
........
  r71926 | jeroen.ruigrok | 2009-04-25 22:40:10 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71927 | jeroen.ruigrok | 2009-04-25 22:41:40 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71928 | jeroen.ruigrok | 2009-04-25 22:43:30 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71929 | jeroen.ruigrok | 2009-04-25 22:44:58 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71931 | jeroen.ruigrok | 2009-04-25 22:50:27 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71932 | jeroen.ruigrok | 2009-04-25 22:55:39 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: more int -> Py_ssize_t documentation.
........
  r71933 | jeroen.ruigrok | 2009-04-25 22:58:35 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: more int -> Py_ssize_t documentation.
........
  r71934 | jeroen.ruigrok | 2009-04-25 23:02:34 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: field changed from int to Py_ssize_t.
........
  r71937 | jeroen.ruigrok | 2009-04-25 23:16:05 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: document int -> Py_ssize_t changes.
........

15 years agoUse of 'filter' in keybindingDialog.py was causing
Kurt B. Kaiser [Mon, 27 Apr 2009 05:36:55 +0000 (05:36 +0000)]
Use of 'filter' in keybindingDialog.py was causing
custom key assignment to fail.
  Patch 5707 amaury.forgeotdarc.

15 years agotest_support was renamed to support on py3k.
Hirokazu Yamamoto [Mon, 27 Apr 2009 01:44:28 +0000 (01:44 +0000)]
test_support was renamed to support on py3k.

15 years agoAdd link to math.fsum().
Raymond Hettinger [Sun, 26 Apr 2009 22:01:46 +0000 (22:01 +0000)]
Add link to math.fsum().

15 years agoMerged revisions 71984 via svnmerge from
Walter Dörwald [Sun, 26 Apr 2009 21:39:21 +0000 (21:39 +0000)]
Merged revisions 71984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71984 | walter.doerwald | 2009-04-26 22:51:44 +0200 (So, 26 Apr 2009) | 2 lines

  Use test.test_support.EnvironmentVarGuard where tests change environment vars.
........

15 years agoImprove the rounding and summing examples.
Raymond Hettinger [Sun, 26 Apr 2009 21:37:46 +0000 (21:37 +0000)]
Improve the rounding and summing examples.

15 years agoIssue #5835: Deprecate PyOS_ascii_formatd.
Eric Smith [Sun, 26 Apr 2009 21:35:14 +0000 (21:35 +0000)]
Issue #5835: Deprecate PyOS_ascii_formatd.

15 years agoFixed 2.x-ism.
Eric Smith [Sun, 26 Apr 2009 21:26:45 +0000 (21:26 +0000)]
Fixed 2.x-ism.

15 years agoMerged revisions 71898-71900,71910,71914-71919 via svnmerge from
Jeroen Ruigrok van der Werven [Sun, 26 Apr 2009 21:06:15 +0000 (21:06 +0000)]
Merged revisions 71898-71900,71910,71914-71919 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71898 | jeroen.ruigrok | 2009-04-25 16:24:30 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71899 | jeroen.ruigrok | 2009-04-25 16:27:00 +0200 (za, 25 apr 2009) | 3 lines

  The type for ppos has been Py_ssize_t since 2.5, reflect this in the
  documentation.
........
  r71900 | jeroen.ruigrok | 2009-04-25 16:28:02 +0200 (za, 25 apr 2009) | 2 lines

  Reformat paragraph.
........
  r71910 | jeroen.ruigrok | 2009-04-25 19:59:03 +0200 (za, 25 apr 2009) | 4 lines

  Issue #4129: Belatedly document which C API functions had their argument(s) or
  return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
  might cause problems on 64-bit platforms.
........
  r71914 | jeroen.ruigrok | 2009-04-25 20:31:20 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71915 | jeroen.ruigrok | 2009-04-25 20:46:03 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Document more int -> Py_ssize_t changes.
........
  r71916 | jeroen.ruigrok | 2009-04-25 20:53:48 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71917 | jeroen.ruigrok | 2009-04-25 20:57:32 +0200 (za, 25 apr 2009) | 2 lines

  Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
........
  r71918 | jeroen.ruigrok | 2009-04-25 21:04:15 +0200 (za, 25 apr 2009) | 2 lines

  Since I edited this file, reformat for future edits.
........
  r71919 | jeroen.ruigrok | 2009-04-25 21:10:52 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........

15 years agoMerged revisions 71874,71882,71890 via svnmerge from
Jeroen Ruigrok van der Werven [Sun, 26 Apr 2009 20:25:45 +0000 (20:25 +0000)]
Merged revisions 71874,71882,71890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines

  First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
........
  r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines

  Issue #4239: adjust email examples not to use connect() and terminate with
  quit() and not close().
........
  r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines

  Rewrite a sentence to be more in line with the rest of the documentation with
  regard to person and audience.
........

15 years agoMerged revisions 71873 via svnmerge from
Jeroen Ruigrok van der Werven [Sun, 26 Apr 2009 20:21:12 +0000 (20:21 +0000)]
Merged revisions 71873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71873 | jeroen.ruigrok | 2009-04-25 13:15:06 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to expanding.
........

15 years agoRemove the round() discussion which is now out-of-date.
Raymond Hettinger [Sun, 26 Apr 2009 20:10:50 +0000 (20:10 +0000)]
Remove the round() discussion which is now out-of-date.