]> granicus.if.org Git - python/log
python
16 years ago#4550: fix 2.x syntax in webservers howto.
Georg Brandl [Fri, 5 Dec 2008 18:04:41 +0000 (18:04 +0000)]
#4550: fix 2.x syntax in webservers howto.

16 years agoIssue 4497: silence compiler warnings on Windows.
Mark Dickinson [Fri, 5 Dec 2008 17:14:29 +0000 (17:14 +0000)]
Issue 4497: silence compiler warnings on Windows.

16 years agoManually merged r67583: move __import__ doc to the bottom.
Georg Brandl [Fri, 5 Dec 2008 15:55:41 +0000 (15:55 +0000)]
Manually merged r67583: move __import__ doc to the bottom.

16 years agoBlocked revisions 67583 via svnmerge
Georg Brandl [Fri, 5 Dec 2008 15:54:46 +0000 (15:54 +0000)]
Blocked revisions 67583 via svnmerge

........
  r67583 | georg.brandl | 2008-12-05 16:52:20 +0100 (Fri, 05 Dec 2008) | 4 lines

  Move __import__ to the bottom of the functions list.
  It doesn't make sense for such a fundamental document to have
  the most obscure function listed at the top.
........

16 years ago#4504, #4505: Update noddy examples in "Extending & Embedding".
Georg Brandl [Fri, 5 Dec 2008 15:12:15 +0000 (15:12 +0000)]
#4504, #4505: Update noddy examples in "Extending & Embedding".

16 years agoFixed issue #4533: File read operation was dreadfully slow
Christian Heimes [Fri, 5 Dec 2008 08:26:55 +0000 (08:26 +0000)]
Fixed issue #4533: File read operation was dreadfully slow

16 years ago#4427: fix arguments for "y" BuildValue type.
Georg Brandl [Fri, 5 Dec 2008 07:57:51 +0000 (07:57 +0000)]
#4427: fix arguments for "y" BuildValue type.

16 years ago#4401: Re-add os.extsep.
Georg Brandl [Fri, 5 Dec 2008 07:45:54 +0000 (07:45 +0000)]
#4401: Re-add os.extsep.

16 years ago#4355: refer to urlencode in the correct module.
Georg Brandl [Fri, 5 Dec 2008 07:32:56 +0000 (07:32 +0000)]
#4355: refer to urlencode in the correct module.

16 years agoUpdate build URL.
Georg Brandl [Fri, 5 Dec 2008 07:32:39 +0000 (07:32 +0000)]
Update build URL.

16 years agoSend mails to python-checkins now.
Martin v. Löwis [Fri, 5 Dec 2008 07:20:46 +0000 (07:20 +0000)]
Send mails to python-checkins now.

16 years agoTweak verbiage and markup for relative/absolute import. Backport candidate.
Guido van Rossum [Fri, 5 Dec 2008 05:49:12 +0000 (05:49 +0000)]
Tweak verbiage and markup for relative/absolute import.  Backport candidate.
(I guess *all* changes to this file should be backported to the 3.0 branch.)

16 years agofix Sphinx warnings
Benjamin Peterson [Fri, 5 Dec 2008 03:05:29 +0000 (03:05 +0000)]
fix Sphinx warnings

16 years agoadd missing import
Fred Drake [Fri, 5 Dec 2008 02:47:42 +0000 (02:47 +0000)]
add missing import

16 years ago#4542: On Windows, binascii.crc32 still accepted str as binary input.
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 01:40:43 +0000 (01:40 +0000)]
#4542: On Windows, binascii.crc32 still accepted str as binary input.
This fixes test_binascii.

Will backport to 3.0

16 years agoIssue #4537: webbrowser.UnixBrowser failed because this module defines an open()
Amaury Forgeot d'Arc [Fri, 5 Dec 2008 01:02:21 +0000 (01:02 +0000)]
Issue #4537: webbrowser.UnixBrowser failed because this module defines an open()
function which shadows the builtin.

Will backport to 3.0

