Commit Graph

40637 Commits

Author SHA1 Message Date
R. David Murray 596da44f84 Fix typo in NEWS item for Issue 7498. 2009-12-14 23:06:11 +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 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 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é 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
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 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 b5314c6583 remove references to cPickle 2009-12-13 21:04:16 +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 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
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 ad224bdaae update 3.x versions 2009-12-13 14:26:42 +00:00
Benjamin Peterson 13087d9221 fix markup 2009-12-13 14:23:30 +00:00
Benjamin Peterson d94dfe84f8 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
........
2009-12-13 14:21:46 +00:00
Lars Gustäbel 365aff3a9c Merged revisions 76780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76780 | lars.gustaebel | 2009-12-13 12:32:27 +0100 (Sun, 13 Dec 2009) | 21 lines

  Issue #7357: No longer suppress fatal extraction errors by
  default.

  TarFile's errorlevel argument controls how errors are
  handled that occur during extraction. There are three
  possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
  fatal errors (e.g. a full filesystem) are raised as
  exceptions. If it is set to 0, which is the default value,
  extraction errors are suppressed, and error messages are
  written to the debug log instead. But, if the debug log is
  not activated, which is the default as well, all these
  errors go unnoticed.

  The original intention was to imitate GNU tar which tries
  to extract as many members as possible instead of stopping
  on the first error. It turns out that this is no good
  default behaviour for a tar library. This patch simply
  changes the default value for the errorlevel argument from
  0 to 1, so that fatal extraction errors are raised as
  EnvironmentError exceptions.
........
2009-12-13 11:42:29 +00:00
Benjamin Peterson 8f326b2369 Merged revisions 76052,76522,76591,76689,76697,76733 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76052 | gregory.p.smith | 2009-11-01 20:02:38 -0600 (Sun, 01 Nov 2009) | 5 lines

  see issue1006238, this merges in the following patch to ease cross
  compiling the printf %zd check.

   http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup
........
  r76522 | barry.warsaw | 2009-11-25 12:38:32 -0600 (Wed, 25 Nov 2009) | 2 lines

  Add mktime_tz to __all__.  It's documented as being available in email.utils.
........
  r76591 | benjamin.peterson | 2009-11-29 16:26:26 -0600 (Sun, 29 Nov 2009) | 4 lines

  now that deepcopy can handle instance methods, this hack can be removed #7409

  Thanks Robert Collins
........
  r76689 | benjamin.peterson | 2009-12-06 11:37:48 -0600 (Sun, 06 Dec 2009) | 1 line

  rewrite translate_newlines for clarity
........
  r76697 | benjamin.peterson | 2009-12-06 15:24:30 -0600 (Sun, 06 Dec 2009) | 2 lines

  fix test_parser from tokenizer tweak
........
  r76733 | benjamin.peterson | 2009-12-09 21:37:59 -0600 (Wed, 09 Dec 2009) | 1 line

  substitute PyDict_Check() for PyObject_IsInstance
........
2009-12-13 02:10:36 +00:00
Benjamin Peterson 0496c9ee0a regenerate Python-ast.c 2009-12-13 01:24:58 +00:00
Benjamin Peterson 97dd987ae2 Merged revisions 76534,76538,76628,76701,76774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76534 | martin.v.loewis | 2009-11-26 02:42:05 -0600 (Thu, 26 Nov 2009) | 2 lines

  Fix typo.
........
  r76538 | georg.brandl | 2009-11-26 14:48:25 -0600 (Thu, 26 Nov 2009) | 1 line

  #7400: typo.
........
  r76628 | andrew.kuchling | 2009-12-02 08:27:11 -0600 (Wed, 02 Dec 2009) | 1 line

  Markup fixes
........
  r76701 | andrew.kuchling | 2009-12-07 20:37:05 -0600 (Mon, 07 Dec 2009) | 1 line

  Typo fix; grammar fix
