]> granicus.if.org Git - python/log
python
16 years agofix indentation
Benjamin Peterson [Sat, 31 Jan 2009 21:47:42 +0000 (21:47 +0000)]
fix indentation

16 years agoI believe the intention here was to avoid a global lookup
Benjamin Peterson [Sat, 31 Jan 2009 21:00:10 +0000 (21:00 +0000)]
I believe the intention here was to avoid a global lookup

16 years agofix indentation
Benjamin Peterson [Sat, 31 Jan 2009 20:01:48 +0000 (20:01 +0000)]
fix indentation

16 years agoPyErr_BadInternalCall() raises a SystemError, not TypeError #5112
Benjamin Peterson [Sat, 31 Jan 2009 16:52:03 +0000 (16:52 +0000)]
PyErr_BadInternalCall() raises a SystemError, not TypeError #5112

16 years agoAdd an extra test for long <-> float hash equivalence.
Mark Dickinson [Sat, 31 Jan 2009 16:44:04 +0000 (16:44 +0000)]
Add an extra test for long <-> float hash equivalence.

16 years agocompletely detabify unicodeobject.c
Benjamin Peterson [Sat, 31 Jan 2009 16:29:18 +0000 (16:29 +0000)]
completely detabify unicodeobject.c

16 years agoText edits and markup fixes
Andrew M. Kuchling [Sat, 31 Jan 2009 03:26:02 +0000 (03:26 +0000)]
Text edits and markup fixes

16 years agoAdd a section
Andrew M. Kuchling [Sat, 31 Jan 2009 02:50:09 +0000 (02:50 +0000)]
Add a section

16 years agocheck the errno in bad fd cases
Benjamin Peterson [Sat, 31 Jan 2009 01:42:55 +0000 (01:42 +0000)]
check the errno in bad fd cases

16 years agomake _tkinter._flatten check the result of PySequence_Size for errors #3880
Benjamin Peterson [Fri, 30 Jan 2009 02:24:39 +0000 (02:24 +0000)]
make _tkinter._flatten check the result of PySequence_Size for errors #3880

16 years agopep8tify conditionals
Benjamin Peterson [Fri, 30 Jan 2009 02:02:25 +0000 (02:02 +0000)]
pep8tify conditionals

16 years agofixed test_make_distribution so it runs on any platform, as long as tar an gzip are...
Tarek Ziadé [Thu, 29 Jan 2009 23:49:17 +0000 (23:49 +0000)]
fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available

16 years agoIssue #2047: shutil.move() could believe that its destination path was
Antoine Pitrou [Thu, 29 Jan 2009 20:19:34 +0000 (20:19 +0000)]
Issue #2047: shutil.move() could believe that its destination path was
inside its source path if it began with the same letters (e.g. "src" vs.
"src.new").

16 years agoFix issue5075: bdist_wininst should not depend on the vc runtime?
Mark Hammond [Thu, 29 Jan 2009 12:13:31 +0000 (12:13 +0000)]
Fix issue5075: bdist_wininst should not depend on the vc runtime?

16 years agoFix typo.
Raymond Hettinger [Thu, 29 Jan 2009 03:43:44 +0000 (03:43 +0000)]
Fix typo.

16 years agoUpdate itertools.__doc__ to include all tools.
Raymond Hettinger [Thu, 29 Jan 2009 03:21:42 +0000 (03:21 +0000)]
Update itertools.__doc__ to include all tools.

16 years agofix download url
Benjamin Peterson [Thu, 29 Jan 2009 03:03:00 +0000 (03:03 +0000)]
fix download url

16 years agoIgnore .pyc and .pyo files.
Brett Cannon [Thu, 29 Jan 2009 00:55:33 +0000 (00:55 +0000)]
Ignore .pyc and .pyo files.

16 years agoMinor spelling mistake in datetime docs.
Brett Cannon [Thu, 29 Jan 2009 00:54:32 +0000 (00:54 +0000)]
Minor spelling mistake in datetime docs.

16 years agoClarify some __del__ stuff.
Brett Cannon [Thu, 29 Jan 2009 00:54:11 +0000 (00:54 +0000)]
Clarify some __del__ stuff.

16 years agoCorrect docs for ABCs (MutableSequence was missing __setiem). Simplify the table...
Raymond Hettinger [Wed, 28 Jan 2009 23:58:16 +0000 (23:58 +0000)]
Correct docs for ABCs (MutableSequence was missing __setiem).  Simplify the table by taking out inherited requirements for abstract methods.

