]> granicus.if.org Git - python/log
python
16 years agotag 3.1 release candidate 2
Benjamin Peterson [Sat, 13 Jun 2009 13:18:14 +0000 (13:18 +0000)]
tag 3.1 release candidate 2

16 years agoupdate the README to be a little more inspiring w/regards to stability v3.1rc2
Benjamin Peterson [Sat, 13 Jun 2009 13:16:45 +0000 (13:16 +0000)]
update the README to be a little more inspiring w/regards to stability

16 years agobump version to 3.1rc2
Benjamin Peterson [Sat, 13 Jun 2009 13:15:04 +0000 (13:15 +0000)]
bump version to 3.1rc2

16 years agoupdate pydoc topics
Benjamin Peterson [Sat, 13 Jun 2009 13:10:10 +0000 (13:10 +0000)]
update pydoc topics

16 years agomake file closing more robust
Benjamin Peterson [Sat, 13 Jun 2009 13:01:19 +0000 (13:01 +0000)]
make file closing more robust

16 years agoFix SystemError and a wasps nest of ref counting issues.
Raymond Hettinger [Fri, 12 Jun 2009 18:40:16 +0000 (18:40 +0000)]
Fix SystemError and a wasps nest of ref counting issues.

16 years agoMerged revisions 73390 via svnmerge from
Martin v. Löwis [Fri, 12 Jun 2009 17:31:41 +0000 (17:31 +0000)]
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.
........

16 years agoIssue #6195: fix doctest to no longer try to read 'source' data from
R. David Murray [Fri, 12 Jun 2009 15:33:19 +0000 (15:33 +0000)]
Issue #6195: fix doctest to no longer try to read 'source' data from
binary files.

16 years agoFixup/simplify another nested context manager.
Raymond Hettinger [Fri, 12 Jun 2009 11:25:59 +0000 (11:25 +0000)]
Fixup/simplify another nested context manager.

16 years agomove to a naming scheme with all lowercase and underscores
Benjamin Peterson [Fri, 12 Jun 2009 02:07:12 +0000 (02:07 +0000)]
move to a naming scheme with all lowercase and underscores

16 years agoMerged revisions 73370 via svnmerge from
Benjamin Peterson [Thu, 11 Jun 2009 23:47:38 +0000 (23:47 +0000)]
Merged revisions 73370 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r73370 | benjamin.peterson | 2009-06-11 17:06:46 -0500 (Thu, 11 Jun 2009) | 105 lines

  Merged revisions 72523,72950-72951,72994,73003,73033,73036-73040,73091-73093,73096,73179-73181,73192,73231,73244,73255-73256,73365 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r72523 | benjamin.peterson | 2009-05-09 14:42:26 -0500 (Sat, 09 May 2009) | 1 line

    remove parenthesis
  ........
    r72950 | benjamin.peterson | 2009-05-26 18:19:45 -0500 (Tue, 26 May 2009) | 1 line

    remove unused imports
  ........
    r72951 | benjamin.peterson | 2009-05-26 18:27:00 -0500 (Tue, 26 May 2009) | 1 line

    this is no longer executable
  ........
    r72994 | benjamin.peterson | 2009-05-28 15:32:54 -0500 (Thu, 28 May 2009) | 1 line

    fix test_all_fixers on Windows #6134
  ........
    r73003 | benjamin.peterson | 2009-05-28 21:57:28 -0500 (Thu, 28 May 2009) | 4 lines

    make 2to3 test utilities easier to use with other applications (3to2)

    Patch by Joe Amenta
  ........
    r73033 | benjamin.peterson | 2009-05-29 16:58:32 -0500 (Fri, 29 May 2009) | 1 line

    update grammar for multi with statement
  ........
    r73036 | benjamin.peterson | 2009-05-29 17:33:20 -0500 (Fri, 29 May 2009) | 1 line

    simplify fix_unicode
  ........
    r73037 | benjamin.peterson | 2009-05-29 17:53:03 -0500 (Fri, 29 May 2009) | 1 line

    add custom error for pattern syntax errors
  ........
    r73038 | benjamin.peterson | 2009-05-29 17:55:00 -0500 (Fri, 29 May 2009) | 1 line

    complain if details are attached to a token
  ........
    r73039 | benjamin.peterson | 2009-05-29 18:00:28 -0500 (Fri, 29 May 2009) | 1 line

    add a test for whitespace
  ........
    r73040 | benjamin.peterson | 2009-05-29 18:01:17 -0500 (Fri, 29 May 2009) | 1 line

    a fix for emacs highlighting
  ........
    r73091 | benjamin.peterson | 2009-05-31 20:55:25 -0500 (Sun, 31 May 2009) | 1 line

    deprecate set_prefix() and get_prefix() in favor of a prefix property
  ........
    r73092 | benjamin.peterson | 2009-05-31 21:00:51 -0500 (Sun, 31 May 2009) | 1 line

    change hideous java naming scheme
  ........
    r73093 | benjamin.peterson | 2009-05-31 21:01:39 -0500 (Sun, 31 May 2009) | 1 line

    remove dated comment
  ........
    r73096 | benjamin.peterson | 2009-05-31 21:40:53 -0500 (Sun, 31 May 2009) | 1 line

    group tests
  ........
    r73179 | benjamin.peterson | 2009-06-03 13:09:53 -0500 (Wed, 03 Jun 2009) | 1 line

    handle the case where there's multiple trailers #6185
  ........
    r73180 | benjamin.peterson | 2009-06-03 13:18:05 -0500 (Wed, 03 Jun 2009) | 1 line

    scrap __main__ section
  ........
    r73181 | benjamin.peterson | 2009-06-03 13:24:48 -0500 (Wed, 03 Jun 2009) | 1 line

    remove shebang lines and __main__ sections
  ........
    r73192 | benjamin.peterson | 2009-06-03 19:16:30 -0500 (Wed, 03 Jun 2009) | 4 lines

    actually test something here

    Thanks to Joe Amenta for noticing.y
  ........
    r73231 | benjamin.peterson | 2009-06-04 13:38:50 -0500 (Thu, 04 Jun 2009) | 1 line

    remove unused variable
  ........
    r73244 | benjamin.peterson | 2009-06-05 08:39:25 -0500 (Fri, 05 Jun 2009) | 1 line

    allow fixers to give different options in setUp
  ........
    r73255 | benjamin.peterson | 2009-06-06 11:23:46 -0500 (Sat, 06 Jun 2009) | 1 line

    fix the except fixer on one line suites #6222
  ........
    r73256 | benjamin.peterson | 2009-06-06 11:27:40 -0500 (Sat, 06 Jun 2009) | 1 line

    test one-line else and finally clauses
  ........
    r73365 | benjamin.peterson | 2009-06-11 17:01:32 -0500 (Thu, 11 Jun 2009) | 1 line

    normalize whitespace
  ........