........
  r76774 | benjamin.peterson | 2009-12-12 18:54:15 -0600 (Sat, 12 Dec 2009) | 1 line

  account for PyObject_IsInstance's new ability to fail
........
2009-12-13 01:23:39 +00:00
Benjamin Peterson ddf4b81ee7 Blocked revisions 76602,76690-76691,76736-76737,76754 via svnmerge
........
  r76602 | raymond.hettinger | 2009-11-30 15:13:52 -0600 (Mon, 30 Nov 2009) | 1 line

  Handle step values other than one.
........
  r76690 | vinay.sajip | 2009-12-06 11:57:11 -0600 (Sun, 06 Dec 2009) | 1 line

  logging: Added optional 'secure' parameter to SMTPHandler.
........
  r76691 | vinay.sajip | 2009-12-06 12:05:04 -0600 (Sun, 06 Dec 2009) | 1 line

  logging: Improved support for SMTP over TLS.
........
  r76736 | raymond.hettinger | 2009-12-10 00:00:33 -0600 (Thu, 10 Dec 2009) | 1 line

  Fix variants of deque.extend:  d.extend(d)   d+=d  d.extendleft(d)
........
  r76737 | raymond.hettinger | 2009-12-10 00:42:54 -0600 (Thu, 10 Dec 2009) | 1 line

  Add a reverse() method to collections.deque().
........
  r76754 | vinay.sajip | 2009-12-11 03:16:01 -0600 (Fri, 11 Dec 2009) | 1 line

  Issue #7470: logging: fix bug in Unicode encoding fallback.
