Commit Graph

38415 Commits

Author SHA1 Message Date
Benjamin Peterson 4644d1825b Blocked revisions 70081,70120-70123,70126,70131-70132 via svnmerge
........
  r70081 | raymond.hettinger | 2009-02-28 20:04:32 -0600 (Sat, 28 Feb 2009) | 1 line

  Fix docs for ConfigParser.
........
  r70120 | raymond.hettinger | 2009-03-02 22:45:34 -0600 (Mon, 02 Mar 2009) | 1 line

  Backport PEP 372: OrderedDict()
........
  r70121 | raymond.hettinger | 2009-03-02 22:51:24 -0600 (Mon, 02 Mar 2009) | 3 lines

  Backport 70106: Add OrderedDict support to collections.namedtuple().
........
  r70122 | raymond.hettinger | 2009-03-02 23:00:37 -0600 (Mon, 02 Mar 2009) | 3 lines

  Backport 70111: Let configparser use ordered dicts by default.
........
  r70123 | raymond.hettinger | 2009-03-02 23:11:56 -0600 (Mon, 02 Mar 2009) | 1 line

  Fix markup.
........
  r70126 | raymond.hettinger | 2009-03-03 01:12:09 -0600 (Tue, 03 Mar 2009) | 1 line

  Beef-up tests.
........
  r70131 | raymond.hettinger | 2009-03-03 14:53:51 -0600 (Tue, 03 Mar 2009) | 1 line

  Make the underlying data structure more private.
........
  r70132 | raymond.hettinger | 2009-03-03 15:13:51 -0600 (Tue, 03 Mar 2009) | 1 line

  Minor simplification.
........
2009-03-03 21:31:22 +00:00
Raymond Hettinger 08c70cf53c Make the underlying data structure more private. 2009-03-03 20:47:29 +00:00
Raymond Hettinger b0d56afc84 Give dict views a helpful __repr__. 2009-03-03 10:52:49 +00:00
Hirokazu Yamamoto ce57cdbea8 Blocked revisions 70119 via svnmerge
........
  r70119 | kristjan.jonsson | 2009-03-03 12:20:42 +0900 | 1 line

  Fix SHA_new and MD5_new, that would crash if not given initial data
........
2009-03-03 07:54:32 +00:00
Hirokazu Yamamoto 8404749e4b Fixed memory leak on failure. This is related to issue5403 but won't crash on py3k. 2009-03-03 07:49:01 +00:00
Kristján Valur Jónsson 45ed72ddaf Issue5407
Broken Py3.1 release build in Visual Studio 2005

The CRT runtime structure that holds ioinfo doesn't appear to match the decleration from the headers provided with the Visual Studio 2005 crt sources.  In Release, an extra 8 bytes follow the final BOOL.  I cannot explain this, but the code works now, both in 32 bits and 64
2009-03-03 06:52:34 +00:00
Raymond Hettinger a88e4daf52 Fix markup. 2009-03-03 05:12:27 +00:00
Raymond Hettinger ff23e8cfe5 Fix bootstrapping problem where setup.py was using configparser
before _collections had been built.
2009-03-03 01:32:48 +00:00
Benjamin Peterson dcaf329e40 instead of hacking __locals__ in during bytecode generation, put it in the symtable 2009-03-03 00:54:05 +00:00
Raymond Hettinger 231b7f1cd6 Fix markup. 2009-03-03 00:23:19 +00:00
Amaury Forgeot d'Arc b5be6d4819 re-merge r69268 (issue4804) from trunk:
Now that the C runtime assertions are not silenced any more,
we must provide checks for the format string of strftime
2009-03-02 23:52:57 +00:00
Benjamin Peterson f5b52246ed ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626 2009-03-02 23:31:26 +00:00
Raymond Hettinger 0663a1ed79 Let configparser use ordered dicts by default. 2009-03-02 23:06:00 +00:00
Benjamin Peterson 6accb988a1 Merged revisions 70107 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70107 | benjamin.peterson | 2009-03-02 16:41:42 -0600 (Mon, 02 Mar 2009) | 1 line

  give httplib.IncompleteRead a more sane repr #4308
