Commit Graph

14024 Commits

Author SHA1 Message Date
Chris Withers 49148cf528 Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings. 2009-09-04 16:51:16 +00:00
Mark Dickinson 7f265b7fac Merged revisions 74564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74564 | mark.dickinson | 2009-08-28 14:25:02 +0100 (Fri, 28 Aug 2009) | 3 lines

  Issue #6794:  Fix handling of NaNs in Decimal.compare_total and
  Decimal.compare_total_mag.
........
2009-08-28 13:35:02 +00:00
Senthil Kumaran b52c6f8c39 Fixing Issue6557. urllib.urlopen will quote the space character within urls. 2009-08-15 17:49:55 +00:00
Benjamin Peterson f492c36442 Merged revisions 74457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line

  #6707 fix a crash with dir() on an uninitialized module
........
2009-08-15 13:18:47 +00:00
Gregory P. Smith 1cfc9c0ef3 Merged revisions 73145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73145 | kristjan.jonsson | 2009-06-02 06:14:08 -0700 (Tue, 02 Jun 2009) | 2 lines

  http://bugs.python.org/issue6117
  Fix O(n**2) performance problem in socket._fileobject
........
2009-08-15 06:40:49 +00:00
Brett Cannon 559eb08861 Backport of r74429. Not merged/blocked as svnmerge.py is giving me an error and
I don't want to accidentally check in busted svnmerge metadata.
2009-08-13 19:45:44 +00:00
Jesse Noller ce14c099df Merge fix for 4660 back to 26 maint 2009-08-06 02:08:10 +00:00
Raymond Hettinger d6119ef883 Issue 6637: defaultdict.copy() failed with an empty factory. 2009-08-04 18:49:26 +00:00
Frank Wierzbicki 6416f810e8 Merged revisions 74291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74291 | frank.wierzbicki | 2009-08-02 16:37:48 -0400 (Sun, 02 Aug 2009) | 6 lines

  Adding tests derived from the Jython project.  These are primarily tests of
  'single' statements with partial sentences (so they test things like "try:" in
  interactive mode).  Others tests hit areas that previously failed in Jython. A
  couple still fail in Jython, mainly due to the difficulty of parsing partial
  sentences (but should be fixed by Jython 2.6).
........
2009-08-02 22:05:54 +00:00
Mark Dickinson 3a7946ff35 Merged revisions 74285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74285 | mark.dickinson | 2009-08-02 16:40:11 +0100 (Sun, 02 Aug 2009) | 3 lines

  Issue #6619:  Remove duplicate 'isgenerator' function from inspect module.
  Thanks Vincent Legoll.
........
2009-08-02 15:41:08 +00:00
Mark Dickinson 9a6e645b9f Merged revisions 74281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines

  Issue #6595: Allow Decimal constructor to accept non-European decimal
  digits, as recommended by the specification.  (Backport of r74279 from
  py3k.)
........
2009-08-02 11:01:01 +00:00
Raymond Hettinger 8299f3280c Fix typo (already fixed in 2.7). 2009-07-31 20:21:08 +00:00
Raymond Hettinger 30006c76f4 Issue 6573: Fix set.union() for cases where self is in the argument chain. 2009-07-27 20:33:25 +00:00
R. David Murray bce6d5e129 Remove unittest.SkipTest from backport of test for issue 6542. 2009-07-27 01:14:38 +00:00
Michael Foord 133ebff5c8 Issue 6581. Michael Foord 2009-07-26 21:11:42 +00:00
Senthil Kumaran 308681c405 Backporting the changes made in revision 72880 as fix for Issue1424152. 2009-07-26 12:36:08 +00:00
Amaury Forgeot d'Arc 47ccf0cbba Merged revisions 74189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines

  #6553: crash in cPickle.load(), when given a StringIO with incomplete data.

  Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
........
2009-07-23 22:31:47 +00:00
R. David Murray ce28a01e35 Merged revisions 74175 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74175 | r.david.murray | 2009-07-22 13:22:58 -0400 (Wed, 22 Jul 2009) | 4 lines

  Backport of fix for issue 6542: make sure
  test_os.TestInvalidFD.test_closerange does not close any
  valid file descriptors.
........
2009-07-22 17:37:11 +00:00
Georg Brandl 11a81b2151 Merged revisions 74167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74167 | georg.brandl | 2009-07-22 13:57:15 +0200 (Mi, 22 Jul 2009) | 1 line

  Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