........
2009-12-13 00:38:59 +00:00
Benjamin Peterson 45abfbccba death to exec statement 2009-12-13 00:32:14 +00:00
Brett Cannon b89ee8eae8 Clarify importlib.abc.PyPycLoader.write_bytecode(). 2009-12-12 22:35:59 +00:00
Antoine Pitrou 6b7dfc924d Merged revisions 76763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76763 | antoine.pitrou | 2009-12-12 20:13:08 +0100 (sam., 12 déc. 2009) | 7 lines

  Issue #7466: segmentation fault when the garbage collector is called
  in the middle of populating a tuple.  Patch by Florent Xicluna.

  (note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
........
2009-12-12 19:18:27 +00:00
Mark Dickinson 05d2e08401 Merged revisions 76755 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76755 | mark.dickinson | 2009-12-11 17:29:33 +0000 (Fri, 11 Dec 2009) | 2 lines

  Issue #3366:  Add lgamma function to math module.
........
2009-12-11 20:17:17 +00:00
Mark Dickinson e62df2ffaa Restore the svn property changes in r76754 2009-12-11 20:09:24 +00:00
Vinay Sajip 103043c6fa Issue #7470: logging: fix bug in Unicode encoding fallback. 2009-12-11 09:16:01 +00:00
Tarek Ziadé a90a8a1a8e Merged revisions 76750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76750 | tarek.ziade | 2009-12-10 20:29:53 +0100 (Thu, 10 Dec 2009) | 1 line

  using an existing file to avoid dealing with a sleep to test file ages
........
2009-12-10 19:37:05 +00:00
Tarek Ziadé 7ecb9c6c72 Merged revisions 76746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76746 | tarek.ziade | 2009-12-10 16:29:03 +0100 (Thu, 10 Dec 2009) | 1 line

  added test coverage for distutils.dep_util, and cleaned up the module
........
2009-12-10 15:35:35 +00:00
Mark Dickinson 629dfe28f5 Merged revisions 76740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76740 | mark.dickinson | 2009-12-10 10:36:32 +0000 (Thu, 10 Dec 2009) | 8 lines

  Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
  equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
  check on an unsigned type.

  [*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
  unsigned or signed integer type.
........
2009-12-10 10:39:08 +00:00
Raymond Hettinger 3f9afd816d Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d) 2009-12-10 03:03:02 +00:00
Benjamin Peterson 0f6cae0bff remove magic number bumping from the 2.x -U option #7459 2009-12-10 02:09:08 +00:00
R. David Murray e8dc258db5 Merged revisions 76726-76727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

The merge adds a test with an invalid rather than a missing line end, since
the py3K code passed the original issue 5949 test.  New test also by Scott
Dial.

........
  r76726 | r.david.murray | 2009-12-09 10:15:31 -0500 (Wed, 09 Dec 2009) | 6 lines

  Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is
  missing proper end-of-line termination.  Patch and tests by
  Scott Dial.  The new tests include a test harness which will
  make it easier to add additional tests.
........
  r76727 | r.david.murray | 2009-12-09 11:41:39 -0500 (Wed, 09 Dec 2009) | 2 lines

  Skip new imaplib SSL tests if ssl is not available.
........
2009-12-10 02:08:06 +00:00
Raymond Hettinger e5fdedbeda Add a reverse() method to collections.deque(). 2009-12-10 00:47:21 +00:00
Brett Cannon 3e761a9802 Wording clarification. 2009-12-10 00:24:21 +00:00
Brett Cannon fee82f4f9c Clarify the intention of raising ImportError for importlib.abc.PyLoader.(source|bytecode)_path. 2009-12-09 01:48:31 +00:00
Antoine Pitrou ac62535164 Issue #7461: objects returned by os.popen() should support the context manager protocol 2009-12-09 00:01:27 +00:00
Antoine Pitrou 9b14f6044c Merged revisions 76720 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76720 | antoine.pitrou | 2009-12-08 20:46:38 +0100 (mar., 08 déc. 2009) | 3 lines

  Make test_pipes a little bit more robust.
........
2009-12-08 19:53:23 +00:00
Antoine Pitrou 2df5fc7a36 Merged revisions 76718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76718 | antoine.pitrou | 2009-12-08 20:35:12 +0100 (mar., 08 déc. 2009) | 3 lines

  Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
........
2009-12-08 19:38:17 +00:00
Antoine Pitrou 4e7dc5fae9 Merged revisions 76716 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76716 | antoine.pitrou | 2009-12-08 20:25:51 +0100 (mar., 08 déc. 2009) | 4 lines

  Fix the transient refleaks in test_zipimport_support.
  Diagnosis and original patch by Florent Xicluna (flox).
........
2009-12-08 19:27:24 +00:00
Ronald Oussoren 309608b434 Merged revisions 76712 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76712 | ronald.oussoren | 2009-12-08 17:32:52 +0100 (Tue, 08 Dec 2009) | 4 lines

  Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
  an i386 based machine, but should only be active when compiling the x86 part of
  the universal binary.
........
2009-12-08 16:35:28 +00:00
Antoine Pitrou 781eba7972 Merged revisions 76708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76708 | antoine.pitrou | 2009-12-08 16:40:51 +0100 (mar., 08 déc. 2009) | 4 lines

  Issue #6986: Fix crash in the JSON C accelerator when called with the
  wrong parameter types.  Patch by Victor Stinner.
........
2009-12-08 15:57:31 +00:00
Tarek Ziadé b88a49607a Merged revisions 76702,76704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76702 | tarek.ziade | 2009-12-08 09:56:49 +0100 (Tue, 08 Dec 2009) | 1 line

  Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
........
  r76704 | tarek.ziade | 2009-12-08 10:39:51 +0100 (Tue, 08 Dec 2009) | 1 line

  removed the usage of rfc822 in favor of email.message.Message
........
2009-12-08 09:45:25 +00:00
Mark Dickinson 0b9293f28b Fix error message, for consistency with messages for % and //, and for consistency with trunk 2009-12-07 19:34:59 +00:00
Martin v. Löwis b31f30271e Merged revisions 76692 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76692 | martin.v.loewis | 2009-12-06 19:27:29 +0100 (So, 06 Dez 2009) | 2 lines

  Add UUIDs for 2.7. Drop UUIDs for 2.4.
........
2009-12-06 18:34:14 +00:00