Commit Graph

41190 Commits

Author SHA1 Message Date
Tarek Ziadé a9905a0795 Merged revisions 72552 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72552 | tarek.ziade | 2009-05-10 23:27:55 +0200 (Sun, 10 May 2009) | 1 line

  fixed test_build_ext for win32
........
2009-05-10 21:33:09 +00:00
Tarek Ziadé f333f23f06 Blocked revisions 72547 via svnmerge
........
  r72547 | tarek.ziade | 2009-05-10 14:36:48 +0200 (Sun, 10 May 2009) | 1 line

  fixed test for all platforms
........
2009-05-10 12:37:25 +00:00
Tarek Ziadé 84dac59eb3 Blocked revisions 72543 via svnmerge
........
  r72543 | tarek.ziade | 2009-05-10 14:17:30 +0200 (Sun, 10 May 2009) | 1 line

  now using EnvironGuard everywhere
........
2009-05-10 12:18:31 +00:00
Tarek Ziadé 31034b0711 Blocked revisions 72539 via svnmerge
........
  r72539 | tarek.ziade | 2009-05-10 13:59:30 +0200 (Sun, 10 May 2009) | 1 line

  refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard
........
2009-05-10 12:00:14 +00:00
Tarek Ziadé f3155c0f3c Blocked revisions 72535 via svnmerge
........
  r72535 | tarek.ziade | 2009-05-10 13:42:46 +0200 (Sun, 10 May 2009) | 1 line

  Added tests form install_lib and pep8-fied the module
........
2009-05-10 11:43:45 +00:00
Tarek Ziadé b2b24bba6e Merged revisions 72531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72531 | tarek.ziade | 2009-05-10 12:12:08 +0200 (Sun, 10 May 2009) | 1 line

  fixed #5984 and improved test coverage
........
2009-05-10 10:24:16 +00:00
Vinay Sajip 28274ab6cf Issue #5971: StreamHandler.handleError now swallows IOErrors which occur when trying to print a traceback. 2009-05-09 12:11:30 +00:00
Tarek Ziadé 26f3255774 Blocked revisions 72500 via svnmerge
........
  r72500 | tarek.ziade | 2009-05-09 12:06:00 +0200 (Sat, 09 May 2009) | 1 line

  #5976: fixed distutils test_check_environ
........
2009-05-09 10:06:59 +00:00
Tarek Ziadé b1b1ccd9b3 Blocked revisions 72497 via svnmerge
........
  r72497 | tarek.ziade | 2009-05-09 10:28:53 +0200 (Sat, 09 May 2009) | 1 line

  Fixed Issue 5900: distutils.command.build_ext - Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used
........
2009-05-09 08:31:34 +00:00
Mark Dickinson 6a451b6125 Merged revisions 72479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72479 | mark.dickinson | 2009-05-08 21:58:08 +0100 (Fri, 08 May 2009) | 3 lines

  Issue #5933: Fix gcc -Wextra compiler warnings (and remove some
  trailing whitespace).
........
2009-05-08 20:59:57 +00:00
Philip Jenvey 54cea3b1a5 Merged revisions 72458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72458 | philip.jenvey | 2009-05-07 19:28:39 -0700 (Thu, 07 May 2009) | 2 lines

  #4351: more appropriate DeprecationWarning stacklevels
........
2009-05-08 02:47:02 +00:00
Tarek Ziadé 476a64213f Blocked revisions 72454 via svnmerge
........
  r72454 | tarek.ziade | 2009-05-08 01:01:56 +0200 (Fri, 08 May 2009) | 1 line

  fixed AR/ARFLAGS values in test_sysconfig
........
2009-05-07 23:12:35 +00:00
Tarek Ziadé a0a1818a6c Blocked revisions 72451 via svnmerge
........
  r72451 | tarek.ziade | 2009-05-08 00:19:27 +0200 (Fri, 08 May 2009) | 1 line

  run autoconf (step forgotten in r72445)
........
2009-05-07 22:20:12 +00:00
Tarek Ziadé 01323e627c Blocked revisions 72445 via svnmerge
........
  r72445 | tarek.ziade | 2009-05-07 23:20:34 +0200 (Thu, 07 May 2009) | 1 line

  Fixed #5941: added ARFLAGS for the archiver command.
