]> granicus.if.org Git - python/log
python
14 years agofixes issue #1522237, bad init check in _threading_local
Jack Diederich [Mon, 22 Feb 2010 19:55:46 +0000 (19:55 +0000)]
fixes issue #1522237, bad init check in _threading_local

14 years agoPoor PLAN9, it isn't supported
Antoine Pitrou [Mon, 22 Feb 2010 19:41:37 +0000 (19:41 +0000)]
Poor PLAN9, it isn't supported

14 years agoMerged revisions 78329 via svnmerge from
Eric Smith [Mon, 22 Feb 2010 18:54:44 +0000 (18:54 +0000)]
Merged revisions 78329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78329 | eric.smith | 2010-02-22 13:33:47 -0500 (Mon, 22 Feb 2010) | 1 line

  Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types.
........

14 years agoFixing Issue7399 - Fixing an example of urllib usage.
Senthil Kumaran [Mon, 22 Feb 2010 17:17:22 +0000 (17:17 +0000)]
Fixing Issue7399  - Fixing an example of urllib usage.

14 years agoMerged revisions 78318 via svnmerge from
Andrew M. Kuchling [Mon, 22 Feb 2010 16:52:52 +0000 (16:52 +0000)]
Merged revisions 78318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line

  #7597: curses.use_env() can be called before initscr().  Noted by Kan-Ru Chen
........

14 years agoMerged revisions 78319 via svnmerge from
Ezio Melotti [Mon, 22 Feb 2010 16:34:50 +0000 (16:34 +0000)]
Merged revisions 78319 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78319 | ezio.melotti | 2010-02-22 18:30:58 +0200 (Mon, 22 Feb 2010) | 1 line

  #7482: clarify error message in case of division by zero of float and complex numbers.
........

14 years ago#7310: fix the repr() of os.environ
Ezio Melotti [Mon, 22 Feb 2010 15:59:01 +0000 (15:59 +0000)]
#7310: fix the repr() of os.environ

14 years agoMerged revisions 78312 via svnmerge from
Mark Dickinson [Mon, 22 Feb 2010 15:41:48 +0000 (15:41 +0000)]
Merged revisions 78312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78312 | mark.dickinson | 2010-02-22 15:40:28 +0000 (Mon, 22 Feb 2010) | 1 line

  Clarify description of three-argument pow for Decimal types:  the exponent of the result is always 0.
........

14 years ago#7794: describe 3.1 support for executing directories and zip archives
Andrew M. Kuchling [Mon, 22 Feb 2010 15:24:43 +0000 (15:24 +0000)]
#7794: describe 3.1 support for executing directories and zip archives

14 years agoMerged revisions 78308 via svnmerge from
Andrew M. Kuchling [Mon, 22 Feb 2010 15:15:21 +0000 (15:15 +0000)]
Merged revisions 78308 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78308 | andrew.kuchling | 2010-02-22 10:13:17 -0500 (Mon, 22 Feb 2010) | 2 lines

  #6414: clarify description of processor endianness.
  Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
........

14 years agoIssue #5988: Delete deprecated functions PyOS_ascii_formatd, PyOS_ascii_strtod, and...
Eric Smith [Mon, 22 Feb 2010 14:58:30 +0000 (14:58 +0000)]
Issue #5988: Delete deprecated functions PyOS_ascii_formatd, PyOS_ascii_strtod, and PyOS_ascii_atof.

14 years agoMerged revisions 78303 via svnmerge from
Andrew M. Kuchling [Mon, 22 Feb 2010 14:57:30 +0000 (14:57 +0000)]
Merged revisions 78303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78303 | andrew.kuchling | 2010-02-22 09:53:17 -0500 (Mon, 22 Feb 2010) | 1 line

  #7794: describe 2.6 support for executing directories and zip archives
........

14 years agoMerged revisions 78299 via svnmerge from
Senthil Kumaran [Mon, 22 Feb 2010 11:00:50 +0000 (11:00 +0000)]
Merged revisions 78299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78299 | senthil.kumaran | 2010-02-22 16:25:08 +0530 (Mon, 22 Feb 2010) | 4 lines

  Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
  server to resource in the 405 response msg.
........

14 years agoThe last bug reported for 'time' made me realize I hate dealing with it, so I
Brett Cannon [Sun, 21 Feb 2010 14:50:48 +0000 (14:50 +0000)]
The last bug reported for 'time' made me realize I hate dealing with it, so I
am taking myself off as its official maintainer.

14 years agoMerged revisions 78287 via svnmerge from
Mark Dickinson [Sun, 21 Feb 2010 14:49:52 +0000 (14:49 +0000)]
Merged revisions 78287 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78287 | mark.dickinson | 2010-02-21 14:42:27 +0000 (Sun, 21 Feb 2010) | 1 line

  Reduce number of random tests in test_strtod, to avoid hogging buildbot time.
