]> granicus.if.org Git - python/log
python
16 years agoBlocked revisions 67307 via svnmerge
Benjamin Peterson [Sat, 22 Nov 2008 18:30:57 +0000 (18:30 +0000)]
Blocked revisions 67307 via svnmerge

........
  r67307 | amaury.forgeotdarc | 2008-11-20 17:34:31 -0600 (Thu, 20 Nov 2008) | 9 lines

  Fixed issue #4233.
  Changed semantic of _fileio.FileIO's close()  method on file objects with closefd=False.
  The file descriptor is still kept open but the file object behaves like a closed file.
  The FileIO  object also got a new readonly attribute closefd.

  Approved by Barry

  Backport of r67106 from the py3k branch
........

16 years agoAdd 3.0rc3 UUID.
Martin v. Löwis [Sat, 22 Nov 2008 16:13:41 +0000 (16:13 +0000)]
Add 3.0rc3 UUID.

16 years ago#4153: finish updating Unicode HOWTO for Py3k changes.
Georg Brandl [Sat, 22 Nov 2008 10:26:59 +0000 (10:26 +0000)]
#4153: finish updating Unicode HOWTO for Py3k changes.

16 years agoBlocked revisions 67336 via svnmerge
Georg Brandl [Sat, 22 Nov 2008 10:10:59 +0000 (10:10 +0000)]
Blocked revisions 67336 via svnmerge

........
  r67336 | georg.brandl | 2008-11-22 11:08:50 +0100 (Sat, 22 Nov 2008) | 2 lines

  Fix error about "-*-" being mandatory in coding cookies.
........

16 years agoFix two mp doc issues from #4012.
Georg Brandl [Sat, 22 Nov 2008 08:54:21 +0000 (08:54 +0000)]
Fix two mp doc issues from #4012.

16 years ago#4206: fix 2.xisms in multiprocessing docs and docstrings.
Georg Brandl [Sat, 22 Nov 2008 08:51:39 +0000 (08:51 +0000)]
#4206: fix 2.xisms in multiprocessing docs and docstrings.

16 years agoBlocked revisions 67332 via svnmerge
Georg Brandl [Sat, 22 Nov 2008 08:46:36 +0000 (08:46 +0000)]
Blocked revisions 67332 via svnmerge

........
  r67332 | georg.brandl | 2008-11-22 09:45:33 +0100 (Sat, 22 Nov 2008) | 2 lines

  Fix typo.
........

16 years ago#4372: add bullet point for __cmp__ removal.
Georg Brandl [Sat, 22 Nov 2008 08:35:59 +0000 (08:35 +0000)]
#4372: add bullet point for __cmp__ removal.

16 years ago#4361: fix string.py docstring, clarify that only ASCII characters are in its constants.
Georg Brandl [Sat, 22 Nov 2008 08:31:09 +0000 (08:31 +0000)]
#4361: fix string.py docstring, clarify that only ASCII characters are in its constants.

16 years ago#4378: fix a few functional HOWTO 2.xisms.
Georg Brandl [Sat, 22 Nov 2008 08:27:24 +0000 (08:27 +0000)]
#4378: fix a few functional HOWTO 2.xisms.

16 years agoBlocked revisions 67326 via svnmerge
Benjamin Peterson [Sat, 22 Nov 2008 02:02:16 +0000 (02:02 +0000)]
Blocked revisions 67326 via svnmerge

........
  r67326 | benjamin.peterson | 2008-11-21 19:59:15 -0600 (Fri, 21 Nov 2008) | 1 line

  backport r67325: make FileIO.mode always contain 'b'
........

16 years agomake FileIO.mode always include 'b'
Benjamin Peterson [Sat, 22 Nov 2008 00:41:45 +0000 (00:41 +0000)]
make FileIO.mode always include 'b'

#4386 Reviewed by Amaury

16 years agoadd a glossary entry for "view"
Benjamin Peterson [Fri, 21 Nov 2008 23:22:00 +0000 (23:22 +0000)]
add a glossary entry for "view"

16 years ago#4383: UnboundLocalError when IDLE cannot connect to its subprocess.
Amaury Forgeot d'Arc [Fri, 21 Nov 2008 23:08:09 +0000 (23:08 +0000)]
#4383: UnboundLocalError when IDLE cannot connect to its subprocess.

Python 3.0 clears the exception variable upon exit of the "except:" clause,
and the displaying code fails miserably.

Reviewed by Benjamin.

16 years agoMerged revisions 67320 via svnmerge from
Benjamin Peterson [Fri, 21 Nov 2008 22:58:57 +0000 (22:58 +0000)]
Merged revisions 67320 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67320 | benjamin.peterson | 2008-11-21 16:27:24 -0600 (Fri, 21 Nov 2008) | 4 lines

  don't segfault when \N escapes are used and unicodedata fails to load

  Fixes #4367