16 years agoMerged revisions 67528 via svnmerge from
Fred Drake [Thu, 4 Dec 2008 19:24:50 +0000 (19:24 +0000)]
Merged revisions 67528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67528 | fred.drake | 2008-12-04 13:25:17 -0500 (Thu, 04 Dec 2008) | 4 lines

  Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to
  support unusual filenames (such as those containing semi-colons) in
  Content-Disposition headers.
........

16 years agoAdd a skeleton 3.1 whatsnew document.
Georg Brandl [Thu, 4 Dec 2008 18:44:53 +0000 (18:44 +0000)]
Add a skeleton 3.1 whatsnew document.

16 years ago#4513: remove traces of zip() docstring from when it was izip().
Georg Brandl [Thu, 4 Dec 2008 18:28:38 +0000 (18:28 +0000)]
#4513: remove traces of zip() docstring from when it was izip().

16 years ago#4521: fix getcwdu() vs getcwdb().
Georg Brandl [Thu, 4 Dec 2008 18:21:46 +0000 (18:21 +0000)]
#4521: fix getcwdu() vs getcwdb().

16 years ago#4526: fix typo.
Georg Brandl [Thu, 4 Dec 2008 18:19:41 +0000 (18:19 +0000)]
#4526: fix typo.

16 years ago#4527: fix "unicode or string".
Georg Brandl [Thu, 4 Dec 2008 18:18:16 +0000 (18:18 +0000)]
#4527: fix "unicode or string".

16 years ago- fix markup error
Fred Drake [Thu, 4 Dec 2008 15:28:51 +0000 (15:28 +0000)]
- fix markup error
- remove silly emoticon

16 years agoWording change (flaunt -> disobey); markup fixes. The largest edit is to the paragra...
Andrew M. Kuchling [Thu, 4 Dec 2008 15:07:14 +0000 (15:07 +0000)]
Wording change (flaunt -> disobey); markup fixes.  The largest edit is to the paragraph on relative imports; please review.  (Backport candidate)

16 years agoMore 3.0 -> 3.1 transistion in the Windows and OS/2 build files
Christian Heimes [Thu, 4 Dec 2008 14:27:25 +0000 (14:27 +0000)]
More 3.0 -> 3.1 transistion in the Windows and OS/2 build files

16 years agoBumped up version number in PC/pyconfig.h.
Hirokazu Yamamoto [Thu, 4 Dec 2008 08:53:27 +0000 (08:53 +0000)]
Bumped up version number in PC/pyconfig.h.

16 years agoMore 3.0 -> 3.1 transistions
Christian Heimes [Wed, 3 Dec 2008 18:35:13 +0000 (18:35 +0000)]
More 3.0 -> 3.1 transistions

16 years agoBumped up version numbers of configure/autoconf scripts
Christian Heimes [Wed, 3 Dec 2008 18:18:23 +0000 (18:18 +0000)]
Bumped up version numbers of configure/autoconf scripts

16 years agoPrep for Python 3.1!
Barry Warsaw [Wed, 3 Dec 2008 16:46:14 +0000 (16:46 +0000)]
Prep for Python 3.1!

16 years agoRemove remark about NaN==NaN, I misunderstood that issue.
Guido van Rossum [Wed, 3 Dec 2008 15:24:50 +0000 (15:24 +0000)]
Remove remark about NaN==NaN, I misunderstood that issue.

16 years agoMinor edits.
Raymond Hettinger [Wed, 3 Dec 2008 15:04:01 +0000 (15:04 +0000)]
Minor edits.

16 years agoFixed a warning on whatsnew/3.0.rst
Christian Heimes [Wed, 3 Dec 2008 13:39:03 +0000 (13:39 +0000)]
Fixed a warning on whatsnew/3.0.rst

16 years agoUse the :mod: role.
Georg Brandl [Wed, 3 Dec 2008 06:44:59 +0000 (06:44 +0000)]
Use the :mod: role.

