]> granicus.if.org Git - python/log
python
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

16 years agoAdd GC support to count() objects. Backport candidate.
Raymond Hettinger [Mon, 16 Feb 2009 20:39:12 +0000 (20:39 +0000)]
Add GC support to count() objects.  Backport candidate.

16 years agonote functions that are not aliased to PyBytes_ #5280
Benjamin Peterson [Mon, 16 Feb 2009 14:54:34 +0000 (14:54 +0000)]
note functions that are not aliased to PyBytes_ #5280

16 years agoAdded Ross Light to ACKS, for bug 4285 (r69331).
Eric Smith [Mon, 16 Feb 2009 09:56:39 +0000 (09:56 +0000)]
Added Ross Light to ACKS, for bug 4285 (r69331).

16 years agoA few more minor fixes in longobject.c
Mark Dickinson [Sun, 15 Feb 2009 15:48:39 +0000 (15:48 +0000)]
A few more minor fixes in longobject.c

16 years agoIssue #5260: Various portability and standards compliance fixes, optimizations
Mark Dickinson [Sun, 15 Feb 2009 10:13:41 +0000 (10:13 +0000)]
Issue #5260: Various portability and standards compliance fixes, optimizations
and cleanups in Objects/longobject.c.  The most significant change is that
longs now use less memory:  average savings are 2 bytes per long on 32-bit
systems and 6 bytes per long on 64-bit systems.  (This memory saving already
exists in py3k.)

16 years agoFixed typo.
Hirokazu Yamamoto [Sun, 15 Feb 2009 09:19:48 +0000 (09:19 +0000)]
Fixed typo.

16 years ago#5179: don't leak PIPE fds when child execution fails.
Georg Brandl [Sat, 14 Feb 2009 17:01:36 +0000 (17:01 +0000)]
#5179: don't leak PIPE fds when child execution fails.

16 years agothis needn't be a shebang line
Benjamin Peterson [Sat, 14 Feb 2009 17:00:51 +0000 (17:00 +0000)]
this needn't be a shebang line

16 years agowe're no longer using CVS, so this doesn't have to be binary
Benjamin Peterson [Sat, 14 Feb 2009 16:51:03 +0000 (16:51 +0000)]
we're no longer using CVS, so this doesn't have to be binary

16 years agoReplace variable
Tarek Ziadé [Sat, 14 Feb 2009 14:12:30 +0000 (14:12 +0000)]
Replace variable

16 years agoFix for #5257: refactored all tests in distutils, so they use a temporary directory.
Tarek Ziadé [Sat, 14 Feb 2009 14:10:23 +0000 (14:10 +0000)]
Fix for #5257: refactored all tests in distutils, so they use a temporary directory.

16 years agoAdd keyword argument support to itertools.count().
Raymond Hettinger [Sat, 14 Feb 2009 00:25:51 +0000 (00:25 +0000)]
Add keyword argument support to itertools.count().

16 years agofix the environ for distutils test_util
Tarek Ziadé [Fri, 13 Feb 2009 23:41:57 +0000 (23:41 +0000)]
fix the environ for distutils test_util

16 years agoFixed #4524: distutils build_script command failed with --with-suffix=3
Tarek Ziadé [Fri, 13 Feb 2009 23:00:43 +0000 (23:00 +0000)]
Fixed #4524: distutils build_script command failed with --with-suffix=3

16 years agoIssue #2461: added tests for distutils.util
Tarek Ziadé [Fri, 13 Feb 2009 22:22:03 +0000 (22:22 +0000)]
Issue #2461: added tests for distutils.util

16 years agoAdd optional code signing after merging.
Martin v. Löwis [Fri, 13 Feb 2009 20:51:48 +0000 (20:51 +0000)]
Add optional code signing after merging.

16 years agoUpdate Tix build procedure.
Martin v. Löwis [Fri, 13 Feb 2009 20:26:16 +0000 (20:26 +0000)]
Update Tix build procedure.

