]> granicus.if.org Git - python/log
python
16 years agoIssue 5443: Fix typo.
Raymond Hettinger [Mon, 9 Mar 2009 11:31:39 +0000 (11:31 +0000)]
Issue 5443: Fix typo.

16 years agoAdd Chris Withers.
Martin v. Löwis [Sun, 8 Mar 2009 14:06:19 +0000 (14:06 +0000)]
Add Chris Withers.

16 years agofix funky indentation
Benjamin Peterson [Sun, 8 Mar 2009 00:21:17 +0000 (00:21 +0000)]
fix funky indentation

16 years agoFixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
Guilherme Polo [Sat, 7 Mar 2009 02:14:38 +0000 (02:14 +0000)]
Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only
after it is has been populated and properly configured in order to prevent
window flashing.

16 years agoFixed issue #4792: Prevent a segfault in _tkinter by using the
Guilherme Polo [Sat, 7 Mar 2009 01:47:49 +0000 (01:47 +0000)]
Fixed issue #4792: Prevent a segfault in _tkinter by using the
guaranteed to be safe interp argument given to the PythonCmd in place
of the Tcl interpreter taken from a PythonCmd_ClientData.

16 years agoFixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
Guilherme Polo [Sat, 7 Mar 2009 01:19:12 +0000 (01:19 +0000)]
Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.

16 years agoIssue #5394: removed > 2.3 syntax from distutils.msvc9compiler
Tarek Ziadé [Sat, 7 Mar 2009 00:32:45 +0000 (00:32 +0000)]
Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler

16 years agoMinor bsddb documentation glitch
Jesus Cea [Thu, 5 Mar 2009 19:37:37 +0000 (19:37 +0000)]
Minor bsddb documentation glitch

16 years agommap.resize for anonymous map is not working yet, so changed to real file mapping...
Hirokazu Yamamoto [Thu, 5 Mar 2009 14:52:44 +0000 (14:52 +0000)]
mmap.resize for anonymous map is not working yet, so changed to real file mapping...

16 years agoIssue #5385: Fixed mmap crash after resize failure on windows.
Hirokazu Yamamoto [Thu, 5 Mar 2009 14:21:12 +0000 (14:21 +0000)]
Issue #5385: Fixed mmap crash after resize failure on windows.

Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle
because CreateFileMapping returns NULL when error occurs.

16 years agoFixed memory leak on failure.
Hirokazu Yamamoto [Thu, 5 Mar 2009 09:34:14 +0000 (09:34 +0000)]
Fixed memory leak on failure.

16 years agoadd example
Benjamin Peterson [Thu, 5 Mar 2009 00:17:57 +0000 (00:17 +0000)]
add example

16 years agoFix for issue #1113328.
Ronald Oussoren [Wed, 4 Mar 2009 22:49:36 +0000 (22:49 +0000)]
Fix for issue #1113328.

16 years agoFixes issues 3883 and 5194
Ronald Oussoren [Wed, 4 Mar 2009 21:35:05 +0000 (21:35 +0000)]
Fixes issues 3883 and 5194

16 years agoChange framework search order when looking for Tcl/Tk on OSX.
Ronald Oussoren [Wed, 4 Mar 2009 21:30:12 +0000 (21:30 +0000)]
Change framework search order when looking for Tcl/Tk on OSX.

This is needed because the system linker looks in /Library/Framework before
it looks in /System/Library frameworks. Without this patch _tkinter will
be unusable when it is compiled on a system that has Tk 8.5 installed in
/Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)

16 years agoFixed a typo.
Facundo Batista [Wed, 4 Mar 2009 21:18:17 +0000 (21:18 +0000)]
Fixed a typo.

16 years agoFix for issue 5226.
Ronald Oussoren [Wed, 4 Mar 2009 21:12:17 +0000 (21:12 +0000)]
Fix for issue 5226.

16 years agoFix issue 5224.
Ronald Oussoren [Wed, 4 Mar 2009 21:07:19 +0000 (21:07 +0000)]
Fix issue 5224.

16 years agoRemove obsolete stuff from string module docs.
Georg Brandl [Wed, 4 Mar 2009 18:24:41 +0000 (18:24 +0000)]
Remove obsolete stuff from string module docs.

16 years agoFix some more bugs caused by the backport from 3.x for importlib.
Brett Cannon [Wed, 4 Mar 2009 01:00:53 +0000 (01:00 +0000)]
Fix some more bugs caused by the backport from 3.x for importlib.
Do a more exact copy of the final 3.x code to resolve bugs and add
appropriate tests.

16 years agoBackport 70140, 70141, 70143, and 70144.
Raymond Hettinger [Tue, 3 Mar 2009 22:59:25 +0000 (22:59 +0000)]
Backport 70140, 70141, 70143, and 70144.
Adds tests, switches from list to deque, fixes __reduce__
which was unnecessarily copying __keys.

16 years agomaking the writing more formal
Benjamin Peterson [Tue, 3 Mar 2009 22:51:57 +0000 (22:51 +0000)]
making the writing more formal

16 years agoIssue #5179: Fixed subprocess handle leak on failure on windows.
Hirokazu Yamamoto [Tue, 3 Mar 2009 22:18:14 +0000 (22:18 +0000)]
Issue #5179: Fixed subprocess handle leak on failure on windows.

16 years agoFixed memory leak.
Hirokazu Yamamoto [Tue, 3 Mar 2009 22:05:57 +0000 (22:05 +0000)]
Fixed memory leak.

16 years agoMinor simplification.
Raymond Hettinger [Tue, 3 Mar 2009 21:13:51 +0000 (21:13 +0000)]
Minor simplification.

16 years agoMake the underlying data structure more private.
Raymond Hettinger [Tue, 3 Mar 2009 20:53:51 +0000 (20:53 +0000)]
Make the underlying data structure more private.

16 years agoBeef-up tests.
Raymond Hettinger [Tue, 3 Mar 2009 07:12:09 +0000 (07:12 +0000)]
Beef-up tests.

16 years agoFix markup.
Raymond Hettinger [Tue, 3 Mar 2009 05:11:56 +0000 (05:11 +0000)]
Fix markup.

16 years agoBackport 70111: Let configparser use ordered dicts by default.
Raymond Hettinger [Tue, 3 Mar 2009 05:00:37 +0000 (05:00 +0000)]
Backport 70111: Let configparser use ordered dicts by default.

16 years agoBackport 70106: Add OrderedDict support to collections.namedtuple().
Raymond Hettinger [Tue, 3 Mar 2009 04:51:24 +0000 (04:51 +0000)]
Backport 70106: Add OrderedDict support to collections.namedtuple().

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.