16 years agoSome textual tweaks, and fixed a few typos found by a spell checker.
Guido van Rossum [Wed, 3 Dec 2008 05:39:28 +0000 (05:39 +0000)]
Some textual tweaks, and fixed a few typos found by a spell checker.

16 years agoFix bad markup.
Guido van Rossum [Wed, 3 Dec 2008 04:18:17 +0000 (04:18 +0000)]
Fix bad markup.

16 years agoMore cleanup. Moved all Unicode and str/bytes info to the text/data
Guido van Rossum [Wed, 3 Dec 2008 04:15:35 +0000 (04:15 +0000)]
More cleanup.  Moved all Unicode and str/bytes info to the text/data
subsection in common pitfalls, rather than spreading it out.  Made
this the last subsection of common pitfalls.  All XXX comments are now
gone.  I'm sure much is still missing, we'll have to clean that up
post 3.0.  At least all PEPs and all implemented items in PEP 3100
have at least one mention.

16 years agoAnother checkpoint.
Guido van Rossum [Wed, 3 Dec 2008 02:31:31 +0000 (02:31 +0000)]
Another checkpoint.
(A bit of a mess, a previous submit apparently didn't go through.)

16 years agoAnother checkpoint -- some stuff I managed to do on the train.
Guido van Rossum [Wed, 3 Dec 2008 02:03:19 +0000 (02:03 +0000)]
Another checkpoint -- some stuff I managed to do on the train.

16 years agoMerged revisions 67484 via svnmerge from
Christian Heimes [Wed, 3 Dec 2008 00:55:34 +0000 (00:55 +0000)]
Merged revisions 67484 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67484 | christian.heimes | 2008-12-03 01:53:18 +0100 (Wed, 03 Dec 2008) | 2 lines

  Issue #4025 again
  Converted a C99 style comment to a C89 style comment (found by MAL).
........

16 years agoAnother checkpoint.
Guido van Rossum [Wed, 3 Dec 2008 00:54:52 +0000 (00:54 +0000)]
Another checkpoint.

16 years agointerators -> iterators (thanks Taggnostr)
Gregory P. Smith [Tue, 2 Dec 2008 23:52:53 +0000 (23:52 +0000)]
interators -> iterators (thanks Taggnostr)

16 years agoFinished what I'm going to write about the standard library.
Guido van Rossum [Tue, 2 Dec 2008 23:46:46 +0000 (23:46 +0000)]
Finished what I'm going to write about the standard library.

16 years agoFinished the "porting to 3.0" section. Had to add a label to
Guido van Rossum [Tue, 2 Dec 2008 22:58:36 +0000 (22:58 +0000)]
Finished the "porting to 3.0" section.  Had to add a label to
howto/cporting.rst.

16 years agoAnother checkpoint. More XXXes added...
Guido van Rossum [Tue, 2 Dec 2008 22:34:15 +0000 (22:34 +0000)]
Another checkpoint.  More XXXes added...

Also add some labels to 2.6.rst and howto/unicode.rst so I can refer
to them.  (Somehow a label named 'module-contextlib' couldn't be
referenced -- why???)

16 years agoIssue 3689: list_reverseiterator should support __length_hint__ instead of __len__.
Raymond Hettinger [Tue, 2 Dec 2008 21:33:45 +0000 (21:33 +0000)]
Issue 3689:  list_reverseiterator should support __length_hint__ instead of __len__.

16 years agoBug #4495: Fix signed/unsigned warning (both namelen and tailen should be signed...
Raymond Hettinger [Tue, 2 Dec 2008 20:59:48 +0000 (20:59 +0000)]
Bug #4495:  Fix signed/unsigned warning (both namelen and tailen should be signed, not just namelen).

16 years agoAnother checkpoint to switch machines.
Guido van Rossum [Tue, 2 Dec 2008 17:31:14 +0000 (17:31 +0000)]
Another checkpoint to switch machines.

16 years agoAdd missing bracket.
Walter Dörwald [Tue, 2 Dec 2008 11:58:09 +0000 (11:58 +0000)]
Add missing bracket.

16 years agoFix typo.
Walter Dörwald [Tue, 2 Dec 2008 11:55:30 +0000 (11:55 +0000)]
Fix typo.

16 years agoIssue #4387: binascii now refuses to accept str as binary input.
Martin v. Löwis [Tue, 2 Dec 2008 06:00:15 +0000 (06:00 +0000)]
Issue #4387: binascii now refuses to accept str as binary input.

16 years agoFix docutils parsing errors in Misc/NEWS.
Alexandre Vassalotti [Tue, 2 Dec 2008 03:34:24 +0000 (03:34 +0000)]
Fix docutils parsing errors in Misc/NEWS.

16 years agofix markup
Benjamin Peterson [Tue, 2 Dec 2008 01:12:04 +0000 (01:12 +0000)]
fix markup

16 years agoCheckpoint. Added some stuff. Mostly XXX notes for myself. :-)
Guido van Rossum [Tue, 2 Dec 2008 00:56:25 +0000 (00:56 +0000)]
Checkpoint.  Added some stuff.  Mostly XXX notes for myself. :-)