................

16 years agoIssue 6261: Clarify behavior of random.uniform().
Raymond Hettinger [Thu, 11 Jun 2009 23:12:14 +0000 (23:12 +0000)]
Issue 6261: Clarify behavior of random.uniform().

16 years agoBlocked revisions 73145 via svnmerge
Benjamin Peterson [Thu, 11 Jun 2009 22:59:12 +0000 (22:59 +0000)]
Blocked revisions 73145 via svnmerge

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

  http://bugs.python.org/issue6117
  Fix O(n**2) performance problem in socket._fileobject
........

16 years agoMerged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324...
Benjamin Peterson [Thu, 11 Jun 2009 22:54:11 +0000 (22:54 +0000)]
Merged revisions 73196,73278-73280,73299,73308,73312-73313,73317-73318,73321,73324,73331,73335,73340,73363 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73196 | benjamin.peterson | 2009-06-03 20:40:29 -0500 (Wed, 03 Jun 2009) | 1 line

  use the offical api
........
  r73278 | benjamin.peterson | 2009-06-07 17:33:11 -0500 (Sun, 07 Jun 2009) | 1 line

  inherit from object
........
  r73279 | benjamin.peterson | 2009-06-07 17:35:00 -0500 (Sun, 07 Jun 2009) | 1 line

  always inherit from an appropiate base class
........
  r73280 | benjamin.peterson | 2009-06-07 17:54:35 -0500 (Sun, 07 Jun 2009) | 1 line

  use booleans for flags
........
  r73299 | georg.brandl | 2009-06-08 13:41:36 -0500 (Mon, 08 Jun 2009) | 1 line

  Typo fix.
........
  r73308 | benjamin.peterson | 2009-06-08 17:18:32 -0500 (Mon, 08 Jun 2009) | 1 line

  remove useless assertion
........
  r73312 | benjamin.peterson | 2009-06-08 18:44:13 -0500 (Mon, 08 Jun 2009) | 1 line

  remove error checks already done in set_context()
........
  r73313 | r.david.murray | 2009-06-08 19:44:22 -0500 (Mon, 08 Jun 2009) | 4 lines

  Issue 2947: document how return code handling translates from
  os.popen to subprocess.  Also fixes reference link in the
  os.spawn documentation.
........
  r73317 | benjamin.peterson | 2009-06-09 12:24:26 -0500 (Tue, 09 Jun 2009) | 1 line

  make ast.c depend on the grammar
........
  r73318 | benjamin.peterson | 2009-06-09 12:29:51 -0500 (Tue, 09 Jun 2009) | 1 line

  explain why keyword names are not just NAME
........
  r73321 | benjamin.peterson | 2009-06-09 16:13:43 -0500 (Tue, 09 Jun 2009) | 1 line

  update symbol.py from with statement changes
........
  r73324 | amaury.forgeotdarc | 2009-06-09 17:53:16 -0500 (Tue, 09 Jun 2009) | 2 lines

  Avoid invoking the parser/compiler just to test the presence of a function.