........
2009-05-07 21:29:52 +00:00
Tarek Ziadé 3d88ec83ba Blocked revisions 72443 via svnmerge
........
  r72443 | tarek.ziade | 2009-05-07 23:13:02 +0200 (Thu, 07 May 2009) | 1 line

  removed remaining spaces
........
2009-05-07 21:28:45 +00:00
Eric Smith 98ff81deec Merged revisions 72439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72439 | eric.smith | 2009-05-07 15:36:09 -0400 (Thu, 07 May 2009) | 1 line

  Fixed wording for formatting integers: precision is not allowed.
........
2009-05-07 19:37:22 +00:00
R. David Murray 7eaa992066 Merged revisions 72434 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72434 | r.david.murray | 2009-05-07 14:09:58 -0400 (Thu, 07 May 2009) | 2 lines

  Pre-opened test file needs to be opened in binary mode.
........
2009-05-07 18:25:20 +00:00
R. David Murray d0a4539632 Merged revisions 72422,72425-72426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72422 | benjamin.peterson | 2009-05-07 07:45:38 -0400 (Thu, 07 May 2009) | 1 line

  actually close files instead of leaving it to the gc #5955
........
  r72425 | r.david.murray | 2009-05-07 12:27:02 -0400 (Thu, 07 May 2009) | 3 lines

  Issue5955: aifc's close method did not close the file it wrapped,
  now it does.  This also means getfp method now returns the real fp.
........
  r72426 | r.david.murray | 2009-05-07 12:29:19 -0400 (Thu, 07 May 2009) | 3 lines

  News item for Issue5955.
........
2009-05-07 16:45:44 +00:00
Andrew M. Kuchling 0dfd954292 Merged revisions 72415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72415 | andrew.kuchling | 2009-05-06 18:54:19 -0400 (Wed, 06 May 2009) | 1 line

  Remove two dead links
........
2009-05-06 23:00:43 +00:00
Walter Dörwald b2deb2b58a Blocked revisions 72406 via svnmerge
........
  r72406 | walter.doerwald | 2009-05-06 16:32:35 +0200 (Mi, 06 Mai 2009) | 2 lines

  Add NEWS entry about issue #3739.
........
2009-05-06 14:32:56 +00:00
Walter Dörwald 6bb291f426 Blocked revisions 72404 via svnmerge
........
  r72404 | walter.doerwald | 2009-05-06 16:28:24 +0200 (Mi, 06 Mai 2009) | 3 lines

  Issue 3739: The unicode-internal encoder now reports the number of *characters*
  consumed like any other encoder (instead of the number of bytes).
........
2009-05-06 14:30:31 +00:00
Jeroen Ruigrok van der Werven 4965b48c68 Merged revisions 72399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72399 | jeroen.ruigrok | 2009-05-06 15:16:36 +0200 (wo, 06 mei 2009) | 4 lines

  Be more explicit about the error we are catching.

  Requested by: Antoine Pitrou
........
2009-05-06 13:21:17 +00:00
Tarek Ziadé 466b465276 Blocked revisions 72392 via svnmerge
........
  r72392 | tarek.ziade | 2009-05-06 10:11:00 +0200 (Wed, 06 May 2009) | 1 line

  removed string.split usage
........
2009-05-06 08:11:32 +00:00
Tarek Ziadé 0d6cfe8a28 Blocked revisions 72388 via svnmerge
........
  r72388 | tarek.ziade | 2009-05-06 10:05:47 +0200 (Wed, 06 May 2009) | 1 line

  more build_clib cleanup + test coverage
........
2009-05-06 08:06:36 +00:00
Tarek Ziadé b68afe11ca Blocked revisions 72382 via svnmerge
........
  r72382 | tarek.ziade | 2009-05-06 09:41:53 +0200 (Wed, 06 May 2009) | 1 line

  pep8-fied build_clib module : it is now similar to the one in 3.x
........
2009-05-06 07:42:33 +00:00
Jeroen Ruigrok van der Werven 20573e0dd0 Merged revisions 72375 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72375 | jeroen.ruigrok | 2009-05-06 07:25:42 +0200 (wo, 06 mei 2009) | 5 lines

  Wrap getpreferredencoding()'s use of setlocale in a try/except to prevent
  us from raising an exception when the locale is invalid.

  Issue #1443504