16 years agoMerged revisions 67467 via svnmerge from
Georg Brandl [Mon, 1 Dec 2008 23:02:51 +0000 (23:02 +0000)]
Merged revisions 67467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67467 | benjamin.peterson | 2008-12-01 13:52:51 +0100 (Mon, 01 Dec 2008) | 1 line

  let people using SVN Sphinx still build the docs
........

16 years agoAdd script forgotten in r67464.
Martin v. Löwis [Mon, 1 Dec 2008 04:44:45 +0000 (04:44 +0000)]
Add script forgotten in r67464.

16 years agoIssue #4073: Add 2to3 support to build_scripts, refactor that support
Martin v. Löwis [Mon, 1 Dec 2008 04:38:52 +0000 (04:38 +0000)]
Issue #4073: Add 2to3 support to build_scripts, refactor that support
in build_py.

16 years agoUpdate copyright for recent changes.
Raymond Hettinger [Sun, 30 Nov 2008 23:43:36 +0000 (23:43 +0000)]
Update copyright for recent changes.

16 years agoMerged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424...
Benjamin Peterson [Sun, 30 Nov 2008 22:46:23 +0000 (22:46 +0000)]
Merged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424,67432,67440-67441,67444-67445,67454-67455,67457-67458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67348 | benjamin.peterson | 2008-11-22 20:09:41 -0600 (Sat, 22 Nov 2008) | 1 line

  raise a better error
........
  r67355 | georg.brandl | 2008-11-23 13:17:25 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4392: fix parameter name.
........
  r67359 | georg.brandl | 2008-11-23 15:57:30 -0600 (Sun, 23 Nov 2008) | 2 lines

  #4399: fix typo.
........
  r67362 | gregory.p.smith | 2008-11-23 18:41:43 -0600 (Sun, 23 Nov 2008) | 2 lines

  Document PY_SSIZE_T_CLEAN for PyArg_ParseTuple.
........
  r67364 | benjamin.peterson | 2008-11-23 19:16:29 -0600 (Sun, 23 Nov 2008) | 2 lines

  replace reference to debugger-hooks
........
  r67365 | benjamin.peterson | 2008-11-23 22:09:03 -0600 (Sun, 23 Nov 2008) | 1 line

  #4396 make the parser module correctly validate the with syntax
........
  r67367 | georg.brandl | 2008-11-24 10:16:07 -0600 (Mon, 24 Nov 2008) | 2 lines

  Fix typo.
........
  r67368 | georg.brandl | 2008-11-24 13:56:47 -0600 (Mon, 24 Nov 2008) | 2 lines

  #4404: make clear what "path" is.
........
  r67398 | benjamin.peterson | 2008-11-26 11:39:17 -0600 (Wed, 26 Nov 2008) | 1 line

  fix typo in sqlite3 docs
........
  r67423 | jesse.noller | 2008-11-28 12:59:35 -0600 (Fri, 28 Nov 2008) | 2 lines

  issue4238: bsd support for cpu_count