........

14 years agoBlocked revisions 78280 via svnmerge
Mark Dickinson [Sun, 21 Feb 2010 13:46:40 +0000 (13:46 +0000)]
Blocked revisions 78280 via svnmerge

........
  r78280 | mark.dickinson | 2010-02-21 12:57:35 +0000 (Sun, 21 Feb 2010) | 1 line

  Fix complex type to avoid implicit calls to complex.__coerce__.
........

14 years agoMerged revisions 78281 via svnmerge from
Mark Dickinson [Sun, 21 Feb 2010 13:42:03 +0000 (13:42 +0000)]
Merged revisions 78281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78281 | mark.dickinson | 2010-02-21 13:37:53 +0000 (Sun, 21 Feb 2010) | 1 line

  Issue #7384:  skip test_curses on FreeBSD, in order to allow other buildbot tests to complete.
........

14 years agoMerged revisions 78274 via svnmerge from
R. David Murray [Sun, 21 Feb 2010 04:39:40 +0000 (04:39 +0000)]
Merged revisions 78274 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78274 | r.david.murray | 2010-02-20 23:23:00 -0500 (Sat, 20 Feb 2010) | 9 lines

  Issue 7970: When email.Parser.Parser parses a MIME message of type
  message/rfc822 it turns it into an object whose body consists of
  a list containing a single Message object.  HeaderParser, on the
  other hand, just copies the body as a string.  Generator.flatten
  has a special handler for the message mime type that expected the
  body to be the one item list.  This fails if the message was parsed
  by HeaderParser.  So we now check to see if the body is a string
  first, and if so just we just emit it.
........

14 years agoMerged revisions 78268 via svnmerge from
Senthil Kumaran [Sat, 20 Feb 2010 22:19:04 +0000 (22:19 +0000)]
Merged revisions 78268 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

14 years agoMerged revisions 78249 via svnmerge from
Ezio Melotti [Sat, 20 Feb 2010 09:47:55 +0000 (09:47 +0000)]
Merged revisions 78249 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78249 | ezio.melotti | 2010-02-20 11:40:07 +0200 (Sat, 20 Feb 2010) | 1 line

  Remove e assertIs definitions and use correct assert* methods.
........

14 years agoAdd a NEWS entry for r78242.
Brett Cannon [Fri, 19 Feb 2010 16:04:36 +0000 (16:04 +0000)]
Add a NEWS entry for r78242.

14 years agoImportlib was not matching import's handling of .pyc files where it had less
Brett Cannon [Fri, 19 Feb 2010 16:01:06 +0000 (16:01 +0000)]
Importlib was not matching import's handling of .pyc files where it had less
then 8 bytes total in the file.

Fixes issues 7361 & 7875.

14 years agoCheck that sys.path_hooks and __import__ are not changed by tests.
Brett Cannon [Fri, 19 Feb 2010 15:57:10 +0000 (15:57 +0000)]
Check that sys.path_hooks and __import__ are not changed by tests.

14 years agourllib.urlparse -> urllib.parse.urlparse
Ezio Melotti [Fri, 19 Feb 2010 14:49:02 +0000 (14:49 +0000)]
urllib.urlparse -> urllib.parse.urlparse

14 years ago#5341: fix parenthesis placement.
Georg Brandl [Fri, 19 Feb 2010 09:10:15 +0000 (09:10 +0000)]
#5341: fix parenthesis placement.

14 years agoMerged revisions 78234 via svnmerge from
Senthil Kumaran [Fri, 19 Feb 2010 07:42:50 +0000 (07:42 +0000)]
Merged revisions 78234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines

  Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986
........

14 years agoMerged revisions 78232 via svnmerge from
Fred Drake [Fri, 19 Feb 2010 06:08:41 +0000 (06:08 +0000)]
Merged revisions 78232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78232 | fred.drake | 2010-02-19 00:24:30 -0500 (Fri, 19 Feb 2010) | 3 lines

  - apply patch from issue 7005
  - add corresponding documentation
........

14 years agolower case
Benjamin Peterson [Fri, 19 Feb 2010 01:05:32 +0000 (01:05 +0000)]
lower case

14 years agoadd a link to sys.std* in io docs
Benjamin Peterson [Fri, 19 Feb 2010 00:58:13 +0000 (00:58 +0000)]
add a link to sys.std* in io docs

14 years agoMerged revisions 78213 via svnmerge from
Martin v. Löwis [Thu, 18 Feb 2010 16:27:43 +0000 (16:27 +0000)]
Merged revisions 78213 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78213 | martin.v.loewis | 2010-02-18 10:22:20 +0100 (Do, 18 Feb 2010) | 3 lines

  Stop providing crtassem.h symbols when compiling with
  Visual Studio 2010, as msvcr100.dll is not a platform
  assembly anymore.