16 years agoIssue 4920: Fixed next() vs __next__() issues in the ABCs
Raymond Hettinger [Wed, 28 Jan 2009 23:02:26 +0000 (23:02 +0000)]
Issue 4920:  Fixed next() vs __next__() issues in the ABCs
for Iterator and MutableSet.  Also added thorough test for
required abstractmethods.

16 years agoIssue #5083: New 'gui' resource for regrtest.
Guilherme Polo [Wed, 28 Jan 2009 20:03:26 +0000 (20:03 +0000)]
Issue #5083: New 'gui' resource for regrtest.

16 years agoMake sure the root windows gets destroyed
Guilherme Polo [Wed, 28 Jan 2009 20:02:01 +0000 (20:02 +0000)]
Make sure the root windows gets destroyed

16 years ago* Renaming test_tk_* to test_ttk_* since that is what they are testing.
Guilherme Polo [Wed, 28 Jan 2009 19:28:04 +0000 (19:28 +0000)]
* Renaming test_tk_* to test_ttk_* since that is what they are testing.
* Added ttk tests to the expected skips mapping just like where test_tcl
was expected to be skipped too.

16 years agoAdded support for collecting tests only from specific packages.
Guilherme Polo [Wed, 28 Jan 2009 19:23:28 +0000 (19:23 +0000)]
Added support for collecting tests only from specific packages.

16 years agoDemos for ttk added.
Guilherme Polo [Wed, 28 Jan 2009 15:56:01 +0000 (15:56 +0000)]
Demos for ttk added.

16 years agoAdded the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo [Wed, 28 Jan 2009 13:09:03 +0000 (13:09 +0000)]
Added the ttk module. See issue #2983: Ttk support for Tkinter.

16 years agouse True and False
Benjamin Peterson [Tue, 27 Jan 2009 23:15:48 +0000 (23:15 +0000)]
use True and False

16 years agoOn Windows, use the Python 'Activation Context' when loading extensions
Mark Hammond [Tue, 27 Jan 2009 23:12:23 +0000 (23:12 +0000)]
On Windows, use the Python 'Activation Context' when loading extensions
to avoid problems loading the CRT from a private assembly.  Via bug 4566.

16 years agoAdd more tests for the powerset() recipe.
Raymond Hettinger [Tue, 27 Jan 2009 13:26:35 +0000 (13:26 +0000)]
Add more tests for the powerset() recipe.

16 years agoMore exhaustive combinatoric checks.
Raymond Hettinger [Tue, 27 Jan 2009 10:36:14 +0000 (10:36 +0000)]
More exhaustive combinatoric checks.

16 years agoIssue 5021: doctest.testfile should set __name__
Raymond Hettinger [Tue, 27 Jan 2009 10:03:04 +0000 (10:03 +0000)]
Issue 5021: doctest.testfile should set __name__

16 years agoStronger tests for combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 09:52:35 +0000 (09:52 +0000)]
Stronger tests for combinatoric relationships.

16 years agoAdd tests to verify combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 09:33:06 +0000 (09:33 +0000)]
Add tests to verify combinatoric relationships.

16 years agoexcellent place to use a set() #5069
Benjamin Peterson [Tue, 27 Jan 2009 03:07:53 +0000 (03:07 +0000)]
excellent place to use a set() #5069

16 years agoPromote combinations_with_replacement() from a recipe to a regular itertool.
Raymond Hettinger [Tue, 27 Jan 2009 02:58:49 +0000 (02:58 +0000)]
Promote combinations_with_replacement() from a recipe to a regular itertool.

16 years agoTweak column alignment for collections docs.
Raymond Hettinger [Tue, 27 Jan 2009 02:36:33 +0000 (02:36 +0000)]
Tweak column alignment for collections docs.

16 years agoRemove startup firewall message. That is handled by an error dialog
Raymond Hettinger [Mon, 26 Jan 2009 23:29:09 +0000 (23:29 +0000)]
Remove startup firewall message.  That is handled by an error dialog
whenever a connection cannot be formed.  Also, the Idle version number
is already in the About Idle dialog.  Now, the startup is clean looking
once again.

16 years agoIssue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks
Mark Dickinson [Mon, 26 Jan 2009 21:51:56 +0000 (21:51 +0000)]
Issue #5073: Fix occasional failure of bsddb/test/test_lock.py.  Thanks
Hirokazu Yamamoto for the patch.

16 years agoFix comment.
Mark Dickinson [Mon, 26 Jan 2009 21:40:08 +0000 (21:40 +0000)]
Fix comment.