........
  r67424 | christian.heimes | 2008-11-28 13:33:33 -0600 (Fri, 28 Nov 2008) | 1 line

  Retain copyright of processing examples. This was requested by a Debian maintainer during packaging of the multiprocessing package for 2.4/2.5
........
  r67432 | benjamin.peterson | 2008-11-28 17:18:46 -0600 (Fri, 28 Nov 2008) | 1 line

  SVN format 9 is the same it seems
........
  r67440 | jeremy.hylton | 2008-11-28 17:42:59 -0600 (Fri, 28 Nov 2008) | 4 lines

  Move definition int sval into branch of ifdef where it is used.

  Otherwise, you get a warning about an undefined variable.
........
  r67441 | jeremy.hylton | 2008-11-28 18:09:16 -0600 (Fri, 28 Nov 2008) | 2 lines

  Reflow long lines.
........
  r67444 | amaury.forgeotdarc | 2008-11-28 20:03:32 -0600 (Fri, 28 Nov 2008) | 2 lines

  Fix a small typo in docstring
........
  r67445 | benjamin.peterson | 2008-11-29 21:07:33 -0600 (Sat, 29 Nov 2008) | 1 line

  StringIO.close() stops you from using the buffer, too
........
  r67454 | benjamin.peterson | 2008-11-30 08:43:23 -0600 (Sun, 30 Nov 2008) | 1 line

  note the version that works
........
  r67455 | martin.v.loewis | 2008-11-30 13:28:27 -0600 (Sun, 30 Nov 2008) | 1 line

  Issue #4365: Add crtassem.h constants to the msvcrt module.
........
  r67457 | christian.heimes | 2008-11-30 15:16:28 -0600 (Sun, 30 Nov 2008) | 1 line

  w# requires Py_ssize_t
........
  r67458 | benjamin.peterson | 2008-11-30 15:46:16 -0600 (Sun, 30 Nov 2008) | 1 line

  fix pyspecific extensions that were broken by Sphinx's grand renaming
........

16 years agoMerged revisions 67442 via svnmerge from
Benjamin Peterson [Sun, 30 Nov 2008 22:15:29 +0000 (22:15 +0000)]
Merged revisions 67442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67442 | jeremy.hylton | 2008-11-28 19:09:35 -0600 (Fri, 28 Nov 2008) | 18 lines

  Send HTTP headers and message body in a single send() call.

  This change addresses part of issue 4336.

  Change endheaders() to take an optional message_body argument
  that is sent along with the headers.  Change xmlrpclib and
  httplib's other methods to use this new interface.

  It is more efficient to make a single send() call, which should
  get the entire client request into one packet (assuming it is
  smaller than the MTU) and will avoid the long pause for delayed
  ack following timeout.

  Also:
  - Add a comment about the buffer size for makefile().
  - Extract _set_content_length() method and fix whitespace issues there.
........

16 years agoMerged revisions 67449 via svnmerge from
Martin v. Löwis [Sun, 30 Nov 2008 11:12:00 +0000 (11:12 +0000)]
Merged revisions 67449 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67449 | martin.v.loewis | 2008-11-30 12:08:26 +0100 (So, 30 Nov 2008) | 3 lines

  Issue #4389: Add icon to the uninstall entry in
  "add-and-remove-programs".
........

16 years agoIssue #4407: Fix source file that caused the compileall step in Windows
Martin v. Löwis [Sun, 30 Nov 2008 10:36:49 +0000 (10:36 +0000)]
Issue #4407: Fix source file that caused the compileall step in Windows
installer to fail.

16 years agoBlocked revisions 67370 via svnmerge
Benjamin Peterson [Sun, 30 Nov 2008 03:23:13 +0000 (03:23 +0000)]
Blocked revisions 67370 via svnmerge

........
  r67370 | jeremy.hylton | 2008-11-24 16:00:29 -0600 (Mon, 24 Nov 2008) | 8 lines

  Add unittests that verify documented behavior of public methods in Transport
  class.

  These methods can be overridden.  The tests verify that the overridden
  methods are called, and that changes to the connection have a visible
  effect on the request.
