Commit Graph

45737 Commits

Author SHA1 Message Date
Hirokazu Yamamoto 07ba14cbab Blocked revisions 85047,85316,85689 via svnmerge
........
  r85047 | hirokazu.yamamoto | 2010-09-28 16:03:40 +0900 | 1 line

  Updated VS8.0 bz2.vcproj with PCBuild/vs9to8.py.
........
  r85316 | hirokazu.yamamoto | 2010-10-08 17:46:30 +0900 | 1 line

  Follows Python/fileutils.c addition.
........
  r85689 | hirokazu.yamamoto | 2010-10-18 21:13:18 +0900 | 3 lines

  Issue #5117: Case normalization was needed on ntpath.relpath(). And
  fixed root directory issue on posixpath.relpath(). (Ported working fixes
  from ntpath)
........
2010-10-19 11:00:31 +00:00
Hirokazu Yamamoto 8596ef7064 Issue #5117: My previous commit for this issue broke posix buildbot. 2010-10-19 01:23:51 +00:00
Hirokazu Yamamoto 50f7d7e213 Issue #5117: Fixed root directory related issue on posixpath.relpath() and
ntpath.relpath().
2010-10-18 13:55:29 +00:00
R. David Murray 0491047580 Merged revisions 85675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85675 | r.david.murray | 2010-10-17 20:15:31 -0400 (Sun, 17 Oct 2010) | 4 lines

  #4499: silence compiler warning on AIX.

  Patch from ActiveState.
........
2010-10-18 00:19:30 +00:00
R. David Murray f2612a55a7 Blocked revisions 85671 via svnmerge
........
  r85671 | r.david.murray | 2010-10-17 18:46:45 -0400 (Sun, 17 Oct 2010) | 4 lines

  #1343: Add short_empty_elements option to XMLGenerator.

  Patch and tests by Neil Muller.
........
2010-10-17 22:51:17 +00:00
Benjamin Peterson a25fc1ef87 Merged revisions 85665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85665 | benjamin.peterson | 2010-10-17 16:12:18 -0500 (Sun, 17 Oct 2010) | 1 line

  fix strict aliasing warnings
........
2010-10-17 21:17:38 +00:00
Gregory P. Smith e2b3bbae4e Merged revisions 85657 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85657 | gregory.p.smith | 2010-10-17 12:40:59 -0700 (Sun, 17 Oct 2010) | 3 lines

  Remove the external non-python.org hyperlink and point people to
  Tools/gdb/libpython.py.
........
2010-10-17 19:42:46 +00:00
Gregory P. Smith 7e8f6d643c Merged revisions 85649 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85649 | gregory.p.smith | 2010-10-17 11:59:56 -0700 (Sun, 17 Oct 2010) | 2 lines

  The py_decref macro was incorrect and unnecessary.
........
2010-10-17 19:01:13 +00:00
Gregory P. Smith dcb411b8b6 Merged revisions 85646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85646 | gregory.p.smith | 2010-10-17 11:38:04 -0700 (Sun, 17 Oct 2010) | 6 lines

  * Applys part of the patch from http://bugs.python.org/issue3631 to add
    a py_decref macro, fixup the pyo macro and reuse it and avoid a memory
    leak introduced by the pylocals macro.
  * Adds a note about gdb 7 python debugging support with links for
    more info on that.
........
2010-10-17 18:47:43 +00:00
Georg Brandl 9855ddf405 Note version for addition of processName. 2010-10-17 11:27:00 +00:00
Georg Brandl c463c8a138 __setstate__ gets an argument. 2010-10-17 11:07:40 +00:00
Georg Brandl 79cdff0b9b #1945: document Unicode functions backported from py3k branch. 2010-10-17 10:54:57 +00:00
Georg Brandl 27fa482afd Note default values for namedtuple extra args. 2010-10-17 06:24:10 +00:00
Georg Brandl 92e6972c53 Note that maxtasksperchild is new in 2.7. 2010-10-17 06:21:30 +00:00
Georg Brandl c9a6320b00 Fix compiler warning about unused variables. 2010-10-17 06:13:26 +00:00
Georg Brandl 95898c4291 Fix compiler warning: module init functions do not return anything in 2.x. 2010-10-17 06:09:51 +00:00
Gregory P. Smith 886a1cd7dc Merged revisions 85586-85587,85596-85598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85586 | gregory.p.smith | 2010-10-16 17:17:24 -0700 (Sat, 16 Oct 2010) | 2 lines

  fix for netbsd.