........
2009-03-02 22:50:25 +00:00
Raymond Hettinger a4f52b12d6 Add OrderedDict support to collections.namedtuple(). 2009-03-02 22:28:31 +00:00
Raymond Hettinger b62ad24cd8 Fix versionchanged. 2009-03-02 22:16:43 +00:00
Benjamin Peterson d45bf58d77 fix versionadded 2009-03-02 21:44:54 +00:00
Raymond Hettinger ea9f8db2a2 Missed my last update to __eq__ to check matching length. 2009-03-02 21:28:41 +00:00
Raymond Hettinger 2d32f63ec9 PEP 372: OrderedDict() 2009-03-02 21:24:57 +00:00
Brett Cannon 57b46f5b0e Expose importlib.util.set___package__. 2009-03-02 14:38:26 +00:00
Hirokazu Yamamoto 4d4975c0e4 Fixed typo. 2009-03-02 05:49:44 +00:00
Tarek Ziadé d9ca384feb Merged revisions 70094 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70094 | tarek.ziade | 2009-03-02 06:38:44 +0100 (Mon, 02 Mar 2009) | 1 line

  removing the force-optimized option as discussed in #1533164
........
2009-03-02 05:41:25 +00:00
Gregory P. Smith ccc5ae7ae1 Merged revisions 70090 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70090 | gregory.p.smith | 2009-03-01 21:13:57 -0800 (Sun, 01 Mar 2009) | 3 lines

  Adds an optional flags argument to re.split, re.sub and re.subn to be
  consistent with the other re module functions.
........
2009-03-02 05:21:55 +00:00
Gregory P. Smith 4221c74cb0 Merged r70088 from trunk (re documentation update) 2009-03-02 05:04:04 +00:00
Raymond Hettinger 85685e976b Fix docs for ConfigParser. 2009-03-01 02:16:04 +00:00
Georg Brandl 478a08e960 Blocked revisions 70078 via svnmerge
........
  r70078 | georg.brandl | 2009-02-28 22:33:10 +0100 (Sa, 28 Feb 2009) | 2 lines

  Fix 3k-style metaclass syntax in docstrings.
........
2009-02-28 21:34:14 +00:00
Jeffrey Yasskin bbbfcd380e Blocked revisions 70071 via svnmerge
........
  r70071 | jeffrey.yasskin | 2009-02-28 11:03:21 -0800 (Sat, 28 Feb 2009) | 5 lines

  Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
  POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing
  a POP_TOP on each conditional and sometimes allows the peephole optimizer to
  skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly.
........
2009-02-28 19:52:09 +00:00
Jeffrey Yasskin 4dd40525e6 Fix 2 oversights from r69961. 2009-02-28 19:49:43 +00:00
Benjamin Peterson 56420b406d #4967 fix buggy read() 2009-02-28 19:06:54 +00:00
Mark Dickinson 1bd2e29d82 Merged revisions 70062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70062 | mark.dickinson | 2009-02-28 15:50:40 +0000 (Sat, 28 Feb 2009) | 2 lines

  Issue #5393: typo in cmath.cos and cmath.cosh docstring
........
2009-02-28 15:53:24 +00:00
Hirokazu Yamamoto 10c9937b23 Merged revisions 70056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70056 | hirokazu.yamamoto | 2009-02-28 21:13:07 +0900 | 2 lines

  Issue #1733986: Fixed mmap crash in accessing elements of second map object
  with same tagname but larger size than first map. (Windows)
........
2009-02-28 12:21:53 +00:00
Hirokazu Yamamoto 39c6dea4a2 Merged revisions 70052 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70052 | hirokazu.yamamoto | 2009-02-28 19:31:54 +0900 | 2 lines

  Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
  overrun.