........

16 years agoFix more threading API related bugs: Thread.get_name() --> Thread.name.
Amaury Forgeot d'Arc [Sat, 29 Nov 2008 01:48:47 +0000 (01:48 +0000)]
Fix more threading API related bugs: Thread.get_name() --> Thread.name.

Seen when setting RPCHandler.debugging=True

16 years ago#4455: IDLE failed to display the windows list when two windows have the same title.
Amaury Forgeot d'Arc [Fri, 28 Nov 2008 23:28:42 +0000 (23:28 +0000)]
#4455: IDLE failed to display the windows list when two windows have the same title.

Windows objects cannot be compared, and it's better to have a consistent order;
so We add the window unique ID to the sort key.

Reviewed by Benjamin Peterson.

16 years agoMerged revisions 67428 via svnmerge from
Benjamin Peterson [Fri, 28 Nov 2008 23:01:28 +0000 (23:01 +0000)]
Merged revisions 67428 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r67428 | benjamin.peterson | 2008-11-28 16:12:14 -0600 (Fri, 28 Nov 2008) | 57 lines

  Merged revisions 67384,67386-67387,67389-67390,67392,67399-67400,67403-67405,67426 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r67384 | benjamin.peterson | 2008-11-25 16:13:31 -0600 (Tue, 25 Nov 2008) | 4 lines

    don't duplicate calls to start_tree()

    RefactoringTool.pre_order values now holds a list of the fixers while pre_order_mapping holds the dict.
  ........
    r67386 | benjamin.peterson | 2008-11-25 16:44:52 -0600 (Tue, 25 Nov 2008) | 1 line

    #4423 fix_imports was still replacing usage of a module if attributes were being used
  ........
    r67387 | benjamin.peterson | 2008-11-25 16:47:54 -0600 (Tue, 25 Nov 2008) | 1 line

    fix broken test
  ........
    r67389 | benjamin.peterson | 2008-11-25 17:13:17 -0600 (Tue, 25 Nov 2008) | 1 line

    remove compatibility code; we only cater to 2.5+
  ........
    r67390 | benjamin.peterson | 2008-11-25 22:03:36 -0600 (Tue, 25 Nov 2008) | 1 line

    fix #3994; the usage of changed imports was fixed in nested cases
  ........
    r67392 | benjamin.peterson | 2008-11-26 11:11:40 -0600 (Wed, 26 Nov 2008) | 1 line

    simpilfy and comment fix_imports
  ........
    r67399 | benjamin.peterson | 2008-11-26 11:47:03 -0600 (Wed, 26 Nov 2008) | 1 line

    remove more compatibility code
  ........
    r67400 | benjamin.peterson | 2008-11-26 12:07:41 -0600 (Wed, 26 Nov 2008) | 1 line

    set svn:ignore
  ........
    r67403 | benjamin.peterson | 2008-11-26 13:11:11 -0600 (Wed, 26 Nov 2008) | 1 line

    wrap import
  ........
    r67404 | benjamin.peterson | 2008-11-26 13:29:49 -0600 (Wed, 26 Nov 2008) | 1 line

    build the fix_imports pattern in compile_pattern, so MAPPING can be changed and reflected in the pattern
  ........
    r67405 | benjamin.peterson | 2008-11-26 14:01:24 -0600 (Wed, 26 Nov 2008) | 1 line

    stop ugly messages about runtime errors being from printed
  ........
    r67426 | benjamin.peterson | 2008-11-28 16:01:40 -0600 (Fri, 28 Nov 2008) | 5 lines

    don't replace a module name if it is in the middle of a attribute lookup

    This fix also stops module names from being replaced if they are not in an attribute lookup.
  ........
................

16 years agoBlocked revisions 67349,67353,67396,67407,67411 via svnmerge
Benjamin Peterson [Fri, 28 Nov 2008 20:57:28 +0000 (20:57 +0000)]
Blocked revisions 67349,67353,67396,67407,67411 via svnmerge

