]> granicus.if.org Git - python/log
python
16 years ago- Fix build failure of _cursesmodule.c building with -D_FORTIFY_SOURCE=2.
Matthias Klose [Wed, 26 Nov 2008 17:22:04 +0000 (17:22 +0000)]
- Fix build failure of _cursesmodule.c building with -D_FORTIFY_SOURCE=2.

16 years ago- fix build failure in Modules/fpectlmodule.c (not built by default)
Matthias Klose [Wed, 26 Nov 2008 17:18:22 +0000 (17:18 +0000)]
- fix build failure in Modules/fpectlmodule.c (not built by default)

16 years agoPrevent UnicodeDecodeErrors in ctypes with non-ascii error messages.
Thomas Heller [Wed, 26 Nov 2008 08:45:36 +0000 (08:45 +0000)]
Prevent UnicodeDecodeErrors in ctypes with non-ascii error messages.
Fixes issue #4429.

Reviewed by Amaury Forgeot d'Arc.

16 years agocheck the return value of NEW_IDENTIFIER in some more places
Benjamin Peterson [Tue, 25 Nov 2008 22:19:53 +0000 (22:19 +0000)]
check the return value of NEW_IDENTIFIER in some more places

16 years agoFix a broken test_dbm_gnu as introducted by r67380.
Brett Cannon [Tue, 25 Nov 2008 21:27:00 +0000 (21:27 +0000)]
Fix a broken test_dbm_gnu as introducted by r67380.

16 years agoSecond fix for issue #4373
Christian Heimes [Tue, 25 Nov 2008 21:21:32 +0000 (21:21 +0000)]
Second fix for issue #4373

16 years ago#4373: Reference leak in the pickle module.
Amaury Forgeot d'Arc [Tue, 25 Nov 2008 21:11:54 +0000 (21:11 +0000)]
#4373: Reference leak in the pickle module.

Reviewed by Brett Cannon.

16 years agodbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the
Brett Cannon [Tue, 25 Nov 2008 19:19:17 +0000 (19:19 +0000)]
dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the
former they are converted to bytes before being written to the DB.

Closes issue 3799. Reviewed by Skip Montanaro.

16 years agoMake ast.c compile on Windows again.
Thomas Heller [Tue, 25 Nov 2008 12:35:58 +0000 (12:35 +0000)]
Make ast.c compile on Windows again.

16 years agoBlocked revisions 67376 via svnmerge
Benjamin Peterson [Tue, 25 Nov 2008 04:09:48 +0000 (04:09 +0000)]
Blocked revisions 67376 via svnmerge

................
  r67376 | benjamin.peterson | 2008-11-24 22:07:45 -0600 (Mon, 24 Nov 2008) | 17 lines

  Merged revisions 67183,67191,67371 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r67183 | benjamin.peterson | 2008-11-10 21:51:33 -0600 (Mon, 10 Nov 2008) | 1 line

    handle 'import x as y' in fix_imports; this still needs more work...
  ........
    r67191 | benjamin.peterson | 2008-11-11 17:24:51 -0600 (Tue, 11 Nov 2008) | 1 line

    super() is good
  ........
    r67371 | benjamin.peterson | 2008-11-24 16:02:00 -0600 (Mon, 24 Nov 2008) | 1 line

    don't blow up in the metaclass fixer when assignments in the class statement aren't simple
  ........
................

16 years agoMerged revisions 67373 via svnmerge from
Benjamin Peterson [Tue, 25 Nov 2008 04:02:28 +0000 (04:02 +0000)]
Merged revisions 67373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67373 | benjamin.peterson | 2008-11-24 21:43:14 -0600 (Mon, 24 Nov 2008) | 2 lines

  always check the return value of NEW_IDENTIFIER
........

16 years agoMerged revisions 67183,67191,67371 via svnmerge from
Martin v. Löwis [Tue, 25 Nov 2008 03:08:21 +0000 (03:08 +0000)]
Merged revisions 67183,67191,67371 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r67183 | benjamin.peterson | 2008-11-11 04:51:33 +0100 (Di, 11 Nov 2008) | 1 line

  handle 'import x as y' in fix_imports; this still needs more work...