........
2009-07-22 12:03:09 +00:00
R. David Murray 17438dc26c Merged revisions 73708,73738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line

  Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
........
  r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines

  Make punctuation prettier and break up run-on sentence.
........
2009-07-21 17:02:14 +00:00
Senthil Kumaran 428e9d1d05 Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.
2009-07-19 04:20:46 +00:00
Hirokazu Yamamoto 8bb2d5d1c4 assertRaises can't be used as a context manager in 2.6. 2009-07-19 03:39:54 +00:00
R. David Murray e38b0a8ec0 Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73870 | r.david.murray | 2009-07-06 21:06:13 -0400 (Mon, 06 Jul 2009) | 5 lines

  Issue 6070: when creating a compiled file, after copying the mode bits, on
  posix zap the execute bit in case it was set on the .py file, since the
  compiled files are not directly executable on posix.  Patch by Marco N.
........
  r73879 | r.david.murray | 2009-07-07 05:54:16 -0400 (Tue, 07 Jul 2009) | 3 lines

  Update issue 6070 patch to match the patch that was actually tested
  on Windows.
........
  r73899 | r.david.murray | 2009-07-08 21:43:41 -0400 (Wed, 08 Jul 2009) | 3 lines

  Conditionalize test cleanup code to eliminate traceback, which will
  hopefully reveal the real problem.
........
  r73900 | r.david.murray | 2009-07-08 22:06:17 -0400 (Wed, 08 Jul 2009) | 2 lines

  Make test work with -O.
........
  r73905 | r.david.murray | 2009-07-09 09:55:44 -0400 (Thu, 09 Jul 2009) | 3 lines

  Specify umask in execute bit test to get consistent results
  and make sure we test resetting all three execute bits.
........
  r73906 | r.david.murray | 2009-07-09 11:35:33 -0400 (Thu, 09 Jul 2009) | 5 lines

  Curdir needs to be in the path for the test to work on all buildbots.
  (I copied this from another import test, but currently this will fail if
  TESTFN ends up in /tmp...see issue 2609).
........
2009-07-19 01:44:23 +00:00
Hirokazu Yamamoto fcaa2104aa Merged revisions 74040,74042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line

  Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
........
  r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line

  NEWS about r74040.
........
2009-07-17 06:33:03 +00:00
Michael Foord bee87b4c1c Move initialising unittest.TestProgram.testRunner into runTests. Issue 6418. 2009-07-13 16:32:47 +00:00
Hirokazu Yamamoto f4a96e07d8 Merged revisions 73970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73970 | hirokazu.yamamoto | 2009-07-12 11:04:47 +0900 | 1 line

  Fixed distutils test.
........
2009-07-12 02:09:25 +00:00
Tarek Ziadé bc3f3c9eed Merged revisions 73954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73954 | tarek.ziade | 2009-07-11 19:21:00 +0200 (Sat, 11 Jul 2009) | 1 line

  reverted changes for #6459 (doesn't apply on 2.x)
........
2009-07-11 17:22:14 +00:00
Amaury Forgeot d'Arc c42f0addef Merged revisions 73952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines

  #2622 Import errors in email.message, from a py2app standalone application.

  Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
........
2009-07-11 14:37:20 +00:00
Tarek Ziadé dc692f7143 Merged revisions 73946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line

  fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
........
2009-07-11 10:57:49 +00:00
Tarek Ziadé 930402d154 Merged revisions 73921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line

  Fixed #6455 (the test shall use pyd files under win32, rather than so files)
........
2009-07-10 09:13:17 +00:00
R. David Murray 8bb57b7340 Merged revisions 73907-73908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

  Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
  if the test gives useful failure info on Solaris buildbot.
........
  r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines

  Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
  cleanup.  If this fix works, it means that Solaris is unique among
  our platforms in what happens when shutil.rmtree is called on the
  current working directory (ie: it doesn't work on Solaris, but
  it does everywhere else).
........
2009-07-09 20:13:41 +00:00
R. David Murray 92647d98db Merged revisions 69927 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69927 | neil.schemenauer | 2009-02-23 23:23:25 -0500 (Mon, 23 Feb 2009) | 1 line

  Fix call to os.waitpid, it does not take keyword args.
........
2009-07-07 13:04:54 +00:00
Tarek Ziadé 1691bb16af Merged revisions 73790 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73790 | tarek.ziade | 2009-07-03 10:22:56 +0200 (Fri, 03 Jul 2009) | 1 line

  Fixed #6403 : package path usage for build_ext
