]>
granicus.if.org Git - python/log
Raymond Hettinger [Tue, 3 Mar 2009 20:47:29 +0000 (20:47 +0000)]
Make the underlying data structure more private.
Raymond Hettinger [Tue, 3 Mar 2009 10:52:49 +0000 (10:52 +0000)]
Give dict views a helpful __repr__.
Hirokazu Yamamoto [Tue, 3 Mar 2009 07:54:32 +0000 (07:54 +0000)]
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
........
Hirokazu Yamamoto [Tue, 3 Mar 2009 07:49:01 +0000 (07:49 +0000)]
Fixed memory leak on failure. This is related to issue5403 but won't crash on py3k.
Kristján Valur Jónsson [Tue, 3 Mar 2009 06:52:34 +0000 (06:52 +0000)]
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
Raymond Hettinger [Tue, 3 Mar 2009 05:12:27 +0000 (05:12 +0000)]
Fix markup.
Raymond Hettinger [Tue, 3 Mar 2009 01:32:48 +0000 (01:32 +0000)]
Fix bootstrapping problem where setup.py was using configparser
before _collections had been built.
Benjamin Peterson [Tue, 3 Mar 2009 00:54:05 +0000 (00:54 +0000)]
instead of hacking __locals__ in during bytecode generation, put it in the symtable
Raymond Hettinger [Tue, 3 Mar 2009 00:23:19 +0000 (00:23 +0000)]
Fix markup.
Amaury Forgeot d'Arc [Mon, 2 Mar 2009 23:52:57 +0000 (23:52 +0000)]
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
Benjamin Peterson [Mon, 2 Mar 2009 23:31:26 +0000 (23:31 +0000)]
ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626
Raymond Hettinger [Mon, 2 Mar 2009 23:06:00 +0000 (23:06 +0000)]
Let configparser use ordered dicts by default.
Benjamin Peterson [Mon, 2 Mar 2009 22:50:25 +0000 (22:50 +0000)]
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
........
Raymond Hettinger [Mon, 2 Mar 2009 22:28:31 +0000 (22:28 +0000)]
Add OrderedDict support to collections.namedtuple().
Raymond Hettinger [Mon, 2 Mar 2009 22:16:43 +0000 (22:16 +0000)]
Fix versionchanged.
Benjamin Peterson [Mon, 2 Mar 2009 21:44:54 +0000 (21:44 +0000)]
fix versionadded
Raymond Hettinger [Mon, 2 Mar 2009 21:28:41 +0000 (21:28 +0000)]
Missed my last update to __eq__ to check matching length.
Raymond Hettinger [Mon, 2 Mar 2009 21:24:57 +0000 (21:24 +0000)]
PEP 372: OrderedDict()
Brett Cannon [Mon, 2 Mar 2009 14:38:26 +0000 (14:38 +0000)]
Expose importlib.util.set___package__.
Hirokazu Yamamoto [Mon, 2 Mar 2009 05:49:44 +0000 (05:49 +0000)]
Fixed typo.
Tarek Ziadé [Mon, 2 Mar 2009 05:41:25 +0000 (05:41 +0000)]
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
........
Gregory P. Smith [Mon, 2 Mar 2009 05:21:55 +0000 (05:21 +0000)]
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.
........
Gregory P. Smith [Mon, 2 Mar 2009 05:04:04 +0000 (05:04 +0000)]
Merged r70088 from trunk (re documentation update)
Raymond Hettinger [Sun, 1 Mar 2009 02:16:04 +0000 (02:16 +0000)]
Fix docs for ConfigParser.
Georg Brandl [Sat, 28 Feb 2009 21:34:14 +0000 (21:34 +0000)]
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.
........
Jeffrey Yasskin [Sat, 28 Feb 2009 19:52:09 +0000 (19:52 +0000)]
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.
........
Jeffrey Yasskin [Sat, 28 Feb 2009 19:49:43 +0000 (19:49 +0000)]
Fix 2 oversights from r69961.
Benjamin Peterson [Sat, 28 Feb 2009 19:06:54 +0000 (19:06 +0000)]
#4967 fix buggy read()
Mark Dickinson [Sat, 28 Feb 2009 15:53:24 +0000 (15:53 +0000)]
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
........
Hirokazu Yamamoto [Sat, 28 Feb 2009 12:21:53 +0000 (12:21 +0000)]
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)
........
Hirokazu Yamamoto [Sat, 28 Feb 2009 10:56:50 +0000 (10:56 +0000)]
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.
........
Tarek Ziadé [Sat, 28 Feb 2009 10:16:43 +0000 (10:16 +0000)]
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
........
Benjamin Peterson [Fri, 27 Feb 2009 22:29:33 +0000 (22:29 +0000)]
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.
........
Georg Brandl [Fri, 27 Feb 2009 17:52:38 +0000 (17:52 +0000)]
another instance of #804543: use strdup() when saving the result of setlocale() because it could be overwritten by subsequent setlocale()s.
Georg Brandl [Fri, 27 Feb 2009 17:11:23 +0000 (17:11 +0000)]
#5360: replace PyObject_HEAD_INIT by PyVarObject_HEAD_INIT.
Georg Brandl [Fri, 27 Feb 2009 17:03:38 +0000 (17:03 +0000)]
#5360: remove RO which has been kicked from 3k.
Georg Brandl [Fri, 27 Feb 2009 16:46:46 +0000 (16:46 +0000)]
#5357: fix incomprehensible paragraph in urlopen() doc.
Tarek Ziadé [Fri, 27 Feb 2009 12:58:56 +0000 (12:58 +0000)]
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.
........
Raymond Hettinger [Fri, 27 Feb 2009 07:47:32 +0000 (07:47 +0000)]
Give mapping views a usable repr.
Tarek Ziadé [Fri, 27 Feb 2009 02:22:25 +0000 (02:22 +0000)]
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
........
Tarek Ziadé [Thu, 26 Feb 2009 23:47:00 +0000 (23:47 +0000)]
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
........
Benjamin Peterson [Thu, 26 Feb 2009 19:17:12 +0000 (19:17 +0000)]
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
........
Benjamin Peterson [Thu, 26 Feb 2009 18:55:48 +0000 (18:55 +0000)]
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().
........
Benjamin Peterson [Thu, 26 Feb 2009 18:39:03 +0000 (18:39 +0000)]
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.
........
Benjamin Peterson [Thu, 26 Feb 2009 03:38:59 +0000 (03:38 +0000)]
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
........
Benjamin Peterson [Thu, 26 Feb 2009 02:44:26 +0000 (02:44 +0000)]
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.
........
Raymond Hettinger [Thu, 26 Feb 2009 00:27:18 +0000 (00:27 +0000)]
Fix typo.
Raymond Hettinger [Wed, 25 Feb 2009 22:51:40 +0000 (22:51 +0000)]
Sync-up 3.1 docs with 2.7 for collections.Counter().
Tarek Ziadé [Wed, 25 Feb 2009 22:31:38 +0000 (22:31 +0000)]
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
........
Mark Dickinson [Wed, 25 Feb 2009 20:33:49 +0000 (20:33 +0000)]
Merged revisions 69974 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69974 | mark.dickinson | 2009-02-25 20:29:50 +0000 (Wed, 25 Feb 2009) | 3 lines
Replace long with twodigits, to avoid depending
on sizeof(digit) < sizeof(long)
........
Jeffrey Yasskin [Wed, 25 Feb 2009 02:25:04 +0000 (02:25 +0000)]
http://bugs.python.org/issue4715
This patch by Antoine Pitrou optimizes the bytecode for conditional branches by
merging the following "POP_TOP" instruction into the conditional jump. For
example, the list comprehension "[x for x in l if not x]" produced the
following bytecode:
1 0 BUILD_LIST 0
3 LOAD_FAST 0 (.0)
>> 6 FOR_ITER 23 (to 32)
9 STORE_FAST 1 (x)
12 LOAD_FAST 1 (x)
15 JUMP_IF_TRUE 10 (to 28)
18 POP_TOP
19 LOAD_FAST 1 (x)
22 LIST_APPEND 2
25 JUMP_ABSOLUTE 6
>> 28 POP_TOP
29 JUMP_ABSOLUTE 6
>> 32 RETURN_VALUE
but after the patch it produces the following bytecode:
1 0 BUILD_LIST 0
3 LOAD_FAST 0 (.0)
>> 6 FOR_ITER 18 (to 27)
9 STORE_FAST 1 (x)
12 LOAD_FAST 1 (x)
15 POP_JUMP_IF_TRUE 6
18 LOAD_FAST 1 (x)
21 LIST_APPEND 2
24 JUMP_ABSOLUTE 6
>> 27 RETURN_VALUE
Notice that not only the code is shorter, but the conditional jump
(POP_JUMP_IF_TRUE) jumps right to the start of the loop instead of going through
the JUMP_ABSOLUTE at the end. "continue" statements are helped
similarly.
Furthermore, the old jump opcodes (JUMP_IF_FALSE, JUMP_IF_TRUE) have been
replaced by two new opcodes:
- JUMP_IF_TRUE_OR_POP, which jumps if true and pops otherwise
- JUMP_IF_FALSE_OR_POP, which jumps if false and pops otherwise
Raymond Hettinger [Wed, 25 Feb 2009 00:58:47 +0000 (00:58 +0000)]
More markup and spelling fixes.
Raymond Hettinger [Wed, 25 Feb 2009 00:32:51 +0000 (00:32 +0000)]
Tweak markup, grammar, and punctuation.
Raymond Hettinger [Tue, 24 Feb 2009 23:41:47 +0000 (23:41 +0000)]
Revert unintended part of r69948. Pydoc was not supposed to change.
Raymond Hettinger [Tue, 24 Feb 2009 23:30:43 +0000 (23:30 +0000)]
Refine docs for super() noting that sibling classes can
be called, not just parents. Add a comparison to getattr()
which has the same search order but also includes the type
itself.
Raymond Hettinger [Tue, 24 Feb 2009 11:27:15 +0000 (11:27 +0000)]
Use ABCs to validate documented restriction to Sets or Sequences.
Raymond Hettinger [Tue, 24 Feb 2009 11:25:35 +0000 (11:25 +0000)]
range() should have been registered as a Sequence.
Needs to be backported to 2.6, 2.7, and 3.0.
Raymond Hettinger [Tue, 24 Feb 2009 10:57:02 +0000 (10:57 +0000)]
Fix-up random docs. Jumpahead was removed long ago. Other minor corrections.
Benjamin Peterson [Tue, 24 Feb 2009 03:16:28 +0000 (03:16 +0000)]
Blocked revisions 69870-69871,69908 via svnmerge
........
r69870 | antoine.pitrou | 2009-02-22 11:25:52 -0600 (Sun, 22 Feb 2009) | 3 lines
Try to make sense of the test_site buildbot failures
........
r69871 | antoine.pitrou | 2009-02-22 12:20:46 -0600 (Sun, 22 Feb 2009) | 3 lines
Revert debugging statements, culprit is possibly test_distutils (see #5316)
........
r69908 | raymond.hettinger | 2009-02-23 13:32:55 -0600 (Mon, 23 Feb 2009) | 1 line
Update itertools recipes to use next().
........
Raymond Hettinger [Mon, 23 Feb 2009 19:38:09 +0000 (19:38 +0000)]
Update itertools recipes to use next().
Tarek Ziadé [Mon, 23 Feb 2009 12:47:55 +0000 (12:47 +0000)]
Merged revisions 69902 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69902 | tarek.ziade | 2009-02-23 13:41:29 +0100 (Mon, 23 Feb 2009) | 1 line
more test coverage
........
Georg Brandl [Mon, 23 Feb 2009 10:25:20 +0000 (10:25 +0000)]
Blocked revisions 69896 via svnmerge
........
r69896 | georg.brandl | 2009-02-23 11:24:23 +0100 (Mo, 23 Feb 2009) | 1 line
#5348: format() converts all kinds of values.
........
Georg Brandl [Mon, 23 Feb 2009 10:24:05 +0000 (10:24 +0000)]
#5348: format() converts all kinds of values.
Benjamin Peterson [Mon, 23 Feb 2009 03:38:43 +0000 (03:38 +0000)]
.pythonrc.py is no more
Matthias Klose [Sun, 22 Feb 2009 23:18:38 +0000 (23:18 +0000)]
Merged revisions 69889 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69889 | matthias.klose | 2009-02-23 00:14:26 +0100 (Mo, 23 Feb 2009) | 2 lines
- Link the shared python library with $(MODLIBS).
........
Tarek Ziadé [Sun, 22 Feb 2009 20:20:59 +0000 (20:20 +0000)]
Merged revisions 69881 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69881 | tarek.ziade | 2009-02-22 21:15:41 +0100 (Sun, 22 Feb 2009) | 1 line
Removing unused __main__ sections
........
Tarek Ziadé [Sun, 22 Feb 2009 20:14:01 +0000 (20:14 +0000)]
Blocked revisions 69878 via svnmerge
........
r69878 | tarek.ziade | 2009-02-22 21:11:46 +0100 (Sun, 22 Feb 2009) | 1 line
removing map and lambda usage, so the test is similar to py3k's branch one
........
Tarek Ziadé [Sun, 22 Feb 2009 20:05:16 +0000 (20:05 +0000)]
Merged revisions 69874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69874 | tarek.ziade | 2009-02-22 20:58:12 +0100 (Sun, 22 Feb 2009) | 1 line
moved distutils.text_file tests into a real unittest class
........
Matthias Klose [Sun, 22 Feb 2009 12:57:58 +0000 (12:57 +0000)]
- Modules/Setup.dist: Mention _heapq
Tarek Ziadé [Sun, 22 Feb 2009 00:10:58 +0000 (00:10 +0000)]
Merged revisions 69861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69861 | tarek.ziade | 2009-02-22 01:07:45 +0100 (Sun, 22 Feb 2009) | 1 line
using versionchanged instead of versionadded for distutils doc on sdist default files
........
Raymond Hettinger [Sat, 21 Feb 2009 23:20:57 +0000 (23:20 +0000)]
In Py3.x, a list comprehension is now faster than list(map(itemgetter(0), iterable)).
Benjamin Peterson [Sat, 21 Feb 2009 23:14:55 +0000 (23:14 +0000)]
Merged revisions 69855 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69855 | benjamin.peterson | 2009-02-21 17:09:33 -0600 (Sat, 21 Feb 2009) | 1 line
fix compiler warnings
........
Brett Cannon [Sat, 21 Feb 2009 23:12:24 +0000 (23:12 +0000)]
Relocate source_mtime in importlib to PyPycLoader.
Benjamin Peterson [Sat, 21 Feb 2009 22:39:38 +0000 (22:39 +0000)]
Blocked revisions 69837-69838 via svnmerge
........
r69837 | raymond.hettinger | 2009-02-21 01:17:22 -0600 (Sat, 21 Feb 2009) | 4 lines
Fix keyword arguments for itertools.count().
Step arg without a start arg was ignored.
........
r69838 | raymond.hettinger | 2009-02-21 02:58:42 -0600 (Sat, 21 Feb 2009) | 1 line
Speedup and simplify negative counter using count's new step argument.
........
Raymond Hettinger [Sat, 21 Feb 2009 22:30:12 +0000 (22:30 +0000)]
Port r69837: Fix keyword arguments for itertools.count(). Step arg without a start arg was ignored.
Raymond Hettinger [Sat, 21 Feb 2009 22:10:18 +0000 (22:10 +0000)]
Port r69838: Speedup and simplify negative counter using count's new step argument.
Mark Dickinson [Sat, 21 Feb 2009 20:59:32 +0000 (20:59 +0000)]
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines
Issue #5341: Fix a variety of spelling errors.
........
Brett Cannon [Sat, 21 Feb 2009 05:41:15 +0000 (05:41 +0000)]
Refactor source and bytecode file loaders in importlib so that there
are source-only and source/bytecode loaders.
Brett Cannon [Sat, 21 Feb 2009 03:53:06 +0000 (03:53 +0000)]
Tweak the source/bytecode loader from importlib to use more of the PEP 302
protocol API.
Brett Cannon [Sat, 21 Feb 2009 03:31:35 +0000 (03:31 +0000)]
Separate out finder for source and source/bytecode.
Brett Cannon [Sat, 21 Feb 2009 03:15:37 +0000 (03:15 +0000)]
Do some cleanup in importlib:
+ Ditch using arguments to super().
+ Ditch subclassing from object directly.
+ Move directory check out of chaining path hook to file path hook/finder.
+ Rename some classes to better reflect they are finders, not importers.
Brett Cannon [Sat, 21 Feb 2009 03:12:17 +0000 (03:12 +0000)]
Add some notes about importlib and some API exposure cleanup.
Brett Cannon [Sat, 21 Feb 2009 02:51:12 +0000 (02:51 +0000)]
Minor NOTES changes for importlib.
Mark Dickinson [Fri, 20 Feb 2009 20:53:56 +0000 (20:53 +0000)]
More typos in Lib/turtle.py
Mark Dickinson [Fri, 20 Feb 2009 20:50:21 +0000 (20:50 +0000)]
Merged revisions 69816 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69816 | mark.dickinson | 2009-02-20 20:42:53 +0000 (Fri, 20 Feb 2009) | 2 lines
Issue #5295: Typos in turtle.py
........
Eric Smith [Fri, 20 Feb 2009 14:25:03 +0000 (14:25 +0000)]
Merged revisions 69806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69806 | eric.smith | 2009-02-20 09:02:36 -0500 (Fri, 20 Feb 2009) | 1 line
Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, int, and float arguments.
........
Benjamin Peterson [Fri, 20 Feb 2009 04:09:19 +0000 (04:09 +0000)]
Merged revisions 69415,69591,69593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69415 | benjamin.peterson | 2009-02-07 13:08:22 -0600 (Sat, 07 Feb 2009) | 1 line
make destinsrc private
........
r69591 | martin.v.loewis | 2009-02-13 14:26:16 -0600 (Fri, 13 Feb 2009) | 1 line
Update Tix build procedure.
........
r69593 | martin.v.loewis | 2009-02-13 14:51:48 -0600 (Fri, 13 Feb 2009) | 1 line
Add optional code signing after merging.
........
Benjamin Peterson [Fri, 20 Feb 2009 04:02:38 +0000 (04:02 +0000)]
Merged revisions 69769,69776 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69769 | georg.brandl | 2009-02-19 02:30:06 -0600 (Thu, 19 Feb 2009) | 1 line
#5310, #3558: fix operator precedence table.
........
r69776 | georg.brandl | 2009-02-19 10:34:51 -0600 (Thu, 19 Feb 2009) | 2 lines
#5317: update IronPython URL.
........
Benjamin Peterson [Fri, 20 Feb 2009 03:40:57 +0000 (03:40 +0000)]
Blocked revisions 69268,69516,69757,69761,69765,69770,69772,69777,69795 via svnmerge
........
r69268 | kristjan.jonsson | 2009-02-04 04:05:25 -0600 (Wed, 04 Feb 2009) | 1 line
issue 4804: Provide checks for the format string of strftime, and for the "mode" string of fopen on Windows. These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid.
........
r69516 | hirokazu.yamamoto | 2009-02-10 22:13:06 -0600 (Tue, 10 Feb 2009) | 2 lines
Issue #5204: Define _PyVerify_fd on VC6 to make
test_fdopen (test_os.py) pass.
........
r69757 | raymond.hettinger | 2009-02-18 23:34:35 -0600 (Wed, 18 Feb 2009) | 1 line
Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe.
........
r69761 | raymond.hettinger | 2009-02-18 23:51:41 -0600 (Wed, 18 Feb 2009) | 1 line
Add an example for math.fsum() and elaborate on the accurary note.
........
r69765 | raymond.hettinger | 2009-02-19 00:55:03 -0600 (Thu, 19 Feb 2009) | 1 line
Add links to helpful external resources.
........
r69770 | raymond.hettinger | 2009-02-19 03:50:24 -0600 (Thu, 19 Feb 2009) | 1 line
Inline coefficients in gamma(). Add reflection formula. Add comments.
........
r69772 | vinay.sajip | 2009-02-19 06:31:32 -0600 (Thu, 19 Feb 2009) | 1 line
#5287: Add exception handling around findCaller() call to help out IronPython.
........
r69777 | jeroen.ruigrok | 2009-02-19 12:52:21 -0600 (Thu, 19 Feb 2009) | 3 lines
Since we recommend one module per import line, reflect this also in the
documentation.
........
r69795 | benjamin.peterson | 2009-02-19 21:31:23 -0600 (Thu, 19 Feb 2009) | 1 line
revert r69777 since all the experts agree that extra import lines distract from the code
........
Benjamin Peterson [Fri, 20 Feb 2009 03:19:25 +0000 (03:19 +0000)]
fix None errno #5312
Amaury Forgeot d'Arc [Thu, 19 Feb 2009 23:23:47 +0000 (23:23 +0000)]
#5306: Fix compilation on Windows by properly merging change 69495.
+ fixed an obvious merge glitch in a windows-only test.
Patch by Hirokazu Yamamoto.
I added a _PyVerify_fd() call to os.device_encoding() (new in python 3.0)
which also uses a raw file descriptor.
Vinay Sajip [Thu, 19 Feb 2009 12:36:11 +0000 (12:36 +0000)]
#5287: Add exception handling around findCaller() call to help out IronPython.
Raymond Hettinger [Thu, 19 Feb 2009 09:53:18 +0000 (09:53 +0000)]
Inline coefficients in gamma(). Add reflection formula. Add comments.
Martin v. Löwis [Thu, 19 Feb 2009 07:51:52 +0000 (07:51 +0000)]
Regenerate with autoconf 2.61.
Raymond Hettinger [Thu, 19 Feb 2009 06:44:30 +0000 (06:44 +0000)]
Add links to helpful external resources.
Raymond Hettinger [Thu, 19 Feb 2009 05:48:05 +0000 (05:48 +0000)]
Add an example for math.fsum() and elaborate on the accurary note.
Raymond Hettinger [Thu, 19 Feb 2009 04:45:07 +0000 (04:45 +0000)]
Add some cross-references to the docs. Simplify the python code equivalent for zip(). Supply an optional argument for the nth() recipe.
Benjamin Peterson [Thu, 19 Feb 2009 04:22:03 +0000 (04:22 +0000)]
Merged revisions 69576,69579-69580,69589,69619-69620,69633,69703-69704,69728-69730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69576 | georg.brandl | 2009-02-13 04:56:50 -0600 (Fri, 13 Feb 2009) | 1 line
#
1661108 : note that urlsafe encoded string can contain "=".
........
r69579 | georg.brandl | 2009-02-13 05:06:59 -0600 (Fri, 13 Feb 2009) | 2 lines
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
r69580 | georg.brandl | 2009-02-13 05:10:04 -0600 (Fri, 13 Feb 2009) | 2 lines
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
r69589 | martin.v.loewis | 2009-02-13 14:11:34 -0600 (Fri, 13 Feb 2009) | 2 lines
Move amd64 properties further to the top, so that they override
the linker options correctly.
........
r69619 | benjamin.peterson | 2009-02-14 11:00:51 -0600 (Sat, 14 Feb 2009) | 1 line
this needn't be a shebang line
........
r69620 | georg.brandl | 2009-02-14 11:01:36 -0600 (Sat, 14 Feb 2009) | 1 line
#5179: don't leak PIPE fds when child execution fails.
........
r69633 | hirokazu.yamamoto | 2009-02-15 03:19:48 -0600 (Sun, 15 Feb 2009) | 1 line
Fixed typo.
........
r69703 | raymond.hettinger | 2009-02-16 16:42:54 -0600 (Mon, 16 Feb 2009) | 3 lines
Issue 5229: Documentation for super() neglects to say what super() actually does
........
r69704 | raymond.hettinger | 2009-02-16 17:00:25 -0600 (Mon, 16 Feb 2009) | 1 line
Add explanation for super(type1, type2).
........
r69728 | georg.brandl | 2009-02-17 18:22:55 -0600 (Tue, 17 Feb 2009) | 2 lines
#5297: fix example.
........
r69729 | georg.brandl | 2009-02-17 18:25:13 -0600 (Tue, 17 Feb 2009) | 2 lines
#5296: sequence -> iterable.
........
r69730 | georg.brandl | 2009-02-17 18:31:36 -0600 (Tue, 17 Feb 2009) | 2 lines
#5268: mention VMSError.
........
Benjamin Peterson [Thu, 19 Feb 2009 03:24:17 +0000 (03:24 +0000)]
Blocked revisions 69748,69751 via svnmerge
........
r69748 | raymond.hettinger | 2009-02-18 20:15:14 -0600 (Wed, 18 Feb 2009) | 1 line
Add keyword arg support to itertools.compress().
........
r69751 | raymond.hettinger | 2009-02-18 20:38:25 -0600 (Wed, 18 Feb 2009) | 1 line
Add keyword arg support to itertools.repeat().
........
Raymond Hettinger [Thu, 19 Feb 2009 02:44:01 +0000 (02:44 +0000)]
Add keyword arg support to itertools.repeat().