........
  r67191 | benjamin.peterson | 2008-11-12 00:24:51 +0100 (Mi, 12 Nov 2008) | 1 line

  super() is good
........
  r67371 | benjamin.peterson | 2008-11-24 23:02:00 +0100 (Mo, 24 Nov 2008) | 1 line

  don't blow up in the metaclass fixer when assignments in the class statement aren't simple
........

16 years agodbm.dumb was opening files without specifying the encoding. Caused problem on
Brett Cannon [Mon, 24 Nov 2008 21:09:58 +0000 (21:09 +0000)]
dbm.dumb was opening files without specifying the encoding. Caused problem on
at least OS X where the default is macroman.

Closes issue #4382.

16 years agoDocument PY_SSIZE_T_CLEAN use and behavior for PyArg_ParseTuple and
Gregory P. Smith [Sun, 23 Nov 2008 23:49:16 +0000 (23:49 +0000)]
Document PY_SSIZE_T_CLEAN use and behavior for PyArg_ParseTuple and
mention that it will become the default in a future python version.

16 years ago- Fix typo in last checkin
Matthias Klose [Sun, 23 Nov 2008 13:55:26 +0000 (13:55 +0000)]
- Fix typo in last checkin

16 years agoMerge 67349 from the trunk:
Matthias Klose [Sun, 23 Nov 2008 13:40:48 +0000 (13:40 +0000)]
Merge 67349 from the trunk:
- Modules/Setup.dist: Mention _functools in section "Modules that should
  always be present (non UNIX dependent)"

16 years agoremove warning about not accepting unicode
Benjamin Peterson [Sun, 23 Nov 2008 01:55:23 +0000 (01:55 +0000)]
remove warning about not accepting unicode

I don't know if it actually works with unicode, though...

16 years agoThese files used to belong to the "sv" module, which was deleted.
Amaury Forgeot d'Arc [Sat, 22 Nov 2008 22:59:15 +0000 (22:59 +0000)]
These files used to belong to the "sv" module, which was deleted.

16 years agoMerged revisions 67295,67301-67302,67318,67330,67342-67343 via svnmerge from
Amaury Forgeot d'Arc [Sat, 22 Nov 2008 22:18:04 +0000 (22:18 +0000)]
Merged revisions 67295,67301-67302,67318,67330,67342-67343 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67295 | benjamin.peterson | 2008-11-20 05:05:12 +0100 (jeu., 20 nov. 2008) | 1 line

  move useful sys.settrace information to the function's documentation from the debugger
........
  r67301 | benjamin.peterson | 2008-11-20 22:25:31 +0100 (jeu., 20 nov. 2008) | 1 line

  fix indentation and a sphinx warning
........
  r67302 | benjamin.peterson | 2008-11-20 22:44:23 +0100 (jeu., 20 nov. 2008) | 1 line

  oops! didn't mean to disable that test
........
  r67318 | amaury.forgeotdarc | 2008-11-21 23:05:48 +0100 (ven., 21 nov. 2008) | 4 lines

  #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is not present.

  Will backport to 2.6
........
  r67330 | georg.brandl | 2008-11-22 09:34:14 +0100 (sam., 22 nov. 2008) | 2 lines

  #4364: fix attribute name on ctypes object.
........
  r67342 | amaury.forgeotdarc | 2008-11-22 20:39:38 +0100 (sam., 22 nov. 2008) | 3 lines

  yuvconvert.c is a part of the "sv" module, an old IRIX thing
  and certainly not useful for any Windows build.
........
  r67343 | amaury.forgeotdarc | 2008-11-22 21:01:18 +0100 (sam., 22 nov. 2008) | 5 lines

  #3996: On Windows, PyOS_CheckStack is supposed to protect the interpreter from
  stack overflow. But doing this, it always crashes when the stack is nearly full.

  Reviewed by Martin von Loewis. Will backport to 2.6.
........

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.