Benjamin Peterson
b6b76cc0ff
Blocked revisions 70149 via svnmerge
...
........
r70149 | raymond.hettinger | 2009-03-03 16:59:25 -0600 (Tue, 03 Mar 2009) | 5 lines
Backport 70140, 70141, 70143, and 70144.
Adds tests, switches from list to deque, fixes __reduce__
which was unnecessarily copying __keys.
........
2009-03-03 23:03:12 +00:00
Benjamin Peterson
62f71b038e
don't bother with version in doc builds
2009-03-03 22:55:55 +00:00
Raymond Hettinger
b212157465
Additional test for __reduce__.
2009-03-03 22:50:04 +00:00
Raymond Hettinger
89194ff280
Now that __keys are fully hidden, switch the underlying structure
...
to deque() which futher reduces the temptation to index or resort.
Also, it is a bit faster for some cases.
2009-03-03 22:42:48 +00:00
Hirokazu Yamamoto
0c9881782b
Merged revisions 70137 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70137 | hirokazu.yamamoto | 2009-03-04 07:18:14 +0900 | 1 line
Issue #5179 : Fixed subprocess handle leak on failure on windows.
........
2009-03-03 22:41:26 +00:00
Raymond Hettinger
5b26fb530b
Add another test.
2009-03-03 22:38:22 +00:00
Raymond Hettinger
14b89ffc7e
Fix-up __reduce__ which could not reach the __keys variable indirectly.'
2009-03-03 22:20:56 +00:00
Hirokazu Yamamoto
9a572ba966
Blocked revisions 70136 via svnmerge
...
........
r70136 | hirokazu.yamamoto | 2009-03-04 07:05:57 +0900 | 1 line
Fixed memory leak.
........
2009-03-03 22:19:38 +00:00
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