........

14 years agoRemove references to the 'long' type in py3k decimal docs.
Mark Dickinson [Thu, 18 Feb 2010 14:54:37 +0000 (14:54 +0000)]
Remove references to the 'long' type in py3k decimal docs.

14 years agoMerged revisions 78217-78218 via svnmerge from
Mark Dickinson [Thu, 18 Feb 2010 14:49:50 +0000 (14:49 +0000)]
Merged revisions 78217-78218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines

  Issue #7633: Context method in the decimal module (with the exception
  of the 'canonical' and 'is_canonical' methods) now consistently accept
  integer arguments wherever a Decimal instance is accepted.  Thanks
  Juan José Conti for the patch.
........
  r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line

  Doctest fixes for decimal.py:  add an integer-argument doctest for logical_invert;  don't use integer literals with a leading zero.
........

14 years agoMerged revisions 78136 via svnmerge from
Ezio Melotti [Thu, 18 Feb 2010 09:37:05 +0000 (09:37 +0000)]
Merged revisions 78136 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78136 | ezio.melotti | 2010-02-10 23:40:33 +0200 (Wed, 10 Feb 2010) | 1 line

  #7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
........

14 years agoMerged revisions 78211 via svnmerge from
Ezio Melotti [Tue, 16 Feb 2010 23:59:54 +0000 (23:59 +0000)]
Merged revisions 78211 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78211 | ezio.melotti | 2010-02-17 01:58:49 +0200 (Wed, 17 Feb 2010) | 1 line

  #7941: fix error message
........

14 years agoMerged revisions 78207 via svnmerge from
Ezio Melotti [Tue, 16 Feb 2010 23:31:04 +0000 (23:31 +0000)]
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line

  #7930: fix stripid
........

14 years agoMerged revisions 78202 via svnmerge from
Martin v. Löwis [Mon, 15 Feb 2010 21:45:06 +0000 (21:45 +0000)]
Merged revisions 78202 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78202 | martin.v.loewis | 2010-02-15 22:41:12 +0100 (Mo, 15 Feb 2010) | 2 lines

  Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
........

14 years agoMerged revisions 78198 via svnmerge from
Eric Smith [Mon, 15 Feb 2010 11:57:31 +0000 (11:57 +0000)]
Merged revisions 78198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78198 | eric.smith | 2010-02-15 06:55:38 -0500 (Mon, 15 Feb 2010) | 1 line

  Remove incorrect apostrophe.
........

14 years agoMerged revisions 78194 via svnmerge from
Martin v. Löwis [Mon, 15 Feb 2010 08:35:16 +0000 (08:35 +0000)]
Merged revisions 78194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78194 | martin.v.loewis | 2010-02-15 09:32:00 +0100 (Mo, 15 Feb 2010) | 2 lines

  Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
........

14 years agoMerged revisions 78189 via svnmerge from
Mark Dickinson [Sun, 14 Feb 2010 14:08:54 +0000 (14:08 +0000)]
Merged revisions 78189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line

  Silence more 'comparison between signed and unsigned' warnings.
........

14 years agoMerged revisions 78183-78184 via svnmerge from
Mark Dickinson [Sun, 14 Feb 2010 12:53:32 +0000 (12:53 +0000)]
Merged revisions 78183-78184 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78183 | mark.dickinson | 2010-02-14 12:16:43 +0000 (Sun, 14 Feb 2010) | 1 line

  Silence some 'comparison between signed and unsigned' compiler warnings.
........
  r78184 | mark.dickinson | 2010-02-14 12:31:26 +0000 (Sun, 14 Feb 2010) | 1 line

  Silence more compiler warnings;  fix an instance of potential undefined behaviour from signed overflow.
........

14 years ago#7888: fix deprecation on the wrong method.
Ezio Melotti [Sun, 14 Feb 2010 03:11:06 +0000 (03:11 +0000)]
#7888: fix deprecation on the wrong method.

14 years agoMerged revisions 78176 via svnmerge from
Ezio Melotti [Sun, 14 Feb 2010 02:54:22 +0000 (02:54 +0000)]
Merged revisions 78176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78176 | ezio.melotti | 2010-02-14 04:50:23 +0200 (Sun, 14 Feb 2010) | 1 line

  #7921: fix links. Patch by Brian Curtin.
........

14 years agoRevert an earlier attempt (r76810) to fix the intermittent test_capi failures fixed...
Mark Dickinson [Sat, 13 Feb 2010 18:37:34 +0000 (18:37 +0000)]
Revert an earlier attempt (r76810) to fix the intermittent test_capi failures fixed in r78172.

