Commit Graph

39694 Commits

Author SHA1 Message Date
Benjamin Peterson 0289b15820 Merged revisions 73004,73439,73496,73509,73529,73564,73576-73577,73595-73596,73605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73004 | jeffrey.yasskin | 2009-05-28 22:44:31 -0500 (Thu, 28 May 2009) | 5 lines

  Fix nearly all compilation warnings under Apple gcc-4.0.  Tested with OPT="-g
  -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
  There's still a batch of non-prototype warnings in Xlib.h that I don't know how
  to fix.
........
  r73439 | benjamin.peterson | 2009-06-15 19:29:31 -0500 (Mon, 15 Jun 2009) | 1 line

  don't mask encoding errors when decoding a string #6289
........
  r73496 | vinay.sajip | 2009-06-21 12:37:27 -0500 (Sun, 21 Jun 2009) | 1 line

  Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.
........
  r73509 | amaury.forgeotdarc | 2009-06-22 14:33:48 -0500 (Mon, 22 Jun 2009) | 2 lines

  #4490 Fix sample code run by "python -m xml.sax.xmlreader"
........
  r73529 | r.david.murray | 2009-06-23 13:02:46 -0500 (Tue, 23 Jun 2009) | 4 lines

  Fix issue 5230 by having pydoc's safeimport check to see if the import
  error was thrown from itself in order to decide if the module can't be
  found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
........
  r73564 | amaury.forgeotdarc | 2009-06-25 17:29:29 -0500 (Thu, 25 Jun 2009) | 6 lines

  #2016 Fix a crash in function call when the **kwargs dictionary is mutated
  during the function call setup.

  This even gives a slight speedup, probably because tuple allocation
  is faster than PyMem_NEW.
........
  r73576 | benjamin.peterson | 2009-06-26 18:37:06 -0500 (Fri, 26 Jun 2009) | 1 line

  document is_declared_global()
........
  r73577 | benjamin.peterson | 2009-06-27 09:16:23 -0500 (Sat, 27 Jun 2009) | 1 line

  link to extensive generator docs in the reference manual
........
  r73595 | ezio.melotti | 2009-06-27 18:45:39 -0500 (Sat, 27 Jun 2009) | 1 line

  stmt and setup can contain multiple statements, see #5896
........
  r73596 | ezio.melotti | 2009-06-27 19:07:45 -0500 (Sat, 27 Jun 2009) | 1 line

  Fixed a wrong apostrophe
........
  r73605 | georg.brandl | 2009-06-28 07:10:18 -0500 (Sun, 28 Jun 2009) | 1 line

  Remove stray pychecker directive.
........
2009-06-28 17:22:03 +00:00
Benjamin Peterson cd3ffe6859 Blocked revisions 73459,73563 via svnmerge
........
  r73459 | raymond.hettinger | 2009-06-16 20:43:47 -0500 (Tue, 16 Jun 2009) | 1 line

  Add usage note.
........
  r73563 | amaury.forgeotdarc | 2009-06-25 16:29:32 -0500 (Thu, 25 Jun 2009) | 2 lines

  Fix a compilation warning on Windows
........
2009-06-28 16:51:58 +00:00
Benjamin Peterson c6a5455e87 Blocked revisions 73382,73394-73397,73401-73402,73422,73480,73536,73540 via svnmerge
........
  r73382 | raymond.hettinger | 2009-06-11 18:14:53 -0500 (Thu, 11 Jun 2009) | 1 line

  Issue 6261: Clarify behavior of random.uniform().
........
  r73394 | antoine.pitrou | 2009-06-12 15:14:08 -0500 (Fri, 12 Jun 2009) | 3 lines

  Issue #6215: backport the 3.1 io lib
........
  r73395 | antoine.pitrou | 2009-06-12 15:36:25 -0500 (Fri, 12 Jun 2009) | 4 lines

  Restore the old test_file.py (for the builtin file object) as a new file named test_file2k.py
........
  r73396 | antoine.pitrou | 2009-06-12 15:41:52 -0500 (Fri, 12 Jun 2009) | 4 lines

  Try to restore the old test_file and test_univnewlines as new, different files
  (with the right revisions this time, hopefully)
........
  r73397 | antoine.pitrou | 2009-06-12 15:54:21 -0500 (Fri, 12 Jun 2009) | 3 lines

  Re-enable testing of builtin open() in test_bufio in test_largefile