........
  r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines

  applying netbsd-wizs-mod.patch from issue5510 -
   fixes for netbsd (and dragonflybsd?)
........
  r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines

  Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined
  as (~0U) on NetBSD which was causing it to appear as -1 when used as
  a signed int for _multprocessing.SemLock.SEM_VALUE_MAX.  This works
  around the problem by substituting INT_MAX on systems where it appears
  negative when used as an int.
........
  r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines

  skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
........
  r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines

  Avoid hanging the test on netbsd5.
........
2010-10-17 04:28:14 +00:00
Benjamin Peterson 6913cb0373 Merged revisions 85589-85591 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85589 | benjamin.peterson | 2010-10-16 20:25:19 -0500 (Sat, 16 Oct 2010) | 1 line

  remove rather pointless test
........
  r85590 | benjamin.peterson | 2010-10-16 20:29:11 -0500 (Sat, 16 Oct 2010) | 1 line

  disable the garbage collector while collecting traces, so that __del__s don't get caught
........
  r85591 | benjamin.peterson | 2010-10-16 20:30:26 -0500 (Sat, 16 Oct 2010) | 1 line

  use assertion methods
........
2010-10-17 01:36:15 +00:00
Éric Araujo 6e982d457a Fix duplicate entry in maintainers file 2010-10-16 19:43:44 +00:00
Benjamin Peterson bf775542b0 iterators passed to writelines() can close their files; don't segfault #10125 2010-10-16 19:20:12 +00:00
Benjamin Peterson f76942d6bf Merged revisions 85562 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85562 | benjamin.peterson | 2010-10-15 22:45:45 -0500 (Fri, 15 Oct 2010) | 1 line

  don't identify the toplevel namespace by name #9997
........
2010-10-16 03:51:38 +00:00
Benjamin Peterson 7497e91a20 run autoreconf 2010-10-16 00:53:39 +00:00
R. David Murray 1d9d16e827 Merged revisions 85554 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85554 | r.david.murray | 2010-10-15 19:12:57 -0400 (Fri, 15 Oct 2010) | 4 lines

  #9862: On AIX PIPE_BUF is broken.  Make it 512.

  Patch by Sébastien Sablé.
........
2010-10-16 00:43:13 +00:00
Georg Brandl 63e284d354 #10111: minor problems in 2.7 FILE* API docs. 2010-10-15 17:52:59 +00:00
Georg Brandl db949b8fae Recorded merge of revisions 85543 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85543 | georg.brandl | 2010-10-15 19:03:02 +0200 (Fr, 15 Okt 2010) | 1 line

  #4785: document strict argument of JSONDecoder, plus add object_pairs_hook in the docstrings.
........
2010-10-15 17:04:45 +00:00
Georg Brandl 44c3ceb8ac #8267: Use sorted() to get a sorted list of dict keys. 2010-10-15 15:31:09 +00:00
Benjamin Peterson a81eae1fd7 Merged revisions 83852-83853,83857,84042,84216,84274-84276,84375,85388,85478,85506-85508 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r83852 | benjamin.peterson | 2010-08-08 15:45:44 -0500 (Sun, 08 Aug 2010) | 1 line

  wrap with parens
........
  r83853 | benjamin.peterson | 2010-08-08 15:46:31 -0500 (Sun, 08 Aug 2010) | 1 line

  use parens
........
  r83857 | benjamin.peterson | 2010-08-08 15:59:49 -0500 (Sun, 08 Aug 2010) | 1 line

  things which use touch_import should be pre order
........
  r84042 | george.boutsioukis | 2010-08-14 16:10:19 -0500 (Sat, 14 Aug 2010) | 2 lines

  This revision incorporates into the 2to3 tool the new, faster, tree matching algorithm developed during a GSOC project. The algorithm resides in the two added modules, btm_matcher and btm_utils. New code has been added to drive the new matching process in refactor.py and a few minor changes were made in other modules. A BM_compatible flag(False by default) has been added in fixer_base and it is set to True in most of the current fixers.
........
  r84216 | benjamin.peterson | 2010-08-19 16:44:05 -0500 (Thu, 19 Aug 2010) | 1 line

  allow star_expr in testlist_gexp
........
  r84274 | benjamin.peterson | 2010-08-22 18:40:46 -0500 (Sun, 22 Aug 2010) | 1 line

  wrap long line