........
  r73331 | benjamin.peterson | 2009-06-10 08:45:31 -0500 (Wed, 10 Jun 2009) | 1 line

  fix spelling
........
  r73335 | raymond.hettinger | 2009-06-10 11:15:40 -0500 (Wed, 10 Jun 2009) | 1 line

  Fix signed/unsigned compiler warning.
........
  r73340 | amaury.forgeotdarc | 2009-06-10 15:30:19 -0500 (Wed, 10 Jun 2009) | 2 lines

  Fix a typo spotted by Nick Coghlan.
........
  r73363 | benjamin.peterson | 2009-06-11 12:51:17 -0500 (Thu, 11 Jun 2009) | 1 line

  use multi-with syntax
........

16 years agoBlocked revisions 73372 via svnmerge
Benjamin Peterson [Thu, 11 Jun 2009 22:12:47 +0000 (22:12 +0000)]
Blocked revisions 73372 via svnmerge

........
  r73372 | raymond.hettinger | 2009-06-11 17:08:10 -0500 (Thu, 11 Jun 2009) | 1 line

  Move comment to correct line.
........

16 years agoBlocked revisions 73182,73184,73238,73252,73281,73334,73361-73362,73367 via svnmerge
Benjamin Peterson [Thu, 11 Jun 2009 22:09:02 +0000 (22:09 +0000)]
Blocked revisions 73182,73184,73238,73252,73281,73334,73361-73362,73367 via svnmerge

........
  r73182 | josiah.carlson | 2009-06-03 14:46:21 -0500 (Wed, 03 Jun 2009) | 4 lines

  This fixes bug 5798 on OS X.
  This should also fix disconnect behavior cross-platform.
........
  r73184 | josiah.carlson | 2009-06-03 14:51:52 -0500 (Wed, 03 Jun 2009) | 2 lines

  Fix for line wrap ugly.
........
  r73238 | hirokazu.yamamoto | 2009-06-05 00:15:58 -0500 (Fri, 05 Jun 2009) | 1 line

  Fix test__locale on windows (Backport of r72365)
........
  r73252 | georg.brandl | 2009-06-06 00:54:34 -0500 (Sat, 06 Jun 2009) | 1 line

  #6206: fix test__locale.
........
  r73281 | benjamin.peterson | 2009-06-07 17:55:36 -0500 (Sun, 07 Jun 2009) | 1 line

  remove has_key
........
  r73334 | raymond.hettinger | 2009-06-10 11:15:02 -0500 (Wed, 10 Jun 2009) | 1 line

  Issue 6256: Fix stacklevel in warning message.
........
  r73361 | benjamin.peterson | 2009-06-11 11:25:52 -0500 (Thu, 11 Jun 2009) | 1 line

  remove duplicate check
........
  r73362 | benjamin.peterson | 2009-06-11 12:49:38 -0500 (Thu, 11 Jun 2009) | 1 line

  revert r73361
........
  r73367 | raymond.hettinger | 2009-06-11 17:04:00 -0500 (Thu, 11 Jun 2009) | 1 line

  Add example of how to do key lookups with bisect().
........

16 years agoMove comment to correct line.
Raymond Hettinger [Thu, 11 Jun 2009 22:06:06 +0000 (22:06 +0000)]
Move comment to correct line.

16 years agoAdd example of how to do key lookups with bisect().
Raymond Hettinger [Thu, 11 Jun 2009 22:01:24 +0000 (22:01 +0000)]
Add example of how to do key lookups with bisect().

16 years agoRecorded merge of revisions 73350,73353 via svnmerge from
Georg Brandl [Thu, 11 Jun 2009 11:33:24 +0000 (11:33 +0000)]
Recorded merge of revisions 73350,73353 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73350 | vinay.sajip | 2009-06-11 11:23:41 +0200 (Do, 11 Jun 2009) | 1 line

  Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler.
........
  r73353 | vinay.sajip | 2009-06-11 11:53:35 +0200 (Do, 11 Jun 2009) | 1 line

  Issue #5262: Improved fix.
........

16 years agoIssue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler.
Vinay Sajip [Thu, 11 Jun 2009 10:11:47 +0000 (10:11 +0000)]
Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler.

16 years agoMerged revisions 73354 via svnmerge from
Tarek Ziadé [Thu, 11 Jun 2009 10:00:56 +0000 (10:00 +0000)]
Merged revisions 73354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73354 | tarek.ziade | 2009-06-11 11:55:09 +0200 (Thu, 11 Jun 2009) | 1 line

  pep8-fied cygwinccompiler module
........

16 years agoMerged revisions 73348 via svnmerge from
Tarek Ziadé [Thu, 11 Jun 2009 09:25:41 +0000 (09:25 +0000)]
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
........

16 years agoBlocked revisions 73345 via svnmerge
Tarek Ziadé [Thu, 11 Jun 2009 08:45:42 +0000 (08:45 +0000)]
Blocked revisions 73345 via svnmerge