........
  r73401 | alexandre.vassalotti | 2009-06-12 16:52:14 -0500 (Fri, 12 Jun 2009) | 2 lines

  Make pickling of OrderedDict instances more efficient.
........
  r73402 | alexandre.vassalotti | 2009-06-12 18:03:35 -0500 (Fri, 12 Jun 2009) | 6 lines

  Revert r73401 per Raymond Hettinger's request.

  The rational is the change might cause imcompatiblity problems with
  PyYAML. In addition, Raymond wants to kept the different versions of
  collections synchronized across Python versions.
........
  r73422 | benjamin.peterson | 2009-06-13 15:30:48 -0500 (Sat, 13 Jun 2009) | 1 line

  update ast version
........
  r73480 | facundo.batista | 2009-06-19 13:02:28 -0500 (Fri, 19 Jun 2009) | 3 lines

  Issue #6274. Fixed a potential FD leak in subprocess.py.
........
  r73536 | raymond.hettinger | 2009-06-23 16:32:28 -0500 (Tue, 23 Jun 2009) | 1 line

  Issue 6305: Clarify error message for large arguments to itertools.islice().
........
  r73540 | raymond.hettinger | 2009-06-23 17:20:04 -0500 (Tue, 23 Jun 2009) | 1 line

  Add procedural note.
........
2009-06-28 16:39:56 +00:00
Benjamin Peterson 47a1c937c6 delete unused properties 2009-06-28 16:27:27 +00:00
Benjamin Peterson 3e791903ce fix useless comparison #6355 2009-06-28 16:23:55 +00:00
Benjamin Peterson b1715f131f use stack altering macros here 2009-06-28 16:21:52 +00:00
Benjamin Peterson 6d46a91dc0 Merged revisions 73614-73615 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73614 | benjamin.peterson | 2009-06-28 11:08:02 -0500 (Sun, 28 Jun 2009) | 1 line

  add two generic macros for peeking and setting in the stack
........
  r73615 | benjamin.peterson | 2009-06-28 11:14:07 -0500 (Sun, 28 Jun 2009) | 1 line

  use stack macros
........
2009-06-28 16:17:34 +00:00
Benjamin Peterson ac8c73075a this is better written as an assertion 2009-06-28 16:03:15 +00:00
Benjamin Peterson fec42da1ab update comments 2009-06-28 15:55:46 +00:00
Benjamin Peterson 176101d660 correctly rearrange the stack in the exception case of WITH_CLEANUP 2009-06-28 15:40:50 +00:00
Hirokazu Yamamoto 9e0804f218 Sorted file names. 2009-06-28 13:21:41 +00:00
Martin v. Löwis db7b5704be Merged revisions 73606 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73606 | martin.v.loewis | 2009-06-28 14:24:23 +0200 (So, 28 Jun 2009) | 2 lines

  Fix types in logic to compute help file name.
........
2009-06-28 12:28:29 +00:00
Hirokazu Yamamoto 892a37aff1 Merged revisions 73603 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73603 | hirokazu.yamamoto | 2009-06-28 19:23:00 +0900 | 1 line

  Issue #4856: Remove checks for win NT.
........
2009-06-28 11:07:03 +00:00
Martin v. Löwis 95c4601870 Merged revisions 73598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73598 | martin.v.loewis | 2009-06-28 11:32:39 +0200 (So, 28 Jun 2009) | 3 lines

  Issue 5390: Add uninstall icon independent of whether file
  extensions are installed.
........
2009-06-28 09:36:14 +00:00
Benjamin Peterson 876b2f286b Merged revisions 72912,72920,72940 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72912 | benjamin.peterson | 2009-05-25 08:13:44 -0500 (Mon, 25 May 2009) | 5 lines

  add a SETUP_WITH opcode

  It speeds up the with statement and correctly looks up the special
  methods involved.
........
  r72920 | benjamin.peterson | 2009-05-25 15:12:57 -0500 (Mon, 25 May 2009) | 1 line

  take into account the fact that SETUP_WITH pushes a finally block
........
  r72940 | benjamin.peterson | 2009-05-26 07:49:59 -0500 (Tue, 26 May 2009) | 1 line

  teach the peepholer about SETUP_WITH
