Commit graph

48682 commits

Author SHA1 Message Date
Antoine Pitrou
e231e39c28 Issue #7508: remove obsolete documentation about built-in file objects. 2009-12-19 18:22:15 +00:00
Georg Brandl
62423cba95 #7500: add "Python 3 review needed" comments and fix a few obvious errors. 2009-12-19 17:59:59 +00:00
Georg Brandl
9e4ff75325 #7499: Review of Library FAQ by Florent Xicluna. 2009-12-19 17:57:51 +00:00
Georg Brandl
62eaaf62ff #7495: Review of Programming FAQ by Florent Xicluna. 2009-12-19 17:51:41 +00:00
Georg Brandl
bfe95ac098 Recorded merge of revisions 76886 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76886 | georg.brandl | 2009-12-19 18:43:33 +0100 (Sa, 19 Dez 2009) | 1 line

  #7493: review of Design FAQ by Florent Xicluna.
........
2009-12-19 17:46:40 +00:00
Georg Brandl
4d345ce1c9 #7521: remove PyEval_GetRestricted() from the docs. 2009-12-19 17:36:20 +00:00
Georg Brandl
6d7f6f75fd Merged revisions 76883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76883 | georg.brandl | 2009-12-19 18:34:32 +0100 (Sa, 19 Dez 2009) | 1 line

  #7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().
........
2009-12-19 17:35:49 +00:00
Mark Dickinson
2297b0911a Blocked revisions 76879 via svnmerge
................
  r76879 | mark.dickinson | 2009-12-19 11:20:49 +0000 (Sat, 19 Dec 2009) | 10 lines

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

  ........
    r76878 | mark.dickinson | 2009-12-19 11:07:23 +0000 (Sat, 19 Dec 2009) | 3 lines

    Issue #3366: Add error function and complementary error function to
    math module.
  ........
................
2009-12-19 11:22:40 +00:00
Mark Dickinson
45f992a45e Merged revisions 76878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76878 | mark.dickinson | 2009-12-19 11:07:23 +0000 (Sat, 19 Dec 2009) | 3 lines

  Issue #3366: Add error function and complementary error function to
  math module.
........
2009-12-19 11:20:49 +00:00
Ezio Melotti
e8c12559fd Merged revisions 76875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76875 | ezio.melotti | 2009-12-18 17:35:27 +0200 (Fri, 18 Dec 2009) | 9 lines

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

  ........
    r76804 | ezio.melotti | 2009-12-13 20:54:53 +0200 (Sun, 13 Dec 2009) | 1 line

    #7342: make sure that the datetime object in test_fraction always has a number of microseconds != 0
  ........
................
2009-12-18 15:37:48 +00:00
Ezio Melotti
056aafe7f2 Merged revisions 76804 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76804 | ezio.melotti | 2009-12-13 20:54:53 +0200 (Sun, 13 Dec 2009) | 1 line

  #7342: make sure that the datetime object in test_fraction always has a number of microseconds != 0
........
2009-12-18 15:35:27 +00:00
Mark Dickinson
695de96943 Blocked revisions 76867 via svnmerge
................
  r76867 | mark.dickinson | 2009-12-17 08:35:56 +0000 (Thu, 17 Dec 2009) | 9 lines

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

  ........
    r76865 | mark.dickinson | 2009-12-17 08:33:56 +0000 (Thu, 17 Dec 2009) | 1 line

    Add _math.h to math module dependencies in setup.py.
  ........
................
2009-12-17 08:36:46 +00:00
Mark Dickinson
8a59113bf5 Merged revisions 76865 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76865 | mark.dickinson | 2009-12-17 08:33:56 +0000 (Thu, 17 Dec 2009) | 1 line

  Add _math.h to math module dependencies in setup.py.