........
  r73345 | tarek.ziade | 2009-06-11 10:43:26 +0200 (Thu, 11 Jun 2009) | 1 line

  removed the last string.split() call
........

16 years agoMerged revisions 73341 via svnmerge from
Tarek Ziadé [Thu, 11 Jun 2009 08:31:17 +0000 (08:31 +0000)]
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
........

16 years agoMerged revisions 73336 via svnmerge from
Tarek Ziadé [Wed, 10 Jun 2009 18:56:35 +0000 (18:56 +0000)]
Merged revisions 73336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73336 | tarek.ziade | 2009-06-10 20:49:50 +0200 (Wed, 10 Jun 2009) | 1 line

  Distutils: started code cleanup and test coverage for cygwinccompiler
........

16 years agoIssue 6256: Fix stacklevel in warning message.
Raymond Hettinger [Wed, 10 Jun 2009 16:13:42 +0000 (16:13 +0000)]
Issue 6256: Fix stacklevel in warning message.

16 years agoFix funny typo.
Raymond Hettinger [Wed, 10 Jun 2009 15:38:52 +0000 (15:38 +0000)]
Fix funny typo.

16 years agoMerged revisions 73328 via svnmerge from
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:51:56 +0000 (23:51 +0000)]
Merged revisions 73328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73328 | amaury.forgeotdarc | 2009-06-10 01:37:11 +0200 (mer., 10 juin 2009) | 3 lines

  Missing import in test_curses, uncovered by some buildbots.
  (There are still a few test files that don't use the standard layout)
........

16 years agoBlocked revisions 73325-73326 via svnmerge
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:21:01 +0000 (23:21 +0000)]
Blocked revisions 73325-73326 via svnmerge

........
  r73325 | amaury.forgeotdarc | 2009-06-10 01:08:13 +0200 (mer., 10 juin 2009) | 8 lines

  #6201: Fix test_winreg on Windows:
  since the introduction of the SETUP_WITH opcode,
  __enter__ and __exit__ methods must belong to the type,
  and are not retrieved at the instance level (__dict__ or __getattr__).

  Add a note in whatsnew about this incompatibility;
  old style classes are not affected.
........
  r73326 | amaury.forgeotdarc | 2009-06-10 01:18:50 +0200 (mer., 10 juin 2009) | 2 lines

  Both kind of types are concerned.
........

16 years ago#5924: on Windows, a large PYTHONPATH (more than 255 chars) was completely ignored.
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 21:30:01 +0000 (21:30 +0000)]
#5924: on Windows, a large PYTHONPATH (more than 255 chars) was completely ignored.

Will backport to 3.0.

16 years agoAdd notes for porting issues related to pickles.
Raymond Hettinger [Tue, 9 Jun 2009 21:07:46 +0000 (21:07 +0000)]
Add notes for porting issues related to pickles.

16 years agoAdd example for the change to pickle and note the effect of the fix_imports option.
Raymond Hettinger [Tue, 9 Jun 2009 21:01:05 +0000 (21:01 +0000)]
Add example for the change to pickle and note the effect of the fix_imports option.

16 years agoBlocked revisions 73314 via svnmerge
Eric Smith [Tue, 9 Jun 2009 12:39:29 +0000 (12:39 +0000)]
Blocked revisions 73314 via svnmerge

........
  r73314 | eric.smith | 2009-06-09 08:38:08 -0400 (Tue, 09 Jun 2009) | 1 line

  Restored a test that was erroneously removed. See issue 6198.
........

16 years agoMerged revisions 73305 via svnmerge from
Ronald Oussoren [Mon, 8 Jun 2009 21:22:57 +0000 (21:22 +0000)]
Merged revisions 73305 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73305 | ronald.oussoren | 2009-06-08 14:12:41 -0700 (Mon, 08 Jun 2009) | 4 lines

  This is a fix for Issue5809: you shouldn't specify both --enable-framework and
  --enable-shared
........

16 years agoMerged revisions 73303 via svnmerge from
Ronald Oussoren [Mon, 8 Jun 2009 21:04:41 +0000 (21:04 +0000)]
Merged revisions 73303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73303 | ronald.oussoren | 2009-06-08 13:54:59 -0700 (Mon, 08 Jun 2009) | 11 lines

  This checkin adds a symlink to the lib directory of a framework install
  of Python (on OSX), and the end result of that is that the combination of
  ``python-config --ldflags`` and ``python-config --libs`` refers to an actually
  existing location.

  I've done this in preference to changing python-config to specify
  '-framework Python' for linking because that doesn't work when you have multiple
  versions of python installed (because '-framework Python' will always link to
  the 'Current' version of the framework, without a possibility to specify a
  specific version).
........

16 years agoFix markup.
Georg Brandl [Mon, 8 Jun 2009 20:25:55 +0000 (20:25 +0000)]
Fix markup.

16 years agoFix typo.
Thomas Heller [Mon, 8 Jun 2009 19:11:54 +0000 (19:11 +0000)]
Fix typo.