........
2009-06-28 03:18:59 +00:00
Benjamin Peterson d2397753ee Merged revisions 72570,72582-72583,73027,73049,73071,73151,73247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72570 | michael.foord | 2009-05-11 12:59:43 -0500 (Mon, 11 May 2009) | 7 lines

  Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
  from the command line.

  Closes issue 5995.

  Michael Foord
........
  r72582 | michael.foord | 2009-05-12 05:46:23 -0500 (Tue, 12 May 2009) | 1 line

  Fix to restore command line behaviour for test modules using unittest.main(). Regression caused by issue 5995. Michael
........
  r72583 | michael.foord | 2009-05-12 05:49:13 -0500 (Tue, 12 May 2009) | 1 line

  Better fix for modules using unittest.main(). Fixes regression caused by commit for issue 5995. Michael Foord
........
  r73027 | michael.foord | 2009-05-29 15:33:46 -0500 (Fri, 29 May 2009) | 1 line

  Add test discovery to unittest. Issue 6001.
........
  r73049 | georg.brandl | 2009-05-30 05:45:40 -0500 (Sat, 30 May 2009) | 1 line

  Rewrap a few long lines.
........
  r73071 | georg.brandl | 2009-05-31 09:15:25 -0500 (Sun, 31 May 2009) | 1 line

  Fix markup.
........
  r73151 | michael.foord | 2009-06-02 13:08:27 -0500 (Tue, 02 Jun 2009) | 1 line

  Restore default testRunner argument in unittest.main to None. Issue 6177
........
  r73247 | michael.foord | 2009-06-05 09:14:34 -0500 (Fri, 05 Jun 2009) | 1 line

  Fix unittest discovery tests for Windows. Issue 6199
........
2009-06-27 23:45:02 +00:00
Martin v. Löwis f7a6b508ce Bump Windows versions to 3.2. 2009-06-27 23:00:59 +00:00
Ezio Melotti 2fad00c198 Updated the last example as requested in #6350 2009-06-27 22:58:15 +00:00
Martin v. Löwis 095386ef13 Add uuids for 3.1.[12](rc1|final). 2009-06-27 22:51:58 +00:00
Benjamin Peterson 05646a5ca9 Merged revisions 73575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73575 | benjamin.peterson | 2009-06-26 11:49:06 -0500 (Fri, 26 Jun 2009) | 1 line

  mark 3.1 as stable docs
........
2009-06-27 22:15:41 +00:00
Benjamin Peterson 9ddc2d908e update install dir version 2009-06-27 22:00:30 +00:00
Benjamin Peterson 9aececf3a5 fix mistake in version bump 2009-06-27 22:00:01 +00:00
Benjamin Peterson 46ea4f73b9 bump to 3.2a0 2009-06-27 21:40:27 +00:00
Benjamin Peterson c216b27c42 tag Python version 3.1! 2009-06-26 13:27:07 +00:00
Benjamin Peterson 1da43e5e91 rearrange the sections of the README, so they'll hopefully be more in the order people will interested in 2009-06-26 13:21:52 +00:00
Benjamin Peterson 392851624f bump version to 3.1 final :) 2009-06-26 13:11:28 +00:00
Benjamin Peterson 6a86a62049 update pydoc-topics 2009-06-26 13:05:03 +00:00
Gregory P. Smith e88749b475 Merged revisions 73565 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73565 | gregory.p.smith | 2009-06-26 00:50:21 -0700 (Fri, 26 Jun 2009) | 2 lines

  Fixes the last problem mentioned in issue1202.
........

Issue #1202: zipfile module would cause a struct.error when attempting to store
files with a CRC32 > 2**31-1.  (on trunk this was merely a warning, in the py3k
branch this caused an exception so I'm treating this as a release blocker and
merging it now)
2009-06-26 08:05:13 +00:00
Ezio Melotti 619de8f107 fixed double dict.items in glossary->view 2009-06-25 18:39:31 +00:00
R. David Murray 6601126233 Merged revisions 73511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73511 | r.david.murray | 2009-06-22 18:11:04 -0400 (Mon, 22 Jun 2009) | 2 lines

  Improve English phrasing.
........
2009-06-25 17:37:57 +00:00
R. David Murray c7071671c9 Merged revisions 73557 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73557 | r.david.murray | 2009-06-25 13:29:39 -0400 (Thu, 25 Jun 2009) | 3 lines

  Issue 6340: update by Gregor Lingl of his tdemo_chaos demo program.
  Functionally equivalent, clearer code, English comments.