........
2009-12-17 08:35:56 +00:00
Mark Dickinson
10a91696c1 Blocked revisions 76863 via svnmerge
................
  r76863 | mark.dickinson | 2009-12-16 20:23:42 +0000 (Wed, 16 Dec 2009) | 10 lines

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

  ........
    r76861 | mark.dickinson | 2009-12-16 20:13:40 +0000 (Wed, 16 Dec 2009) | 3 lines

    Issue #3366: Add expm1 function to math module.  Thanks Eric Smith for
    testing on Windows.
  ........
................
2009-12-16 20:24:25 +00:00
Mark Dickinson
664b511c0a Merged revisions 76861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76861 | mark.dickinson | 2009-12-16 20:13:40 +0000 (Wed, 16 Dec 2009) | 3 lines

  Issue #3366: Add expm1 function to math module.  Thanks Eric Smith for
  testing on Windows.
........
2009-12-16 20:23:42 +00:00
R. David Murray
4860288958 Blocked revisions 76857 via svnmerge
................
  r76857 | r.david.murray | 2009-12-16 10:19:27 -0500 (Wed, 16 Dec 2009) | 9 lines

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

  ........
    r76856 | r.david.murray | 2009-12-16 06:49:46 -0500 (Wed, 16 Dec 2009) | 2 lines

    Issue #7396: fix -s, which was broken by the -j enhancement.
  ........
................
2009-12-16 15:21:43 +00:00
R. David Murray
ef1992b9fb Merged revisions 76856 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76856 | r.david.murray | 2009-12-16 06:49:46 -0500 (Wed, 16 Dec 2009) | 2 lines

  Issue #7396: fix -s, which was broken by the -j enhancement.
........
2009-12-16 15:19:27 +00:00
Kristján Valur Jónsson
1f2a1ae388 Merged revisions 74558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74558 | kristjan.jonsson | 2009-08-27 23:13:18 +0000 (fim., 27 ßg·. 2009) | 2 lines

  Issue 6654
  Allow the XML-RPC server to use the HTTP request path when dispatching.  Added a MultiPathXMLRPCServer class that uses the feature, plus unit tests.
........
2009-12-16 10:50:44 +00:00
Tarek Ziadé
21145ea947 Blocked revisions 76849 via svnmerge
........
  r76849 | tarek.ziade | 2009-12-15 07:29:19 +0100 (Tue, 15 Dec 2009) | 1 line

  cleaned up the module (PEP 8 + old fashion test removal)
........
2009-12-15 06:30:35 +00:00
R. David Murray
f48947508a Recorded merge of revisions 76845 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76845 | r.david.murray | 2009-12-14 18:06:11 -0500 (Mon, 14 Dec 2009) | 2 lines

  Fix typo in NEWS item for Issue 7498.
........
2009-12-14 23:07:16 +00:00
R. David Murray
596da44f84 Fix typo in NEWS item for Issue 7498. 2009-12-14 23:06:11 +00:00
R. David Murray
c009b44595 Merged revisions 76843 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76843 | r.david.murray | 2009-12-14 17:45:15 -0500 (Mon, 14 Dec 2009) | 10 lines

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

  ........
    r76840 | r.david.murray | 2009-12-14 16:57:39 -0500 (Mon, 14 Dec 2009) | 3 lines

    Issue #7498: make test_multiprocessing use test_support.find_unused_port
    instead of a hard coded port number in test_rapid_restart.
  ........
................
2009-12-14 22:57:04 +00:00
R. David Murray
8339623d12 Merged revisions 76840 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76840 | r.david.murray | 2009-12-14 16:57:39 -0500 (Mon, 14 Dec 2009) | 3 lines

  Issue #7498: make test_multiprocessing use test_support.find_unused_port
  instead of a hard coded port number in test_rapid_restart.
........
2009-12-14 22:45:15 +00:00
Antoine Pitrou
c8428d3dce Merged revisions 76836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76836 | antoine.pitrou | 2009-12-14 19:00:06 +0100 (lun., 14 déc. 2009) | 5 lines

  Issue #4757: `zlib.compress` and other methods in the zlib module now
  raise a TypeError when given an `str` object (rather than a `bytes`-like
  object).  Patch by Victor Stinner and Florent Xicluna.