16 years agoElaborate encoding recommendations, and fix ambiguous wording for list comprehensions.
Georg Brandl [Mon, 8 Jun 2009 18:59:09 +0000 (18:59 +0000)]
Elaborate encoding recommendations, and fix ambiguous wording for list comprehensions.

16 years agoBlocked revisions 73296 via svnmerge
Georg Brandl [Mon, 8 Jun 2009 16:05:50 +0000 (16:05 +0000)]
Blocked revisions 73296 via svnmerge

........
  r73296 | georg.brandl | 2009-06-08 18:03:41 +0200 (Mo, 08 Jun 2009) | 1 line

  #6238: add fillchar to string.just function family.
........

16 years agoMerged revisions 73190,73213,73257-73258,73260,73275,73294 via svnmerge from
Georg Brandl [Mon, 8 Jun 2009 13:41:29 +0000 (13:41 +0000)]
Merged revisions 73190,73213,73257-73258,73260,73275,73294 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73190 | georg.brandl | 2009-06-04 01:23:45 +0200 (Do, 04 Jun 2009) | 2 lines

  Avoid PendingDeprecationWarnings emitted by deprecated unittest methods.
........
  r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line

  #5967: note that the C slicing APIs do not support negative indices.
........
  r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line

  #6211: elaborate a bit on ways to call the function.
........
  r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line

  #6204: use a real reference instead of "see later".
........
  r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line

  #6224: s/JPython/Jython/, and remove one link to a module nine years old.
........
  r73275 | georg.brandl | 2009-06-07 22:37:52 +0200 (So, 07 Jun 2009) | 1 line

  Add Ezio.
........
  r73294 | georg.brandl | 2009-06-08 15:34:52 +0200 (Mo, 08 Jun 2009) | 1 line

  #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
........

16 years agoReview ctypes docs w.r.t. bytes/unicode. Use bytes where appropriate as the type...
Georg Brandl [Mon, 8 Jun 2009 13:27:23 +0000 (13:27 +0000)]
Review ctypes docs w.r.t. bytes/unicode. Use bytes where appropriate as the type for C strings. Lots of small markup fixes. Also fixes #4309.

16 years agoSignature documentation style update, modules J, K, L and M.
Georg Brandl [Mon, 8 Jun 2009 09:13:45 +0000 (09:13 +0000)]
Signature documentation style update, modules J, K, L and M.

16 years agoFix default value in docstring.
Georg Brandl [Mon, 8 Jun 2009 09:07:34 +0000 (09:07 +0000)]
Fix default value in docstring.

16 years agoUse boolean for another flag option.
Georg Brandl [Mon, 8 Jun 2009 08:58:54 +0000 (08:58 +0000)]
Use boolean for another flag option.

16 years agoUse a real bool for a flag option.
Georg Brandl [Mon, 8 Jun 2009 08:53:39 +0000 (08:53 +0000)]
Use a real bool for a flag option.

16 years agoRecorded merge of revisions 73286 via svnmerge from
Georg Brandl [Mon, 8 Jun 2009 08:00:22 +0000 (08:00 +0000)]
Recorded merge of revisions 73286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73286 | georg.brandl | 2009-06-08 09:57:35 +0200 (Mo, 08 Jun 2009) | 1 line

  Remove period from end of headings.
........

16 years ago#6235: ASCII also affects \[dD] escapes.
Georg Brandl [Mon, 8 Jun 2009 07:49:54 +0000 (07:49 +0000)]
#6235: ASCII also affects \[dD] escapes.

16 years agoRemove duplicated sentence. Remove duplicated sentence.
Georg Brandl [Mon, 8 Jun 2009 07:48:27 +0000 (07:48 +0000)]
Remove duplicated sentence. Remove duplicated sentence.

16 years agoBlocked revisions 73282 via svnmerge
Benjamin Peterson [Sun, 7 Jun 2009 23:15:34 +0000 (23:15 +0000)]
Blocked revisions 73282 via svnmerge

........
  r73282 | benjamin.peterson | 2009-06-07 18:12:44 -0500 (Sun, 07 Jun 2009) | 1 line

  backport r73273
........

16 years agoWhen _locale became a built-in module it was discovered that ``-lintl`` was not
Brett Cannon [Sun, 7 Jun 2009 20:09:53 +0000 (20:09 +0000)]
When _locale became a built-in module it was discovered that ``-lintl`` was not
added as a build flag as needed. This then led to the discovery that OS X
framework builds did not have the LIBS var to pick up this flag.

Fixes issue #6154. Thanks to Benjamin Peterson, Roumen Petrov, Erick Tryzelaar,
Mark Dickinson, Evan Behar, and Ronald Oussoren for helping.

16 years agoIssue #6221: Delete test registry key before running the test.
Martin v. Löwis [Sun, 7 Jun 2009 17:55:17 +0000 (17:55 +0000)]
Issue #6221: Delete test registry key before running the test.