........
  r84275 | benjamin.peterson | 2010-08-22 18:42:22 -0500 (Sun, 22 Aug 2010) | 1 line

  cleanup
........
  r84276 | benjamin.peterson | 2010-08-22 18:51:01 -0500 (Sun, 22 Aug 2010) | 1 line

  when there's a None value and a traceback, don't call type with it #9661
........
  r84375 | george.boutsioukis | 2010-08-31 08:38:53 -0500 (Tue, 31 Aug 2010) | 3 lines

  Idiomatic code changes & stylistic issues fixed in the BottomMatcher module. Thanks to Benjamin Peterson for taking the time to review the code.
........
  r85388 | benjamin.peterson | 2010-10-12 17:27:44 -0500 (Tue, 12 Oct 2010) | 1 line

  fix urllib fixer with multiple as imports on a line #10069
........
  r85478 | benjamin.peterson | 2010-10-14 08:09:56 -0500 (Thu, 14 Oct 2010) | 1 line

  stop abusing docstrings
........
  r85506 | benjamin.peterson | 2010-10-14 17:45:19 -0500 (Thu, 14 Oct 2010) | 1 line

  kill sibling import
........
  r85507 | benjamin.peterson | 2010-10-14 17:54:15 -0500 (Thu, 14 Oct 2010) | 1 line

  remove trailing whitespace
........
  r85508 | benjamin.peterson | 2010-10-14 17:55:28 -0500 (Thu, 14 Oct 2010) | 1 line

  typo
........
2010-10-14 23:00:00 +00:00
Antoine Pitrou 99d848bd4b Merged revisions 85503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85503 | antoine.pitrou | 2010-10-15 00:11:44 +0200 (ven., 15 oct. 2010) | 2 lines

  More proper closing of files