16 years agoFix undefined behaviour (left shift of negative value) in long_hash. Also,
Mark Dickinson [Mon, 26 Jan 2009 21:36:30 +0000 (21:36 +0000)]
Fix undefined behaviour (left shift of negative value) in long_hash.  Also,
rewrap a line of length > 79, and update comments.

16 years agoCopy over docs on advanced role features from Sphinx docs.
Georg Brandl [Mon, 26 Jan 2009 21:29:38 +0000 (21:29 +0000)]
Copy over docs on advanced role features from Sphinx docs.

16 years agoFix signed/unsigned mismatch.
Raymond Hettinger [Mon, 26 Jan 2009 16:52:22 +0000 (16:52 +0000)]
Fix signed/unsigned mismatch.

16 years agoBackport importlib in the form of providing importlib.import_module(). This has
Brett Cannon [Mon, 26 Jan 2009 01:16:50 +0000 (01:16 +0000)]
Backport importlib in the form of providing importlib.import_module(). This has
been done purely to help transitions from 2.7 to 3.1.

16 years agoFixed #1885: --formats=tar,gztar was not working properly in the sdist command
Tarek Ziadé [Sun, 25 Jan 2009 23:34:00 +0000 (23:34 +0000)]
Fixed #1885: --formats=tar,gztar was not working properly in the sdist command

16 years agoNo need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
Mark Dickinson [Sun, 25 Jan 2009 22:12:31 +0000 (22:12 +0000)]
No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
This change should silence a compiler warning on Windows.

16 years agoadded missing module docstring
Tarek Ziadé [Sun, 25 Jan 2009 22:11:04 +0000 (22:11 +0000)]
added missing module docstring

16 years agoIssue #5052: removed backward compatibility information (out of date)
Tarek Ziadé [Sun, 25 Jan 2009 22:09:10 +0000 (22:09 +0000)]
Issue #5052: removed backward compatibility information (out of date)

16 years agoImproved itertools recipe for generating powerset().
Raymond Hettinger [Sun, 25 Jan 2009 21:31:47 +0000 (21:31 +0000)]
Improved itertools recipe for generating powerset().

16 years agoPromote compress() from a recipe to being a regular itertool.
Raymond Hettinger [Sun, 25 Jan 2009 21:04:14 +0000 (21:04 +0000)]
Promote compress() from a recipe to being a regular itertool.

16 years agoIssue #4863, removing remaining bits
Tarek Ziadé [Sun, 25 Jan 2009 19:29:10 +0000 (19:29 +0000)]
Issue #4863, removing remaining bits

16 years agoFixed #4863: removed distutils.mwerkscompiler
Tarek Ziadé [Sun, 25 Jan 2009 18:19:25 +0000 (18:19 +0000)]
Fixed #4863: removed distutils.mwerkscompiler

16 years agoFixed compile error on windows.
Hirokazu Yamamoto [Sun, 25 Jan 2009 17:46:48 +0000 (17:46 +0000)]
Fixed compile error on windows.

16 years agofix building the core with --disable-unicode
Benjamin Peterson [Sun, 25 Jan 2009 17:15:10 +0000 (17:15 +0000)]
fix building the core with --disable-unicode

I changed some bytearray methods to use strings instead of unicode like bytes_repr
Also, bytearray.fromhex() can take strings as well as unicode

16 years agoRemove uses of cmp from the decimal module.
Mark Dickinson [Sun, 25 Jan 2009 10:39:15 +0000 (10:39 +0000)]
Remove uses of cmp from the decimal module.

16 years agoProperly document multiprocessing's logging support, resolve outstanding issues with...
Jesse Noller [Sun, 25 Jan 2009 03:36:13 +0000 (03:36 +0000)]
Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels

16 years agoIssue #3657: fix occasional test_pickletools failures.
Mark Dickinson [Sat, 24 Jan 2009 21:08:38 +0000 (21:08 +0000)]
Issue #3657: fix occasional test_pickletools failures.

16 years agoIssue #1672332: Fix unpickling of subnormal floats, which was raising
Mark Dickinson [Sat, 24 Jan 2009 16:40:29 +0000 (16:40 +0000)]
Issue #1672332: Fix unpickling of subnormal floats, which was raising
ValueError on some platforms as a result of the platform strtod setting
errno on underflow.

16 years agoIssue #5025: Fix occasional test_kqueue failure on OS X.
Mark Dickinson [Sat, 24 Jan 2009 16:17:27 +0000 (16:17 +0000)]
Issue #5025: Fix occasional test_kqueue failure on OS X.