........
2009-12-14 18:23:30 +00:00
Antoine Pitrou
77b338be20 Issue #4757: zlib.compress and other methods in the zlib module now
raise a TypeError when given an `str` object (rather than a `bytes`-like
object).  Patch by Victor Stinner and Florent Xicluna.
2009-12-14 18:00:06 +00:00
R. David Murray
999df780d1 Merged revisions 76834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76834 | r.david.murray | 2009-12-14 12:27:08 -0500 (Mon, 14 Dec 2009) | 13 lines

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

  ........
    r76819 | benjamin.peterson | 2009-12-13 16:15:31 -0500 (Sun, 13 Dec 2009) | 1 line

    avoid having to update this statement all the time
  ........
    r76830 | r.david.murray | 2009-12-13 21:50:32 -0500 (Sun, 13 Dec 2009) | 2 lines

    Clarify phrasing that explains that there are currently two branches.
  ........
................
2009-12-14 17:31:22 +00:00
R. David Murray
338eae3460 Merged revisions 76819,76830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76819 | benjamin.peterson | 2009-12-13 16:15:31 -0500 (Sun, 13 Dec 2009) | 1 line

  avoid having to update this statement all the time
........
  r76830 | r.david.murray | 2009-12-13 21:50:32 -0500 (Sun, 13 Dec 2009) | 2 lines

  Clarify phrasing that explains that there are currently two branches.
........
2009-12-14 17:27:08 +00:00
R. David Murray
e32d99fb06 Blocked revisions 76831 via svnmerge
........
  r76831 | r.david.murray | 2009-12-14 11:28:26 -0500 (Mon, 14 Dec 2009) | 6 lines

  Issue #1680159: unicode coercion during an 'in' operation was masking
  any errors that might occur during coercion of the left operand and
  turning them into a TypeError with a message text that was confusing in
  the given context.  This patch lets any errors through, as was already
  done during coercion of the right hand side.
........
2009-12-14 17:11:00 +00:00
Tarek Ziadé
cac8a8803e Blocked revisions 76828 via svnmerge
................
  r76828 | tarek.ziade | 2009-12-14 00:26:18 +0100 (Mon, 14 Dec 2009) | 9 lines

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

  ........
    r76826 | tarek.ziade | 2009-12-14 00:24:13 +0100 (Mon, 14 Dec 2009) | 1 line

    reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
  ........
................
2009-12-13 23:27:36 +00:00
Tarek Ziadé
a4332d717a Merged revisions 76826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76826 | tarek.ziade | 2009-12-14 00:24:13 +0100 (Mon, 14 Dec 2009) | 1 line

  reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
........
2009-12-13 23:26:18 +00:00
Benjamin Peterson
91d58bd146 Merged revisions 76822,76824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76822 | benjamin.peterson | 2009-12-13 15:21:43 -0600 (Sun, 13 Dec 2009) | 1 line

  initialize to NULL
........
  r76824 | benjamin.peterson | 2009-12-13 15:27:53 -0600 (Sun, 13 Dec 2009) | 1 line

  add a test of loading the datetime capi
........
2009-12-13 21:30:54 +00:00
Brett Cannon
5f4ec0451c Fix a minor grammatical error. 2009-12-13 21:25:28 +00:00
Mark Dickinson
62eda4d0c4 Merged revisions 76815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76815 | mark.dickinson | 2009-12-13 21:10:57 +0000 (Sun, 13 Dec 2009) | 10 lines

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

  ........
    r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

    Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
    sem_unlink calls to delete those semaphore files.
  ........
................
2009-12-13 21:18:16 +00:00
Brett Cannon
85266da5d4 Make the example paths in Mac/README no longer directly refer to 2.6. 2009-12-13 21:15:41 +00:00
Mark Dickinson
f3f9e82207 Unblocked revisions 76815 via svnmerge
................
  r76815 | mark.dickinson | 2009-12-13 21:10:57 +0000 (Sun, 13 Dec 2009) | 10 lines

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

  ........
    r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

    Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
    sem_unlink calls to delete those semaphore files.
  ........