........
2009-05-06 07:41:26 +00:00
Tarek Ziadé e04f113624 Blocked revisions 72377 via svnmerge
........
  r72377 | tarek.ziade | 2009-05-06 09:17:52 +0200 (Wed, 06 May 2009) | 1 line

  Added a test and cleaned check_library_list to be ready to fix #5940
........
2009-05-06 07:19:10 +00:00
Thomas Heller 54e024862a Merged revisions 72352 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72352 | thomas.heller | 2009-05-05 20:55:47 +0200 (Di, 05 Mai 2009) | 3 lines

  Fix Issue #4875: find_library can return directories instead of files
  (on win32)
........
2009-05-05 18:59:30 +00:00
Eric Smith 04e190779b Blocked revisions 72348 via svnmerge
........
  r72348 | eric.smith | 2009-05-05 14:26:08 -0400 (Tue, 05 May 2009) | 1 line

  Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.
........
2009-05-05 18:30:30 +00:00
Mark Dickinson 2468f68f7c Merged revisions 72344 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72344 | mark.dickinson | 2009-05-05 18:41:47 +0100 (Tue, 05 May 2009) | 3 lines

  Issue #5933: Fix some gcc -Wextra warnings.  Thanks Victor Stinner for
  the patch.
........
2009-05-05 17:42:59 +00:00
Martin v. Löwis 82006370d2 Blocked revisions 72335 via svnmerge
........
  r72335 | martin.v.loewis | 2009-05-05 18:10:16 +0200 (Di, 05 Mai 2009) | 2 lines

  Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
........
2009-05-05 16:14:39 +00:00
R. David Murray a7badef535 Merged revisions 72149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72149 | r.david.murray | 2009-04-30 08:42:32 -0400 (Thu, 30 Apr 2009) | 4 lines

  Make the turtle.rst doctests pass.  I have a feeling there should be
  more cleanup, but I don't know now to kill turtles.  Especially
  unexpected ones... ;)
........
2009-05-05 01:11:21 +00:00
R. David Murray 05afa1aefd Merged revisions 72299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72299 | r.david.murray | 2009-05-04 18:16:24 -0400 (Mon, 04 May 2009) | 7 lines

  Fix issue 5890: (property subclass shadows __doc__ string) by inserting
  the __doc__ into the subclass instance __dict__.  The fix refactors
  property_copy to call property_init in such a way that the __doc__
  logic is re-executed correctly when getter_doc is 1, thus simplifying
  property_copy.
........
2009-05-05 00:52:14 +00:00
Antoine Pitrou e199a49467 Merged revisions 72295 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72295 | antoine.pitrou | 2009-05-04 23:17:17 +0200 (lun., 04 mai 2009) | 3 lines

  Issue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when extracting a file to the root directory.
........
2009-05-04 21:24:37 +00:00
Walter Dörwald 6da51a120d Merged revisions 72278 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72278 | walter.doerwald | 2009-05-04 18:03:03 +0200 (Mo, 04 Mai 2009) | 2 lines

  Fix typos.
........
2009-05-04 16:06:12 +00:00
Mark Dickinson e05e8409e1 Issue #5724: Fix cmath failures on Solaris 10. 2009-05-04 13:30:43 +00:00
Walter Dörwald 6703225258 Merged revisions 72263 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72263 | walter.doerwald | 2009-05-04 00:46:07 +0200 (Mo, 04 Mai 2009) | 2 lines

  There's no %A in Python 2.x!
........
2009-05-03 22:46:50 +00:00
Walter Dörwald f11232e5c5 Merged revisions 72260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72260 | walter.doerwald | 2009-05-04 00:36:33 +0200 (Mo, 04 Mai 2009) | 5 lines

  Issue #5108: Handle %s like %S and %R in PyUnicode_FromFormatV(): Call
  PyUnicode_DecodeUTF8() once, remember the result and output it in a second
  step. This avoids problems with counting UTF-8 bytes that ignores the effect
  of using the replace error handler in PyUnicode_DecodeUTF8().
........
2009-05-03 22:38:54 +00:00
Mark Dickinson 9218252332 Blocked revisions 72257 via svnmerge
........
  r72257 | mark.dickinson | 2009-05-03 23:33:34 +0100 (Sun, 03 May 2009) | 2 lines

  Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.