........

16 years agoA few tiny improvements that I had sitting in an edit buffer. More to come.
Guido van Rossum [Fri, 21 Nov 2008 18:35:43 +0000 (18:35 +0000)]
A few tiny improvements that I had sitting in an edit buffer.  More to come.
Much, much more. :-)

16 years agopost-3.0rc3
Barry Warsaw [Fri, 21 Nov 2008 15:13:37 +0000 (15:13 +0000)]
post-3.0rc3

16 years agoFix minor typos.
Raymond Hettinger [Fri, 21 Nov 2008 10:40:51 +0000 (10:40 +0000)]
Fix minor typos.

16 years agoTagging 3.0rc3.
Barry Warsaw [Fri, 21 Nov 2008 01:22:30 +0000 (01:22 +0000)]
Tagging 3.0rc3.

16 years agoBump to 3.0rc3 v3.0rc3
Barry Warsaw [Fri, 21 Nov 2008 01:18:21 +0000 (01:18 +0000)]
Bump to 3.0rc3

16 years agoa few updates to the gloassary with regards to __future__ and division
Benjamin Peterson [Fri, 21 Nov 2008 00:25:02 +0000 (00:25 +0000)]
a few updates to the gloassary with regards to __future__ and division

16 years agoMake dbm.dumb encode strings as UTF-8. Also fix it so it accepts bytes and
Brett Cannon [Fri, 21 Nov 2008 00:17:53 +0000 (00:17 +0000)]
Make dbm.dumb encode strings as UTF-8. Also fix it so it accepts bytes and
strings.

Closes issue #3799.

16 years agofix test_gzip
Benjamin Peterson [Fri, 21 Nov 2008 00:11:22 +0000 (00:11 +0000)]
fix test_gzip

16 years ago#4338: Fix the distutils "setup.py upload" command.
Amaury Forgeot d'Arc [Thu, 20 Nov 2008 23:53:46 +0000 (23:53 +0000)]
#4338: Fix the distutils "setup.py upload" command.
The code still mixed bytes and strings.

Reviewed by Martin von Loewis.

16 years agoFollow-up of r67300: correct a failure in socket.makefile().
Amaury Forgeot d'Arc [Thu, 20 Nov 2008 23:15:52 +0000 (23:15 +0000)]
Follow-up of r67300: correct a failure in socket.makefile().
SocketIO objects now always have 'name' and 'mode' attributes.

16 years agoBlocked revisions 67303 via svnmerge
Benjamin Peterson [Thu, 20 Nov 2008 22:42:44 +0000 (22:42 +0000)]
Blocked revisions 67303 via svnmerge

........
  r67303 | benjamin.peterson | 2008-11-20 16:06:22 -0600 (Thu, 20 Nov 2008) | 1 line

  backport r67300
........

16 years agofix Sphinx table warning
Benjamin Peterson [Thu, 20 Nov 2008 22:38:20 +0000 (22:38 +0000)]
fix Sphinx table warning

16 years agoFix for bug 4362 "FileIO object in io module"; Patch by amaury.forgeotdarc.
Barry Warsaw [Thu, 20 Nov 2008 20:14:50 +0000 (20:14 +0000)]
Fix for bug 4362 "FileIO object in io module";  Patch by amaury.forgeotdarc.

16 years agoFix for bug 4360 "SystemError when method has both super() & closure". Patch
Barry Warsaw [Thu, 20 Nov 2008 20:01:57 +0000 (20:01 +0000)]
Fix for bug 4360 "SystemError when method has both super() & closure".  Patch
by amaury.forgeotdarc and reviewed by brett.cannon.

Also add release notes about the known problems with the email package.

16 years agoIssue #4354: Fix distutils register command.
Martin v. Löwis [Thu, 20 Nov 2008 16:21:55 +0000 (16:21 +0000)]
Issue #4354: Fix distutils register command.

16 years agoMerged revisions 67243,67245,67277-67278,67289 via svnmerge from
Benjamin Peterson [Wed, 19 Nov 2008 22:38:29 +0000 (22:38 +0000)]
Merged revisions 67243,67245,67277-67278,67289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67243 | benjamin.peterson | 2008-11-17 15:39:05 -0600 (Mon, 17 Nov 2008) | 1 line

  a few fixes on the download page
........
  r67245 | benjamin.peterson | 2008-11-17 16:05:19 -0600 (Mon, 17 Nov 2008) | 1 line

  improve __hash__ docs
........
  r67277 | skip.montanaro | 2008-11-18 21:35:41 -0600 (Tue, 18 Nov 2008) | 1 line

  patch from issue 1108
