]> granicus.if.org Git - python/log
python
16 years agoBackport PEP 372: OrderedDict()
Raymond Hettinger [Tue, 3 Mar 2009 04:45:34 +0000 (04:45 +0000)]
Backport PEP 372: OrderedDict()

16 years agoFix SHA_new and MD5_new, that would crash if not given initial data
Kristján Valur Jónsson [Tue, 3 Mar 2009 03:20:42 +0000 (03:20 +0000)]
Fix SHA_new and MD5_new, that would crash if not given initial data

16 years agogive httplib.IncompleteRead a more sane repr #4308
Benjamin Peterson [Mon, 2 Mar 2009 22:41:42 +0000 (22:41 +0000)]
give httplib.IncompleteRead a more sane repr #4308

16 years agoremoving the force-optimized option as discussed in #1533164
Tarek Ziadé [Mon, 2 Mar 2009 05:38:44 +0000 (05:38 +0000)]
removing the force-optimized option as discussed in #1533164

16 years agoAdds an optional flags argument to re.split, re.sub and re.subn to be
Gregory P. Smith [Mon, 2 Mar 2009 05:13:57 +0000 (05:13 +0000)]
Adds an optional flags argument to re.split, re.sub and re.subn to be
consistent with the other re module functions.

16 years agoThe note about caching of regular expression objects was incorrect ReST and
Gregory P. Smith [Mon, 2 Mar 2009 04:53:24 +0000 (04:53 +0000)]
The note about caching of regular expression objects was incorrect ReST and
thus invisible in the compiled documentation.  Fixed.  Also I cleaned up the
wording.

16 years agofix a silly problem of caching gone wrong #5401
Benjamin Peterson [Mon, 2 Mar 2009 03:35:12 +0000 (03:35 +0000)]
fix a silly problem of caching gone wrong #5401

16 years agoFix docs for ConfigParser.
Raymond Hettinger [Sun, 1 Mar 2009 02:04:32 +0000 (02:04 +0000)]
Fix docs for ConfigParser.

16 years agoFix 3k-style metaclass syntax in docstrings.
Georg Brandl [Sat, 28 Feb 2009 21:33:10 +0000 (21:33 +0000)]
Fix 3k-style metaclass syntax in docstrings.

16 years agoBackport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
Jeffrey Yasskin [Sat, 28 Feb 2009 19:03:21 +0000 (19:03 +0000)]
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.

16 years agoIssue #5393: typo in cmath.cos and cmath.cosh docstring
Mark Dickinson [Sat, 28 Feb 2009 15:50:40 +0000 (15:50 +0000)]
Issue #5393: typo in cmath.cos and cmath.cosh docstring

16 years agoBinary flag is needed on windows.
Hirokazu Yamamoto [Sat, 28 Feb 2009 15:24:00 +0000 (15:24 +0000)]
Binary flag is needed on windows.

16 years agoIssue #1733986: Fixed mmap crash in accessing elements of second map object
Hirokazu Yamamoto [Sat, 28 Feb 2009 12:13:07 +0000 (12:13 +0000)]
Issue #1733986: Fixed mmap crash in accessing elements of second map object
with same tagname but larger size than first map. (Windows)

16 years agoIssue #5386: mmap.write_byte didn't check map size, so it could cause buffer
Hirokazu Yamamoto [Sat, 28 Feb 2009 10:31:54 +0000 (10:31 +0000)]
Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer
overrun.

16 years agoIssues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_...
Tarek Ziadé [Sat, 28 Feb 2009 10:08:02 +0000 (10:08 +0000)]
Issues #1533164 and #5378: Added quiet and force-optimize options to Distutils bdist_rpm command

16 years ago#5365: add quick look conversion table for different time representations.
Georg Brandl [Fri, 27 Feb 2009 16:59:03 +0000 (16:59 +0000)]
#5365: add quick look conversion table for different time representations.

16 years ago#5344: fix punctuation.
Georg Brandl [Fri, 27 Feb 2009 16:52:55 +0000 (16:52 +0000)]
#5344: fix punctuation.

16 years ago#5363: fix cmpfiles() docs. Another instance where a prose description is twice as...
Georg Brandl [Fri, 27 Feb 2009 16:39:26 +0000 (16:39 +0000)]
#5363: fix cmpfiles() docs. Another instance where a prose description is twice as long as the code.

