Commit graph

48682 commits

Author SHA1 Message Date
Antoine Pitrou
328ec7455f Issue #9854: The default read() implementation in io.RawIOBase now
handles non-blocking readinto() returning None correctly.
2010-09-14 18:37:24 +00:00
Antoine Pitrou
9e0b864ac0 Issue #1552: socket.socketpair() now returns regular socket.socket
objects supporting the whole socket API (rather than the "raw"
_socket.socket objects).
2010-09-14 18:00:02 +00:00
Daniel Stutzbach
bd63a9976d 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
........
2010-09-14 16:07:54 +00:00
Daniel Stutzbach
38615993b0 Remove pointers to a FAQ entry that no longer exists. Incorporate some text from the old FAQ into the docs 2010-09-14 16:02:01 +00:00
Antoine Pitrou
5974cdd5f5 Merged revisions 84807 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  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.
........
2010-09-14 14:47:08 +00:00
Antoine Pitrou
a468adc76d Issue #9853: Fix the signature of SSLSocket.recvfrom() and
SSLSocket.sendto() to match the corresponding socket methods.
2010-09-14 14:43:44 +00:00
Alexander Belopolsky
3a883214ee 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
........
2010-09-14 14:21:12 +00:00
Alexander Belopolsky
9bfc0f0984 Issue 9315: Added test/tracedmodules to LIBSUBDIRS 2010-09-14 14:12:19 +00:00
Eric Smith
9d65b6ccbe 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.
........
2010-09-14 13:03:39 +00:00
Antoine Pitrou
3d330add9e Remove C++-style comments 2010-09-14 10:08:08 +00:00
Antoine Pitrou
2ed94eb520 Do not print additional shutdown message when gc.DEBUG_SAVEALL is set 2010-09-14 09:48:39 +00:00
Vinay Sajip
0055c421fe Tidied example script. 2010-09-14 09:42:39 +00:00
Vinay Sajip
8552d1fc8f Added test for QueueHandler. 2010-09-14 09:34:09 +00:00
Vinay Sajip
de72692465 Tidied example script. 2010-09-14 06:59:24 +00:00
Alexander Belopolsky
e1b6a9ac99 Added files missed in r84780. Thanks, Florent. 2010-09-14 01:11:35 +00:00
Raymond Hettinger
98a5f3f838 Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods. 2010-09-13 21:36:00 +00:00
Daniel Stutzbach
9f0cbf1c72 Issue #9213: Add index and count methods to range objects, needed to
meet the API of the collections.Sequence ABC.
2010-09-13 21:16:29 +00:00
Eric Smith
e4d6317c87 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.
2010-09-13 20:48:43 +00:00
Vinay Sajip
af9d10aa30 logging: enhanced HTTPHandler 2010-09-13 20:40:30 +00:00
Vinay Sajip
1b5646ac56 Enhanced HTTPHandler documentation. 2010-09-13 20:37:50 +00:00
Vinay Sajip
9907918174 Removed unused, commented-out code. 2010-09-13 20:28:57 +00:00
Vinay Sajip
63891ed082 Expanded QueueHandler documentation. 2010-09-13 20:02:39 +00:00
Victor Stinner
ccb706cf0a Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X
(macpath module).
2010-09-13 19:41:36 +00:00
Alexander Belopolsky
9665637d44 Merged revisions 84780-84781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
with some manual fixes
........
  r84780 | alexander.belopolsky | 2010-09-13 14:14:34 -0400 (Mon, 13 Sep 2010) | 3 lines

  Issue #9315: Fix for the trace module to record correct class name
  when tracing methods.  Unit tests. Patch by Eli Bendersky.
........
  r84781 | alexander.belopolsky | 2010-09-13 14:15:33 -0400 (Mon, 13 Sep 2010) | 1 line

  Removed debugging setting