14 years agoIssue #7924: Fix an intermittent 'XXX undetected error' crash in
Mark Dickinson [Sat, 13 Feb 2010 18:34:53 +0000 (18:34 +0000)]
Issue #7924: Fix an intermittent 'XXX undetected error' crash in
test_capi, due to test_capsule failing to clear an exception.  Many
thanks to Florent Xicluna for the diagnosis and fix.

14 years agoMerged revisions 78166 via svnmerge from
Mark Dickinson [Fri, 12 Feb 2010 21:18:34 +0000 (21:18 +0000)]
Merged revisions 78166 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78166 | mark.dickinson | 2010-02-12 21:16:38 +0000 (Fri, 12 Feb 2010) | 1 line

  Check that 'd' isn't allowed as an exponent specifier in inputs to the float function.
........

14 years agoMerged revisions 78162 via svnmerge from
Ezio Melotti [Fri, 12 Feb 2010 00:28:42 +0000 (00:28 +0000)]
Merged revisions 78162 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78162 | ezio.melotti | 2010-02-12 01:50:57 +0200 (Fri, 12 Feb 2010) | 1 line

  #7907: fix wrong function name in doc. Patch by Brian Curtin.
........

14 years agoMerged revisions 78019 via svnmerge from
Tarek Ziadé [Thu, 11 Feb 2010 20:47:18 +0000 (20:47 +0000)]
Merged revisions 78019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78019 | georg.brandl | 2010-02-06 11:23:16 +0100 (Sat, 06 Feb 2010) | 1 line

  Review sysconfig docs.
........

14 years agoMerged revisions 78158 via svnmerge from
Michael Foord [Thu, 11 Feb 2010 14:16:38 +0000 (14:16 +0000)]
Merged revisions 78158 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78158 | michael.foord | 2010-02-11 14:12:07 +0000 (Thu, 11 Feb 2010) | 1 line

  Adding TextTestResult to unittest.__all__
........

14 years agoMerged revisions 78154 via svnmerge from
Ronald Oussoren [Thu, 11 Feb 2010 13:38:58 +0000 (13:38 +0000)]
Merged revisions 78154 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines

  Finish fix for issue 7715, after explicit search for calls to `arch`
........

14 years agoFix for issue #7715: explicitly use the system arch instead of whatever is
Ronald Oussoren [Thu, 11 Feb 2010 13:23:08 +0000 (13:23 +0000)]
Fix for issue #7715: explicitly use the system arch instead of whatever is
on the user's path. This is needed because GNU arch is not necessarily
compatible with Apple's version.

14 years agoMerged revisions 78148 via svnmerge from
Ronald Oussoren [Thu, 11 Feb 2010 13:15:00 +0000 (13:15 +0000)]
Merged revisions 78148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78148 | ronald.oussoren | 2010-02-11 14:13:08 +0100 (Thu, 11 Feb 2010) | 3 lines

  Add guard around the prototype for completion_matches to enable
  compilition with libedit on OSX 10.5
........

15 years agoMerged revisions 78141-78142 via svnmerge from
R. David Murray [Thu, 11 Feb 2010 02:42:19 +0000 (02:42 +0000)]
Merged revisions 78141-78142 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78141 | r.david.murray | 2010-02-10 20:38:42 -0500 (Wed, 10 Feb 2010) | 6 lines

  Issue 5754:  tweak shelve doc wording to make it clearer that even when
  writeback=True values are written to the backing store when assigned to
  the shelf.  Add test to confirm that this happens.  Doc patch and added
  test by Robert Lehmann.  I also fixed the cross references to the sync
  and close methods.
........
  r78142 | r.david.murray | 2010-02-10 20:56:42 -0500 (Wed, 10 Feb 2010) | 3 lines

  Improve issue 7835 fix per MAL to handle the case that the
  module dictionary has also been cleared.
........

15 years agofix comment
Benjamin Peterson [Thu, 11 Feb 2010 02:31:04 +0000 (02:31 +0000)]
fix comment

15 years agoMerged revisions 78137 via svnmerge from
R. David Murray [Thu, 11 Feb 2010 00:15:05 +0000 (00:15 +0000)]
Merged revisions 78137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78137 | r.david.murray | 2010-02-10 17:42:04 -0500 (Wed, 10 Feb 2010) | 8 lines

  Issue 7835:  Shelve's __del__ method calls its close method, and its
  close method refers to an identifier in the global module namespace.
  This means that when __del__ is called during interpreter shutdown (if,
  for example, the calling program still has a pointer to the shelf),
  sometimes that global identifier would wind up being None, causing
  mysterious 'ignored' exceptions.  This patch checks for the possible None
  value first before using the global, thus avoiding the error messages.
........