........
  r67349 | matthias.klose | 2008-11-23 07:37:03 -0600 (Sun, 23 Nov 2008) | 3 lines

   - Modules/Setup.dist: Mention _functools in section "Modules that should
     always be present (non UNIX dependent)"
........
  r67353 | matthias.klose | 2008-11-23 07:54:42 -0600 (Sun, 23 Nov 2008) | 2 lines

  - Fix typo in last checkin
........
  r67396 | matthias.klose | 2008-11-26 11:32:49 -0600 (Wed, 26 Nov 2008) | 2 lines

  - Modules/Setup.dist: Mention _elementtree and _pickle.
........
  r67407 | matthias.klose | 2008-11-27 01:45:25 -0600 (Thu, 27 Nov 2008) | 2 lines

  - Modules/Setup.dist: Update pyexpat
........
  r67411 | matthias.klose | 2008-11-27 04:14:22 -0600 (Thu, 27 Nov 2008) | 2 lines

  - Modules/Setup.dist: Update _elementtree, add _bisect, datetime
........

16 years agoFix mp example, remove fix_logger call
Jesse Noller [Fri, 28 Nov 2008 18:47:24 +0000 (18:47 +0000)]
Fix mp example, remove fix_logger call

16 years agoMerge r67419 to py3k, mp doc fixes
Jesse Noller [Fri, 28 Nov 2008 18:46:19 +0000 (18:46 +0000)]
Merge r67419 to py3k, mp doc fixes

16 years agoForgot to update Misc/NEWS
Christian Heimes [Fri, 28 Nov 2008 11:24:16 +0000 (11:24 +0000)]
Forgot to update Misc/NEWS

16 years ago2to3 run of multiprocessing examples.
Christian Heimes [Fri, 28 Nov 2008 11:23:26 +0000 (11:23 +0000)]
2to3 run of multiprocessing examples.
mp_benchmarks, mp_newtypes and mp_distribution are still broken but the others are working properly. We should include the examples in our unit test suite ...

16 years agoMerged revisions 67414 via svnmerge from
Christian Heimes [Fri, 28 Nov 2008 11:05:17 +0000 (11:05 +0000)]
Merged revisions 67414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67414 | christian.heimes | 2008-11-28 12:02:32 +0100 (Fri, 28 Nov 2008) | 1 line

  Fixed issue ##3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception
........

16 years ago- Modules/Setup.dist: Add _bisect
Matthias Klose [Thu, 27 Nov 2008 09:53:28 +0000 (09:53 +0000)]
- Modules/Setup.dist: Add _bisect

16 years ago- Modules/Setup.dist: add datetime, update _elementtree
Matthias Klose [Thu, 27 Nov 2008 09:51:39 +0000 (09:51 +0000)]
- Modules/Setup.dist: add datetime, update _elementtree

16 years ago- Modules/Setup.dist: Update pyexpat
Matthias Klose [Thu, 27 Nov 2008 07:43:44 +0000 (07:43 +0000)]
- Modules/Setup.dist: Update pyexpat

16 years agoRemove the Py_TPFLAGS_HAVE_GC from the _ctypes.COMError type.
Thomas Heller [Wed, 26 Nov 2008 18:40:58 +0000 (18:40 +0000)]
Remove the Py_TPFLAGS_HAVE_GC from the _ctypes.COMError type.
Fixes issue #4433; reviewed by Benjamin Peterson.

16 years ago- Modules/Setup.dist: Fix typo in last checkin
Matthias Klose [Wed, 26 Nov 2008 18:28:07 +0000 (18:28 +0000)]
- Modules/Setup.dist: Fix typo in last checkin

16 years ago- Modules/Setup.dist: Mention _elementtree and _pickle.
Matthias Klose [Wed, 26 Nov 2008 17:23:18 +0000 (17:23 +0000)]
- Modules/Setup.dist: Mention _elementtree and _pickle.

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.
........