]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 84871 via svnmerge from
Senthil Kumaran [Sat, 18 Sep 2010 02:58:49 +0000 (02:58 +0000)]
Merged revisions 84871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84871 | senthil.kumaran | 2010-09-18 08:25:03 +0530 (Sat, 18 Sep 2010) | 3 lines

  Skip the distutils mode test on Windows OS.
........

14 years agoMerged revisions 84866 via svnmerge from
Victor Stinner [Fri, 17 Sep 2010 23:35:50 +0000 (23:35 +0000)]
Merged revisions 84866 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84866 | victor.stinner | 2010-09-18 01:34:26 +0200 (sam., 18 sept. 2010) | 4 lines

  Issue #767645: Set os.path.supports_unicode_filenames to True in posixpath

  Previous commit changed macpath but macpath is not used anymore as os.path
........

14 years agoMerged revisions 84861 via svnmerge from
Senthil Kumaran [Fri, 17 Sep 2010 16:40:01 +0000 (16:40 +0000)]
Merged revisions 84861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84861 | senthil.kumaran | 2010-09-17 22:05:37 +0530 (Fri, 17 Sep 2010) | 3 lines

  Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter
........

14 years agoBlocked revisions 84643-84645,84741 via svnmerge
Hirokazu Yamamoto [Fri, 17 Sep 2010 14:13:35 +0000 (14:13 +0000)]
Blocked revisions 84643-84645,84741 via svnmerge

........
  r84643 | hirokazu.yamamoto | 2010-09-09 15:08:36 +0900 | 4 lines

  Updated VC6 files.
  * pythoncore.dsp: updated project file
  * readme.txt: removed dead link
  * tcl852.patch: fixed patch. it was doubled.