................
2009-12-13 21:13:19 +00:00
Mark Dickinson
d01ce02b46 Blocked revisions 76815 via svnmerge
................
  r76815 | mark.dickinson | 2009-12-13 21:10:57 +0000 (Sun, 13 Dec 2009) | 10 lines

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

  ........
    r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

    Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
    sem_unlink calls to delete those semaphore files.
  ........
................
2009-12-13 21:12:29 +00:00
Mark Dickinson
ba79b35772 Merged revisions 76813 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines

  Issue #7492: Autoconf tests were leaving semaphore files behind.  Add
  sem_unlink calls to delete those semaphore files.
........
2009-12-13 21:10:57 +00:00
Benjamin Peterson
ff23703eec Merged revisions 76812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76812 | benjamin.peterson | 2009-12-13 15:04:16 -0600 (Sun, 13 Dec 2009) | 1 line

  remove references to cPickle
........
2009-12-13 21:06:19 +00:00
Benjamin Peterson
b5314c6583 remove references to cPickle 2009-12-13 21:04:16 +00:00
Mark Dickinson
4205a22308 Merged revisions 76810 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76810 | mark.dickinson | 2009-12-13 20:03:21 +0000 (Sun, 13 Dec 2009) | 4 lines

  Make sure that test_capsule always returns NULL on error; this may
  help diagnose the sporadic test_capi failures on Solaris.
........
2009-12-13 20:04:13 +00:00
Mark Dickinson
6d138f1f45 Make sure that test_capsule always returns NULL on error; this may
help diagnose the sporadic test_capi failures on Solaris.
2009-12-13 20:03:21 +00:00
Benjamin Peterson
6b59f77c43 Merged revisions 76806,76808 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76806 | benjamin.peterson | 2009-12-13 13:25:34 -0600 (Sun, 13 Dec 2009) | 14 lines

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

  ........
    r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines

    accept None as the same as having passed no argument in file types #7349

    This is for consistency with imitation file objects like StringIO and BytesIO.

    This commit also adds a few tests, where they were lacking for concerned
    methods.
  ........
................
  r76808 | benjamin.peterson | 2009-12-13 13:28:09 -0600 (Sun, 13 Dec 2009) | 9 lines

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

  ........
    r76807 | benjamin.peterson | 2009-12-13 13:27:02 -0600 (Sun, 13 Dec 2009) | 1 line

    remove unused variable
  ........
................
2009-12-13 19:30:15 +00:00
Benjamin Peterson
05516130fb Merged revisions 76807 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76807 | benjamin.peterson | 2009-12-13 13:27:02 -0600 (Sun, 13 Dec 2009) | 1 line

  remove unused variable
........
2009-12-13 19:28:09 +00:00
Benjamin Peterson
bf5ff76597 Merged revisions 76805 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines

  accept None as the same as having passed no argument in file types #7349

  This is for consistency with imitation file objects like StringIO and BytesIO.

  This commit also adds a few tests, where they were lacking for concerned
  methods.
........
2009-12-13 19:25:34 +00:00
R. David Murray
bb4cd51982 Blocked revisions 73742,73820,73845,73878,73987,74099,74101 via svnmerge
Note: All of these are descendants of the issue 6267 patch, which was an
enhancement and thus not a backport candidate, even though it may have
also contained a couple bug fixes.

........
  r73742 | kristjan.jonsson | 2009-07-01 06:01:31 -0400 (Wed, 01 Jul 2009) | 2 lines

  http://bugs.python.org/issue6267
  porting revision 73638 to py3k
........
  r73820 | kristjan.jonsson | 2009-07-03 19:23:50 -0400 (Fri, 03 Jul 2009) | 2 lines

  http://bugs.python.org/issue6267
  Incorrect exception handling for xmlrpclient retry