15 years agoMerged revisions 78132 via svnmerge from
Michael Foord [Wed, 10 Feb 2010 15:53:19 +0000 (15:53 +0000)]
Merged revisions 78132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78132 | michael.foord | 2010-02-10 15:50:58 +0000 (Wed, 10 Feb 2010) | 1 line

  Fix for unittest tests, to be merged to py3k
........

15 years agoMerged revisions 78131 via svnmerge from
Michael Foord [Wed, 10 Feb 2010 15:52:56 +0000 (15:52 +0000)]
Merged revisions 78131 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78131 | michael.foord | 2010-02-10 14:31:30 +0000 (Wed, 10 Feb 2010) | 1 line

  Remove deprecation on assert_. It is used too frequently.
........

15 years agoMerged revisions 78130 via svnmerge from
Michael Foord [Wed, 10 Feb 2010 15:51:42 +0000 (15:51 +0000)]
Merged revisions 78130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78130 | michael.foord | 2010-02-10 14:25:12 +0000 (Wed, 10 Feb 2010) | 1 line

  Issue 7893 and Issue 7588
........

15 years agoMerged revisions 78125 via svnmerge from
Antoine Pitrou [Tue, 9 Feb 2010 17:25:47 +0000 (17:25 +0000)]
Merged revisions 78125 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78125 | antoine.pitrou | 2010-02-09 18:08:05 +0100 (mar., 09 févr. 2010) | 7 lines

  Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")
  in XML processing instructions and comments.  These raw characters are
  allowed by the XML specification, and are necessary when outputting e.g.
  PHP code in a processing instruction.  Patch by Neil Muller.
........

15 years agoIssue #6233: ElementTree failed converting unicode characters to XML
Antoine Pitrou [Tue, 9 Feb 2010 16:51:16 +0000 (16:51 +0000)]
Issue #6233: ElementTree failed converting unicode characters to XML
entities when they could't be represented in the requested output
encoding.  Patch by Jerry Chen.

15 years agoFixing typo in unittest docs.
Michael Foord [Tue, 9 Feb 2010 00:03:57 +0000 (00:03 +0000)]
Fixing typo in unittest docs.

15 years agoBlocked revisions 78119 via svnmerge
Michael Foord [Mon, 8 Feb 2010 23:16:41 +0000 (23:16 +0000)]
Blocked revisions 78119 via svnmerge

........
  r78119 | michael.foord | 2010-02-08 23:15:22 +0000 (Mon, 08 Feb 2010) | 1 line

  Doc fix for unittest.
........

15 years agoMerged revisions 78116 via svnmerge from
Michael Foord [Mon, 8 Feb 2010 23:10:39 +0000 (23:10 +0000)]
Merged revisions 78116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78116 | michael.foord | 2010-02-08 22:41:16 +0000 (Mon, 08 Feb 2010) | 1 line

  Make assertMultiLineEqual the default for comparing unicode strings.
........

15 years agoMerged revisions 78091,78094,78109 via svnmerge from
Ezio Melotti [Mon, 8 Feb 2010 21:57:48 +0000 (21:57 +0000)]
Merged revisions 78091,78094,78109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78091 | georg.brandl | 2010-02-07 19:02:22 +0200 (Sun, 07 Feb 2010) | 1 line

  Rename "exc_value" attribute on assertRaises context manager to "exception".
........
  r78094 | michael.foord | 2010-02-07 20:44:12 +0200 (Sun, 07 Feb 2010) | 1 line

  assertRaises as context manager now allows you to access exception as documented
........
  r78109 | ezio.melotti | 2010-02-08 23:52:08 +0200 (Mon, 08 Feb 2010) | 1 line

  Fix exc_value -> exception in docstring
........

15 years agoMerged revisions 78099 via svnmerge from
Mark Dickinson [Sun, 7 Feb 2010 20:32:50 +0000 (20:32 +0000)]
Merged revisions 78099 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78099 | mark.dickinson | 2010-02-07 20:31:10 +0000 (Sun, 07 Feb 2010) | 1 line

  Skip test_strtod entirely when correctly-rounded string->float isn't implemented
........

15 years agoMerged revisions 78097 via svnmerge from
Ronald Oussoren [Sun, 7 Feb 2010 20:24:02 +0000 (20:24 +0000)]
Merged revisions 78097 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines

  Issue 6003: ZipFile.writestr "compression_type" argument
........

15 years agoForward port a number of OSX bugfixes from the trunk to 3.2
Ronald Oussoren [Sun, 7 Feb 2010 19:56:39 +0000 (19:56 +0000)]
Forward port a number of OSX bugfixes from the trunk to 3.2