16 years ago#5361: fix typo.
Georg Brandl [Fri, 27 Feb 2009 16:23:18 +0000 (16:23 +0000)]
#5361: fix typo.

16 years agoIssue #5052: make Distutils compatible with 2.3 again.
Tarek Ziadé [Fri, 27 Feb 2009 12:53:34 +0000 (12:53 +0000)]
Issue #5052: make Distutils compatible with 2.3 again.

16 years agoGive mapping views a usable repr.
Raymond Hettinger [Fri, 27 Feb 2009 08:09:47 +0000 (08:09 +0000)]
Give mapping views a usable repr.

16 years agoFix a bug where code was trying to index an int. Left over from the situation
Brett Cannon [Fri, 27 Feb 2009 03:38:28 +0000 (03:38 +0000)]
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.

16 years agomore info on long_description
Tarek Ziadé [Fri, 27 Feb 2009 02:14:35 +0000 (02:14 +0000)]
more info on long_description

16 years agoremoved unused import
Tarek Ziadé [Thu, 26 Feb 2009 23:44:00 +0000 (23:44 +0000)]
removed unused import

16 years agoThe curses panel library is now supported
Andrew M. Kuchling [Thu, 26 Feb 2009 22:34:30 +0000 (22:34 +0000)]
The curses panel library is now supported

16 years agoremove deprecated symtable.Symbol methods
Benjamin Peterson [Thu, 26 Feb 2009 19:07:18 +0000 (19:07 +0000)]
remove deprecated symtable.Symbol methods

16 years agocomma
Benjamin Peterson [Thu, 26 Feb 2009 19:05:59 +0000 (19:05 +0000)]
comma

16 years agothe startship is rather outdated now
Benjamin Peterson [Thu, 26 Feb 2009 19:04:40 +0000 (19:04 +0000)]
the startship is rather outdated now

16 years agoDocument that setting sys.py3kwarning wont do anything.
Georg Brandl [Thu, 26 Feb 2009 17:36:26 +0000 (17:36 +0000)]
Document that setting sys.py3kwarning wont do anything.

16 years agofix str.format()'s first arg #5371
Benjamin Peterson [Thu, 26 Feb 2009 00:30:11 +0000 (00:30 +0000)]
fix str.format()'s first arg #5371

16 years agoFix typo.
Raymond Hettinger [Thu, 26 Feb 2009 00:05:24 +0000 (00:05 +0000)]
Fix typo.

16 years agoClarify Counter() docs.
Raymond Hettinger [Wed, 25 Feb 2009 22:48:24 +0000 (22:48 +0000)]
Clarify Counter() docs.

16 years agoFixed #5316 : test failure in test_site
Tarek Ziadé [Wed, 25 Feb 2009 22:29:27 +0000 (22:29 +0000)]
Fixed #5316 : test failure in test_site

16 years agoReplace long with twodigits, to avoid depending
Mark Dickinson [Wed, 25 Feb 2009 20:29:50 +0000 (20:29 +0000)]
Replace long with twodigits, to avoid depending
on sizeof(digit) < sizeof(long)

16 years agoRemove reference to zero argument form of super() in 2.x docs.
Raymond Hettinger [Wed, 25 Feb 2009 01:06:52 +0000 (01:06 +0000)]
Remove reference to zero argument form of super() in 2.x docs.

16 years agoMore markup and spelling fixes.
Raymond Hettinger [Wed, 25 Feb 2009 00:52:37 +0000 (00:52 +0000)]
More markup and spelling fixes.

16 years agoRestore Py2.x version of sample call to super().
Raymond Hettinger [Wed, 25 Feb 2009 00:39:47 +0000 (00:39 +0000)]
Restore Py2.x version of sample call to super().

16 years agoSync-up py3.1 doc updates for super().
Raymond Hettinger [Wed, 25 Feb 2009 00:37:57 +0000 (00:37 +0000)]
Sync-up py3.1 doc updates for super().

16 years agoTools/scripts/analyze_dxp.py, a module with some helper functions to
Jeffrey Yasskin [Tue, 24 Feb 2009 22:48:34 +0000 (22:48 +0000)]
Tools/scripts/analyze_dxp.py, a module with some helper functions to
analyze the output of sys.getdxp().

16 years agoExpand upon test_site.test_s_option to try to debug its failure.
Brett Cannon [Tue, 24 Feb 2009 22:01:02 +0000 (22:01 +0000)]
Expand upon test_site.test_s_option to try to debug its failure.