........
  r67278 | georg.brandl | 2008-11-19 01:59:09 -0600 (Wed, 19 Nov 2008) | 2 lines

  Try to fix problems with verbatim.
........
  r67289 | brett.cannon | 2008-11-19 14:29:39 -0600 (Wed, 19 Nov 2008) | 2 lines

  Ignore .pyc and .pyo files.
........

16 years agoMerged revisions 67291 via svnmerge from
Benjamin Peterson [Wed, 19 Nov 2008 22:05:52 +0000 (22:05 +0000)]
Merged revisions 67291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67291 | benjamin.peterson | 2008-11-19 15:49:09 -0600 (Wed, 19 Nov 2008) | 5 lines

  make sure that bytearray methods return a new bytearray even if there is no change

  Fixes #4348
  Reviewed by Brett
........

16 years agoBlocked revisions 67287 via svnmerge
Benjamin Peterson [Wed, 19 Nov 2008 21:38:48 +0000 (21:38 +0000)]
Blocked revisions 67287 via svnmerge

........
  r67287 | josiah.carlson | 2008-11-19 12:26:12 -0600 (Wed, 19 Nov 2008) | 2 lines

  Fix for issue 4332 in trunk.
........

16 years agoThis fixes issue 4332 for Py3k.
Josiah Carlson [Wed, 19 Nov 2008 18:22:41 +0000 (18:22 +0000)]
This fixes issue 4332 for Py3k.

16 years agoMerged revisions 67283 via svnmerge from
Martin v. Löwis [Wed, 19 Nov 2008 13:55:07 +0000 (13:55 +0000)]
Merged revisions 67283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67283 | martin.v.loewis | 2008-11-19 14:51:44 +0100 (Mi, 19 Nov 2008) | 1 line

  Issue #4289: Remove Cancel button from AdvancedDlg.
........

16 years agoMerged revisions 67279 via svnmerge from
Martin v. Löwis [Wed, 19 Nov 2008 09:14:30 +0000 (09:14 +0000)]
Merged revisions 67279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67279 | martin.v.loewis | 2008-11-19 10:09:41 +0100 (Mi, 19 Nov 2008) | 2 lines

  Issue #4116: Resolve member name conflict in ScrolledCanvas.__init__
........

16 years agoBlocked revisions 67266 via svnmerge
Amaury Forgeot d'Arc [Tue, 18 Nov 2008 22:56:19 +0000 (22:56 +0000)]
Blocked revisions 67266 via svnmerge

........
  r67266 | amaury.forgeotdarc | 2008-11-18 23:19:37 +0100 (Tue, 18 Nov 2008) | 4 lines

  #4317: Fix an Array Bounds Read in imageop.rgb2rgb8.

  Will backport to 2.4.
........

16 years agofix the Makefile so it doesn't pollute sys.path
Benjamin Peterson [Tue, 18 Nov 2008 22:37:15 +0000 (22:37 +0000)]
fix the Makefile so it doesn't pollute sys.path

#4349 reviewed by Christian

16 years agoIssue #4313: Fixed segfault on IDLE exit. Reverted r57540 and reopened Issue #1028.
Hirokazu Yamamoto [Tue, 18 Nov 2008 04:33:04 +0000 (04:33 +0000)]
Issue #4313: Fixed segfault on IDLE exit. Reverted r57540 and reopened Issue #1028.

16 years agoIssue 2260: Small peephole optimization -- eliminate unnecessary POP_TOP /JUMP_FORWAR...
Raymond Hettinger [Tue, 18 Nov 2008 00:07:10 +0000 (00:07 +0000)]
Issue 2260: Small peephole optimization -- eliminate unnecessary POP_TOP /JUMP_FORWARD 1 pairs.

16 years agoIssue 4090 and 4087: Further documentation of comparisons.
Raymond Hettinger [Mon, 17 Nov 2008 22:55:16 +0000 (22:55 +0000)]
Issue 4090 and 4087: Further documentation of comparisons.

16 years agoMerged revisions 67246 via svnmerge from
Benjamin Peterson [Mon, 17 Nov 2008 22:45:50 +0000 (22:45 +0000)]
Merged revisions 67246 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67246 | benjamin.peterson | 2008-11-17 16:39:09 -0600 (Mon, 17 Nov 2008) | 5 lines

  when __getattr__ is a descriptor, call it correctly; fixes #4230

  patch from Ziga Seilnacht
........

16 years agorephrase dict view docs
Benjamin Peterson [Mon, 17 Nov 2008 21:47:41 +0000 (21:47 +0000)]
rephrase dict view docs

16 years agoIssue #3327: Don't overallocate in the modules_by_index list.
Martin v. Löwis [Mon, 17 Nov 2008 16:22:11 +0000 (16:22 +0000)]
Issue #3327: Don't overallocate in the modules_by_index list.

