Commit Graph

39467 Commits

Author SHA1 Message Date
Philip Jenvey
d642734d7f Blocked revisions 72972-72973 via svnmerge
........
  r72972 | philip.jenvey | 2009-05-27 20:10:59 -0700 (Wed, 27 May 2009) | 2 lines

  explicitly close the file, merged from py3k
........
  r72973 | philip.jenvey | 2009-05-27 20:12:16 -0700 (Wed, 27 May 2009) | 2 lines

  further hint to where the open docs really are
........
2009-05-28 03:16:05 +00:00
Antoine Pitrou
87c50b4e20 Remove useless compatibility statements 2009-05-27 21:50:13 +00:00
R. David Murray
1f1b9d3d0d Merged revisions 72966 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72966 | r.david.murray | 2009-05-27 16:07:21 -0400 (Wed, 27 May 2009) | 4 lines

  fix issue #6121 by stripping spaces from the argument in the 'help'
  function.
........
2009-05-27 20:56:59 +00:00
Georg Brandl
ed23ab677c Add attribution for patch co-author. 2009-05-27 19:46:38 +00:00
Raymond Hettinger
491a4cb8d9 Fix TODO: do the sort by just the key, not the key/value pair. 2009-05-27 11:19:02 +00:00
Raymond Hettinger
bcf6f92dc5 * Fix-up a TODO (support the sort_key option).
* Fix an error where True/False were being written-out
  as title-cased strings when used a dictionary keys.
* Speed-up iteration over dicts by looping over items()
  rather than keys() followed by value lookups.
* TODO:  sort only by keys, not keys and values.
2009-05-27 09:58:34 +00:00
Raymond Hettinger
81c0dcee65 Update whatsnew for compound with-statements. 2009-05-27 09:12:18 +00:00
Raymond Hettinger
c8d952dfe4 Issue 6105: json encoder to respect iteration order of its inputs. 2009-05-27 06:50:31 +00:00
Benjamin Peterson
0ffaaa634d Merged revisions 72958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72958 | benjamin.peterson | 2009-05-26 22:08:44 -0500 (Tue, 26 May 2009) | 1 line

  plug ref leak
........
2009-05-27 03:18:19 +00:00
Benjamin Peterson
a720559878 Merged revisions 72957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72957 | benjamin.peterson | 2009-05-26 21:43:46 -0500 (Tue, 26 May 2009) | 1 line

  correctly handle descrs with __missing__
........
2009-05-27 03:08:59 +00:00
Raymond Hettinger
499b2ee8a8 Stronger tests for namedtuple() to prevent future name conflict errors. 2009-05-27 01:53:46 +00:00
Raymond Hettinger
089ba7f690 Fix field name conflicts for named tuples. 2009-05-27 00:38:24 +00:00
Ronald Oussoren
e261ae0d46 Remove debug statement that leaked into the repository. 2009-05-26 21:44:57 +00:00
Ronald Oussoren
be7149ee02 Add note to NEWS about not installing smtpd.py 2009-05-26 21:39:08 +00:00
Ronald Oussoren
afbca49cbe * Adapt framework install makefiles to 2to3 tool
* Re-enable installation of files in /usr/local/bin in the OSX installer
  because those files no longer clash with a 2.x install.
2009-05-26 21:18:59 +00:00
Ronald Oussoren
220a9fbde4 Fix for Issue6111. 2009-05-26 18:41:00 +00:00
Georg Brandl
faf4149f72 #6118: dont ignore encoding arguments for arguments with spaces in quote_plus(). 2009-05-26 18:31:11 +00:00
Collin Winter
8ca69de237 Merged revisions 72930 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72930 | collin.winter | 2009-05-25 21:12:39 -0700 (Mon, 25 May 2009) | 1 line

  Issue 5794: fix cPickle's unpickling of recursive tuples.
........
2009-05-26 16:53:41 +00:00
Georg Brandl
7d5285ec79 #6115: remove entries for the already removed PyNumber_Divide and PyNumber_InPlaceDivide from the header and the docs. 2009-05-26 16:43:13 +00:00
Georg Brandl
c38a0002bc Merged revisions 72932 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line

  #6112: list.remove raises ValueError, not RuntimeError.
........
2009-05-26 07:51:03 +00:00
Georg Brandl
98b52ef7de Replace nonexisting word. 2009-05-25 22:20:44 +00:00
Georg Brandl
1a04058a64 Manual merge of r72710: use table of flags for dbm.open description. 2009-05-25 21:15:01 +00:00
Georg Brandl
7b53cb7dba Blocked revisions 72678,72710 via svnmerge
........
  r72678 | georg.brandl | 2009-05-16 13:21:29 +0200 (Sa, 16 Mai 2009) | 1 line

  #2856: document 2.x os.listdir() behavior for undecodable filenames.