16 years agoBackport 69934: Register xrange() as a Sequence.
Raymond Hettinger [Tue, 24 Feb 2009 12:23:23 +0000 (12:23 +0000)]
Backport 69934:  Register xrange() as a Sequence.

16 years agoFix call to os.waitpid, it does not take keyword args.
Neil Schemenauer [Tue, 24 Feb 2009 04:23:25 +0000 (04:23 +0000)]
Fix call to os.waitpid, it does not take keyword args.

16 years agoupdate README on running tests
Benjamin Peterson [Tue, 24 Feb 2009 02:45:35 +0000 (02:45 +0000)]
update README on running tests

16 years agoUpdate itertools recipes to use next().
Raymond Hettinger [Mon, 23 Feb 2009 19:32:55 +0000 (19:32 +0000)]
Update itertools recipes to use next().

16 years agoFix grammar.
Georg Brandl [Mon, 23 Feb 2009 18:33:48 +0000 (18:33 +0000)]
Fix grammar.

16 years ago#5352: str.count() counts non-overlapping instances.
Georg Brandl [Mon, 23 Feb 2009 15:51:27 +0000 (15:51 +0000)]
#5352: str.count() counts non-overlapping instances.

16 years agomore test coverage
Tarek Ziadé [Mon, 23 Feb 2009 12:41:29 +0000 (12:41 +0000)]
more test coverage

16 years ago#5349: C++ pure virtuals can also have an implementation.
Georg Brandl [Mon, 23 Feb 2009 11:24:46 +0000 (11:24 +0000)]
#5349: C++ pure virtuals can also have an implementation.

16 years ago#5348: format() converts all kinds of values.
Georg Brandl [Mon, 23 Feb 2009 10:24:23 +0000 (10:24 +0000)]
#5348: format() converts all kinds of values.

16 years ago- Link the shared python library with $(MODLIBS).
Matthias Klose [Sun, 22 Feb 2009 23:14:26 +0000 (23:14 +0000)]
- Link the shared python library with $(MODLIBS).

16 years agoRemoving unused __main__ sections
Tarek Ziadé [Sun, 22 Feb 2009 20:15:41 +0000 (20:15 +0000)]
Removing unused __main__ sections

16 years agoremoving map and lambda usage, so the test is similar to py3k's branch one
Tarek Ziadé [Sun, 22 Feb 2009 20:11:46 +0000 (20:11 +0000)]
removing map and lambda usage, so the test is similar to py3k's branch one

16 years agomoved distutils.text_file tests into a real unittest class
Tarek Ziadé [Sun, 22 Feb 2009 19:58:12 +0000 (19:58 +0000)]
moved distutils.text_file tests into a real unittest class