16 years agoIssue #4312: Remove claim that distutils parameters must not be Unicode. The opposite...
Martin v. Löwis [Mon, 17 Nov 2008 16:04:09 +0000 (16:04 +0000)]
Issue #4312: Remove claim that distutils parameters must not be Unicode. The opposite is true.

16 years agoMerged revisions 67154,67157-67159,67175-67176,67189,67224-67227,67234 via svnmerge...
Benjamin Peterson [Sun, 16 Nov 2008 18:33:53 +0000 (18:33 +0000)]
Merged revisions 67154,67157-67159,67175-67176,67189,67224-67227,67234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67154 | hirokazu.yamamoto | 2008-11-07 21:46:17 -0600 (Fri, 07 Nov 2008) | 1 line

  Issue #4071: ntpath.abspath returned an empty string for long unicode path.
........
  r67157 | georg.brandl | 2008-11-08 05:47:44 -0600 (Sat, 08 Nov 2008) | 2 lines

  Don't use "HOWTO" as the title for all howto .tex files.
........
  r67158 | georg.brandl | 2008-11-08 05:48:20 -0600 (Sat, 08 Nov 2008) | 2 lines

  Update "Documenting" a bit. Concentrate on Python-specifics.
........
  r67159 | georg.brandl | 2008-11-08 06:52:25 -0600 (Sat, 08 Nov 2008) | 2 lines

  Fix warning.
........
  r67175 | benjamin.peterson | 2008-11-08 19:44:32 -0600 (Sat, 08 Nov 2008) | 1 line

  update link
........
  r67176 | benjamin.peterson | 2008-11-08 19:52:32 -0600 (Sat, 08 Nov 2008) | 1 line

  fix comment
........
  r67189 | benjamin.peterson | 2008-11-11 15:56:06 -0600 (Tue, 11 Nov 2008) | 1 line

  use correct name
........
  r67224 | georg.brandl | 2008-11-15 02:10:04 -0600 (Sat, 15 Nov 2008) | 2 lines

  #4324: fix getlocale() argument.
........
  r67225 | brett.cannon | 2008-11-15 16:33:25 -0600 (Sat, 15 Nov 2008) | 1 line

  Clarify the docs for the 'strict' argument to httplib.HTTPConnection.
........
  r67226 | brett.cannon | 2008-11-15 16:40:44 -0600 (Sat, 15 Nov 2008) | 4 lines

  The docs for httplib.HTTPConnection.putheader() have claimed for quite a while
  that their could be an arbitrary number of values passed in. Turns out the code
  did not match that. The code now matches the docs.
........
  r67227 | georg.brandl | 2008-11-16 02:00:17 -0600 (Sun, 16 Nov 2008) | 2 lines

  #4316: fix configure.in markup problem.
........
  r67234 | benjamin.peterson | 2008-11-16 11:54:55 -0600 (Sun, 16 Nov 2008) | 1 line

  run autoconf
........

16 years agoIssue #1721812: Binary operations and copy operations on set/frozenset
Raymond Hettinger [Sun, 16 Nov 2008 11:44:54 +0000 (11:44 +0000)]
Issue #1721812: Binary operations and copy operations on set/frozenset
subclasses need to return the base type, not the subclass itself.

16 years agoIssue #4296: Fix PyObject_RichCompareBool so that "x in [x]" evaluates to
Mark Dickinson [Wed, 12 Nov 2008 23:23:36 +0000 (23:23 +0000)]
Issue #4296: Fix PyObject_RichCompareBool so that "x in [x]" evaluates to
True, even when x doesn't compare equal to itself.  This was a regression
from 2.6.

Reviewed by R. Hettinger and C. Heimes.

16 years agochange the named tuple returned by inspect.getfullargspec to have a 'kwonlydefaults...
Benjamin Peterson [Wed, 12 Nov 2008 21:39:01 +0000 (21:39 +0000)]
change the named tuple returned by inspect.getfullargspec to have a 'kwonlydefaults' (as claimed by the docs) attribute instead of 'kwdefaults'

Fixes #4307
Reviewed by Christian

16 years agogetfullargspec() has other virtues, too
Benjamin Peterson [Wed, 12 Nov 2008 21:26:46 +0000 (21:26 +0000)]
getfullargspec() has other virtues, too

16 years agoStyle fix, use tab instead of space
Christian Heimes [Wed, 12 Nov 2008 09:04:04 +0000 (09:04 +0000)]
Style fix, use tab instead of space

16 years ago#2971: test_zipfile64 fails.
Amaury Forgeot d'Arc [Wed, 12 Nov 2008 01:57:36 +0000 (01:57 +0000)]
#2971: test_zipfile64 fails.
This test is always skipped, but it is not a reason not to adapt it to py3k.