16 years agoBlocked revisions 73270 via svnmerge
Benjamin Peterson [Sun, 7 Jun 2009 16:26:47 +0000 (16:26 +0000)]
Blocked revisions 73270 via svnmerge

........
  r73270 | benjamin.peterson | 2009-06-07 11:24:48 -0500 (Sun, 07 Jun 2009) | 1 line

  backport r73268
........

16 years agoFix symlink for 2to3 in framework install. Without this patch an incorrect link is...
Ronald Oussoren [Sun, 7 Jun 2009 15:34:13 +0000 (15:34 +0000)]
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.

16 years agoFix for issue 6202
Ronald Oussoren [Sun, 7 Jun 2009 15:29:46 +0000 (15:29 +0000)]
Fix for issue 6202

16 years agostop throwing out all errors when PyObject_GetAttr fails
Benjamin Peterson [Sat, 6 Jun 2009 20:46:48 +0000 (20:46 +0000)]
stop throwing out all errors when PyObject_GetAttr fails

16 years agogive the C implementation of TextIOWrapper the errors property #6217
Benjamin Peterson [Sat, 6 Jun 2009 18:02:12 +0000 (18:02 +0000)]
give the C implementation of TextIOWrapper the errors property #6217

16 years agoAdd what's new entry for r73236.
Antoine Pitrou [Sat, 6 Jun 2009 14:21:44 +0000 (14:21 +0000)]
Add what's new entry for r73236.

16 years agoMerged revisions 73250 via svnmerge from
Benjamin Peterson [Fri, 5 Jun 2009 19:13:27 +0000 (19:13 +0000)]
Merged revisions 73250 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73250 | benjamin.peterson | 2009-06-05 14:09:28 -0500 (Fri, 05 Jun 2009) | 1 line

  only test for named pipe when os.stat doesn't raise #6209
........

16 years agoBlocked revisions 73243 via svnmerge
Tarek Ziadé [Fri, 5 Jun 2009 13:51:52 +0000 (13:51 +0000)]
Blocked revisions 73243 via svnmerge

........
  r73243 | tarek.ziade | 2009-06-05 15:37:29 +0200 (Fri, 05 Jun 2009) | 1 line

  reverting r72823 : Python trunk has to use latin-1 encoding
........

16 years agoBlocked revisions 73240 via svnmerge
Eric Smith [Fri, 5 Jun 2009 12:34:12 +0000 (12:34 +0000)]
Blocked revisions 73240 via svnmerge

........
  r73240 | eric.smith | 2009-06-05 08:33:26 -0400 (Fri, 05 Jun 2009) | 1 line

  Removed tests so that test_float pass on Windows. See issue 6198.
........

16 years agoIssue #6137: The pickle module now translates module names when loading
Antoine Pitrou [Thu, 4 Jun 2009 20:32:06 +0000 (20:32 +0000)]
Issue #6137: The pickle module now translates module names when loading
or dumping pickles with a 2.x-compatible protocol, in order to make data
sharing and migration easier. This behaviour can be disabled using the
new `fix_imports` optional argument.

16 years agoMerged revisions 73232 via svnmerge from
Georg Brandl [Thu, 4 Jun 2009 19:41:00 +0000 (19:41 +0000)]
Merged revisions 73232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73232 | georg.brandl | 2009-06-04 20:59:58 +0200 (Do, 04 Jun 2009) | 1 line

  Add test for #3684.
........

16 years agoRemove the ipaddr module per discussion on python-dev.
Raymond Hettinger [Thu, 4 Jun 2009 18:32:39 +0000 (18:32 +0000)]
Remove the ipaddr module per discussion on python-dev.

16 years agoMerged revisions 73224 via svnmerge from
Eric Smith [Thu, 4 Jun 2009 18:20:51 +0000 (18:20 +0000)]
Merged revisions 73224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73224 | eric.smith | 2009-06-04 13:58:15 -0400 (Thu, 04 Jun 2009) | 1 line

  Minor documentation fixes for logging.
........

16 years agoTake ipaddr out of whatsnew.
Raymond Hettinger [Thu, 4 Jun 2009 17:39:41 +0000 (17:39 +0000)]
Take ipaddr out of whatsnew.

16 years agoMerged revisions 73217 via svnmerge from
Georg Brandl [Thu, 4 Jun 2009 10:28:36 +0000 (10:28 +0000)]
Merged revisions 73217 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73217 | georg.brandl | 2009-06-04 12:27:21 +0200 (Do, 04 Jun 2009) | 1 line

  #6175: document that inet_aton supports alternate input formats with less than three dots.
........

16 years agoMerged revisions 73215 via svnmerge from
Georg Brandl [Thu, 4 Jun 2009 10:23:20 +0000 (10:23 +0000)]
Merged revisions 73215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line

  #6176: fix man page section for flock(2).
........