15 years agoMerged revisions 78088 via svnmerge from
Antoine Pitrou [Sun, 7 Feb 2010 17:00:43 +0000 (17:00 +0000)]
Merged revisions 78088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78088 | antoine.pitrou | 2010-02-07 17:56:23 +0100 (dim., 07 févr. 2010) | 4 lines

  Issue #7870: Remove duplicate test methods.  Reported by Georg Brandl.
........

15 years agoMerged revisions 78082,78086 via svnmerge from
Mark Dickinson [Sun, 7 Feb 2010 13:15:37 +0000 (13:15 +0000)]
Merged revisions 78082,78086 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78082 | mark.dickinson | 2010-02-07 13:01:56 +0000 (Sun, 07 Feb 2010) | 1 line

  Add missing global declarations for 'overflowok'; remove 'overflowrequired', which is no longer needed.
........
  r78086 | mark.dickinson | 2010-02-07 13:09:52 +0000 (Sun, 07 Feb 2010) | 1 line

  Actually raise on failure, instead of doing nothing.
........

15 years ago* Checks that the SDK specified with --enable-universalsk=VALUE exists.
Ronald Oussoren [Sun, 7 Feb 2010 12:03:42 +0000 (12:03 +0000)]
* Checks that the SDK specified with --enable-universalsk=VALUE exists.

* Fall back to the default system SDK when specifying --enable-universalsk
  without a value and the 10.4u SDK is not avaiable.

Port of fix for issue 4834 from the trunk.

15 years agoFix for issue 7714, ported from the trunk.
Ronald Oussoren [Sun, 7 Feb 2010 11:53:18 +0000 (11:53 +0000)]
Fix for issue 7714, ported from the trunk.

15 years agoMention a configure warning that almost certainly indicates that
Ronald Oussoren [Sun, 7 Feb 2010 11:46:38 +0000 (11:46 +0000)]
Mention a configure warning that almost certainly indicates that
configure is picking up a library that doesn't contain all architectures
required for a universal build on OSX.

15 years agoMerged revisions 78056 via svnmerge from
Ronald Oussoren [Sun, 7 Feb 2010 11:33:33 +0000 (11:33 +0000)]
Merged revisions 78056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78056 | ronald.oussoren | 2010-02-07 12:29:31 +0100 (Sun, 07 Feb 2010) | 5 lines

  Remove call to gestalt('sysu') from platform.py. This gestalt call is
  not available on OSX an appearently causes problems for some users.

  Fixes issue 7812
........

15 years agoMerged revisions 78041 via svnmerge from
Mark Dickinson [Sat, 6 Feb 2010 23:16:50 +0000 (23:16 +0000)]
Merged revisions 78041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line

  testCopysign was defined twice in test_math;  combine the definitions
........

15 years agoRemove Python 1.x or 2.x compatibility code.
Georg Brandl [Sat, 6 Feb 2010 22:27:51 +0000 (22:27 +0000)]
Remove Python 1.x or 2.x compatibility code.

15 years agoRecorded merge of revisions 78024 via svnmerge from
Georg Brandl [Sat, 6 Feb 2010 18:46:57 +0000 (18:46 +0000)]
Recorded merge of revisions 78024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78024 | georg.brandl | 2010-02-06 19:44:44 +0100 (Sa, 06 Feb 2010) | 1 line

  #5341: fix "builtin" where used as an adjective ("built-in" is correct).
........

15 years agoBlocked revisions 78020,78022 via svnmerge
Benjamin Peterson [Sat, 6 Feb 2010 18:29:29 +0000 (18:29 +0000)]
Blocked revisions 78020,78022 via svnmerge

........
  r78020 | benjamin.peterson | 2010-02-06 10:37:32 -0600 (Sat, 06 Feb 2010) | 1 line

  bump version to 2.7a3
........
  r78022 | benjamin.peterson | 2010-02-06 12:26:27 -0600 (Sat, 06 Feb 2010) | 1 line

  post release updates
........

15 years agoMerged revisions 78014 via svnmerge from
R. David Murray [Sat, 6 Feb 2010 05:00:15 +0000 (05:00 +0000)]
Merged revisions 78014 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78014 | r.david.murray | 2010-02-05 23:27:21 -0500 (Fri, 05 Feb 2010) | 5 lines

  issue #7728: test_timeout was using a hardcoded port, which was
  causing buildbot failures.  Changed to use test_support.bind_port.
  Patch by Florent Xicluna.
........

15 years agoMerged revisions 78010 via svnmerge from
Michael Foord [Sat, 6 Feb 2010 00:26:13 +0000 (00:26 +0000)]
Merged revisions 78010 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78010 | michael.foord | 2010-02-06 00:22:26 +0000 (Sat, 06 Feb 2010) | 1 line

  unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.
........

15 years agoMerged revisions 78007 via svnmerge from
Michael Foord [Fri, 5 Feb 2010 23:32:33 +0000 (23:32 +0000)]
Merged revisions 78007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line

  Minor doc change.