I had to reduce most of the big figures to actually run the test.

16 years agoEnable this test only when subprocess supports non-ascii arguments.
Amaury Forgeot d'Arc [Wed, 12 Nov 2008 00:59:11 +0000 (00:59 +0000)]
Enable this test only when subprocess supports non-ascii arguments.

(it is about parsing the python command line arguments, not about subprocess)

16 years agoTemporarily print some information in test_cmd_line,
Amaury Forgeot d'Arc [Wed, 12 Nov 2008 00:13:45 +0000 (00:13 +0000)]
Temporarily print some information in test_cmd_line,
to understand why the test fails on some platforms.

16 years ago#3705: Command-line arguments were not correctly decoded when the
Amaury Forgeot d'Arc [Tue, 11 Nov 2008 23:04:59 +0000 (23:04 +0000)]
#3705: Command-line arguments were not correctly decoded when the
terminal does not use UTF8.

Now the code propagates the unicode string as far as possible, and avoids
the conversion to char* which implicitely uses utf-8.

Reviewed by Benjamin.

16 years agoexec won't take file objects anymore
Benjamin Peterson [Tue, 11 Nov 2008 21:43:42 +0000 (21:43 +0000)]
exec won't take file objects anymore

16 years ago#4298: pickle.load() can segfault on invalid or truncated input.
Amaury Forgeot d'Arc [Tue, 11 Nov 2008 20:05:06 +0000 (20:05 +0000)]
#4298: pickle.load() can segfault on invalid or truncated input.

Patch and test by Hirokazu Yamamoto.

16 years agoFixed a compiler warning
Christian Heimes [Tue, 11 Nov 2008 12:53:39 +0000 (12:53 +0000)]
Fixed a compiler warning

16 years agoMerged revisions 67180 via svnmerge from
Benjamin Peterson [Mon, 10 Nov 2008 22:21:33 +0000 (22:21 +0000)]
Merged revisions 67180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r67180 | benjamin.peterson | 2008-11-10 16:11:12 -0600 (Mon, 10 Nov 2008) | 29 lines

  Merged revisions 66985,67170,67173,67177-67179 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66985 | benjamin.peterson | 2008-10-20 16:43:46 -0500 (Mon, 20 Oct 2008) | 1 line

    no need to use nested try, except, finally
  ........
    r67170 | benjamin.peterson | 2008-11-08 12:28:31 -0600 (Sat, 08 Nov 2008) | 1 line

    fix #4271: fix_imports didn't recognize imports with parenthesis (ie from x import (a, b))
  ........
    r67173 | benjamin.peterson | 2008-11-08 17:42:08 -0600 (Sat, 08 Nov 2008) | 1 line

    consolidate test
  ........
    r67177 | benjamin.peterson | 2008-11-09 21:52:52 -0600 (Sun, 09 Nov 2008) | 1 line

    let the metclass fixer handle complex assignments in the class body gracefully
  ........
    r67178 | benjamin.peterson | 2008-11-10 15:26:43 -0600 (Mon, 10 Nov 2008) | 1 line

    the metaclass fixers shouldn't die when bases are not a simple name
  ........
    r67179 | benjamin.peterson | 2008-11-10 15:29:58 -0600 (Mon, 10 Nov 2008) | 1 line

    allow the fix_import pattern to catch from imports with parenthesis
  ........
................

16 years agoupdate string formatting grammar
Benjamin Peterson [Sun, 9 Nov 2008 01:43:02 +0000 (01:43 +0000)]
update string formatting grammar

16 years agoMerged revisions 67171 via svnmerge from
Benjamin Peterson [Sat, 8 Nov 2008 19:56:21 +0000 (19:56 +0000)]
Merged revisions 67171 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67171 | benjamin.peterson | 2008-11-08 12:38:54 -0600 (Sat, 08 Nov 2008) | 4 lines

  check for assignment to __debug__ during AST generation

  Also, give assignment to None a better error message
........

16 years agofix the socketserver demo code for py3k
Benjamin Peterson [Sat, 8 Nov 2008 17:24:34 +0000 (17:24 +0000)]
fix the socketserver demo code for py3k

#4275 Thanks to Don MacMillen

16 years agoBlocked revisions 67166 via svnmerge
Benjamin Peterson [Sat, 8 Nov 2008 17:08:32 +0000 (17:08 +0000)]
Blocked revisions 67166 via svnmerge

........
  r67166 | benjamin.peterson | 2008-11-08 11:07:06 -0600 (Sat, 08 Nov 2008) | 1 line

  clarify what was added
........