........
  r72710 | georg.brandl | 2009-05-17 10:36:04 +0200 (So, 17 Mai 2009) | 1 line

  #5942: Copy over flag table from dbm.rst which is clearer.
........
2009-05-25 21:13:54 +00:00
Georg Brandl
8a1e4c4b64 Merged revisions 72661,72675-72677,72679,72712,72801,72820 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72661 | georg.brandl | 2009-05-15 10:03:03 +0200 (Fr, 15 Mai 2009) | 1 line

  Fix example output for doctest-like demos.
........
  r72675 | georg.brandl | 2009-05-16 13:13:21 +0200 (Sa, 16 Mai 2009) | 1 line

  #6034: clarify __reversed__ doc.
........
  r72676 | georg.brandl | 2009-05-16 13:14:46 +0200 (Sa, 16 Mai 2009) | 1 line

  #6025: fix signature of parse().
........
  r72677 | georg.brandl | 2009-05-16 13:18:55 +0200 (Sa, 16 Mai 2009) | 1 line

  #6009: undocument default argument of Option as deprecated.
........
  r72679 | georg.brandl | 2009-05-16 13:24:41 +0200 (Sa, 16 Mai 2009) | 1 line

  Fix about and bugs pages to match real workflow.
........
  r72712 | georg.brandl | 2009-05-17 10:55:00 +0200 (So, 17 Mai 2009) | 1 line

  #5935: mention that BROWSER is looked for in PATH.
........
  r72801 | georg.brandl | 2009-05-20 20:31:14 +0200 (Mi, 20 Mai 2009) | 1 line

  #6055: refer to "sqlite3" consistently.
........
  r72820 | georg.brandl | 2009-05-22 09:23:32 +0200 (Fr, 22 Mai 2009) | 1 line

  Use raise X(y).
........
2009-05-25 21:13:36 +00:00
Georg Brandl
0c31562a91 Merged revisions 72924 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72924 | georg.brandl | 2009-05-25 23:02:56 +0200 (Mo, 25 Mai 2009) | 6 lines

  Allow multiple context managers in one with statement, as proposed
  in http://codereview.appspot.com/53094 and accepted by Guido.

  The construct is transformed into multiple With AST nodes so that
  there should be no problems with the semantics.
........
2009-05-25 21:10:36 +00:00
Benjamin Peterson
0c1829b919 Blocked revisions 72921 via svnmerge
........
  r72921 | benjamin.peterson | 2009-05-25 15:13:36 -0500 (Mon, 25 May 2009) | 1 line

  fix error handling
........
2009-05-25 20:22:05 +00:00
Alexandre Vassalotti
ebfecfde8b Only try to intern str objects when unpickling attributes.
This matches the behaviour implmented in _pickle.
2009-05-25 18:50:33 +00:00
Alexandre Vassalotti
f70b129d7c Make variable declarations for opcodes in batch_dict_exact consistent
with the rest of the module.
2009-05-25 18:00:52 +00:00
Benjamin Peterson
94f75e04a8 link to CoreFoundation in framework builds #6104 2009-05-25 13:48:17 +00:00
Collin Winter
5c9b02dffe Merged revisions 72909 via svnmerge from
http://svn.python.org/projects/python/trunk

Note that the performance improvement for the py3k branch is not as high as for trunk.

........
  r72909 | collin.winter | 2009-05-24 21:34:39 -0700 (Sun, 24 May 2009) | 2 lines

  Issue 5670: special-case pickling of dicts. This nearly doubles the performance of dict pickling in cPickle.
........
2009-05-25 05:43:30 +00:00
Benjamin Peterson
94c65d9a8f Merged revisions 72907 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72907 | benjamin.peterson | 2009-05-24 21:40:21 -0500 (Sun, 24 May 2009) | 1 line

  handle errors from _PyObject_LookupSpecial when __get__ fails
........
2009-05-25 03:10:48 +00:00
Benjamin Peterson
14a3dd716d Merged revisions 72905 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72905 | benjamin.peterson | 2009-05-24 19:48:58 -0500 (Sun, 24 May 2009) | 4 lines

  make class skipping decorators the same as skipping every test of the class

  This removes ClassTestSuite and a good bit of hacks.
