]>
granicus.if.org Git - python/log
Fred Drake [Wed, 12 May 2010 01:22:03 +0000 (01:22 +0000)]
fix error introduced in previous commit, and the adjacent additional typo
Andrew M. Kuchling [Wed, 12 May 2010 00:40:47 +0000 (00:40 +0000)]
Let's call this done
Andrew M. Kuchling [Wed, 12 May 2010 00:38:44 +0000 (00:38 +0000)]
Revision pass: lots of edits, typo fixes, rearrangements
Giampaolo Rodolà [Wed, 12 May 2010 00:29:27 +0000 (00:29 +0000)]
Removed the assertion that dispatcher.connected attribute must be False after a single connect() call. Solaris and FreeBSD buildbots failures showed how connect() can succeed even in a single call. All bo failures should definitively be fixed now.
Antoine Pitrou [Tue, 11 May 2010 23:42:28 +0000 (23:42 +0000)]
Issue #8681: Make the zlib module's error messages more informative when
the zlib itself doesn't give any detailed explanation.
Antoine Pitrou [Tue, 11 May 2010 23:32:31 +0000 (23:32 +0000)]
Issue #8672: Add a zlib test ensuring that an incomplete stream can be
handled by a decompressor object without errors (it returns incomplete
uncompressed data).
Brian Curtin [Tue, 11 May 2010 19:13:13 +0000 (19:13 +0000)]
#8575 - Update and reorganize some _winreg contents.
I've removed the hopeful note about a future higher-level module since
it's been in there for quite a long time and nothing of the sort has
come up. There are a few places where markup was added to cross-reference
other sections, and many of the external links have been removed and now
point to newly created sections containing previously undocumented
information.
The Value Types section was created and it's contents were taken from
a function-specific area, since it applies to more than just that
function. It fits in better with the other newly documented constants.
Fred Drake [Tue, 11 May 2010 18:12:27 +0000 (18:12 +0000)]
fix typo
Mark Dickinson [Tue, 11 May 2010 13:05:30 +0000 (13:05 +0000)]
Issue #8674: fix another bogus overflow check in audioop module.
Mark Dickinson [Tue, 11 May 2010 08:55:06 +0000 (08:55 +0000)]
Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests;
remove some unnecessary '#include "confdefs.h"' lines. Thanks Roumen Petrov.
Andrew M. Kuchling [Mon, 10 May 2010 23:27:01 +0000 (23:27 +0000)]
Use ';' after initialization macros to avoid confusing re-indenters
Andrew M. Kuchling [Mon, 10 May 2010 23:24:09 +0000 (23:24 +0000)]
Break long line in macros
Andrew M. Kuchling [Mon, 10 May 2010 23:13:41 +0000 (23:13 +0000)]
Fix typo
Georg Brandl [Mon, 10 May 2010 21:51:33 +0000 (21:51 +0000)]
Fix typo.
Georg Brandl [Mon, 10 May 2010 21:50:57 +0000 (21:50 +0000)]
Consolidate deprecation messages.
Georg Brandl [Mon, 10 May 2010 21:46:50 +0000 (21:46 +0000)]
Fix reference direction.
Georg Brandl [Mon, 10 May 2010 21:02:51 +0000 (21:02 +0000)]
#8642: fix wrong function name.
Michael Foord [Mon, 10 May 2010 20:21:16 +0000 (20:21 +0000)]
Improving help message for python -m unittest. Issue 8303.
Florent Xicluna [Mon, 10 May 2010 19:59:22 +0000 (19:59 +0000)]
Add a link on maketrans().
Andrew M. Kuchling [Mon, 10 May 2010 17:18:25 +0000 (17:18 +0000)]
Move { out of #if...#else block; this confuses Emacs' C-mode
Mark Dickinson [Mon, 10 May 2010 16:07:42 +0000 (16:07 +0000)]
Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop
module. Thanks Tomas Hoger for the patch.
Giampaolo Rodolà [Mon, 10 May 2010 15:33:22 +0000 (15:33 +0000)]
Issue #8490: adds a more solid test suite for asyncore
Andrew M. Kuchling [Mon, 10 May 2010 15:03:35 +0000 (15:03 +0000)]
Link to unittest2 article
Andrew M. Kuchling [Mon, 10 May 2010 14:20:12 +0000 (14:20 +0000)]
Use title case
Andrew M. Kuchling [Mon, 10 May 2010 14:18:27 +0000 (14:18 +0000)]
Markup fix; re-word a sentence
Benjamin Peterson [Sun, 9 May 2010 21:09:40 +0000 (21:09 +0000)]
finish clause
Mark Dickinson [Sun, 9 May 2010 20:42:09 +0000 (20:42 +0000)]
Wrap multiline macros in a 'do {} while(0)', for safety.
Mark Dickinson [Sun, 9 May 2010 20:30:29 +0000 (20:30 +0000)]
Post-detabification cleanup: whitespace fixes and long line rewraps only.
Antoine Pitrou [Sun, 9 May 2010 18:32:48 +0000 (18:32 +0000)]
Remove spurious newlines, and add version number.
Antoine Pitrou [Sun, 9 May 2010 15:15:11 +0000 (15:15 +0000)]
Fixup indentation of PC/_msi.c
Antoine Pitrou [Sun, 9 May 2010 14:46:46 +0000 (14:46 +0000)]
Untabify C files. Will watch buildbots.
Eric Smith [Sun, 9 May 2010 14:04:59 +0000 (14:04 +0000)]
Issue 8671: Whitespace fix.
Michael Foord [Sun, 9 May 2010 09:58:25 +0000 (09:58 +0000)]
Adding a test for unittest.BaseTestSuite.
Mark Dickinson [Sun, 9 May 2010 09:30:06 +0000 (09:30 +0000)]
Issue #8644: Improve accuracy of timedelta.total_seconds method.
(Backport of r80979 to py3k.) Thanks Alexander Belopolsky.
Gregory P. Smith [Sun, 9 May 2010 01:20:20 +0000 (01:20 +0000)]
Revert r81012. buildbot problems and its questionable of me to even
add this to trunk while we're on the way to 2.7rc1.
When fixed this can go into py3k first. Sorry.
Gregory P. Smith [Sat, 8 May 2010 23:38:49 +0000 (23:38 +0000)]
Fixes [issue7245] Better Ctrl-C support in pdb.
Benjamin Peterson [Sat, 8 May 2010 20:59:42 +0000 (20:59 +0000)]
remove svn:mergeinfo property
Jean-Paul Calderone [Sat, 8 May 2010 20:06:02 +0000 (20:06 +0000)]
Skip signal handler re-installation if it is not necessary. Issue 8354.
Mark Dickinson [Sat, 8 May 2010 19:13:21 +0000 (19:13 +0000)]
Fix configure bug that was misreporting availability of MacOS X 10.5 SDK as available on Linux but not on OS X.
Benjamin Peterson [Sat, 8 May 2010 18:53:42 +0000 (18:53 +0000)]
towards 2.7 release candidate 1
Benjamin Peterson [Sat, 8 May 2010 17:10:37 +0000 (17:10 +0000)]
tag second 2.7 beta
Benjamin Peterson [Sat, 8 May 2010 17:08:17 +0000 (17:08 +0000)]
bump version to 2.7 beta 2
Michael Foord [Sat, 8 May 2010 17:06:25 +0000 (17:06 +0000)]
unittest: issue 8301. Adding functions to test suites no longer crashes.
Benjamin Peterson [Sat, 8 May 2010 17:05:19 +0000 (17:05 +0000)]
update pydoc-topics
Benjamin Peterson [Sat, 8 May 2010 16:44:52 +0000 (16:44 +0000)]
run and fix enumerate start test cases #8636
Michael Foord [Sat, 8 May 2010 16:40:52 +0000 (16:40 +0000)]
Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038.
Benjamin Peterson [Sat, 8 May 2010 15:42:29 +0000 (15:42 +0000)]
add underscore
Benjamin Peterson [Sat, 8 May 2010 15:41:44 +0000 (15:41 +0000)]
r80967 introduced a new scheme
Andrew M. Kuchling [Sat, 8 May 2010 15:39:46 +0000 (15:39 +0000)]
Write summary of the 2.7 release; rewrite the future section some more;
mention PYTHONWARNINGS env. var; tweak some examples for readability.
And with this commit, the "What's New" is done... except for a
complete read-through to polish the text, and fixing any reported errors,
but those tasks can easily wait until after beta2.
Antoine Pitrou [Sat, 8 May 2010 15:23:57 +0000 (15:23 +0000)]
Revert r80963 - it broke compilation everywhere
Michael Foord [Sat, 8 May 2010 15:09:37 +0000 (15:09 +0000)]
Documenting test discovery from package name and potential problems with test discovery importing tests from the wrong location. Issue 7780 and issue 8547.
Andrew M. Kuchling [Sat, 8 May 2010 13:29:46 +0000 (13:29 +0000)]
Markup fixes
Andrew M. Kuchling [Sat, 8 May 2010 13:28:03 +0000 (13:28 +0000)]
Add logging.dictConfig example; give up on writing a Ttk example
Michael Foord [Sat, 8 May 2010 13:20:07 +0000 (13:20 +0000)]
Issue 7780. Adding a test for unittest test discovery from a dotted path.
Matthias Klose [Sat, 8 May 2010 11:04:18 +0000 (11:04 +0000)]
configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).
pyconfig.h: Regenerate
Matthias Klose [Sat, 8 May 2010 11:01:39 +0000 (11:01 +0000)]
configure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
only whitespace changes in generated configure (diff -uEwB).
Ronald Oussoren [Sat, 8 May 2010 10:29:06 +0000 (10:29 +0000)]
Issue #8084: ensure that the --user directory
conforms to platforms standars on OSX when
using a python framework.
Matthias Klose [Sat, 8 May 2010 10:17:27 +0000 (10:17 +0000)]
configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/
Matthias Klose [Sat, 8 May 2010 10:14:46 +0000 (10:14 +0000)]
- configure.in: Replace AC_HELP_STRING with AS_HELP_STRING
Matthias Klose [Sat, 8 May 2010 10:00:28 +0000 (10:00 +0000)]
- Issue #8510: Update to autoconf2.65.
Ronald Oussoren [Sat, 8 May 2010 08:44:37 +0000 (08:44 +0000)]
Fix for issue #7724: make it possible to build using
the OSX 10.4u SDK on MacOSX 10.6 by honoring the specified
SDK when looking for files.
Mark Dickinson [Sat, 8 May 2010 08:01:19 +0000 (08:01 +0000)]
Issue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach.
Senthil Kumaran [Sat, 8 May 2010 05:00:11 +0000 (05:00 +0000)]
Fixing the errors trigerred in test_urllib2net. Related to issue8656.
Senthil Kumaran [Sat, 8 May 2010 03:11:50 +0000 (03:11 +0000)]
Fix Issue8656 - urllib2 mangles file://-scheme URLs
Andrew M. Kuchling [Sat, 8 May 2010 01:35:55 +0000 (01:35 +0000)]
Get accents correct
Andrew M. Kuchling [Sat, 8 May 2010 01:15:26 +0000 (01:15 +0000)]
Add two items
Michael Foord [Fri, 7 May 2010 23:39:38 +0000 (23:39 +0000)]
Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery.
Benjamin Peterson [Fri, 7 May 2010 20:45:07 +0000 (20:45 +0000)]
revert r80932; it breaks windows
Benjamin Peterson [Fri, 7 May 2010 18:58:23 +0000 (18:58 +0000)]
Merged revisions 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79911 | benjamin.peterson | 2010-04-09 15:38:53 -0500 (Fri, 09 Apr 2010) | 1 line
use absolute import
........
r79916 | benjamin.peterson | 2010-04-09 16:05:21 -0500 (Fri, 09 Apr 2010) | 1 line
generalize detection of __future__ imports and attach them to the tree
........
r79917 | benjamin.peterson | 2010-04-09 16:11:44 -0500 (Fri, 09 Apr 2010) | 1 line
don't try to 'fix' relative imports when absolute_import is enabled #8858
........
r80018 | benjamin.peterson | 2010-04-12 16:12:12 -0500 (Mon, 12 Apr 2010) | 4 lines
prevent diffs from being mangled is multiprocess mode #6409
Patch by George Boutsioukis.
........
r80418 | benjamin.peterson | 2010-04-23 16:00:03 -0500 (Fri, 23 Apr 2010) | 1 line
remove unhelpful description
........
r80572 | benjamin.peterson | 2010-04-27 20:33:54 -0500 (Tue, 27 Apr 2010) | 1 line
use unicode literals
........
r80573 | jeffrey.yasskin | 2010-04-27 23:08:27 -0500 (Tue, 27 Apr 2010) | 6 lines
Don't transform imports that are already relative. 2to3 turned
from . import refactor
into
from .. import refactor
which broke the transformation of 2to3 itself.
........
r80635 | benjamin.peterson | 2010-04-29 16:02:23 -0500 (Thu, 29 Apr 2010) | 1 line
remove imports
........
r80636 | benjamin.peterson | 2010-04-29 16:02:41 -0500 (Thu, 29 Apr 2010) | 1 line
unicode literal
........
r80637 | benjamin.peterson | 2010-04-29 16:03:42 -0500 (Thu, 29 Apr 2010) | 1 line
must pass a string to Number
........
r80638 | benjamin.peterson | 2010-04-29 16:05:34 -0500 (Thu, 29 Apr 2010) | 1 line
unicode literals
........
r80639 | benjamin.peterson | 2010-04-29 16:06:09 -0500 (Thu, 29 Apr 2010) | 1 line
pass string to Number
........
r80668 | jeffrey.yasskin | 2010-04-30 18:02:47 -0500 (Fri, 30 Apr 2010) | 4 lines
Make 2to3 run under Python 2.5 so that the benchmark suite at
http://hg.python.org/benchmarks/ can use it and still run on implementations
that haven't gotten to 2.6 yet. Fixes issue 8566.
........
r80922 | benjamin.peterson | 2010-05-07 11:06:25 -0500 (Fri, 07 May 2010) | 1 line
prevent xrange transformation from wrapping range calls it produces in list
........
Michael Foord [Fri, 7 May 2010 18:16:19 +0000 (18:16 +0000)]
Issue 8547 - detecting and reporting that modules have been imported from the wrong location under test discovery.
Antoine Pitrou [Fri, 7 May 2010 16:50:34 +0000 (16:50 +0000)]
Issue #8571: Fix an internal error when compressing or decompressing a
chunk larger than 1GB with the zlib module's compressor and decompressor
objects.
Michael Foord [Fri, 7 May 2010 15:52:05 +0000 (15:52 +0000)]
Adding tests for unittest command line handling of buffer, catchbreak and failfast.
Michael Foord [Fri, 7 May 2010 15:34:08 +0000 (15:34 +0000)]
Adding a test for unittest test discovery with dotted path name.
Andrew M. Kuchling [Fri, 7 May 2010 11:30:47 +0000 (11:30 +0000)]
Re-word text
Antoine Pitrou [Fri, 7 May 2010 10:15:51 +0000 (10:15 +0000)]
Fix some markup and a class name. Also, wrap a long line.
Senthil Kumaran [Fri, 7 May 2010 04:07:29 +0000 (04:07 +0000)]
Testsuite for RFC3986 based parsing scenario. Related Issue1462525.
Andrew M. Kuchling [Fri, 7 May 2010 01:45:14 +0000 (01:45 +0000)]
Add a new section on the development plan; add an item
Benjamin Peterson [Thu, 6 May 2010 22:49:28 +0000 (22:49 +0000)]
ensure that availability information is on its own line at the end of the function docs
Benjamin Peterson [Thu, 6 May 2010 22:33:46 +0000 (22:33 +0000)]
Availability gets its own line
Giampaolo Rodolà [Thu, 6 May 2010 20:19:32 +0000 (20:19 +0000)]
adds handle_error(self):raise to test modules using asyncore to provide a clearer error message in case something goes wrong
Giampaolo Rodolà [Thu, 6 May 2010 19:56:34 +0000 (19:56 +0000)]
provides a clearer warning message when cheap inheritance with the underlying socket object is used
Giampaolo Rodolà [Thu, 6 May 2010 17:57:06 +0000 (17:57 +0000)]
Fix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getattr__ cheap inheritance caused confusing error messages when accessing undefined class attributes; added an alias for __str__ which now is used as a fallback for __repr__
Brett Cannon [Thu, 6 May 2010 17:56:36 +0000 (17:56 +0000)]
Add back in a line that was unneeded which advanced a pointer, but commented
out as it is currently unneeded.
This effectively adds back in the line removed in r80809 as a comment.
Andrew M. Kuchling [Thu, 6 May 2010 17:27:57 +0000 (17:27 +0000)]
Change section title; point to unittest2
Andrew M. Kuchling [Thu, 6 May 2010 17:21:59 +0000 (17:21 +0000)]
Add 2 items; record ideas for two initial sections; clarify wording
Andrew M. Kuchling [Thu, 6 May 2010 14:14:09 +0000 (14:14 +0000)]
Describe ElementTree 1.3; rearrange new-module sections; describe dict views as sets; small edits and items
Antoine Pitrou [Thu, 6 May 2010 14:11:23 +0000 (14:11 +0000)]
`self` doesn't exist here
Andrew M. Kuchling [Thu, 6 May 2010 13:03:39 +0000 (13:03 +0000)]
Use anonymous hyperlinks
Brian Curtin [Thu, 6 May 2010 02:54:44 +0000 (02:54 +0000)]
Fix #7863. Properly identify Windows 7 and Server 2008 R2.
Removed various unused code and added a way to correctly determine
server vs. workstation via the registry.
Andrew M. Kuchling [Thu, 6 May 2010 01:10:56 +0000 (01:10 +0000)]
Add various items
Andrew M. Kuchling [Thu, 6 May 2010 01:09:47 +0000 (01:09 +0000)]
Reword paragraph; fix filename, which should be pyconfig.h
R. David Murray [Thu, 6 May 2010 00:59:04 +0000 (00:59 +0000)]
Have the serve.py script announce the directory it is
serving and which port it is serving it on (I can
never remember the default port number it uses...)
Victor Stinner [Thu, 6 May 2010 00:03:44 +0000 (00:03 +0000)]
Untabify Modules/posixmodule.c (2)
Fix some more functions by hand
Victor Stinner [Wed, 5 May 2010 23:33:33 +0000 (23:33 +0000)]
Untabify Modules/posixmodule.c
Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some
continuation lines).
Brett Cannon [Wed, 5 May 2010 23:11:08 +0000 (23:11 +0000)]
Revert a change where an expression is not needed now, but could be in the future.
Mark Dickinson [Wed, 5 May 2010 22:42:51 +0000 (22:42 +0000)]
Issue #1533: test_range in test_builtin: fix test comment and add test
for rejection of small floats. Thanks Alexander Belopolsky.
Tarek Ziadé [Wed, 5 May 2010 22:41:25 +0000 (22:41 +0000)]
removed non needed lines
Mark Dickinson [Wed, 5 May 2010 22:23:58 +0000 (22:23 +0000)]
Issue #8625: Turn off gcc optimization in debug builds.
Tarek Ziadé [Wed, 5 May 2010 22:15:31 +0000 (22:15 +0000)]
Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fills
Mark Dickinson [Wed, 5 May 2010 21:52:39 +0000 (21:52 +0000)]
Issue 8628: fix incorrect documentation for numbers.Complex.imag.