16 years agoBlocked revisions 67163 via svnmerge
Benjamin Peterson [Sat, 8 Nov 2008 17:06:18 +0000 (17:06 +0000)]
Blocked revisions 67163 via svnmerge

........
  r67163 | benjamin.peterson | 2008-11-08 11:04:18 -0600 (Sat, 08 Nov 2008) | 1 line

  move context clue to versionchanged tag
........

16 years agoMerged revisions 67162 via svnmerge from
Benjamin Peterson [Sat, 8 Nov 2008 17:05:00 +0000 (17:05 +0000)]
Merged revisions 67162 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67162 | benjamin.peterson | 2008-11-08 10:55:33 -0600 (Sat, 08 Nov 2008) | 1 line

  a few compile() and ast doc improvements
........

16 years agocompile can also produce AST
Benjamin Peterson [Sat, 8 Nov 2008 16:54:05 +0000 (16:54 +0000)]
compile can also produce AST

16 years ago#4283: fix left-over iteritems() in distutils.
Georg Brandl [Sat, 8 Nov 2008 15:15:57 +0000 (15:15 +0000)]
#4283: fix left-over iteritems() in distutils.

16 years agoMerged revisions 67149 via svnmerge from
Martin v. Löwis [Fri, 7 Nov 2008 18:54:51 +0000 (18:54 +0000)]
Merged revisions 67149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67149 | martin.v.loewis | 2008-11-07 19:51:50 +0100 (Fr, 07 Nov 2008) | 1 line

  Issue #1656675: Register a drop handler for .py* files on Windows.
........

16 years agoMerged revisions 67117-67119,67123-67124,67143 via svnmerge from
Georg Brandl [Fri, 7 Nov 2008 09:39:56 +0000 (09:39 +0000)]
Merged revisions 67117-67119,67123-67124,67143 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67117 | georg.brandl | 2008-11-06 11:17:58 +0100 (Thu, 06 Nov 2008) | 2 lines

  #4268: Use correct module for two toplevel functions.
........
  r67118 | georg.brandl | 2008-11-06 11:19:11 +0100 (Thu, 06 Nov 2008) | 2 lines

  #4267: small fixes in sqlite3 docs.
........
  r67119 | georg.brandl | 2008-11-06 11:20:49 +0100 (Thu, 06 Nov 2008) | 2 lines

  #4245: move Thread section to the top.
........
  r67123 | georg.brandl | 2008-11-06 19:49:15 +0100 (Thu, 06 Nov 2008) | 2 lines

  #4247: add "pass" examples to tutorial.
........
  r67124 | andrew.kuchling | 2008-11-06 20:23:02 +0100 (Thu, 06 Nov 2008) | 1 line

  Fix grammar error; reword two paragraphs
........
  r67143 | georg.brandl | 2008-11-07 09:27:39 +0100 (Fri, 07 Nov 2008) | 2 lines

  Fix syntax.
........

16 years agoname the release
Benjamin Peterson [Fri, 7 Nov 2008 03:51:42 +0000 (03:51 +0000)]
name the release

16 years agopost release cleanup
Barry Warsaw [Fri, 7 Nov 2008 03:46:33 +0000 (03:46 +0000)]
post release cleanup

16 years agoRetagging.
Barry Warsaw [Fri, 7 Nov 2008 03:09:16 +0000 (03:09 +0000)]
Retagging.

16 years agoDe-tagging v3.0rc2
Barry Warsaw [Fri, 7 Nov 2008 03:08:42 +0000 (03:08 +0000)]
De-tagging

16 years agoA totally crappy workaround for issue 4266, but this allows me to build the
Barry Warsaw [Fri, 7 Nov 2008 03:06:24 +0000 (03:06 +0000)]
A totally crappy workaround for issue 4266, but this allows me to build the
release.

16 years agoTagging
Barry Warsaw [Fri, 7 Nov 2008 01:40:25 +0000 (01:40 +0000)]
Tagging

16 years agoRemoving old tag.
Barry Warsaw [Fri, 7 Nov 2008 01:39:27 +0000 (01:39 +0000)]
Removing old tag.

16 years agoupdate
Barry Warsaw [Fri, 7 Nov 2008 01:38:26 +0000 (01:38 +0000)]
update

16 years agoMerged revisions 67125 via svnmerge from
Martin v. Löwis [Thu, 6 Nov 2008 19:46:56 +0000 (19:46 +0000)]
Merged revisions 67125 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67125 | martin.v.loewis | 2008-11-06 20:46:03 +0100 (Do, 06 Nov 2008) | 2 lines

  Stop including fake manifest file in DLLs directory.
........