........
2009-05-25 00:51:58 +00:00
Benjamin Peterson
db31d75eb1 Blocked revisions 72903 via svnmerge
........
  r72903 | benjamin.peterson | 2009-05-24 18:13:32 -0500 (Sun, 24 May 2009) | 1 line

  stop using Py_FindMethod
........
2009-05-24 23:31:27 +00:00
Antoine Pitrou
69f7114fc2 Make some private functions static (thanks make smelly) 2009-05-24 21:25:49 +00:00
Antoine Pitrou
118ebe19db Merged revisions 72900 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72900 | antoine.pitrou | 2009-05-24 22:46:06 +0200 (dim., 24 mai 2009) | 3 lines

  Add Misc/python.pc to the list of ignored files
........
2009-05-24 20:47:04 +00:00
Antoine Pitrou
2032722e51 Merged revisions 72898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72898 | antoine.pitrou | 2009-05-24 22:23:57 +0200 (dim., 24 mai 2009) | 6 lines

  Issue #3585: Add pkg-config support.

  It creates a python-2.7.pc file and a python.pc symlink in the
  $(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
........
2009-05-24 20:39:11 +00:00
Martin v. Löwis
70ccd167de Merged revisions 72893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72893 | martin.v.loewis | 2009-05-24 21:30:52 +0200 (So, 24 Mai 2009) | 3 lines

  Issue #6050: Don't fail extracting a directory from a zipfile if
  the directory already exists.
........
2009-05-24 19:47:22 +00:00
Martin v. Löwis
403117aa60 Merged revisions 72891 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72891 | martin.v.loewis | 2009-05-24 21:10:52 +0200 (So, 24 Mai 2009) | 5 lines

  Issue #6065: Do not try to build a version-independent
  installer if the package has extension modules.

  Also add NEWS entry for #5311.
........
2009-05-24 19:19:17 +00:00
Antoine Pitrou
61f77b57fd Merged revisions 72887 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72887 | antoine.pitrou | 2009-05-24 17:40:09 +0200 (dim., 24 mai 2009) | 6 lines

  Issue #1309352: fcntl now converts its third arguments to a C `long` rather
  than an int, which makes some operations possible under 64-bit Linux (e.g.
  DN_MULTISHOT with F_NOTIFY).
........
2009-05-24 15:46:13 +00:00
R. David Murray
1ef7f6e183 Recorded merge of revisions 72878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72878 | r.david.murray | 2009-05-23 17:48:06 -0400 (Sat, 23 May 2009) | 2 lines

  Add smtplib test from issue 5259.
........
2009-05-24 14:45:53 +00:00
Antoine Pitrou
cb2969f884 Blocked revisions 72882 via svnmerge
........
  r72882 | antoine.pitrou | 2009-05-24 14:15:04 +0200 (dim., 24 mai 2009) | 3 lines

  Fix build under Windows
........
2009-05-24 12:17:24 +00:00
Antoine Pitrou
7852c42ac2 Try to fix building under Windows (where SIZEOF_PID_T apparently doesn't exist) 2009-05-24 11:58:35 +00:00
Benjamin Peterson
f53eec8801 Merged revisions 72871-72872 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72871 | benjamin.peterson | 2009-05-23 14:24:37 -0500 (Sat, 23 May 2009) | 1 line

  support building with subversion 1.7 #6094
........
  r72872 | benjamin.peterson | 2009-05-23 14:31:02 -0500 (Sat, 23 May 2009) | 1 line

  reorder name
........
2009-05-23 19:36:27 +00:00
Antoine Pitrou
716c444edc Issue #5761: Add the name of the underlying file to the repr() of various IO objects. 2009-05-23 19:04:03 +00:00
Benjamin Peterson
744af44064 clarify 2009-05-23 18:51:49 +00:00
R. David Murray
caa27b7823 Fix for issue 5259: ASCII encode the username and password before passing
it to encode_base64, which requires bytes in py3k.  Fix by Musashi Tamura,
tests by Marcin Bachry.
2009-05-23 18:49:56 +00:00
Benjamin Peterson
dfea192ad4 install 2to3, overwritting any old installations #5756 2009-05-23 17:13:14 +00:00
Benjamin Peterson
14ed6134f7 kill old comment 2009-05-23 17:12:13 +00:00
Benjamin Peterson
3dc22e8770 update NEWS 2009-05-23 17:09:43 +00:00
Benjamin Peterson
b747ed3f97 adjust Setup.dist to build _functools and _locale 2009-05-23 16:37:50 +00:00