16 years agoIssue #3881: Help Tcl to load even when started through the
Martin v. Löwis [Sat, 24 Jan 2009 15:47:27 +0000 (15:47 +0000)]
Issue #3881: Help Tcl to load even when started through the
unreadable local symlink to "Program Files" on Vista.

16 years agoAdd heading for 2.7a0.
Martin v. Löwis [Sat, 24 Jan 2009 15:45:18 +0000 (15:45 +0000)]
Add heading for 2.7a0.

16 years agoIssue #4393: fix 3 classes of potential portability problems in longobject.c:
Mark Dickinson [Sat, 24 Jan 2009 15:27:44 +0000 (15:27 +0000)]
Issue #4393: fix 3 classes of potential portability problems in longobject.c:
 - fix some places where counters into ob_digit were declared as
   int instead of Py_ssize_t
 - add (twodigit) casts where necessary
 - fix code in _PyLong_AsByteArray that uses << on negative values

16 years agoIssue #4710: Extract directories properly in the zipfile module;
Martin v. Löwis [Sat, 24 Jan 2009 14:00:33 +0000 (14:00 +0000)]
Issue #4710: Extract directories properly in the zipfile module;
allow adding directories to a zipfile.

16 years agoAdd a test for UNC import paths, see issue 3677
Kristján Valur Jónsson [Sat, 24 Jan 2009 10:52:26 +0000 (10:52 +0000)]
Add a test for UNC import paths, see issue 3677

16 years agoAdd various items
Andrew M. Kuchling [Sat, 24 Jan 2009 03:28:18 +0000 (03:28 +0000)]
Add various items

16 years agoIssue 3807: multiprocessing fails to compile under --without-threads
Jesse Noller [Fri, 23 Jan 2009 14:04:41 +0000 (14:04 +0000)]
Issue 3807: multiprocessing fails to compile under --without-threads

16 years agoIssue 4593: apply() documentation is unclear
Jesse Noller [Thu, 22 Jan 2009 21:53:22 +0000 (21:53 +0000)]
Issue 4593: apply() documentation is unclear

16 years agoClarify wording.
Georg Brandl [Thu, 22 Jan 2009 18:29:28 +0000 (18:29 +0000)]
Clarify wording.

16 years agoUpdate comments and add an optimized path for Counter.update().
Raymond Hettinger [Thu, 22 Jan 2009 09:05:43 +0000 (09:05 +0000)]
Update comments and add an optimized path for Counter.update().

16 years agoMore doc tweaks.
Raymond Hettinger [Thu, 22 Jan 2009 05:20:47 +0000 (05:20 +0000)]
More doc tweaks.

16 years agoTighten-up the docs for Counter().
Raymond Hettinger [Wed, 21 Jan 2009 23:12:51 +0000 (23:12 +0000)]
Tighten-up the docs for Counter().

16 years agoSimplify explanation of multiset operations by removing restrictions on negative...
Raymond Hettinger [Wed, 21 Jan 2009 20:31:50 +0000 (20:31 +0000)]
Simplify explanation of multiset operations by removing restrictions on negative inputs.

16 years agoMarkup fixes
Andrew M. Kuchling [Wed, 21 Jan 2009 02:16:26 +0000 (02:16 +0000)]
Markup fixes

16 years agoAdd some items
Andrew M. Kuchling [Wed, 21 Jan 2009 02:15:43 +0000 (02:15 +0000)]
Add some items

16 years agoIssue 5009: multiprocessing: failure in manager._debug_info()
Jesse Noller [Wed, 21 Jan 2009 02:08:17 +0000 (02:08 +0000)]
Issue 5009: multiprocessing: failure in manager._debug_info()

16 years agoIssue #5008: When a file is opened in append mode with the new IO library,
Antoine Pitrou [Wed, 21 Jan 2009 00:45:36 +0000 (00:45 +0000)]
Issue #5008: When a file is opened in append mode with the new IO library,
do an explicit seek to the end of file (so that e.g. tell() returns the
file size rather than 0). This is consistent with the behaviour of the
traditional 2.x file object.

16 years agoBeautify and cleanup the references section.
Raymond Hettinger [Tue, 20 Jan 2009 23:42:54 +0000 (23:42 +0000)]
Beautify and cleanup the references section.

16 years agoIssue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileH...
Vinay Sajip [Tue, 20 Jan 2009 23:16:08 +0000 (23:16 +0000)]
Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly.

16 years agoIssue 5013: Fixed bug in FileHandler when delay was set.
Vinay Sajip [Tue, 20 Jan 2009 22:43:17 +0000 (22:43 +0000)]
Issue 5013: Fixed bug in FileHandler when delay was set.