16 years agoMerged revisions 73186,73206,73212 via svnmerge from
Georg Brandl [Thu, 4 Jun 2009 10:21:10 +0000 (10:21 +0000)]
Merged revisions 73186,73206,73212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73186 | georg.brandl | 2009-06-03 23:21:09 +0200 (Mi, 03 Jun 2009) | 1 line

  #6174: fix indentation in code example.
........
  r73206 | georg.brandl | 2009-06-04 11:15:12 +0200 (Do, 04 Jun 2009) | 1 line

  #3584: ignore trailing newlines when placing the caret for a SyntaxError location.
........
  r73212 | georg.brandl | 2009-06-04 12:10:41 +0200 (Do, 04 Jun 2009) | 1 line

  Better name for "Ctor".
........

16 years agoMore codestring -> codebytes.
Georg Brandl [Thu, 4 Jun 2009 09:42:55 +0000 (09:42 +0000)]
More codestring -> codebytes.

16 years agoRemove nonexisting stuff from __all__.
Georg Brandl [Thu, 4 Jun 2009 09:37:16 +0000 (09:37 +0000)]
Remove nonexisting stuff from __all__.

16 years ago#3791: remove last traces of bsddb.
Georg Brandl [Thu, 4 Jun 2009 09:30:30 +0000 (09:30 +0000)]
#3791: remove last traces of bsddb.

16 years ago#3613: add base64.encodebytes and decodebytes as the new spelling of encodestring...
Georg Brandl [Thu, 4 Jun 2009 09:11:51 +0000 (09:11 +0000)]
#3613: add base64.encodebytes and decodebytes as the new spelling of encodestring and decodestring; deprecate the latter.

16 years agoRemove mentions of the nonexisting SlowParser in xmlrpc.client.
Georg Brandl [Thu, 4 Jun 2009 09:04:53 +0000 (09:04 +0000)]
Remove mentions of the nonexisting SlowParser in xmlrpc.client.

16 years agoRecorded merge of revisions 73201 via svnmerge from
Georg Brandl [Thu, 4 Jun 2009 09:00:56 +0000 (09:00 +0000)]
Recorded merge of revisions 73201 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73201 | georg.brandl | 2009-06-04 10:58:32 +0200 (Do, 04 Jun 2009) | 1 line

  #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser.
........

16 years agoMerged revisions 73197 via svnmerge from
Tarek Ziadé [Thu, 4 Jun 2009 07:39:50 +0000 (07:39 +0000)]
Merged revisions 73197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73197 | tarek.ziade | 2009-06-04 09:31:52 +0200 (Thu, 04 Jun 2009) | 1 line

  improved test coverage for distutils.command.install and cleaned it up
........

16 years agoIssue #5373: Remove restriction on null bytes in docstrings of classes.
Alexandre Vassalotti [Thu, 4 Jun 2009 00:43:04 +0000 (00:43 +0000)]
Issue #5373: Remove restriction on null bytes in docstrings of classes.

16 years agoFix __all__.
Raymond Hettinger [Thu, 4 Jun 2009 00:35:30 +0000 (00:35 +0000)]
Fix __all__.

16 years agoUse new form of with-statement instead of contextlib.nested().
Raymond Hettinger [Thu, 4 Jun 2009 00:11:54 +0000 (00:11 +0000)]
Use new form of with-statement instead of contextlib.nested().

16 years agoRemove the application stub for Python Launcher. This
Ronald Oussoren [Wed, 3 Jun 2009 22:18:05 +0000 (22:18 +0000)]
Remove the application stub for Python Launcher. This
directory structure isn't used during the build and
causes problems when you do build without a separate
build directory.

Fixes issue 5267

16 years ago#6190: Remove duplicate paragraph.
Georg Brandl [Wed, 3 Jun 2009 21:00:58 +0000 (21:00 +0000)]
#6190: Remove duplicate paragraph.

16 years agoThis fixes bug 5798 on OS X.
Josiah Carlson [Wed, 3 Jun 2009 19:48:02 +0000 (19:48 +0000)]
This fixes bug 5798 on OS X.
This should also fix disconnect behavior cross-platform.

16 years agoAnother hidden treasure.
Raymond Hettinger [Wed, 3 Jun 2009 17:21:17 +0000 (17:21 +0000)]
Another hidden treasure.

16 years agoremove extra "|"s
Benjamin Peterson [Wed, 3 Jun 2009 11:41:45 +0000 (11:41 +0000)]
remove extra "|"s

16 years agoBlocked revisions 73174 via svnmerge
Tarek Ziadé [Wed, 3 Jun 2009 11:22:48 +0000 (11:22 +0000)]
Blocked revisions 73174 via svnmerge

........
  r73174 | tarek.ziade | 2009-06-03 13:20:44 +0200 (Wed, 03 Jun 2009) | 1 line

  assertion message was dropped
........

16 years agoMerged revisions 73170 via svnmerge from
Tarek Ziadé [Wed, 3 Jun 2009 11:17:15 +0000 (11:17 +0000)]
Merged revisions 73170 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73170 | tarek.ziade | 2009-06-03 13:12:08 +0200 (Wed, 03 Jun 2009) | 1 line

  more cleanup and test coverage for distutils.extension