........
  r73845 | kristjan.jonsson | 2009-07-04 11:18:00 -0400 (Sat, 04 Jul 2009) | 2 lines

  http://bugs.python.org/issue6381
  merging revision 73819 from trunk
........
  r73878 | kristjan.jonsson | 2009-07-07 05:09:10 -0400 (Tue, 07 Jul 2009) | 2 lines

  http://bugs.python.org/issue6382
  added the shutdown_request() which can perform shutdown before calling close.  This is needed for the ForkingMixIn because different close semantics are required for child and parent process.  shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request().  Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
........
  r73987 | kristjan.jonsson | 2009-07-12 18:45:18 -0400 (Sun, 12 Jul 2009) | 3 lines

  merging revision 73986 from trunk:
  http://bugs.python.org/issue6267
  Add more tests for the xlmrpc.ServerProxy
........
  r74099 | kristjan.jonsson | 2009-07-19 18:29:24 -0400 (Sun, 19 Jul 2009) | 4 lines

  porting revision 74098 from trunk:
  http://bugs.python.org/issue6499
  zlib/gzip may not be present for all builds.  Make xmlrpclib gracefully not supporg gzip encoding in this case
........
  r74101 | kristjan.jonsson | 2009-07-19 18:38:38 -0400 (Sun, 19 Jul 2009) | 3 lines

  merging revision 74100 from trunk:
  http://bugs.python.org/issue6499
  gzip.GzipFile may not exist as a parent class
........
2009-12-13 17:49:34 +00:00
Benjamin Peterson
229663775d Blocked revisions 76798-76799 via svnmerge
........
  r76798 | benjamin.peterson | 2009-12-13 11:29:16 -0600 (Sun, 13 Dec 2009) | 1 line

  make StringIO like other file objects in that readline(-1) has no effect #7348
........
  r76799 | benjamin.peterson | 2009-12-13 11:31:31 -0600 (Sun, 13 Dec 2009) | 1 line

  add NEWS note
........
2009-12-13 17:32:59 +00:00
Benjamin Peterson
fe1c73f231 Blocked revisions 76738 via svnmerge
........
  r76738 | ronald.oussoren | 2009-12-10 04:27:09 -0600 (Thu, 10 Dec 2009) | 6 lines

  Fix an issue with the detection of a non-existing SDK
  on OSX. Without this patch it wasn't possible after all
  to compile extensions on OSX 10.6 with the binary
  installer unless the user had installed the (non-default)
  10.4u SDK.
........
2009-12-13 16:42:09 +00:00
Benjamin Peterson
7fde7e422c Blocked revisions 76794 via svnmerge
........
  r76794 | benjamin.peterson | 2009-12-13 10:36:53 -0600 (Sun, 13 Dec 2009) | 2 lines

  fix the ignoring of __cmp__ method on metaclasses #7491
........
2009-12-13 16:39:38 +00:00
Antoine Pitrou
036eba6500 Blocked revisions 76791 via svnmerge
........
  r76791 | antoine.pitrou | 2009-12-13 17:18:14 +0100 (dim., 13 déc. 2009) | 5 lines

  Add NEWS entry as per RDM's suggestion (the bug was actually present
  in 2.7 alpha 1)
........
2009-12-13 16:19:46 +00:00
Benjamin Peterson
3d9ff88c76 Merged revisions 76787-76789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76787 | benjamin.peterson | 2009-12-13 08:21:46 -0600 (Sun, 13 Dec 2009) | 9 lines

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

  ........
    r76785 | benjamin.peterson | 2009-12-13 08:18:08 -0600 (Sun, 13 Dec 2009) | 1 line

    add 2.6.x point releases
  ........
................
  r76788 | benjamin.peterson | 2009-12-13 08:23:30 -0600 (Sun, 13 Dec 2009) | 1 line

  fix markup
................
  r76789 | benjamin.peterson | 2009-12-13 08:26:42 -0600 (Sun, 13 Dec 2009) | 1 line

  update 3.x versions
................
2009-12-13 14:29:42 +00:00