16 years agoIssue 4998: __slots__ on Fractions was useless.
Raymond Hettinger [Tue, 20 Jan 2009 20:34:19 +0000 (20:34 +0000)]
Issue 4998:  __slots__ on Fractions was useless.

16 years agofix url
Benjamin Peterson [Tue, 20 Jan 2009 18:58:27 +0000 (18:58 +0000)]
fix url

16 years agobackport r68802 (bugfix)
Benjamin Peterson [Tue, 20 Jan 2009 14:31:08 +0000 (14:31 +0000)]
backport r68802 (bugfix)

16 years agoallow unicode keyword arguments for the ** syntax #4978
Benjamin Peterson [Tue, 20 Jan 2009 14:21:16 +0000 (14:21 +0000)]
allow unicode keyword arguments for the ** syntax #4978

16 years agoFix typos.
Raymond Hettinger [Tue, 20 Jan 2009 12:59:36 +0000 (12:59 +0000)]
Fix typos.

16 years agoUse Georg's new permalinks to documentation by version number.
Raymond Hettinger [Tue, 20 Jan 2009 10:46:23 +0000 (10:46 +0000)]
Use Georg's new permalinks to documentation by version number.
That assures that IDLE's help always points to the correct
version and the latest update with all bug fixes.

16 years agoDon't disrupt automatic url target name generation
Raymond Hettinger [Tue, 20 Jan 2009 07:11:47 +0000 (07:11 +0000)]
Don't disrupt automatic url target name generation
with manually specified, conflicting names.

Before:
    http://docs.python.org/dev/library/collections.html#id1

After:
    http://docs.python.org/dev/library/collections.html#counter-objects

16 years agoMake merging easier by formattng comment blocks the same in Py3.1
Raymond Hettinger [Tue, 20 Jan 2009 03:36:36 +0000 (03:36 +0000)]
Make merging easier by formattng comment blocks the same in Py3.1

16 years agoAdd Counter() to __all__.
Raymond Hettinger [Tue, 20 Jan 2009 02:24:38 +0000 (02:24 +0000)]
Add Counter() to __all__.

16 years agoBuild-outs for Counter() class:
Raymond Hettinger [Tue, 20 Jan 2009 01:19:26 +0000 (01:19 +0000)]
Build-outs for Counter() class:
* Constructor and update() support keyword args (like their dict counterparts).
* The 'del' statement no longer raises KeyError for missing values.
* Add multiset operations:  __add__, __sub__, __and__, __or__.

16 years agoissue 5002: fix windows warning that I intro'ed with r68768
Jesse Noller [Tue, 20 Jan 2009 00:16:38 +0000 (00:16 +0000)]
issue 5002: fix windows warning that I intro'ed with r68768

16 years agoI'm sick of these deprecations warnings in test_os
Benjamin Peterson [Mon, 19 Jan 2009 21:08:37 +0000 (21:08 +0000)]
I'm sick of these deprecations warnings in test_os

16 years agomake bad file descriptor tests more robust
Benjamin Peterson [Mon, 19 Jan 2009 17:37:42 +0000 (17:37 +0000)]
make bad file descriptor tests more robust

16 years agoadd email address
Benjamin Peterson [Mon, 19 Jan 2009 16:18:27 +0000 (16:18 +0000)]
add email address

16 years agomove BufferedIOBase into the base class section
Benjamin Peterson [Mon, 19 Jan 2009 16:17:54 +0000 (16:17 +0000)]
move BufferedIOBase into the base class section

16 years agosimplify code
Benjamin Peterson [Mon, 19 Jan 2009 15:51:27 +0000 (15:51 +0000)]
simplify code

16 years agoadd a note about the ftruncate change
Benjamin Peterson [Mon, 19 Jan 2009 15:42:23 +0000 (15:42 +0000)]
add a note about the ftruncate change

16 years agoResolve issue 3321: (segfault) _multiprocessing.Connection() doesn't check handle
Jesse Noller [Mon, 19 Jan 2009 15:12:22 +0000 (15:12 +0000)]
Resolve issue 3321: (segfault) _multiprocessing.Connection() doesn't check handle

16 years agoRemoved merge tracking for "svnmerge" for
Benjamin Peterson [Mon, 19 Jan 2009 15:06:33 +0000 (15:06 +0000)]
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade

16 years agoRemoved merge tracking for "svnmerge" for
Benjamin Peterson [Mon, 19 Jan 2009 15:04:35 +0000 (15:04 +0000)]
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/branches/trunk-math