........
2009-02-28 10:56:50 +00:00
Tarek Ziadé f072122c79 Merged revisions 70049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70049 | tarek.ziade | 2009-02-28 11:08:02 +0100 (Sat, 28 Feb 2009) | 1 line

  Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command
........
2009-02-28 10:16:43 +00:00
Benjamin Peterson e9a950e3c2 Blocked revisions 70011,70016 via svnmerge
........
  r70011 | brett.cannon | 2009-02-26 21:38:28 -0600 (Thu, 26 Feb 2009) | 5 lines

  Fix a bug where code was trying to index an int. Left over from the situation
  from using str.rpartition to str.rindex.

  Closes Issue5213.
........
  r70016 | raymond.hettinger | 2009-02-27 02:09:47 -0600 (Fri, 27 Feb 2009) | 1 line

  Give mapping views a usable repr.
........
2009-02-27 22:29:33 +00:00
Georg Brandl 26338d1cfd another instance of #804543: use strdup() when saving the result of setlocale() because it could be overwritten by subsequent setlocale()s. 2009-02-27 17:52:38 +00:00
Georg Brandl ec12e82952 #5360: replace PyObject_HEAD_INIT by PyVarObject_HEAD_INIT. 2009-02-27 17:11:23 +00:00
Georg Brandl f341acd5b5 #5360: remove RO which has been kicked from 3k. 2009-02-27 17:03:38 +00:00
Georg Brandl 2dd0104d36 #5357: fix incomprehensible paragraph in urlopen() doc. 2009-02-27 16:46:46 +00:00
Tarek Ziadé 38e3d51ea7 Merged revisions 70017 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70017 | tarek.ziade | 2009-02-27 13:53:34 +0100 (Fri, 27 Feb 2009) | 1 line

  Issue #5052: make Distutils compatible with 2.3 again.
........
2009-02-27 12:58:56 +00:00
Raymond Hettinger 89fc2b7821 Give mapping views a usable repr. 2009-02-27 07:47:32 +00:00
Tarek Ziadé 3177f2fdb0 Merged revisions 70007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70007 | tarek.ziade | 2009-02-27 03:14:35 +0100 (Fri, 27 Feb 2009) | 1 line

  more info on long_description
........
2009-02-27 02:22:25 +00:00
Tarek Ziadé 041fb344f1 Merged revisions 70003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70003 | tarek.ziade | 2009-02-27 00:44:00 +0100 (Fri, 27 Feb 2009) | 1 line

  removed unused import
........
2009-02-26 23:47:00 +00:00
Benjamin Peterson 2f060fb5a2 Blocked revisions 70000 via svnmerge
........
  r70000 | benjamin.peterson | 2009-02-26 13:07:18 -0600 (Thu, 26 Feb 2009) | 1 line

  remove deprecated symtable.Symbol methods
........
2009-02-26 19:17:12 +00:00
Benjamin Peterson efb06b0d91 Merged revisions 69811,69947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69811 | collin.winter | 2009-02-20 13:30:41 -0600 (Fri, 20 Feb 2009) | 2 lines

  Issue 5176: special-case string formatting in BINARY_MODULO implementation. This shows a modest (1-3%) speed-up in templating systems, for example.
........
  r69947 | jeffrey.yasskin | 2009-02-24 16:48:34 -0600 (Tue, 24 Feb 2009) | 3 lines

  Tools/scripts/analyze_dxp.py, a module with some helper functions to
  analyze the output of sys.getdxp().
........
2009-02-26 18:55:48 +00:00
Benjamin Peterson e3a2980644 Blocked revisions 69994 via svnmerge
........
  r69994 | georg.brandl | 2009-02-26 11:36:26 -0600 (Thu, 26 Feb 2009) | 1 line

  Document that setting sys.py3kwarning wont do anything.
........
2009-02-26 18:39:03 +00:00
Benjamin Peterson ad3d5c2235 Merged revisions 69803-69805,69840,69901,69905,69907,69924,69927,69987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69803 | georg.brandl | 2009-02-20 01:48:21 -0600 (Fri, 20 Feb 2009) | 1 line

  #5327: fix a broken link by joining it.