........

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

........
  r73166 | tarek.ziade | 2009-06-03 12:26:26 +0200 (Wed, 03 Jun 2009) | 1 line

  added some tests for distutils.extension + code cleanup
........

16 years agoBlocked revisions 73163 via svnmerge
Georg Brandl [Wed, 3 Jun 2009 07:26:53 +0000 (07:26 +0000)]
Blocked revisions 73163 via svnmerge

........
  r73163 | georg.brandl | 2009-06-03 09:25:35 +0200 (Mi, 03 Jun 2009) | 1 line

  Use the preferred form of raise statements in the docs.
........

16 years ago<> is gone (almost).
Georg Brandl [Wed, 3 Jun 2009 07:26:22 +0000 (07:26 +0000)]
<> is gone (almost).

16 years agoIssue #6183: Disables wcsftime on VC6.
Hirokazu Yamamoto [Wed, 3 Jun 2009 05:19:18 +0000 (05:19 +0000)]
Issue #6183: Disables wcsftime on VC6.

16 years agorange() doesn't return a list
Benjamin Peterson [Wed, 3 Jun 2009 03:13:30 +0000 (03:13 +0000)]
range() doesn't return a list

16 years agoignore some 2to3 test files with 2.x syntax #6184
Benjamin Peterson [Wed, 3 Jun 2009 03:08:41 +0000 (03:08 +0000)]
ignore some 2to3 test files with 2.x syntax #6184

16 years agoMerged revisions 73147 via svnmerge from
Tarek Ziadé [Tue, 2 Jun 2009 16:18:55 +0000 (16:18 +0000)]
Merged revisions 73147 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73147 | tarek.ziade | 2009-06-02 17:58:43 +0200 (Tue, 02 Jun 2009) | 1 line

  improved distutils.spawn test coverage + cleaned it up
........

16 years agoFix header level for 'Constants' section of math.rst
Mark Dickinson [Tue, 2 Jun 2009 12:53:15 +0000 (12:53 +0000)]
Fix header level for 'Constants' section of math.rst

16 years agoFix for Issue6170: 'make frameworkinstall' failure with python 3.1rc1.
Ronald Oussoren [Tue, 2 Jun 2009 10:55:56 +0000 (10:55 +0000)]
Fix for Issue6170: 'make frameworkinstall' failure with python 3.1rc1.

16 years agoMerged revisions 73138 via svnmerge from
Mark Dickinson [Tue, 2 Jun 2009 07:41:26 +0000 (07:41 +0000)]
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.
........

16 years agoAdd test code to verify that relative comparison operators with an object
Gregory P. Smith [Tue, 2 Jun 2009 05:46:01 +0000 (05:46 +0000)]
Add test code to verify that relative comparison operators with an object
of the wrong type fail properly (TypeError is raised).

16 years agoMerged revisions 73135 via svnmerge from
Gregory P. Smith [Tue, 2 Jun 2009 05:29:37 +0000 (05:29 +0000)]
Merged revisions 73135 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73135 | gregory.p.smith | 2009-06-01 22:25:34 -0700 (Mon, 01 Jun 2009) | 3 lines

  Fixes issue6169: it was possible for two ipaddr network addresses to compare
  as both < and > than eachother.
........

16 years agoMerged revisions 73129 via svnmerge from
Antoine Pitrou [Mon, 1 Jun 2009 23:29:07 +0000 (23:29 +0000)]
Merged revisions 73129 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73129 | antoine.pitrou | 2009-06-02 01:23:16 +0200 (mar., 02 juin 2009) | 3 lines

  Fix compilation error with gcc 4.3.2
........

16 years agoMerged revisions 73073-73074,73089 via svnmerge from
Benjamin Peterson [Mon, 1 Jun 2009 23:14:51 +0000 (23:14 +0000)]
Merged revisions 73073-73074,73089 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73073 | benjamin.peterson | 2009-05-31 09:43:00 -0500 (Sun, 31 May 2009) | 1 line

  remove function import
........
  r73074 | benjamin.peterson | 2009-05-31 10:00:27 -0500 (Sun, 31 May 2009) | 1 line

  __enter__ and __exit__ must be on the class
........
  r73089 | andrew.kuchling | 2009-05-31 19:14:19 -0500 (Sun, 31 May 2009) | 1 line

  The class for regexes isn't called RegexObject any more; correct the text
........

16 years agoBlocked revisions 73076 via svnmerge
Benjamin Peterson [Mon, 1 Jun 2009 23:09:51 +0000 (23:09 +0000)]
Blocked revisions 73076 via svnmerge

........
  r73076 | antoine.pitrou | 2009-05-31 13:05:51 -0500 (Sun, 31 May 2009) | 4 lines

  Uninitialized file type would lead to __exit__ lookup failure when site.py
  tries to read *.pth files on interpreter startup.
........