........
2009-06-25 17:32:06 +00:00
R. David Murray fd851d3a3b Recorded merge of revisions 73554 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73554 | r.david.murray | 2009-06-25 10:21:06 -0400 (Thu, 25 Jun 2009) | 2 lines

  Add a couple of missing function alias declarations to the turtle docs.
........
2009-06-25 15:03:12 +00:00
R. David Murray 7fcd3de3ca Fix some broken/missing function:: declarations in turtle docs
pointed out by Gregor Lingl in issue 6339.
2009-06-25 14:26:19 +00:00
Benjamin Peterson 12792092a6 this is also no longer true 2009-06-24 22:16:41 +00:00
Benjamin Peterson a47af9cf18 fix comment 2009-06-24 21:14:38 +00:00
Mark Dickinson ad19556716 Misc/NEWS entry for r73547 2009-06-24 19:01:32 +00:00
Mark Dickinson eb36d31bb8 Issue #6334: Fix buggy internal length calculation in builtin range function 2009-06-24 18:36:46 +00:00
Georg Brandl eeb575f329 Merged revisions 73544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73544 | georg.brandl | 2009-06-24 06:41:19 +0000 (Mi, 24 Jun 2009) | 1 line

  #6332: fix word dupes throughout the source.
........
2009-06-24 06:42:05 +00:00
Benjamin Peterson bbcd1eb64c add sys prefix 2009-06-24 02:29:57 +00:00
Raymond Hettinger bbccbfd6b8 Add procedural note. 2009-06-23 22:24:13 +00:00
Amaury Forgeot d'Arc 378314330f Merged revisions 73537 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73537 | amaury.forgeotdarc | 2009-06-23 23:53:46 +0200 (mar., 23 juin 2009) | 3 lines

  Remove last remnants of the ipaddr package.
  The changes in mcast.py come from the first version of the patch for issue5379.
........
2009-06-23 22:01:54 +00:00
Amaury Forgeot d'Arc 5034624fdd Blocked revisions 73534 via svnmerge
........
  r73534 | amaury.forgeotdarc | 2009-06-23 23:09:09 +0200 (mar., 23 juin 2009) | 2 lines

  Remove the ipaddr module per discussion on python-dev
........
2009-06-23 21:59:26 +00:00
Raymond Hettinger ec7bfb314c Issue 6305: Clarify error message for large arguments to itertools.islice(). 2009-06-23 21:27:39 +00:00
R. David Murray df45cda0dd Recorded merge of revisions 73532 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

(applied to py3k in r73531)

........
  r73532 | raymond.hettinger | 2009-06-23 16:59:43 -0400 (Tue, 23 Jun 2009) | 3 lines

  Issue 6329: Fix iteration for memoryviews.
........
2009-06-23 21:05:37 +00:00
Raymond Hettinger 159eac92c5 Issue 6329: Fix iteration for memoryviews. 2009-06-23 20:38:54 +00:00
Nick Coghlan b7706b58fa Merged revisions 73518-73519 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73518 | nick.coghlan | 2009-06-23 20:19:30 +1000 (Tue, 23 Jun 2009) | 1 line

  Issue 6288: Update contextlib.nested() docstring to reflect new documentation
........
  r73519 | nick.coghlan | 2009-06-23 20:51:02 +1000 (Tue, 23 Jun 2009) | 1 line

  Remove markup from docstring
........
2009-06-23 10:55:52 +00:00
Benjamin Peterson 5250401bd0 must be bytes 2009-06-23 03:09:33 +00:00
Benjamin Peterson b48f63433e Merged revisions 73415,73417-73418 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73415 | benjamin.peterson | 2009-06-13 09:25:08 -0500 (Sat, 13 Jun 2009) | 1 line

  use 'rc' for release candidates for consistency
........
  r73417 | benjamin.peterson | 2009-06-13 10:42:23 -0500 (Sat, 13 Jun 2009) | 1 line

  special case release candidates
........
  r73418 | benjamin.peterson | 2009-06-13 10:48:04 -0500 (Sat, 13 Jun 2009) | 1 line

  handle different rc format
........
2009-06-22 19:36:31 +00:00
Benjamin Peterson 8be54bb560 revert 73505 here 2009-06-22 18:31:48 +00:00
Matthias Klose b0a8be5f1b - remove svn:executable property from some library files 2009-06-22 14:17:00 +00:00