Commit Graph

37694 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc bc2ce57203 Issue #4537: webbrowser.UnixBrowser failed because this module defines an open()
function which shadows the builtin.

Will backport to 3.0
2008-12-05 01:02:21 +00:00
Fred Drake 9a0a65b524 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.
........
2008-12-04 19:24:50 +00:00
Georg Brandl c47408acc1 Add a skeleton 3.1 whatsnew document. 2008-12-04 18:44:53 +00:00
Georg Brandl ced51db8cf #4513: remove traces of zip() docstring from when it was izip(). 2008-12-04 18:28:38 +00:00
Georg Brandl 83ebf383d7 #4521: fix getcwdu() vs getcwdb(). 2008-12-04 18:21:46 +00:00
Georg Brandl a2361d908e #4526: fix typo. 2008-12-04 18:19:41 +00:00
Georg Brandl b159008a54 #4527: fix "unicode or string". 2008-12-04 18:18:16 +00:00
Fred Drake 9baee31a44 - fix markup error
- remove silly emoticon
2008-12-04 15:28:51 +00:00
Andrew M. Kuchling 2982c32a00 Wording change (flaunt -> disobey); markup fixes. The largest edit is to the paragraph on relative imports; please review. (Backport candidate) 2008-12-04 15:07:14 +00:00
Christian Heimes af78e47f49 More 3.0 -> 3.1 transistion in the Windows and OS/2 build files 2008-12-04 14:27:25 +00:00
Hirokazu Yamamoto 73629da1e0 Bumped up version number in PC/pyconfig.h. 2008-12-04 08:53:27 +00:00
Christian Heimes fd44062a7f More 3.0 -> 3.1 transistions 2008-12-03 18:35:13 +00:00
Christian Heimes 70e5cabfdc Bumped up version numbers of configure/autoconf scripts 2008-12-03 18:18:23 +00:00
Barry Warsaw 97f005d137 Prep for Python 3.1! 2008-12-03 16:46:14 +00:00
Guido van Rossum 815427c481 Remove remark about NaN==NaN, I misunderstood that issue. 2008-12-03 15:24:50 +00:00
Raymond Hettinger ab4c51c2b3 Minor edits. 2008-12-03 15:04:01 +00:00
Christian Heimes 6e72b9e619 Fixed a warning on whatsnew/3.0.rst 2008-12-03 13:39:03 +00:00
Georg Brandl ffd1a759da Use the :mod: role. 2008-12-03 06:44:59 +00:00
Guido van Rossum 08388ef361 Some textual tweaks, and fixed a few typos found by a spell checker. 2008-12-03 05:39:28 +00:00
Guido van Rossum b768d4f759 Fix bad markup. 2008-12-03 04:18:17 +00:00
Guido van Rossum fedd14051b 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.
2008-12-03 04:15:35 +00:00
Guido van Rossum 67d75ba7e7 Another checkpoint.
(A bit of a mess, a previous submit apparently didn't go through.)
2008-12-03 02:31:31 +00:00
Guido van Rossum 3828768f45 Another checkpoint -- some stuff I managed to do on the train. 2008-12-03 02:03:19 +00:00
Christian Heimes d74a1dc501 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).
........
2008-12-03 00:55:34 +00:00
Guido van Rossum 7396135b90 Another checkpoint. 2008-12-03 00:54:52 +00:00
Gregory P. Smith f3655c439d interators -> iterators (thanks Taggnostr) 2008-12-02 23:52:53 +00:00
Guido van Rossum c46ee546ee Finished what I'm going to write about the standard library. 2008-12-02 23:46:46 +00:00
Guido van Rossum 56076dab76 Finished the "porting to 3.0" section. Had to add a label to
howto/cporting.rst.
2008-12-02 22:58:36 +00:00
Guido van Rossum 715287f12f 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???)
2008-12-02 22:34:15 +00:00
Raymond Hettinger f5b64116cc Issue 3689: list_reverseiterator should support __length_hint__ instead of __len__. 2008-12-02 21:33:45 +00:00
Raymond Hettinger 048690410f Bug #4495: Fix signed/unsigned warning (both namelen and tailen should be signed, not just namelen). 2008-12-02 20:59:48 +00:00
Guido van Rossum 5b78dd9fad Another checkpoint to switch machines. 2008-12-02 17:31:14 +00:00
Walter Dörwald eab34c954d Add missing bracket. 2008-12-02 11:58:09 +00:00
Walter Dörwald a443856935 Fix typo. 2008-12-02 11:55:30 +00:00
Martin v. Löwis 15b16a3ec4 Issue #4387: binascii now refuses to accept str as binary input. 2008-12-02 06:00:15 +00:00
Alexandre Vassalotti eae122be62 Fix docutils parsing errors in Misc/NEWS. 2008-12-02 03:34:24 +00:00
Benjamin Peterson cc163bb5db fix markup 2008-12-02 01:12:04 +00:00
Guido van Rossum eb3d8d4665 Checkpoint. Added some stuff. Mostly XXX notes for myself. :-) 2008-12-02 00:56:25 +00:00
Georg Brandl db6f108532 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
........
2008-12-01 23:02:51 +00:00
Martin v. Löwis 6825e17e1e Add script forgotten in r67464. 2008-12-01 04:44:45 +00:00
Martin v. Löwis 6178db6d55 Issue #4073: Add 2to3 support to build_scripts, refactor that support
in build_py.
2008-12-01 04:38:52 +00:00
Raymond Hettinger 2212e529d9 Update copyright for recent changes. 2008-11-30 23:43:36 +00:00
Benjamin Peterson 4469d0ca56 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
........
2008-11-30 22:46:23 +00:00
Benjamin Peterson 1742e401c4 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.
........
2008-11-30 22:15:29 +00:00
Martin v. Löwis 45a6b9f7e5 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".
........
2008-11-30 11:12:00 +00:00
Martin v. Löwis 841edad43c Issue #4407: Fix source file that caused the compileall step in Windows
installer to fail.
2008-11-30 10:36:49 +00:00
Benjamin Peterson 779281caf7 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.
........
2008-11-30 03:23:13 +00:00
Amaury Forgeot d'Arc bed1710115 Fix more threading API related bugs: Thread.get_name() --> Thread.name.
Seen when setting RPCHandler.debugging=True
2008-11-29 01:48:47 +00:00
Amaury Forgeot d'Arc 47c2b607b8 #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.
2008-11-28 23:28:42 +00:00
Benjamin Peterson 5cff9312fd 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.
  ........
................
2008-11-28 23:01:28 +00:00