........

15 years agoMerged revisions 78005 via svnmerge from
Michael Foord [Fri, 5 Feb 2010 23:26:29 +0000 (23:26 +0000)]
Merged revisions 78005 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78005 | michael.foord | 2010-02-05 23:22:37 +0000 (Fri, 05 Feb 2010) | 1 line

  Correction to docstring correction.
........

15 years agoMerged revisions 78003 via svnmerge from
Michael Foord [Fri, 5 Feb 2010 22:58:21 +0000 (22:58 +0000)]
Merged revisions 78003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78003 | michael.foord | 2010-02-05 22:55:09 +0000 (Fri, 05 Feb 2010) | 1 line

  Improving docstrings in unittest.TestCase
........

15 years agoAdding versionadded to the test skipping section of the unittest doc.
Michael Foord [Fri, 5 Feb 2010 21:48:03 +0000 (21:48 +0000)]
Adding versionadded to the test skipping section of the unittest doc.

15 years agoMerged revisions 77999 via svnmerge from
Michael Foord [Fri, 5 Feb 2010 21:13:40 +0000 (21:13 +0000)]
Merged revisions 77999 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77999 | michael.foord | 2010-02-05 21:07:38 +0000 (Fri, 05 Feb 2010) | 1 line

  Example of using assertRaises as a context manager in the unittest documentation.
........

15 years agoMerged revisions 77997 via svnmerge from
Michael Foord [Fri, 5 Feb 2010 20:54:27 +0000 (20:54 +0000)]
Merged revisions 77997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77997 | michael.foord | 2010-02-05 20:52:14 +0000 (Fri, 05 Feb 2010) | 1 line

  Closes issue 7030.
........

15 years agoDocument the -J and -X options for CPython. Note that unlike for py2k, we
Barry Warsaw [Fri, 5 Feb 2010 19:12:30 +0000 (19:12 +0000)]
Document the -J and -X options for CPython.  Note that unlike for py2k, we
don't need to document -U becuase it's gone in py3k.

15 years agoBlocked revisions 77992 via svnmerge
Barry Warsaw [Fri, 5 Feb 2010 19:01:58 +0000 (19:01 +0000)]
Blocked revisions 77992 via svnmerge

........
  r77992 | barry.warsaw | 2010-02-05 13:45:25 -0500 (Fri, 05 Feb 2010) | 4 lines

  Resolve bug 7847 by including documentation for -J, -U, and -X under "Options
  you shouldn't use".
........

15 years agoBlocked revisions 77989 via svnmerge
Antoine Pitrou [Fri, 5 Feb 2010 17:14:05 +0000 (17:14 +0000)]
Blocked revisions 77989 via svnmerge

........
  r77989 | antoine.pitrou | 2010-02-05 18:05:54 +0100 (ven., 05 févr. 2010) | 6 lines

  Issue #5677: Explicitly forbid write operations on read-only file objects,
  and read operations on write-only file objects.  On Windows, the system C
  library would return a bogus result; on Solaris, it was possible to crash
  the interpreter.  Patch by Stefan Krah.
........

15 years agoFix raw_input->input in Popen doc patch.
R. David Murray [Fri, 5 Feb 2010 16:25:12 +0000 (16:25 +0000)]
Fix raw_input->input in Popen doc patch.

15 years agoBlocked revisions 77983 via svnmerge
Benjamin Peterson [Fri, 5 Feb 2010 02:14:20 +0000 (02:14 +0000)]
Blocked revisions 77983 via svnmerge

........
  r77983 | benjamin.peterson | 2010-02-04 20:12:14 -0600 (Thu, 04 Feb 2010) | 9 lines

  normalize exceptions passed to the __exit__ method #7853

  In Python 2.x, exceptions in finally blocks are not normalized.  Since with
  statements are implemented using finally blocks, ceval.c had to be tweaked to
  distinguish between with finally blocks and normal ones.

  A test for the finalization of generators containing with statements was also
  added.
........

15 years agothis works correctly in py3 already
Benjamin Peterson [Fri, 5 Feb 2010 02:07:20 +0000 (02:07 +0000)]
this works correctly in py3 already

15 years agoMerged revisions 77980 via svnmerge from
Benjamin Peterson [Fri, 5 Feb 2010 02:07:05 +0000 (02:07 +0000)]
Merged revisions 77980 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77980 | benjamin.peterson | 2010-02-04 19:53:27 -0600 (Thu, 04 Feb 2010) | 1 line

  add a test for #7853; the exception must be normalized for with
........