........
  r69804 | georg.brandl | 2009-02-20 02:22:21 -0600 (Fri, 20 Feb 2009) | 1 line

  At least separate imports from other statements.
........
  r69805 | georg.brandl | 2009-02-20 02:45:47 -0600 (Fri, 20 Feb 2009) | 2 lines

  Fix punctuation.
........
  r69840 | georg.brandl | 2009-02-21 13:09:40 -0600 (Sat, 21 Feb 2009) | 1 line

  #5338, #5339: two types in the API manual.
........
  r69901 | georg.brandl | 2009-02-23 05:24:46 -0600 (Mon, 23 Feb 2009) | 2 lines

  #5349: C++ pure virtuals can also have an implementation.
........
  r69905 | georg.brandl | 2009-02-23 09:51:27 -0600 (Mon, 23 Feb 2009) | 2 lines

  #5352: str.count() counts non-overlapping instances.
........
  r69907 | georg.brandl | 2009-02-23 12:33:48 -0600 (Mon, 23 Feb 2009) | 1 line

  Fix grammar.
........
  r69924 | benjamin.peterson | 2009-02-23 20:45:35 -0600 (Mon, 23 Feb 2009) | 1 line

  update README on running tests
........
  r69927 | neil.schemenauer | 2009-02-23 22:23:25 -0600 (Mon, 23 Feb 2009) | 1 line

  Fix call to os.waitpid, it does not take keyword args.
........
  r69987 | benjamin.peterson | 2009-02-25 18:30:11 -0600 (Wed, 25 Feb 2009) | 1 line

  fix str.format()'s first arg #5371
........
2009-02-26 03:38:59 +00:00
Benjamin Peterson 40ce6cc066 Blocked revisions 69937,69946,69952-69953,69955,69959,69981,69983 via svnmerge
........
  r69937 | raymond.hettinger | 2009-02-24 06:23:23 -0600 (Tue, 24 Feb 2009) | 3 lines

  Backport 69934:  Register xrange() as a Sequence.
........
  r69946 | brett.cannon | 2009-02-24 16:01:02 -0600 (Tue, 24 Feb 2009) | 2 lines

  Expand upon test_site.test_s_option to try to debug its failure.
........
  r69952 | raymond.hettinger | 2009-02-24 18:37:57 -0600 (Tue, 24 Feb 2009) | 1 line

  Sync-up py3.1 doc updates for super().
........
  r69953 | raymond.hettinger | 2009-02-24 18:39:47 -0600 (Tue, 24 Feb 2009) | 1 line

  Restore Py2.x version of sample call to super().
........
  r69955 | raymond.hettinger | 2009-02-24 18:52:37 -0600 (Tue, 24 Feb 2009) | 1 line

  More markup and spelling fixes.
........
  r69959 | raymond.hettinger | 2009-02-24 19:06:52 -0600 (Tue, 24 Feb 2009) | 1 line

  Remove reference to zero argument form of super() in 2.x docs.
........
  r69981 | raymond.hettinger | 2009-02-25 16:48:24 -0600 (Wed, 25 Feb 2009) | 1 line

  Clarify Counter() docs.
........
  r69983 | raymond.hettinger | 2009-02-25 18:05:24 -0600 (Wed, 25 Feb 2009) | 1 line

  Fix typo.
........
2009-02-26 02:44:26 +00:00
Raymond Hettinger d1258451e6 Fix typo. 2009-02-26 00:27:18 +00:00
Raymond Hettinger 72a95cc7b0 Sync-up 3.1 docs with 2.7 for collections.Counter(). 2009-02-25 22:51:40 +00:00
Tarek Ziadé 0f31e6db36 Merged revisions 69976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69976 | tarek.ziade | 2009-02-25 23:29:27 +0100 (Wed, 25 Feb 2009) | 1 line

  Fixed #5316 : test failure in test_site
........
2009-02-25 22:31:38 +00:00