16 years agoMerged revisions 67120 via svnmerge from
Martin v. Löwis [Thu, 6 Nov 2008 17:30:03 +0000 (17:30 +0000)]
Merged revisions 67120 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67120 | martin.v.loewis | 2008-11-06 17:43:00 +0100 (Do, 06 Nov 2008) | 2 lines

  Issue #4120: Exclude manifest from extension modules in VS2008.
........

16 years agoTagging release.
Barry Warsaw [Thu, 6 Nov 2008 03:38:33 +0000 (03:38 +0000)]
Tagging release.

16 years agoBumping to 3.0rc2.
Barry Warsaw [Thu, 6 Nov 2008 03:29:32 +0000 (03:29 +0000)]
Bumping to 3.0rc2.

16 years agoperiod
Benjamin Peterson [Wed, 5 Nov 2008 22:49:09 +0000 (22:49 +0000)]
period

16 years agofix #4211: the __path__ of a frozen package should be a list.
Benjamin Peterson [Wed, 5 Nov 2008 22:48:33 +0000 (22:48 +0000)]
fix #4211: the __path__ of a frozen package should be a list.

Patch by Brett Cannon, review by Christian Heimes.

16 years agoMerged revisions 67089,67091,67101 via svnmerge from
Benjamin Peterson [Wed, 5 Nov 2008 21:42:45 +0000 (21:42 +0000)]
Merged revisions 67089,67091,67101 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67089 | benjamin.peterson | 2008-11-03 14:43:20 -0600 (Mon, 03 Nov 2008) | 1 line

  clarify by splitting into multiple paragraphs
........
  r67091 | benjamin.peterson | 2008-11-03 16:34:57 -0600 (Mon, 03 Nov 2008) | 1 line

  move a FileIO test to test_fileio
........
  r67101 | georg.brandl | 2008-11-04 14:49:35 -0600 (Tue, 04 Nov 2008) | 2 lines

  #4167: fix markup glitches.
........

16 years agoBlocked revisions 66878 via svnmerge
Benjamin Peterson [Wed, 5 Nov 2008 21:34:59 +0000 (21:34 +0000)]
Blocked revisions 66878 via svnmerge

........
  r66878 | benjamin.peterson | 2008-10-11 12:25:36 -0500 (Sat, 11 Oct 2008) | 4 lines

  give poplib a real test suite

  #4088 from Giampaolo Rodola'x
........

16 years agoFixed issue #3727: poplib module broken by str to unicode conversion
Christian Heimes [Wed, 5 Nov 2008 19:48:27 +0000 (19:48 +0000)]
Fixed issue #3727: poplib module broken by str to unicode conversion
Victor strikes again! Assisted by Barry

16 years agoIssue #3714: nntplib module broken by str to unicode conversion
Christian Heimes [Wed, 5 Nov 2008 19:44:21 +0000 (19:44 +0000)]
Issue #3714: nntplib module broken by str to unicode conversion
Patch by Victor, Reviewed by Barry

16 years agoIssue #1210: Fixed imaplib
Christian Heimes [Wed, 5 Nov 2008 19:39:50 +0000 (19:39 +0000)]
Issue #1210: Fixed imaplib
Patch by Victor Stinner, reviewed by Barry Warsaw.

16 years agoFixed issue #4233.
Christian Heimes [Wed, 5 Nov 2008 19:30:32 +0000 (19:30 +0000)]
Fixed issue #4233.
Changed semantic of _fileio.FileIO's close()  method on file objects with closefd=False. The file descriptor is still kept open but the file object behaves like a closed file. The FileIO  object also got a new readonly attribute closefd.
Approved by Barry

16 years agoMerged revisions 67098 via svnmerge from
Martin v. Löwis [Tue, 4 Nov 2008 20:45:29 +0000 (20:45 +0000)]
Merged revisions 67098 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67098 | martin.v.loewis | 2008-11-04 21:40:09 +0100 (Di, 04 Nov 2008) | 2 lines

  Issue #4204: Fixed module build errors on FreeBSD 4.
........

16 years agoIssue #3774: Fixed an error when create a Tkinter menu item without command
Hirokazu Yamamoto [Tue, 4 Nov 2008 06:26:27 +0000 (06:26 +0000)]
Issue #3774: Fixed an error when create a Tkinter menu item without command
and then remove it. Written by Guilherme Polo (gpolo). Ported r67082.

16 years agoSorry, r67092 is commit miss....
Hirokazu Yamamoto [Tue, 4 Nov 2008 00:35:10 +0000 (00:35 +0000)]
Sorry, r67092 is commit miss....

16 years agoBlocked revisions 67002 via svnmerge
Hirokazu Yamamoto [Tue, 4 Nov 2008 00:31:31 +0000 (00:31 +0000)]
Blocked revisions 67002 via svnmerge