15 years agoMerged revisions 77968 via svnmerge from
Ezio Melotti [Thu, 4 Feb 2010 20:27:41 +0000 (20:27 +0000)]
Merged revisions 77968 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77968 | ezio.melotti | 2010-02-04 22:06:38 +0200 (Thu, 04 Feb 2010) | 1 line

  Use correct assert* methods in the examples.
........

15 years agoMerged revisions 77970 via svnmerge from
Antoine Pitrou [Thu, 4 Feb 2010 20:23:24 +0000 (20:23 +0000)]
Merged revisions 77970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines

  Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
  specified, rather than fall through to AF_PACKET (in the `socket` module).
  Also, raise ValueError rather than TypeError when an unknown TIPC address
  type is specified.  Patch by Brian Curtin.
........

15 years agoFollowup to r77918: fix build under Windows.
Antoine Pitrou [Thu, 4 Feb 2010 17:02:07 +0000 (17:02 +0000)]
Followup to r77918: fix build under Windows.

15 years agoMerged revisions 77943,77959-77960 via svnmerge from
R. David Murray [Thu, 4 Feb 2010 16:41:57 +0000 (16:41 +0000)]
Merged revisions 77943,77959-77960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77943 | r.david.murray | 2010-02-03 08:36:23 -0500 (Wed, 03 Feb 2010) | 2 lines

  Explicitly mention the default value for formatdate's usegmt parameter.
........
  r77959 | nick.coghlan | 2010-02-04 07:43:58 -0500 (Thu, 04 Feb 2010) | 1 line

  Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert
........
  r77960 | r.david.murray | 2010-02-04 11:33:31 -0500 (Thu, 04 Feb 2010) | 2 lines

  Add Chris Rebert to ACKS for issue 6760 Popen doc improvements.
........

15 years agoMerged revisions 77956-77957 via svnmerge from
Brett Cannon [Wed, 3 Feb 2010 22:16:11 +0000 (22:16 +0000)]
Merged revisions 77956-77957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77956 | brett.cannon | 2010-02-03 14:11:54 -0800 (Wed, 03 Feb 2010) | 1 line

  Update a docstring to suggest using importlib.import_module instead of calling __import__ directly.
........
  r77957 | brett.cannon | 2010-02-03 14:13:44 -0800 (Wed, 03 Feb 2010) | 1 line

  Fix a typo in a docstring introduced in r77956.
........

15 years agoMerged revisions 77949 via svnmerge from
Tarek Ziadé [Wed, 3 Feb 2010 16:10:34 +0000 (16:10 +0000)]
Merged revisions 77949 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77949 | tarek.ziade | 2010-02-03 16:38:12 +0100 (Wed, 03 Feb 2010) | 1 line

  leaving global attributes for backward compat
........

15 years agoFixed accidental block of r77944.
Eric Smith [Wed, 3 Feb 2010 14:25:10 +0000 (14:25 +0000)]
Fixed accidental block of r77944.

15 years agoBlocked revisions 77944 via svnmerge
Eric Smith [Wed, 3 Feb 2010 14:19:27 +0000 (14:19 +0000)]
Blocked revisions 77944 via svnmerge

........
  r77944 | eric.smith | 2010-02-03 09:17:50 -0500 (Wed, 03 Feb 2010) | 1 line

  Corrected list of attributes exposed by sys.getwindowsversion.
........

15 years agoMerged revisions 77712,77740-77741,77756,77886,77902,77936 via svnmerge from
Benjamin Peterson [Wed, 3 Feb 2010 02:59:43 +0000 (02:59 +0000)]
Merged revisions 77712,77740-77741,77756,77886,77902,77936 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77712 | tarek.ziade | 2010-01-23 11:52:57 -0600 (Sat, 23 Jan 2010) | 1 line

  fixed the 64bits tests for get_platform() - mac osx
........
  r77740 | benjamin.peterson | 2010-01-24 21:58:21 -0600 (Sun, 24 Jan 2010) | 1 line

  compare types with is not ==
........
  r77741 | facundo.batista | 2010-01-25 00:15:01 -0600 (Mon, 25 Jan 2010) | 3 lines

  Added a note about Event.is_set() syntax being new to 2.6
........
  r77756 | tarek.ziade | 2010-01-26 11:20:37 -0600 (Tue, 26 Jan 2010) | 1 line

  fixed bdist_msi imports and added a test module for distutils.command.bdist_msi
........
  r77886 | benjamin.peterson | 2010-01-31 12:09:34 -0600 (Sun, 31 Jan 2010) | 1 line

  move distutils.rst to different toc
........
  r77902 | andrew.kuchling | 2010-01-31 20:04:26 -0600 (Sun, 31 Jan 2010) | 1 line

  Add various items
........
  r77936 | andrew.kuchling | 2010-02-02 20:19:14 -0600 (Tue, 02 Feb 2010) | 1 line

  Add various items
........