........
2009-05-03 22:34:16 +00:00
Mark Dickinson 3913994bd9 Blocked revisions 72253 via svnmerge
........
  r72253 | mark.dickinson | 2009-05-03 21:59:48 +0100 (Sun, 03 May 2009) | 2 lines

  Eliminate some locale-dependent calls to isspace and tolower.
........
2009-05-03 21:00:26 +00:00
Mark Dickinson 232df663d3 Blocked revisions 72250 via svnmerge
........
  r72250 | mark.dickinson | 2009-05-03 21:39:06 +0100 (Sun, 03 May 2009) | 2 lines

  Remove unnecessary uses of context in PyGetSetDef.  See issue #5880.
........
2009-05-03 20:39:47 +00:00
Mark Dickinson 1439ff69b3 Blocked revisions 72202 via svnmerge
........
  r72202 | mark.dickinson | 2009-05-02 18:55:01 +0100 (Sat, 02 May 2009) | 3 lines

  Remove unnecessary use of context for long getters.
  (Related to issue #5880).
........
2009-05-02 18:21:40 +00:00
Eric Smith b29647bc8c Blocked revisions 72189 via svnmerge
........
  r72189 | eric.smith | 2009-05-02 05:58:09 -0400 (Sat, 02 May 2009) | 1 line

  Keep py3k and trunk code in sync.
........
2009-05-02 09:58:50 +00:00
Antoine Pitrou 8151da0f61 Merged revisions 72180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72180 | antoine.pitrou | 2009-05-01 23:16:14 +0200 (ven., 01 mai 2009) | 4 lines

  Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully.
  Patch by Floris Bruynooghe.
........
2009-05-01 21:24:56 +00:00
Walter Dörwald ef46d8240f Blocked revisions 72167 via svnmerge
........
  r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines

  Make test.test_support.EnvironmentVarGuard behave like a dictionary.

  All changes are mirrored to the underlying os.environ dict, but rolled back
  on exit from the with block.
........
2009-05-01 17:37:10 +00:00
Eric Smith 38032c6090 Blocked revisions 72137 via svnmerge
........
  r72137 | eric.smith | 2009-04-29 20:58:58 -0400 (Wed, 29 Apr 2009) | 1 line

  Issue #1588: Add complex.__format__.
........
2009-04-30 00:59:29 +00:00
Mark Dickinson 2795c7deb3 Blocked revisions 72126-72127 via svnmerge
........
  r72126 | mark.dickinson | 2009-04-29 22:56:53 +0100 (Wed, 29 Apr 2009) | 2 lines

  Remove format_float and use _PyOS_double_to_string instead.
........
  r72127 | mark.dickinson | 2009-04-29 22:57:15 +0100 (Wed, 29 Apr 2009) | 2 lines

  Backport some of the float formatting tests from py3k.
........
2009-04-29 21:58:04 +00:00
Mark Dickinson 8603ed50ef Blocked revisions 72119 via svnmerge
........
  r72119 | mark.dickinson | 2009-04-29 21:41:00 +0100 (Wed, 29 Apr 2009) | 3 lines

  Issue #5864: format(1234.5, '.4') gives misleading result
  (Backport of r72109 from py3k.)
........
2009-04-29 20:41:53 +00:00
R. David Murray d6bbe99dbf One of these tests uses a unittest method that wasn't backported.
Blocked revisions 72115 via svnmerge

........
  r72115 | r.david.murray | 2009-04-29 16:15:18 -0400 (Wed, 29 Apr 2009) | 2 lines

  More aifc tests.
........
2009-04-29 20:25:16 +00:00
R. David Murray cecc3a0083 Merged revisions 72100-72101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72100 | r.david.murray | 2009-04-29 09:17:37 -0400 (Wed, 29 Apr 2009) | 7 lines

  Fix issue 2245.  aifc now skips any chunk type it doesn't actually
  process instead of throwing errors for anything not in an explicit
  skip list.  This is per this spec: http://www.cnpbagwell.com/aiff-c.txt.
  Spec reference and test sound file provided by Santiago Peresón, fix
  based on patch by Hiroaki Kawai.
........
  r72101 | r.david.murray | 2009-04-29 09:51:44 -0400 (Wed, 29 Apr 2009) | 2 lines

  Now that we've got a test_aifc, add a few tests.
........
2009-04-29 14:54:29 +00:00