16 years agoRevert debugging statements, culprit is possibly test_distutils (see #5316)
Antoine Pitrou [Sun, 22 Feb 2009 18:20:46 +0000 (18:20 +0000)]
Revert debugging statements, culprit is possibly test_distutils (see #5316)

16 years agoTry to make sense of the test_site buildbot failures
Antoine Pitrou [Sun, 22 Feb 2009 17:25:52 +0000 (17:25 +0000)]
Try to make sense of the test_site buildbot failures

16 years agousing versionchanged instead of versionadded for distutils doc on sdist default files
Tarek Ziadé [Sun, 22 Feb 2009 00:07:45 +0000 (00:07 +0000)]
using versionchanged instead of versionadded for distutils doc on sdist default files

16 years agofix compiler warnings
Benjamin Peterson [Sat, 21 Feb 2009 23:09:33 +0000 (23:09 +0000)]
fix compiler warnings

16 years agoIssue #5341: Fix a variety of spelling errors.
Mark Dickinson [Sat, 21 Feb 2009 20:27:01 +0000 (20:27 +0000)]
Issue #5341: Fix a variety of spelling errors.

16 years ago#5338, #5339: two types in the API manual.
Georg Brandl [Sat, 21 Feb 2009 19:09:40 +0000 (19:09 +0000)]
#5338, #5339: two types in the API manual.

16 years agoSpeedup and simplify negative counter using count's new step argument.
Raymond Hettinger [Sat, 21 Feb 2009 08:58:42 +0000 (08:58 +0000)]
Speedup and simplify negative counter using count's new step argument.

16 years agoFix keyword arguments for itertools.count().
Raymond Hettinger [Sat, 21 Feb 2009 07:17:22 +0000 (07:17 +0000)]
Fix keyword arguments for itertools.count().
Step arg without a start arg was ignored.

16 years agoIssue #5295: Typos in turtle.py
Mark Dickinson [Fri, 20 Feb 2009 20:42:53 +0000 (20:42 +0000)]
Issue #5295: Typos in turtle.py

16 years agoIssue 5176: special-case string formatting in BINARY_MODULO implementation. This...
Collin Winter [Fri, 20 Feb 2009 19:30:41 +0000 (19:30 +0000)]
Issue 5176: special-case string formatting in BINARY_MODULO implementation. This shows a modest (1-3%) speed-up in templating systems, for example.

16 years agoIssue #5247: Improve error message when unknown format codes are used when using...
Eric Smith [Fri, 20 Feb 2009 14:02:36 +0000 (14:02 +0000)]
Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, unicode, long, int, and float arguments.

16 years agoFix punctuation.
Georg Brandl [Fri, 20 Feb 2009 08:45:47 +0000 (08:45 +0000)]
Fix punctuation.

16 years agoAt least separate imports from other statements.
Georg Brandl [Fri, 20 Feb 2009 08:22:21 +0000 (08:22 +0000)]
At least separate imports from other statements.

16 years ago#5327: fix a broken link by joining it.
Georg Brandl [Fri, 20 Feb 2009 07:48:21 +0000 (07:48 +0000)]
#5327: fix a broken link by joining it.

16 years agorevert r69777 since all the experts agree that extra import lines distract from the...
Benjamin Peterson [Fri, 20 Feb 2009 03:31:23 +0000 (03:31 +0000)]
revert r69777 since all the experts agree that extra import lines distract from the code

16 years agoSince we recommend one module per import line, reflect this also in the
Jeroen Ruigrok van der Werven [Thu, 19 Feb 2009 18:52:21 +0000 (18:52 +0000)]
Since we recommend one module per import line, reflect this also in the
documentation.

16 years ago#5317: update IronPython URL.
Georg Brandl [Thu, 19 Feb 2009 16:34:51 +0000 (16:34 +0000)]
#5317: update IronPython URL.

16 years ago#5287: Add exception handling around findCaller() call to help out IronPython.
Vinay Sajip [Thu, 19 Feb 2009 12:31:32 +0000 (12:31 +0000)]
#5287: Add exception handling around findCaller() call to help out IronPython.

16 years agoInline coefficients in gamma(). Add reflection formula. Add comments.
Raymond Hettinger [Thu, 19 Feb 2009 09:50:24 +0000 (09:50 +0000)]
Inline coefficients in gamma().  Add reflection formula.  Add comments.

16 years ago#5310, #3558: fix operator precedence table.
Georg Brandl [Thu, 19 Feb 2009 08:30:06 +0000 (08:30 +0000)]
#5310, #3558: fix operator precedence table.

16 years agoAdd links to helpful external resources.
Raymond Hettinger [Thu, 19 Feb 2009 06:55:03 +0000 (06:55 +0000)]
Add links to helpful external resources.

16 years agoAdd an example for math.fsum() and elaborate on the accurary note.
Raymond Hettinger [Thu, 19 Feb 2009 05:51:41 +0000 (05:51 +0000)]
Add an example for math.fsum() and elaborate on the accurary note.

16 years agoAdd some cross-references to the docs. Simplify the python code equivalent for izip...
Raymond Hettinger [Thu, 19 Feb 2009 05:34:35 +0000 (05:34 +0000)]
Add some cross-references to the docs.  Simplify the python code equivalent for izip().  Supply an optional argument for the nth() recipe.

16 years agoAdd keyword arg support to itertools.repeat().
Raymond Hettinger [Thu, 19 Feb 2009 02:38:25 +0000 (02:38 +0000)]
Add keyword arg support to itertools.repeat().

16 years agoAdd keyword arg support to itertools.compress().
Raymond Hettinger [Thu, 19 Feb 2009 02:15:14 +0000 (02:15 +0000)]
Add keyword arg support to itertools.compress().

16 years agoPy3k warnings now automatically include -Qwarn for division.
Raymond Hettinger [Wed, 18 Feb 2009 23:10:19 +0000 (23:10 +0000)]
Py3k warnings now automatically include -Qwarn for division.

16 years agoGeneralize the itertools.tee() recipe.
Raymond Hettinger [Wed, 18 Feb 2009 20:54:53 +0000 (20:54 +0000)]
Generalize the itertools.tee() recipe.

16 years agoClarify socket timeout behavior vs system network stack behavior on connect
Gregory P. Smith [Wed, 18 Feb 2009 05:46:11 +0000 (05:46 +0000)]
Clarify socket timeout behavior vs system network stack behavior on connect
for issue5293.

16 years ago#5268: mention VMSError.
Georg Brandl [Wed, 18 Feb 2009 00:31:36 +0000 (00:31 +0000)]
#5268: mention VMSError.

16 years ago#5296: sequence -> iterable.
Georg Brandl [Wed, 18 Feb 2009 00:25:13 +0000 (00:25 +0000)]
#5296: sequence -> iterable.

16 years ago#5297: fix example.
Georg Brandl [Wed, 18 Feb 2009 00:22:55 +0000 (00:22 +0000)]
#5297: fix example.

16 years agofixed the data_files inclusion behavior
Tarek Ziadé [Tue, 17 Feb 2009 23:06:51 +0000 (23:06 +0000)]
fixed the data_files inclusion behavior

16 years agoIssue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
Hirokazu Yamamoto [Tue, 17 Feb 2009 13:17:26 +0000 (13:17 +0000)]
Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
The file was resized to wrong size.

16 years agoClarify the deprecation of platform.dist().
Marc-André Lemburg [Tue, 17 Feb 2009 12:48:19 +0000 (12:48 +0000)]
Clarify the deprecation of platform.dist().

Add versionadded tags.

16 years agoFix issue776533.
Ronald Oussoren [Tue, 17 Feb 2009 12:38:42 +0000 (12:38 +0000)]
Fix issue776533.

16 years agoFixup intro paragraphs for the itertools docs. Add some tables for quick reference.
Raymond Hettinger [Tue, 17 Feb 2009 11:00:27 +0000 (11:00 +0000)]
Fixup intro paragraphs for the itertools docs.  Add some tables for quick reference.

16 years agoIssue #5292: Fixed mmap crash on its boundary access m[len(m)].
Hirokazu Yamamoto [Tue, 17 Feb 2009 10:12:10 +0000 (10:12 +0000)]
Issue #5292: Fixed mmap crash on its boundary access m[len(m)].

16 years ago#2279 added the plain path case for data_files
Tarek Ziadé [Tue, 17 Feb 2009 09:42:44 +0000 (09:42 +0000)]
#2279 added the plain path case for data_files

16 years agoFix-up intro paragraph for collections docs.
Raymond Hettinger [Tue, 17 Feb 2009 08:33:01 +0000 (08:33 +0000)]
Fix-up intro paragraph for collections docs.

16 years agoAdd explanation for super(type1, type2).
Raymond Hettinger [Mon, 16 Feb 2009 23:00:25 +0000 (23:00 +0000)]
Add explanation for super(type1, type2).

16 years agoIssue 5229: Documentation for super() neglects to say what super() actually does
Raymond Hettinger [Mon, 16 Feb 2009 22:42:54 +0000 (22:42 +0000)]
Issue 5229: Documentation for super() neglects to say what super() actually does

16 years agonote about #2279
Tarek Ziadé [Mon, 16 Feb 2009 22:38:43 +0000 (22:38 +0000)]
note about #2279

16 years ago#2279: use os.sep so the MANIFEST file test work on win32
Tarek Ziadé [Mon, 16 Feb 2009 21:41:54 +0000 (21:41 +0000)]
#2279: use os.sep so the MANIFEST file test work on win32

16 years agoFixed #2279: distutils.sdist.add_defaults now add files listed in package_data and...
Tarek Ziadé [Mon, 16 Feb 2009 21:38:01 +0000 (21:38 +0000)]
Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files

16 years agoPyList_Append() can fail
Benjamin Peterson [Mon, 16 Feb 2009 21:23:04 +0000 (21:23 +0000)]
PyList_Append() can fail

16 years agoremove some PyBytes_* aliases that are not in 3.x
Benjamin Peterson [Mon, 16 Feb 2009 21:09:09 +0000 (21:09 +0000)]
remove some PyBytes_* aliases that are not in 3.x

16 years agofix compiler warnings
Benjamin Peterson [Mon, 16 Feb 2009 21:07:52 +0000 (21:07 +0000)]
fix compiler warnings