16 years agoMove amd64 properties further to the top, so that they override
Martin v. Löwis [Fri, 13 Feb 2009 20:11:34 +0000 (20:11 +0000)]
Move amd64 properties further to the top, so that they override
the linker options correctly.

16 years agoreverted leak fix, to use the one done in py3k branch (r67382)
Tarek Ziadé [Fri, 13 Feb 2009 16:13:16 +0000 (16:13 +0000)]
reverted leak fix, to use the one done in py3k branch (r67382)

16 years agoFix compiler warning (gcc)
Antoine Pitrou [Fri, 13 Feb 2009 13:57:40 +0000 (13:57 +0000)]
Fix compiler warning (gcc)

16 years agoIssue #5186: Reduce hash collisions for objects with no __hash__ method by
Antoine Pitrou [Fri, 13 Feb 2009 13:52:33 +0000 (13:52 +0000)]
Issue #5186: Reduce hash collisions for objects with no __hash__ method by
rotating the object pointer by 4 bits to the right.

16 years agoFix warnings GCC emits where the argument of PyErr_Format is a single variable.
Georg Brandl [Fri, 13 Feb 2009 11:10:04 +0000 (11:10 +0000)]
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.

16 years agoFix warnings GCC emits where the argument of PyErr_Format is a single variable.
Georg Brandl [Fri, 13 Feb 2009 11:06:59 +0000 (11:06 +0000)]
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.

16 years ago#3694: add test for fix committed in r66693.
Georg Brandl [Fri, 13 Feb 2009 11:03:59 +0000 (11:03 +0000)]
#3694: add test for fix committed in r66693.

16 years ago#1661108: note that urlsafe encoded string can contain "=".
Georg Brandl [Fri, 13 Feb 2009 10:56:50 +0000 (10:56 +0000)]
#1661108: note that urlsafe encoded string can contain "=".

16 years ago#3734: document complex coercing behavior better.
Georg Brandl [Fri, 13 Feb 2009 10:44:17 +0000 (10:44 +0000)]
#3734: document complex coercing behavior better.

16 years ago#4894: document "newurl" parameter to redirect_request().
Georg Brandl [Fri, 13 Feb 2009 10:40:14 +0000 (10:40 +0000)]
#4894: document "newurl" parameter to redirect_request().

16 years ago#5158: added documentation on the depends option in distutils extensions
Tarek Ziadé [Fri, 13 Feb 2009 09:12:33 +0000 (09:12 +0000)]
#5158: added documentation on the depends option in distutils extensions

16 years agoAdd links to the other versions we have in stock.
Georg Brandl [Fri, 13 Feb 2009 09:08:34 +0000 (09:08 +0000)]
Add links to the other versions we have in stock.

16 years ago- Issue #3745: Fix hashlib to always reject unicode and non buffer-api
Gregory P. Smith [Fri, 13 Feb 2009 03:00:00 +0000 (03:00 +0000)]
- Issue #3745: Fix hashlib to always reject unicode and non buffer-api
  supporting objects as input no matter how it was compiled (built in
  implementations or external openssl library).
(backported from a py3k branch)

16 years agofixing the leak introduced in r69304
Tarek Ziadé [Thu, 12 Feb 2009 20:56:21 +0000 (20:56 +0000)]
fixing the leak introduced in r69304

16 years agoTypo fix.
Mark Dickinson [Thu, 12 Feb 2009 17:55:42 +0000 (17:55 +0000)]
Typo fix.

16 years agoOne more test.
Raymond Hettinger [Thu, 12 Feb 2009 12:43:01 +0000 (12:43 +0000)]
One more test.

16 years agoAdd an extra testcase.
Raymond Hettinger [Thu, 12 Feb 2009 12:04:26 +0000 (12:04 +0000)]
Add an extra testcase.

16 years agoFix spaces/tabs in example.
Raymond Hettinger [Thu, 12 Feb 2009 10:16:19 +0000 (10:16 +0000)]
Fix spaces/tabs in example.