........
  r84644 | hirokazu.yamamoto | 2010-09-09 15:14:23 +0900 | 1 line

  Updated VS7.1 project file. (I cannot test this file because I don't have VS7.1)
........
  r84645 | hirokazu.yamamoto | 2010-09-09 15:24:43 +0900 | 5 lines

  PCBuild cosmetic fixes.
  * pythoncore.vcproj: Fixed indentation
  * _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise,
    VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time
    loads it in VS8 IDE.
........
  r84741 | hirokazu.yamamoto | 2010-09-13 01:06:18 +0900 | 2 lines

  Fixed refcount bug. I placed Py_INCREF in create_comerror() for compatibility
  with Python2.7.
........

14 years agoImproved Filter documentation.
Vinay Sajip [Fri, 17 Sep 2010 12:45:26 +0000 (12:45 +0000)]
Improved Filter documentation.

14 years agoImproved basicConfig and custom level documentation.
Vinay Sajip [Fri, 17 Sep 2010 10:09:04 +0000 (10:09 +0000)]
Improved basicConfig and custom level documentation.

14 years agoMerged revisions 84535 via svnmerge from
Ronald Oussoren [Thu, 16 Sep 2010 11:35:07 +0000 (11:35 +0000)]
Merged revisions 84535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84535 | ronald.oussoren | 2010-09-05 20:25:59 +0200 (Sun, 05 Sep 2010) | 2 lines

  Fix for issue9662, patch by Łukasz Langa in issue5504.
........

14 years agoTry harder on issue #7356: ctypes.util: Make parsing of ldconfig output
Matthias Klose [Wed, 15 Sep 2010 13:01:19 +0000 (13:01 +0000)]
Try harder on issue #7356: ctypes.util: Make parsing of ldconfig output
independent of the locale. Set LC_ALL=C too.

14 years agoBlocked revisions 84827-84829 via svnmerge
Antoine Pitrou [Wed, 15 Sep 2010 11:25:22 +0000 (11:25 +0000)]
Blocked revisions 84827-84829 via svnmerge

........
  r84827 | antoine.pitrou | 2010-09-15 11:58:26 +0200 (mer., 15 sept. 2010) | 3 lines

  Add a glossary entry for file objects.
........
  r84828 | antoine.pitrou | 2010-09-15 12:08:31 +0200 (mer., 15 sept. 2010) | 3 lines

  Update file-related information in the FAQ.
........
  r84829 | antoine.pitrou | 2010-09-15 13:11:28 +0200 (mer., 15 sept. 2010) | 3 lines

  Add cross-references to the glossary entry for file objects.
........

14 years agoBlocked revisions 84825-84826,84830 via svnmerge
Antoine Pitrou [Wed, 15 Sep 2010 11:14:58 +0000 (11:14 +0000)]
Blocked revisions 84825-84826,84830 via svnmerge

........
  r84825 | antoine.pitrou | 2010-09-15 10:39:25 +0200 (mer., 15 sept. 2010) | 3 lines

  Add a comment explaining why SocketIO is needed
........
  r84826 | antoine.pitrou | 2010-09-15 11:32:45 +0200 (mer., 15 sept. 2010) | 3 lines

  Improve docs for socket.makefile() and SocketIO
........
  r84830 | antoine.pitrou | 2010-09-15 13:12:57 +0200 (mer., 15 sept. 2010) | 3 lines

  Reverted unwanted change in r84826
........

14 years agoMerged revisions 84814 via svnmerge from
Antoine Pitrou [Tue, 14 Sep 2010 18:48:19 +0000 (18:48 +0000)]
Merged revisions 84814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84814 | antoine.pitrou | 2010-09-14 20:37:24 +0200 (mar., 14 sept. 2010) | 4 lines

  Issue #9854: The default read() implementation in io.RawIOBase now
  handles non-blocking readinto() returning None correctly.
........

14 years agoMerged revisions 84810 via svnmerge from
Daniel Stutzbach [Tue, 14 Sep 2010 16:10:22 +0000 (16:10 +0000)]
Merged revisions 84810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84810 | daniel.stutzbach | 2010-09-14 11:02:01 -0500 (Tue, 14 Sep 2010) | 1 line

  Remove pointers to a FAQ entry that no longer exists.  Incorporate some text from the old FAQ into the docs
........

14 years agoBlocked revisions 84807 via svnmerge
Antoine Pitrou [Tue, 14 Sep 2010 14:44:56 +0000 (14:44 +0000)]
Blocked revisions 84807 via svnmerge

........
  r84807 | antoine.pitrou | 2010-09-14 16:43:44 +0200 (mar., 14 sept. 2010) | 4 lines

  Issue #9853: Fix the signature of SSLSocket.recvfrom() and
  SSLSocket.sendto() to match the corresponding socket methods.
........

14 years agoIssue #9729: Fix the signature of SSLSocket.recvfrom() and
Antoine Pitrou [Tue, 14 Sep 2010 14:37:18 +0000 (14:37 +0000)]
Issue #9729: Fix the signature of SSLSocket.recvfrom() and
SSLSocket.sendto() to match the corresponding socket methods.  Also,
fix various SSLSocket methods to raise socket.error rather than an
unhelpful TypeError when called on an unconnected socket.  Original patch
by Andrew Bennetts.

NOTE: obviously, these methods are untested and unused in the real world...

14 years agoMerged revisions 84803 via svnmerge from
Alexander Belopolsky [Tue, 14 Sep 2010 14:24:58 +0000 (14:24 +0000)]
Merged revisions 84803 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84803 | alexander.belopolsky | 2010-09-14 10:12:19 -0400 (Tue, 14 Sep 2010) | 1 line

  Issue 9315: Added test/tracedmodules to LIBSUBDIRS
........

14 years agoBlocked revisions 84790 via svnmerge
Eric Smith [Tue, 14 Sep 2010 13:03:57 +0000 (13:03 +0000)]
Blocked revisions 84790 via svnmerge

........
  r84790 | eric.smith | 2010-09-13 16:48:43 -0400 (Mon, 13 Sep 2010) | 8 lines

  Issue 7994: Make object.__format__() raise a PendingDeprecationWarning
  if the format string is not empty. Manually merge r79596 and r84772
  from 2.x.

  Also, apparently test_format() from test_builtin never made it into
  3.x. I've added it as well. It tests the basic format()
  infrastructure.
........

14 years agoSome tests didn't get executed (because of the merge in r83728)
Antoine Pitrou [Tue, 14 Sep 2010 12:54:08 +0000 (12:54 +0000)]
Some tests didn't get executed (because of the merge in r83728)

14 years agoIssue 9826: OrderedDict.__repr__ did not play well with self-referencing dicts.
Raymond Hettinger [Mon, 13 Sep 2010 22:14:36 +0000 (22:14 +0000)]
Issue 9826: OrderedDict.__repr__ did not play well with self-referencing dicts.

14 years agoMerged revisions 84701,84784 via svnmerge from
Victor Stinner [Mon, 13 Sep 2010 20:31:34 +0000 (20:31 +0000)]
Merged revisions 84701,84784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84701 | victor.stinner | 2010-09-11 02:22:12 +0200 (sam., 11 sept. 2010) | 5 lines

  Issue #767645: fix os.path.supports_unicode_filenames definition

  os.listdir(str) always returns unicode and it can return non-ascii filenames
  even if supports_unicode_filenames is False.
........
  r84784 | victor.stinner | 2010-09-13 21:41:36 +0200 (lun., 13 sept. 2010) | 2 lines

  Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X
  (macpath module).
........

14 years agoRemoved debugging setting
Alexander Belopolsky [Mon, 13 Sep 2010 18:16:55 +0000 (18:16 +0000)]
Removed debugging setting

14 years agoMerged revisions 83524,84776 via svnmerge from
Florent Xicluna [Mon, 13 Sep 2010 17:36:36 +0000 (17:36 +0000)]
Merged revisions 83524,84776 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (lun., 02 août 2010) | 1 line

  #9428: fix running scripts from profile/cProfile with their own name and the right namespace.  Same fix as for trace.py in #1690103.
........
  r84776 | florent.xicluna | 2010-09-13 18:35:02 +0200 (lun., 13 sept. 2010) | 1 line

  Make test.regrtest.__file__ absolute, this was not always the case when running profile or trace, for example.  (issue #9323)
........

14 years agoUnblocked revisions 83524 via svnmerge
Florent Xicluna [Mon, 13 Sep 2010 17:29:11 +0000 (17:29 +0000)]
Unblocked revisions 83524 via svnmerge

........
  r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (lun., 02 août 2010) | 1 line

  #9428: fix running scripts from profile/cProfile with their own name and the right namespace.  Same fix as for trace.py in #1690103.
........

14 years agoIssue #9315: Fix for the trace module to record correct class name
Alexander Belopolsky [Mon, 13 Sep 2010 16:45:02 +0000 (16:45 +0000)]
Issue #9315: Fix for the trace module to record correct class name
when tracing methods.  Unit tests. Patch by Eli Bendersky.

14 years agoStrengthen test_unicode with explicit type checking for assertEqual tests.
Florent Xicluna [Mon, 13 Sep 2010 08:53:00 +0000 (08:53 +0000)]
Strengthen test_unicode with explicit type checking for assertEqual tests.

14 years agoCheck PendingDeprecationWarning after issue #7994.
Florent Xicluna [Mon, 13 Sep 2010 08:21:43 +0000 (08:21 +0000)]
Check PendingDeprecationWarning after issue #7994.

14 years agoSilence warning about 1/0
Florent Xicluna [Mon, 13 Sep 2010 08:20:19 +0000 (08:20 +0000)]
Silence warning about 1/0

14 years agoMerged revisions 84765 via svnmerge from
Hirokazu Yamamoto [Mon, 13 Sep 2010 08:14:41 +0000 (08:14 +0000)]
Merged revisions 84765 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84765 | hirokazu.yamamoto | 2010-09-13 16:18:30 +0900 | 2 lines

  get_build_version() is needed even where sys.platform != "win32".
  Try to fix buildbot error in other way.
........

14 years agoBlocked revisions 84081-84082,84363,84467-84469,84485 via svnmerge
Florent Xicluna [Mon, 13 Sep 2010 07:50:43 +0000 (07:50 +0000)]
Blocked revisions 84081-84082,84363,84467-84469,84485 via svnmerge

........
  r84081 | florent.xicluna | 2010-08-15 22:16:27 +0200 (dim., 15 août 2010) | 1 line

  Replace the deprecated ConfigParser.readfp() method, and fix the incomplete merge in r82293.
........
  r84082 | florent.xicluna | 2010-08-15 22:21:26 +0200 (dim., 15 août 2010) | 1 line

  Replace readfp() with read_file() in configparser documentation.
........
  r84363 | florent.xicluna | 2010-08-30 16:05:50 +0200 (lun., 30 août 2010) | 1 line

  remove pointless coding cookies
........
  r84467 | florent.xicluna | 2010-09-03 21:52:03 +0200 (ven., 03 sept. 2010) | 1 line

  Use a context manager for some file objects.
........
  r84468 | florent.xicluna | 2010-09-03 21:54:02 +0200 (ven., 03 sept. 2010) | 1 line

  Remove unused import, fix typo and rewrap docstrings.
........
  r84469 | florent.xicluna | 2010-09-03 21:55:26 +0200 (ven., 03 sept. 2010) | 1 line

  Remove redundant context manager.
........
  r84485 | florent.xicluna | 2010-09-04 01:47:32 +0200 (sam., 04 sept. 2010) | 2 lines

  Welcome to the UTF-8 world.
........

14 years agoMerged revisions 84470-84471,84566-84567,84759 via svnmerge from
Florent Xicluna [Mon, 13 Sep 2010 07:46:37 +0000 (07:46 +0000)]
Merged revisions 84470-84471,84566-84567,84759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84470 | florent.xicluna | 2010-09-03 22:00:37 +0200 (ven., 03 sept. 2010) | 1 line

  Strengthen BytesWarning tests.
........
  r84471 | florent.xicluna | 2010-09-03 22:23:40 +0200 (ven., 03 sept. 2010) | 1 line

  Typo
........
  r84566 | florent.xicluna | 2010-09-06 22:27:15 +0200 (lun., 06 sept. 2010) | 1 line

  typo
........
  r84567 | florent.xicluna | 2010-09-06 22:27:55 +0200 (lun., 06 sept. 2010) | 1 line

  typo
........
  r84759 | florent.xicluna | 2010-09-13 04:28:18 +0200 (lun., 13 sept. 2010) | 1 line

  Reenable test_ucs4 and remove some duplicated lines.
........

14 years agoMerged revisions 84753,84760 via svnmerge from
Hirokazu Yamamoto [Mon, 13 Sep 2010 06:36:09 +0000 (06:36 +0000)]
Merged revisions 84753,84760 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84753 | hirokazu.yamamoto | 2010-09-13 07:55:40 +0900 | 1 line

  Issue #9313: Skips test_remove_visual_c_ref on old MSVC.
........
  r84760 | hirokazu.yamamoto | 2010-09-13 14:36:21 +0900 | 1 line

  Issue #9313: Use unittest.skipUnless to skip old MSVC.
........

14 years agoMerged revisions 84754 via svnmerge from
Benjamin Peterson [Mon, 13 Sep 2010 01:48:02 +0000 (01:48 +0000)]
Merged revisions 84754 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84754 | benjamin.peterson | 2010-09-12 20:25:38 -0500 (Sun, 12 Sep 2010) | 1 line

  remove duplicate statement
........

14 years agoMerged revisions 84743 via svnmerge from
Matthias Klose [Sun, 12 Sep 2010 16:51:29 +0000 (16:51 +0000)]
Merged revisions 84743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84743 | matthias.klose | 2010-09-12 18:31:58 +0200 (So, 12 Sep 2010) | 3 lines

  - Issue #9817: Add expat COPYING file; add expat, libffi and expat licenses
    to Doc/license.rst.
........

14 years agoAdd Modules/ld_so_aix to svn:ignore
Antoine Pitrou [Sun, 12 Sep 2010 14:57:22 +0000 (14:57 +0000)]
Add Modules/ld_so_aix to svn:ignore

14 years agoMerged revisions 84737 via svnmerge from
Antoine Pitrou [Sun, 12 Sep 2010 14:56:27 +0000 (14:56 +0000)]
Merged revisions 84737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84737 | antoine.pitrou | 2010-09-12 16:51:20 +0200 (dim., 12 sept. 2010) | 4 lines

  Issue #9837: The read() method of ZipExtFile objects (as returned by
  ZipFile.open()) could return more bytes than requested.
........

14 years agoIssue #9825: Remove __del__() from OrderedDict.
Raymond Hettinger [Sun, 12 Sep 2010 02:11:45 +0000 (02:11 +0000)]
Issue #9825:  Remove __del__() from OrderedDict.

14 years agoFix typo in previous doc commit.
R. David Murray [Sat, 11 Sep 2010 19:15:40 +0000 (19:15 +0000)]
Fix typo in previous doc commit.

14 years agoMerged revisions 84719 via svnmerge from
R. David Murray [Sat, 11 Sep 2010 18:57:20 +0000 (18:57 +0000)]
Merged revisions 84719 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84719 | r.david.murray | 2010-09-11 14:12:25 -0400 (Sat, 11 Sep 2010) | 2 lines

  #9608, #8518 : clarify and improve discussion of exceptions in howto.
........

14 years agoMerged revisions 84711 via svnmerge from
Éric Araujo [Sat, 11 Sep 2010 15:31:13 +0000 (15:31 +0000)]
Merged revisions 84711 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84711 | eric.araujo | 2010-09-11 17:28:56 +0200 (sam., 11 sept. 2010) | 2 lines

  Fix typo in option name
........

14 years agoIssue #9827: clarified LogRecord documentation.
Vinay Sajip [Sat, 11 Sep 2010 10:25:28 +0000 (10:25 +0000)]
Issue #9827: clarified LogRecord documentation.

14 years agologging: Added threading interlock in basicConfig().
Vinay Sajip [Sat, 11 Sep 2010 09:06:21 +0000 (09:06 +0000)]
logging: Added threading interlock in basicConfig().

14 years agoSmall fix to ld_so_aix.in for 2.x
Antoine Pitrou [Fri, 10 Sep 2010 22:22:58 +0000 (22:22 +0000)]
Small fix to ld_so_aix.in for 2.x

14 years agoMerged revisions 84680 via svnmerge from
Antoine Pitrou [Fri, 10 Sep 2010 20:03:17 +0000 (20:03 +0000)]
Merged revisions 84680 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84680 | antoine.pitrou | 2010-09-10 21:44:44 +0200 (ven., 10 sept. 2010) | 4 lines

  Issue #941346: Improve the build process under AIX and allow Python to
  be built as a shared library.  Patch by Sébastien Sablé.
........

14 years agoMerged revisions 84674 via svnmerge from
Antoine Pitrou [Fri, 10 Sep 2010 18:47:36 +0000 (18:47 +0000)]
Merged revisions 84674 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84674 | antoine.pitrou | 2010-09-10 20:39:00 +0200 (ven., 10 sept. 2010) | 3 lines

  Followup to #4026: better patch for flock detection.
........

14 years agoRecorded merge of revisions 83987 via svnmerge from
Victor Stinner [Fri, 10 Sep 2010 11:24:10 +0000 (11:24 +0000)]
Recorded merge of revisions 83987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83987 | victor.stinner | 2010-08-14 00:23:24 +0200 (sam., 14 août 2010) | 2 lines

  Fix a typo: TESTFN_UNENCODEABLE => TESTFN_UNENCODABLE
........

14 years agoIssue 9816: Random.jumpahead(n) didn't work well for small values of n.
Raymond Hettinger [Fri, 10 Sep 2010 10:47:22 +0000 (10:47 +0000)]
Issue 9816:  Random.jumpahead(n) didn't work well for small values of n.

14 years agoAdded svn:ignore (*.pyc, *.pyo)
Hirokazu Yamamoto [Fri, 10 Sep 2010 03:12:10 +0000 (03:12 +0000)]
Added svn:ignore (*.pyc, *.pyo)

14 years agoUpdated VC6 files.
Hirokazu Yamamoto [Fri, 10 Sep 2010 03:09:38 +0000 (03:09 +0000)]
Updated VC6 files.
* readme.txt: Added PSDK as requirement.
* tcl852.patch: fixed patch. it was doubled.

14 years agoPCBuild cosmetic fixes.
Hirokazu Yamamoto [Fri, 10 Sep 2010 03:08:24 +0000 (03:08 +0000)]
PCBuild cosmetic fixes.
* pythoncore.vcproj: Removed doubled entries, and sorted entries a bit.
* _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise,
  VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time
  loads it in VS8 IDE.

14 years agoMerged revisions 84650 via svnmerge from
Antoine Pitrou [Thu, 9 Sep 2010 13:35:44 +0000 (13:35 +0000)]
Merged revisions 84650 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84650 | antoine.pitrou | 2010-09-09 15:31:46 +0200 (jeu., 09 sept. 2010) | 4 lines

  Use transient_internet() where appropriate in test_ssl
  (svn.python.org is sometimes unavailable)
........

14 years agoMerged revisions 84635-84636 via svnmerge from
Antoine Pitrou [Wed, 8 Sep 2010 21:12:36 +0000 (21:12 +0000)]
Merged revisions 84635-84636 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84635 | antoine.pitrou | 2010-09-08 22:57:48 +0200 (mer., 08 sept. 2010) | 5 lines

  Issue #9188: The gdb extension now handles correctly narrow (UCS2) as well
  as wide (UCS4) unicode builds for both the host interpreter (embedded
  inside gdb) and the interpreter under test.
........
  r84636 | antoine.pitrou | 2010-09-08 23:07:40 +0200 (mer., 08 sept. 2010) | 4 lines

  Add a safety limit to the number of unicode characters we fetch
  (followup to r84635, suggested by Dave Malcolm).
........

14 years agoMerged revisions 84623 via svnmerge from
Antoine Pitrou [Wed, 8 Sep 2010 12:40:49 +0000 (12:40 +0000)]
Merged revisions 84623 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84623 | antoine.pitrou | 2010-09-08 14:37:10 +0200 (mer., 08 sept. 2010) | 4 lines

  Issue #9797: pystate.c wrongly assumed that zero couldn't be a valid
  thread-local storage key.
........

14 years agoIssue5416 - Revert a documentatin change made to explain replace on negative value.
Senthil Kumaran [Wed, 8 Sep 2010 12:40:45 +0000 (12:40 +0000)]
Issue5416 - Revert a documentatin change made to explain replace on negative value.
Minor changes to doc:  s/maxsplit/maxreplace

14 years agoSynchronize maintainers.rst
Éric Araujo [Wed, 8 Sep 2010 12:40:15 +0000 (12:40 +0000)]
Synchronize maintainers.rst

14 years agoStdoutTests.test_unicode(): avoid newlines to fix the test on windows
Victor Stinner [Wed, 8 Sep 2010 11:45:16 +0000 (11:45 +0000)]
StdoutTests.test_unicode(): avoid newlines to fix the test on windows

 * Add also a test for utf-8
 * Add some comments
 * Flush stdout for the buffer API tests

14 years agoIssue #4947: The write() method of sys.stdout and sys.stderr uses their
Victor Stinner [Wed, 8 Sep 2010 10:51:01 +0000 (10:51 +0000)]
Issue #4947: The write() method of sys.stdout and sys.stderr uses their
encoding and errors attributes instead of using utf-8 in strict mode, to get
the same behaviour than the print statement.

14 years agoMerged revisions 84614 via svnmerge from
Éric Araujo [Wed, 8 Sep 2010 00:02:29 +0000 (00:02 +0000)]
Merged revisions 84614 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84614 | eric.araujo | 2010-09-08 02:00:45 +0200 (mer., 08 sept. 2010) | 5 lines

  Follow-up to #9199: Fix str.join use, add newlines.

  Thanks to Konrad Delong for writing a test for upload_docs
  --show-response in distutils2, letting me catch my mistake.
........

14 years agoMerged revisions 84611 via svnmerge from
Éric Araujo [Tue, 7 Sep 2010 23:12:59 +0000 (23:12 +0000)]
Merged revisions 84611 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84611 | eric.araujo | 2010-09-08 01:08:57 +0200 (mer., 08 sept. 2010) | 2 lines

  Fix incorrect use of Command.announce (#9199)
........

14 years agoMerged revisions 84608 via svnmerge from
Éric Araujo [Tue, 7 Sep 2010 22:18:34 +0000 (22:18 +0000)]
Merged revisions 84608 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84608 | eric.araujo | 2010-09-08 00:11:52 +0200 (mer., 08 sept. 2010) | 2 lines

  Fix eon-old bug in build_clib options (#1718574)
........

14 years agoMerged revisions 84604 via svnmerge from
Antoine Pitrou [Tue, 7 Sep 2010 21:46:05 +0000 (21:46 +0000)]
Merged revisions 84604 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84604 | antoine.pitrou | 2010-09-07 23:43:31 +0200 (mar., 07 sept. 2010) | 3 lines

  Also catch some gaierrors
........

14 years agoMerged revisions 84597-84599 via svnmerge from
Antoine Pitrou [Tue, 7 Sep 2010 21:40:25 +0000 (21:40 +0000)]
Merged revisions 84597-84599 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84597 | antoine.pitrou | 2010-09-07 22:42:19 +0200 (mar., 07 sept. 2010) | 5 lines

  Issue #8574: better implementation of test.support.transient_internet().
  Original patch by Victor.
........
  r84598 | antoine.pitrou | 2010-09-07 23:05:49 +0200 (mar., 07 sept. 2010) | 6 lines

  Issue #9792: In case of connection failure, socket.create_connection()
  would swallow the exception and raise a new one, making it impossible
  to fetch the original errno, or to filter timeout errors.  Now the
  original error is re-raised.
........
  r84599 | antoine.pitrou | 2010-09-07 23:09:09 +0200 (mar., 07 sept. 2010) | 4 lines

  Improve transient_internet() again to detect more network errors,
  and use it in test_robotparser. Fixes #8574.
........

14 years agoMerged revisions 84592 via svnmerge from
Antoine Pitrou [Tue, 7 Sep 2010 18:46:41 +0000 (18:46 +0000)]
Merged revisions 84592 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84592 | antoine.pitrou | 2010-09-07 20:44:12 +0200 (mar., 07 sept. 2010) | 5 lines

  Update nntplib examples to use a public news server.
  The example still doesn't work as-is under py3k, due to incomplete
  or buggy porting of the nntplib module.
........

14 years agoMerged revisions 84589 via svnmerge from
Antoine Pitrou [Tue, 7 Sep 2010 16:34:47 +0000 (16:34 +0000)]
Merged revisions 84589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84589 | antoine.pitrou | 2010-09-07 18:30:09 +0200 (mar., 07 sept. 2010) | 5 lines

  Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True,
  and the passed buffer was exactly 1024 bytes long, the buffer wouldn't
  be updated back after the system call.  Original patch by Brian Brazil.
........

14 years agoMerged revisions 84584 via svnmerge from
Antoine Pitrou [Tue, 7 Sep 2010 14:55:24 +0000 (14:55 +0000)]
Merged revisions 84584 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84584 | antoine.pitrou | 2010-09-07 16:52:42 +0200 (mar., 07 sept. 2010) | 4 lines

  Issue #4026: Make the fcntl extension build under AIX.
  Patch by Sébastien Sablé.
........

14 years agoMerged revisions 84582 via svnmerge from
Brian Curtin [Tue, 7 Sep 2010 13:27:20 +0000 (13:27 +0000)]
Merged revisions 84582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84582 | brian.curtin | 2010-09-07 08:24:38 -0500 (Tue, 07 Sep 2010) | 3 lines

  Adjust #8956 to add the bad signal number to the exception message.
........

14 years agoRemove outdated XXX comment. Mapping support was removed for 3.x.
Raymond Hettinger [Mon, 6 Sep 2010 22:54:24 +0000 (22:54 +0000)]
Remove outdated XXX comment.  Mapping support was removed for 3.x.

14 years agoUpdated information on logging contextual information.
Vinay Sajip [Mon, 6 Sep 2010 22:18:20 +0000 (22:18 +0000)]
Updated information on logging contextual information.

14 years agoMerged revisions 84559 via svnmerge from
Brian Curtin [Mon, 6 Sep 2010 16:31:27 +0000 (16:31 +0000)]
Merged revisions 84559 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84559 | brian.curtin | 2010-09-06 11:29:29 -0500 (Mon, 06 Sep 2010) | 6 lines

  Fix #8956. ValueError message was only mentioning one signal.

  Rather than list out the three signals (or more over time), the message was
  made less specific but still descriptive.
........

14 years agoMerged revisions 84556 via svnmerge from
Brian Curtin [Mon, 6 Sep 2010 16:17:50 +0000 (16:17 +0000)]
Merged revisions 84556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84556 | brian.curtin | 2010-09-06 11:04:10 -0500 (Mon, 06 Sep 2010) | 7 lines

  Clean up the fix to #9324 with some of the suggestions raised on python-dev
  in response to the original checkin.

  Move the validation from the original loop into a switch statement,
  and adjust a platform check in the tests.
........

14 years agoMerged revisions 84506 via svnmerge from
Antoine Pitrou [Sat, 4 Sep 2010 21:24:42 +0000 (21:24 +0000)]
Merged revisions 84506 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84506 | antoine.pitrou | 2010-09-04 22:53:29 +0200 (sam., 04 sept. 2010) | 5 lines

  Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid file
  descriptor is provided.  Patch by Pascal Chambon.
........

14 years agoMerged revisions 84495-84496 via svnmerge from
Antoine Pitrou [Sat, 4 Sep 2010 17:52:26 +0000 (17:52 +0000)]
Merged revisions 84495-84496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84495 | antoine.pitrou | 2010-09-04 19:40:21 +0200 (sam., 04 sept. 2010) | 4 lines

  Issue #1100562: Fix deep-copying of objects derived from the list and dict types.
  Patch by Michele Orrù and Björn Lindqvist.
........
  r84496 | antoine.pitrou | 2010-09-04 19:40:51 +0200 (sam., 04 sept. 2010) | 3 lines

  Fix Björn's name in ACKS.
........

14 years agoMerged revisions 84492 via svnmerge from
Antoine Pitrou [Sat, 4 Sep 2010 17:34:12 +0000 (17:34 +0000)]
Merged revisions 84492 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84492 | antoine.pitrou | 2010-09-04 19:32:06 +0200 (sam., 04 sept. 2010) | 4 lines

  Issue #9581: Fix non-working PosixGroupsTester test case
  (it only runs as root, which is why nobody bothered about the failure)
........

14 years agoMerged revisions 84489 via svnmerge from
Antoine Pitrou [Sat, 4 Sep 2010 17:27:10 +0000 (17:27 +0000)]
Merged revisions 84489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84489 | antoine.pitrou | 2010-09-04 19:21:57 +0200 (sam., 04 sept. 2010) | 4 lines

  Issue #7736: Release the GIL around calls to opendir() and closedir()
  in the posix module.  Patch by Marcin Bachry.
........

14 years agoMerged revisions 84472 via svnmerge from
Éric Araujo [Fri, 3 Sep 2010 22:06:31 +0000 (22:06 +0000)]
Merged revisions 84472 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84472 | eric.araujo | 2010-09-04 00:03:10 +0200 (sam., 04 sept. 2010) | 2 lines

  Fix invalid bytes for UTF-8
........

14 years agoMerged revisions 84452 via svnmerge from
Antoine Pitrou [Fri, 3 Sep 2010 16:15:17 +0000 (16:15 +0000)]
Merged revisions 84452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84452 | antoine.pitrou | 2010-09-03 18:12:14 +0200 (ven., 03 sept. 2010) | 3 lines

  Fix NEWS entry.
........

14 years agoAn example that shows that _PyInstance_Lookup() does not fulfill
Armin Rigo [Fri, 3 Sep 2010 09:26:14 +0000 (09:26 +0000)]
An example that shows that _PyInstance_Lookup() does not fulfill
its documented purpose.

14 years agoIssue #7077: Backported fix from py3k.
Vinay Sajip [Fri, 3 Sep 2010 09:06:07 +0000 (09:06 +0000)]
Issue #7077: Backported fix from py3k.

14 years agofix output from RawConfigParser.write and ConfigParser.write for None
Fred Drake [Fri, 3 Sep 2010 03:55:50 +0000 (03:55 +0000)]
fix output from RawConfigParser.write and ConfigParser.write for None
values (http://bugs.python.org/issue7005)

14 years agoMerged revisions 84438 via svnmerge from
Antoine Pitrou [Thu, 2 Sep 2010 22:23:19 +0000 (22:23 +0000)]
Merged revisions 84438 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84438 | antoine.pitrou | 2010-09-02 21:48:07 +0200 (jeu., 02 sept. 2010) | 3 lines

  BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
........

14 years agoMore descriptive title.
Raymond Hettinger [Wed, 1 Sep 2010 22:37:17 +0000 (22:37 +0000)]
More descriptive title.

14 years agoGlossary cleanup
Raymond Hettinger [Wed, 1 Sep 2010 22:25:41 +0000 (22:25 +0000)]
Glossary cleanup

14 years agoCleanup heapq docs
Raymond Hettinger [Wed, 1 Sep 2010 21:20:07 +0000 (21:20 +0000)]
Cleanup heapq docs

14 years agoMerged revisions 84408-84409 via svnmerge from
Antoine Pitrou [Wed, 1 Sep 2010 21:17:34 +0000 (21:17 +0000)]
Merged revisions 84408-84409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84408 | antoine.pitrou | 2010-09-01 23:14:16 +0200 (mer., 01 sept. 2010) | 4 lines

  Issue #9737: Fix a crash when trying to delete a slice or an item from
  a memoryview object.
........
  r84409 | antoine.pitrou | 2010-09-01 23:14:46 +0200 (mer., 01 sept. 2010) | 3 lines

  Fix a compilation warning
........

14 years agoClean-up bisect docs.
Raymond Hettinger [Wed, 1 Sep 2010 19:42:36 +0000 (19:42 +0000)]
Clean-up bisect docs.

14 years agoBlocked revisions 84397 via svnmerge
Antoine Pitrou [Wed, 1 Sep 2010 18:57:02 +0000 (18:57 +0000)]
Blocked revisions 84397 via svnmerge

........
  r84397 | antoine.pitrou | 2010-09-01 20:54:56 +0200 (mer., 01 sept. 2010) | 5 lines

  Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding()
  are now removed, since their effect was inexistent in 3.x (the default
  encoding is hardcoded to utf-8 and cannot be changed).
........

14 years agoBlocked revisions 84394 via svnmerge
Antoine Pitrou [Wed, 1 Sep 2010 15:15:28 +0000 (15:15 +0000)]
Blocked revisions 84394 via svnmerge

........
  r84394 | antoine.pitrou | 2010-09-01 17:10:12 +0200 (mer., 01 sept. 2010) | 4 lines

  Issue #7415: PyUnicode_FromEncodedObject() now uses the new buffer API
  properly.  Patch by Stefan Behnel.
........

14 years agoMerged revisions 84391 via svnmerge from
Antoine Pitrou [Wed, 1 Sep 2010 13:02:50 +0000 (13:02 +0000)]
Merged revisions 84391 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84391 | antoine.pitrou | 2010-09-01 14:58:21 +0200 (mer., 01 sept. 2010) | 5 lines

  Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become
  _Py_add_one_to_C() and _Py_add_one_to_F(), respectively.
........

14 years agoIssue #808164: Fixed socket.close to avoid references to globals, to
Daniel Stutzbach [Tue, 31 Aug 2010 20:29:39 +0000 (20:29 +0000)]
Issue #808164: Fixed socket.close to avoid references to globals, to
avoid issues when socket.close is called from a __del__ method.

14 years agoImproved logging.Formatter date/time formatting documentation.
Vinay Sajip [Mon, 30 Aug 2010 18:10:03 +0000 (18:10 +0000)]
Improved logging.Formatter date/time formatting documentation.

14 years agoMerged revisions 84366 via svnmerge from
Antoine Pitrou [Mon, 30 Aug 2010 14:55:30 +0000 (14:55 +0000)]
Merged revisions 84366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84366 | antoine.pitrou | 2010-08-30 16:52:00 +0200 (lun., 30 août 2010) | 5 lines

  Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x.  Patch by
  Sébastien Sablé.
........

14 years agoversionadded
Benjamin Peterson [Sat, 28 Aug 2010 20:56:50 +0000 (20:56 +0000)]
versionadded

14 years agoBlocked revisions 84347 via svnmerge
Antoine Pitrou [Sat, 28 Aug 2010 20:55:42 +0000 (20:55 +0000)]
Blocked revisions 84347 via svnmerge

........
  r84347 | antoine.pitrou | 2010-08-28 22:42:55 +0200 (sam., 28 août 2010) | 5 lines

  Issue #4835: make PyLong_FromSocket_t() and PyLong_AsSocket_t() private
  to the socket module, and fix the width of socket descriptors to be
  correctly detected under 64-bit Windows.
........

14 years agoMerged revisions 84344 via svnmerge from
Antoine Pitrou [Sat, 28 Aug 2010 18:29:13 +0000 (18:29 +0000)]
Merged revisions 84344 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84344 | antoine.pitrou | 2010-08-28 20:17:03 +0200 (sam., 28 août 2010) | 4 lines

  Issue #1868: Eliminate subtle timing issues in thread-local objects by
  getting rid of the cached copy of thread-local attribute dictionary.
........

14 years agoMerged revisions 84323 via svnmerge from
Senthil Kumaran [Thu, 26 Aug 2010 06:20:13 +0000 (06:20 +0000)]
Merged revisions 84323 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84323 | senthil.kumaran | 2010-08-26 11:46:22 +0530 (Thu, 26 Aug 2010) | 3 lines

  Fix Issue8797 - Reset the basic auth retry count when response code is not 401.
........

14 years agoMerged revisions 84320 via svnmerge from
Benjamin Peterson [Wed, 25 Aug 2010 23:17:42 +0000 (23:17 +0000)]
Merged revisions 84320 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84320 | benjamin.peterson | 2010-08-25 18:13:17 -0500 (Wed, 25 Aug 2010) | 1 line

  basicsize and itemsize are Py_ssize_t #9688
........

14 years agoMerged revisions 84310 via svnmerge from
R. David Murray [Wed, 25 Aug 2010 01:45:57 +0000 (01:45 +0000)]
Merged revisions 84310 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84310 | r.david.murray | 2010-08-24 20:45:55 -0400 (Tue, 24 Aug 2010) | 8 lines

  #1194222: make parsedate always return RFC2822 four character years.

  Two character years are now converted to four character years using
  the Posix standard rule (<68 == 2000, >=68==1900).  This makes the
  parsed date RFC2822 compliant even if the input is not.

  Patch and test by Jeffrey Finkelstein.
........

14 years agoMerged revisions 84301 via svnmerge from
Daniel Stutzbach [Tue, 24 Aug 2010 21:09:30 +0000 (21:09 +0000)]
Merged revisions 84301 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84301 | daniel.stutzbach | 2010-08-24 15:49:57 -0500 (Tue, 24 Aug 2010) | 1 line

  Issue 8750: Fixed MutableSet's methods to correctly handle reflexive operations, namely x -= x and x ^= x
........

14 years agoMerged revisions 84299 via svnmerge from
Benjamin Peterson [Tue, 24 Aug 2010 18:10:46 +0000 (18:10 +0000)]
Merged revisions 84299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84299 | benjamin.peterson | 2010-08-24 13:08:22 -0500 (Tue, 24 Aug 2010) | 1 line

  tabbing no longer applicable
........

14 years agoAdd the original test case of bug #1469629,
Armin Rigo [Tue, 24 Aug 2010 12:53:02 +0000 (12:53 +0000)]
Add the original test case of bug #1469629,
formatted according to local conventions.

14 years agoMerged revisions 84289 via svnmerge from
Giampaolo Rodolà [Mon, 23 Aug 2010 22:48:51 +0000 (22:48 +0000)]
Merged revisions 84289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84289 | giampaolo.rodola | 2010-08-24 00:28:13 +0200 (mar, 24 ago 2010) | 1 line

  fix issue 9129: adds proper error handling on accept() when smtpd accepts new incoming connections.
........

14 years agoMerged revisions 84284 via svnmerge from
Giampaolo Rodolà [Mon, 23 Aug 2010 21:58:47 +0000 (21:58 +0000)]
Merged revisions 84284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84284 | giampaolo.rodola | 2010-08-23 23:53:41 +0200 (lun, 23 ago 2010) | 1 line

  fix issue 658749: correctly interprets asyncore's windows errors on connect()
........