........
2009-07-03 08:31:31 +00:00
Benjamin Peterson 7d6b01417f Merged revisions 73776 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73776 | benjamin.peterson | 2009-07-02 13:16:45 -0500 (Thu, 02 Jul 2009) | 1 line

  when print() gets unicode arguments, sep and end should be unicode by default #4618
........
2009-07-02 18:19:47 +00:00
Benjamin Peterson f921469383 Merged revisions 73774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73774 | benjamin.peterson | 2009-07-02 12:06:17 -0500 (Thu, 02 Jul 2009) | 1 line

  only order comparisons are removed in py3k #6119
........
2009-07-02 17:19:22 +00:00
Jesus Cea 585ad8ae5e Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-07-02 15:37:21 +00:00
Gregory P. Smith e1e6764976 Merged revisions 73565 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73565 | gregory.p.smith | 2009-06-26 00:50:21 -0700 (Fri, 26 Jun 2009) | 2 lines

  Fixes the last problem mentioned in issue1202.
........
2009-06-26 08:19:19 +00:00
R. David Murray c4c84e1a19 Merged revisions 73529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73529 | r.david.murray | 2009-06-23 14:02:46 -0400 (Tue, 23 Jun 2009) | 4 lines

  Fix issue 5230 by having pydoc's safeimport check to see if the import
  error was thrown from itself in order to decide if the module can't be
  found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
........
2009-06-23 20:37:26 +00:00
Facundo Batista 07638b9085 Issue #6274. Fixed a potential FD leak in subprocess.py. 2009-06-19 19:51:26 +00:00
Mark Dickinson 88348a1c55 Merged revisions 73451 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73451 | mark.dickinson | 2009-06-16 21:31:12 +0100 (Tue, 16 Jun 2009) | 1 line

  Acknowledge the role of the MPFR library in creating cmath_testcases.txt
........
2009-06-16 20:42:57 +00:00
Martin v. Löwis 1cfa3926f9 Merged revisions 73390 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73390 | martin.v.loewis | 2009-06-12 19:28:31 +0200 (Fr, 12 Jun 2009) | 3 lines

  Support AMD64 in msilib. Set Win64 on reglocator.
  Fixes #6258.
........
2009-06-13 09:07:01 +00:00
Alexandre Vassalotti dd0b90a367 Fix issue #6127: Make universal newlines mode of io.StringIO not
duplicate newlines under Windows (see also issue #5265 and #5645).
2009-06-12 21:20:23 +00:00
Raymond Hettinger d97d1fdc60 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:18:54 +00:00
Vinay Sajip ff4018f388 Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 10:01:04 +00:00
Tarek Ziadé f63277d503 Merged revisions 73348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73348 | tarek.ziade | 2009-06-11 11:13:36 +0200 (Thu, 11 Jun 2009) | 1 line

  #6263 fixed syntax error in distutils.cygwinccompiler
........
2009-06-11 09:17:19 +00:00
Tarek Ziadé 6b16c00b92 Merged revisions 73341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73341 | tarek.ziade | 2009-06-11 10:12:20 +0200 (Thu, 11 Jun 2009) | 1 line

  Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles
........
2009-06-11 08:26:40 +00:00
Michael Foord 48bc8203cc Restore default testRunner argument in unittest.main to None. Issue 6177. 2009-06-02 18:22:38 +00:00
Mark Dickinson 36c8084233 Merged revisions 73138 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73138 | mark.dickinson | 2009-06-02 08:39:26 +0100 (Tue, 02 Jun 2009) | 1 line

  Typo in socket.py.  Thanks Pablo Torres Navarrete.
........
2009-06-02 07:40:15 +00:00
Amaury Forgeot d'Arc 99be081fae Merged revisions 73114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73114 | amaury.forgeotdarc | 2009-06-01 22:53:18 +0200 (lun., 01 juin 2009) | 3 lines

  #4547: When debugging a very large function, it was not always
  possible to update the lineno attribute of the current frame.
........
2009-06-01 22:04:41 +00:00
R. David Murray e6a4d78a62 Merged revisions 73077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73077 | r.david.murray | 2009-05-31 15:15:57 -0400 (Sun, 31 May 2009) | 4 lines

  Issue 3848: document the fact that epoll register raises an IOError if
  an fd is registered twice, and add some additional epoll tests.  Patch
  by Christian Heimes.
........
2009-05-31 19:29:05 +00:00