]> granicus.if.org Git - python/log
python
14 years agoMerged revisions 78408 via svnmerge from
Benjamin Peterson [Wed, 24 Feb 2010 02:28:05 +0000 (02:28 +0000)]
Merged revisions 78408 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r78408 | benjamin.peterson | 2010-02-23 20:24:35 -0600 (Tue, 23 Feb 2010) | 9 lines

  Merged revisions 78407 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r78407 | benjamin.peterson | 2010-02-23 20:21:34 -0600 (Tue, 23 Feb 2010) | 1 line

    rewrite test to not rely on __doc__ being present
  ........
................

14 years agoMerged revisions 78403 via svnmerge from
R. David Murray [Wed, 24 Feb 2010 02:11:08 +0000 (02:11 +0000)]
Merged revisions 78403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78403 | r.david.murray | 2010-02-23 21:08:28 -0500 (Tue, 23 Feb 2010) | 3 lines

  The primary copy of lib2to3 is not trunk, so the lib2to3 change
  should not have been included in the -OO patch, back it out.
........

14 years agoMerged revisions 78351 via svnmerge from
R. David Murray [Wed, 24 Feb 2010 01:46:21 +0000 (01:46 +0000)]
Merged revisions 78351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78351 | r.david.murray | 2010-02-22 19:24:49 -0500 (Mon, 22 Feb 2010) | 5 lines

  Issue 6292: for the moment at least, the test suite passes if run
  with -OO.  Tests requiring docstrings are skipped.  Patch by
  Brian Curtin, thanks to Matias Torchinsky for helping review and
  improve the patch.
........

14 years agoMerged revisions 78393 via svnmerge from
Amaury Forgeot d'Arc [Wed, 24 Feb 2010 00:10:48 +0000 (00:10 +0000)]
Merged revisions 78393 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78393 | amaury.forgeotdarc | 2010-02-24 00:19:39 +0100 (mer., 24 févr. 2010) | 2 lines

  #4852: Remove dead code in every thread implementation, unused for many years.
........

14 years agoBlocked revisions 78392 via svnmerge
Victor Stinner [Tue, 23 Feb 2010 23:21:33 +0000 (23:21 +0000)]
Blocked revisions 78392 via svnmerge

........
  r78392 | victor.stinner | 2010-02-24 00:16:07 +0100 (mer., 24 févr. 2010) | 4 lines

  Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF

  => raise an UnicodeDecodeError. Patch written by Ezio Melotti.
........

14 years agoFix version added for csv writeheader.
R. David Murray [Tue, 23 Feb 2010 23:00:34 +0000 (23:00 +0000)]
Fix version added for csv writeheader.

14 years agoMerged revisions 78384 via svnmerge from
R. David Murray [Tue, 23 Feb 2010 22:57:58 +0000 (22:57 +0000)]
Merged revisions 78384 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78384 | dirkjan.ochtman | 2010-02-23 16:09:52 -0500 (Tue, 23 Feb 2010) | 4 lines

  Fix #1537721: add writeheader() method to csv.DictWriter.

  Reviewed by skip.montanaro and thomas.wouters.
........

14 years agoMerged revisions 78380 via svnmerge from
Thomas Heller [Tue, 23 Feb 2010 20:25:02 +0000 (20:25 +0000)]
Merged revisions 78380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines

  ctypes CThunkObject was not registered correctly with the cycle
  garbage collector, leading to possible leaks when using callback
  functions.
........

14 years agoMerged revisions 78372-78373 via svnmerge from
Mark Dickinson [Tue, 23 Feb 2010 13:20:58 +0000 (13:20 +0000)]
Merged revisions 78372-78373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78372 | mark.dickinson | 2010-02-23 12:53:52 +0000 (Tue, 23 Feb 2010) | 1 line

  Make global variable overflowok into a keyword argument;  this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format
........
  r78373 | mark.dickinson | 2010-02-23 13:06:50 +0000 (Tue, 23 Feb 2010) | 1 line

  Fix spacing nit.  Thanks Eric Smith for the public humiliation.
........

14 years agoMerged revisions 78367 via svnmerge from
Tarek Ziadé [Tue, 23 Feb 2010 06:00:04 +0000 (06:00 +0000)]
Merged revisions 78367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line

  fixed #5801: removed spurious empty lines in wsgiref
........

14 years agoMerged revisions 78364 via svnmerge from
Tarek Ziadé [Tue, 23 Feb 2010 05:39:18 +0000 (05:39 +0000)]
Merged revisions 78364 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78364 | tarek.ziade | 2010-02-23 00:36:41 -0500 (Tue, 23 Feb 2010) | 1 line

  completed the __all__ list and changed the module doctest
........

14 years agoMerged revisions 78359-78360 via svnmerge from
Tarek Ziadé [Tue, 23 Feb 2010 05:30:31 +0000 (05:30 +0000)]
Merged revisions 78359-78360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78359 | tarek.ziade | 2010-02-23 00:16:41 -0500 (Tue, 23 Feb 2010) | 1 line

  added make_archive (and secondary APIs) to shutil
........
  r78360 | tarek.ziade | 2010-02-23 00:20:22 -0500 (Tue, 23 Feb 2010) | 1 line

  added a note on shutil new APIs
........

14 years agoMerged revisions 78354 via svnmerge from
Tarek Ziadé [Tue, 23 Feb 2010 05:03:26 +0000 (05:03 +0000)]
Merged revisions 78354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78354 | tarek.ziade | 2010-02-22 23:57:05 -0500 (Mon, 22 Feb 2010) | 1 line

  removed debugging code
........

14 years agoMerged revisions 78349 via svnmerge from
Eric Smith [Tue, 23 Feb 2010 00:22:24 +0000 (00:22 +0000)]
Merged revisions 78349 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78349 | eric.smith | 2010-02-22 19:11:16 -0500 (Mon, 22 Feb 2010) | 1 line

  Issue #6902: Fix problem with built-in types format incorrectly with 0 padding.
........

14 years ago#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)
Andrew M. Kuchling [Mon, 22 Feb 2010 23:26:10 +0000 (23:26 +0000)]
#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)

14 years ago#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file
Andrew M. Kuchling [Mon, 22 Feb 2010 22:16:58 +0000 (22:16 +0000)]
#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file

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.
........