........
2010-10-14 22:22:30 +00:00
Florent Xicluna 80800d3571 Fix the issue with non-ascii char in doctest. Issue #9409
Recorded merge of revisions 85495,85500 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85495 | florent.xicluna | 2010-10-14 22:56:20 +0200 (jeu., 14 oct. 2010) | 3 lines

  Fix the regex to match all kind of filenames, for interactive debugging in doctests. (issue #9409)
........
  r85500 | florent.xicluna | 2010-10-14 23:35:58 +0200 (jeu., 14 oct. 2010) | 2 lines

  Add test case for issue #9409, non-ascii char in doctest.  It passes in 3.2 but needs fixing in 2.7.
........
2010-10-14 21:46:04 +00:00
Antoine Pitrou f7c24450be Merged revisions 85497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85497 | antoine.pitrou | 2010-10-14 23:15:17 +0200 (jeu., 14 oct. 2010) | 3 lines

  Explicitly close some files (from issue #10093)
........
2010-10-14 21:22:52 +00:00
Florent Xicluna b67660fcce Merged revisions 85495 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85495 | florent.xicluna | 2010-10-14 22:56:20 +0200 (jeu., 14 oct. 2010) | 3 lines

  Fix the regex to match all kind of filenames, for interactive debugging in doctests. (issue #9409)
........
2010-10-14 21:10:45 +00:00
Antoine Pitrou 8299393122 Merged revisions 85492 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85492 | antoine.pitrou | 2010-10-14 22:35:26 +0200 (jeu., 14 oct. 2010) | 3 lines

  Increase timeouts in test_ftplib (for very slow buildbots)
........
2010-10-14 20:46:25 +00:00
Antoine Pitrou d989f820c8 Merged revisions 85482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85482 | antoine.pitrou | 2010-10-14 17:34:31 +0200 (jeu., 14 oct. 2010) | 4 lines

  Replace the "compiler" resource with the more generic "cpu", so
  as to mark CPU-heavy tests.
........
2010-10-14 15:43:25 +00:00
Senthil Kumaran 9a4acdf4a5 Fix issue10065 - future_builtins' docstring lacks some functions 2010-10-14 13:15:33 +00:00
Antoine Pitrou 3125f5039d Merged revisions 85472 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85472 | antoine.pitrou | 2010-10-14 13:29:16 +0200 (jeu., 14 oct. 2010) | 3 lines

  Add make variable to allow testing of different interpreter flags in buildbot runs
........
2010-10-14 11:37:30 +00:00
Antoine Pitrou a2a53b27d3 Add support for "-3" flag (closes #7516) 2010-10-14 11:18:46 +00:00
Antoine Pitrou a226c9100d Merged revisions 85469 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85469 | antoine.pitrou | 2010-10-14 13:12:00 +0200 (jeu., 14 oct. 2010) | 3 lines

  Inherit interpreter flags in parallel testing
........
2010-10-14 11:15:50 +00:00
Brian Curtin 4b09b04b4d Implement #7944. Use `with` throughout the test suite. 2010-10-14 02:06:55 +00:00
Brian Curtin 6ec1eb8e73 Merged revisions 85403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85403 | brian.curtin | 2010-10-12 21:56:26 -0500 (Tue, 12 Oct 2010) | 2 lines

  Implement #7944. Use `with` throughout the test suite.
........
2010-10-14 02:01:12 +00:00
Brian Curtin 04d8b220e1 Merged revisions 85401 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85401 | brian.curtin | 2010-10-12 21:29:46 -0500 (Tue, 12 Oct 2010) | 3 lines

  Implement #7944. Use `with` throughout the test suite.
........
2010-10-14 01:14:36 +00:00
Brian Curtin 31cf8d0736 Merged revisions 85400 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85400 | brian.curtin | 2010-10-12 21:21:42 -0500 (Tue, 12 Oct 2010) | 2 lines

  Implement #7944. Use `with` throughout the test suite.
........
2010-10-13 23:51:19 +00:00
Benjamin Peterson a5cb39f2ec Merged revisions 85436 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85436 | benjamin.peterson | 2010-10-13 17:20:15 -0500 (Wed, 13 Oct 2010) | 1 line

  put PYTHONIOENCODING in man page
........
2010-10-13 22:25:26 +00:00
Benjamin Peterson 8e73403284 Merged revisions 85432 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85432 | benjamin.peterson | 2010-10-13 17:06:39 -0500 (Wed, 13 Oct 2010) | 1 line

  constify to appease compiler warnings
........
2010-10-13 22:10:31 +00:00
Benjamin Peterson 4de6b06134 Merged revisions 85429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85429 | benjamin.peterson | 2010-10-13 16:59:36 -0500 (Wed, 13 Oct 2010) | 1 line

  remove obselete import implementation #7287
........
2010-10-13 22:07:17 +00:00
Antoine Pitrou 9e1ef1a11d Merged revisions 85423 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85423 | antoine.pitrou | 2010-10-13 19:14:16 +0200 (mer., 13 oct. 2010) | 3 lines

  Protect test_smtpnet against connection failures
........
2010-10-13 17:20:54 +00:00
Gregory P. Smith bcb61956e3 Merged revisions 85404 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85404 | gregory.p.smith | 2010-10-12 20:39:47 -0700 (Tue, 12 Oct 2010) | 2 lines

  fix compliation on NetBSD
........
2010-10-13 03:42:10 +00:00
Benjamin Peterson 25def7d9b0 Merged revisions 85398 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85398 | benjamin.peterson | 2010-10-12 20:04:36 -0500 (Tue, 12 Oct 2010) | 1 line

  account for the module __dict__ being cleared when its module is
........
2010-10-13 01:10:16 +00:00
Benjamin Peterson 1e1a8c729b Merged revisions 85395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85395 | benjamin.peterson | 2010-10-12 18:07:13 -0500 (Tue, 12 Oct 2010) | 1 line

  fix spelling #10078
........
2010-10-12 23:12:45 +00:00
Benjamin Peterson dc9542435b Merged revisions 85392 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85392 | benjamin.peterson | 2010-10-12 17:57:59 -0500 (Tue, 12 Oct 2010) | 1 line

  prefer clearing global objects to obscure module.__dict__ bugs #10068
........
2010-10-12 23:02:35 +00:00
Victor Stinner d2f6ae63cd Merged revisions 85386-85387,85389 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85386 | victor.stinner | 2010-10-13 00:23:23 +0200 (mer., 13 oct. 2010) | 3 lines

  Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the
  current directory was deleted.
........
  r85387 | victor.stinner | 2010-10-13 00:26:08 +0200 (mer., 13 oct. 2010) | 2 lines

  #6612: add the author of the patch (W. Trevor King)
........
  r85389 | victor.stinner | 2010-10-13 00:42:37 +0200 (mer., 13 oct. 2010) | 2 lines

  NEWS: Move #6612 to Library section
........
2010-10-12 22:53:51 +00:00