........
2010-09-13 18:38:54 +00:00
Alexander Belopolsky
d8642c3274 Removed debugging setting 2010-09-13 18:15:33 +00:00
Alexander Belopolsky
4d7701729c Issue #9315: Fix for the trace module to record correct class name
when tracing methods.  Unit tests. Patch by Eli Bendersky.
2010-09-13 18:14:34 +00:00
Florent Xicluna
dc69e7217a Make test.regrtest.__file__ absolute, this was not always the case when running profile or trace, for example. (issue #9323) 2010-09-13 16:35:02 +00:00
Antoine Pitrou
1df1536fb9 Issue #9828: Destroy the GIL in Py_Finalize(), so that it gets properly
re-created on a subsequent call to Py_Initialize().  The problem (a crash)
wouldn't appear in 3.1 or 2.7 where the GIL's structure is more trivial.
2010-09-13 14:16:46 +00:00
Hirokazu Yamamoto
9ad66d2032 Recorded merge of 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.
........
2010-09-13 08:07:29 +00:00
Hirokazu Yamamoto
67af7f4eee 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.
........
2010-09-13 07:48:22 +00:00
Hirokazu Yamamoto
bea8ae7948 get_build_version() is needed even where sys.platform != "win32".
Try to fix buildbot error in other way.
2010-09-13 07:18:30 +00:00
Hirokazu Yamamoto
4cc96a16da Cosmetic fix to project files. 2010-09-13 06:21:54 +00:00
Hirokazu Yamamoto
6095435664 Updated PC/VS8.0 with PCBuild/vs9to8.py. 2010-09-13 05:59:38 +00:00
Hirokazu Yamamoto
10f4f76b28 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.
........
2010-09-13 05:48:30 +00:00
Hirokazu Yamamoto
68201bdb6d Issue #9313: Use unittest.skipUnless to skip old MSVC. 2010-09-13 05:36:21 +00:00
Florent Xicluna
a87b383ac1 Reenable test_ucs4 and remove some duplicated lines. 2010-09-13 02:28:18 +00:00
Benjamin Peterson
ee258571b5 Merged revisions 84754-84755 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
........
  r84755 | benjamin.peterson | 2010-09-12 20:30:04 -0500 (Sun, 12 Sep 2010) | 1 line

  remove less complete of duplicate docs
........
2010-09-13 01:52:40 +00:00
Benjamin Peterson
0f4dd9a8e5 add spaces 2010-09-13 01:31:57 +00:00
Benjamin Peterson
c7b1cfa463 remove less complete of duplicate docs 2010-09-13 01:30:04 +00:00
Benjamin Peterson
c985f1f013 remove duplicate statement 2010-09-13 01:25:38 +00:00
Hirokazu Yamamoto
f28f0d92cd Issue #9313: Skips test_remove_visual_c_ref on old MSVC. 2010-09-12 22:55:40 +00:00
Amaury Forgeot d'Arc
feb7307db4 #9210: remove --with-wctype-functions configure option.
The internal unicode database is now always used.

(after 5 years: see
  http://mail.python.org/pipermail/python-dev/2004-December/050193.html
)
2010-09-12 22:42:57 +00:00
Georg Brandl
b2f98401d1 Get rid of tabs. 2010-09-12 20:58:19 +00:00
Victor Stinner
0cbec571ae Document changes on mbcs encoding 2010-09-12 20:32:57 +00:00
Raymond Hettinger
f1725296cc Put tests in more logical order. 2010-09-12 18:16:01 +00:00
Raymond Hettinger
c5c29c0ac0 Use weakrefs for both forward and backward links. 2010-09-12 18:13:46 +00:00
Georg Brandl
b084b48cec 9806: add --extension-suffix option to python-config. 2010-09-12 17:14:26 +00:00
Matthias Klose
167c3bc3c1 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.
........
2010-09-12 16:50:20 +00:00
Benjamin Peterson
d4ac96a336 use return NULL; it's just as correct 2010-09-12 16:40:53 +00:00
Matthias Klose
62d52fd966 - Issue #9817: Add expat COPYING file; add expat, libffi and expat licenses
to Doc/license.rst.
2010-09-12 16:31:58 +00:00