........
  r67002 | hirokazu.yamamoto | 2008-10-23 09:37:33 +0900 | 1 line

  Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL.
........

16 years agofix test_descr
Benjamin Peterson [Mon, 3 Nov 2008 21:29:09 +0000 (21:29 +0000)]
fix test_descr

16 years agoMerged revisions 67028,67040,67044,67046,67052,67065,67070,67077,67082 via svnmerge...
Benjamin Peterson [Mon, 3 Nov 2008 20:31:38 +0000 (20:31 +0000)]
Merged revisions 67028,67040,67044,67046,67052,67065,67070,67077,67082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67028 | benjamin.peterson | 2008-10-25 18:27:07 -0500 (Sat, 25 Oct 2008) | 1 line

  don't use a catch-all
........
  r67040 | armin.rigo | 2008-10-28 12:01:21 -0500 (Tue, 28 Oct 2008) | 5 lines

  Fix one of the tests: it relied on being present in an "output test" in
  order to actually test what it was supposed to test, i.e. that the code
  in the __del__ method did not crash.  Use instead the new helper
  test_support.captured_output().
........
  r67044 | amaury.forgeotdarc | 2008-10-29 18:15:57 -0500 (Wed, 29 Oct 2008) | 3 lines

  Correct error message in io.open():
  closefd=True is the only accepted value with a file name.
........
  r67046 | thomas.heller | 2008-10-30 15:18:13 -0500 (Thu, 30 Oct 2008) | 2 lines

  Fixed a modulefinder crash on certain relative imports.
........
  r67052 | christian.heimes | 2008-10-30 16:26:15 -0500 (Thu, 30 Oct 2008) | 1 line

  Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient initialization of PyFileIOObject struct members.
........
  r67065 | benjamin.peterson | 2008-10-30 18:59:18 -0500 (Thu, 30 Oct 2008) | 1 line

  move unprefixed error into .c file
........
  r67070 | benjamin.peterson | 2008-10-31 15:41:44 -0500 (Fri, 31 Oct 2008) | 1 line

  rephrase has_key doc
........
  r67077 | benjamin.peterson | 2008-11-03 09:14:51 -0600 (Mon, 03 Nov 2008) | 1 line

  #4048 make the parser module accept relative imports as valid
........
  r67082 | hirokazu.yamamoto | 2008-11-03 12:03:06 -0600 (Mon, 03 Nov 2008) | 2 lines

  Issue #3774: Fixed an error when create a Tkinter menu item without command
  and then remove it. Written by Guilherme Polo (gpolo).
........

16 years agoCorrect the pickle test, broken since r67059:
Amaury Forgeot d'Arc [Fri, 31 Oct 2008 17:52:47 +0000 (17:52 +0000)]
Correct the pickle test, broken since r67059:
the python version of pickle is still more tolerant than the C one.

16 years agoMerged revisions 67066 via svnmerge from
Benjamin Peterson [Fri, 31 Oct 2008 02:28:05 +0000 (02:28 +0000)]
Merged revisions 67066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67066 | benjamin.peterson | 2008-10-30 21:16:05 -0500 (Thu, 30 Oct 2008) | 5 lines

  make sure the parser flags and passed onto the compiler

  This fixes "from __future__ import unicode_literals" in an exec statment
  See #4225
........

16 years ago#3626: On cygwin, starting "python z" would not display any error message:
Amaury Forgeot d'Arc [Thu, 30 Oct 2008 23:03:32 +0000 (23:03 +0000)]
#3626: On cygwin, starting "python z" would not display any error message:

printf("%ls") fails if the wide string is 1 char long :-(

16 years agoBlocked revisions 67060-67061 via svnmerge
Benjamin Peterson [Thu, 30 Oct 2008 22:48:10 +0000 (22:48 +0000)]
Blocked revisions 67060-67061 via svnmerge

........
  r67060 | benjamin.peterson | 2008-10-30 17:39:25 -0500 (Thu, 30 Oct 2008) | 1 line

  backport bin() documentation
........
  r67061 | benjamin.peterson | 2008-10-30 17:44:18 -0500 (Thu, 30 Oct 2008) | 1 line

  finish backporting binary literals and new octal literals docs
........

16 years agoMerged revisions 67049 via svnmerge from
Amaury Forgeot d'Arc [Thu, 30 Oct 2008 22:25:31 +0000 (22:25 +0000)]
Merged revisions 67049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67049 | amaury.forgeotdarc | 2008-10-30 22:18:34 +0100 (jeu., 30 oct. 2008) | 8 lines

  Issue #4176: Pickle would crash the interpreter when a __reduce__ function
  does not return an iterator for the 4th and 5th items.
  (sequence-like and mapping-like state)

  A list is not an iterator...

  Will backport to 2.6 and 2.5.
........