]> granicus.if.org Git - python/log
python
14 years agoBreak long line in macros
Andrew M. Kuchling [Mon, 10 May 2010 23:24:09 +0000 (23:24 +0000)]
Break long line in macros

14 years agoFix typo
Andrew M. Kuchling [Mon, 10 May 2010 23:13:41 +0000 (23:13 +0000)]
Fix typo

14 years agoFix typo.
Georg Brandl [Mon, 10 May 2010 21:51:33 +0000 (21:51 +0000)]
Fix typo.

14 years agoConsolidate deprecation messages.
Georg Brandl [Mon, 10 May 2010 21:50:57 +0000 (21:50 +0000)]
Consolidate deprecation messages.

14 years agoFix reference direction.
Georg Brandl [Mon, 10 May 2010 21:46:50 +0000 (21:46 +0000)]
Fix reference direction.

14 years ago#8642: fix wrong function name.
Georg Brandl [Mon, 10 May 2010 21:02:51 +0000 (21:02 +0000)]
#8642: fix wrong function name.

14 years agoImproving help message for python -m unittest. Issue 8303.
Michael Foord [Mon, 10 May 2010 20:21:16 +0000 (20:21 +0000)]
Improving help message for python -m unittest. Issue 8303.

14 years agoAdd a link on maketrans().
Florent Xicluna [Mon, 10 May 2010 19:59:22 +0000 (19:59 +0000)]
Add a link on maketrans().

14 years agoMove { out of #if...#else block; this confuses Emacs' C-mode
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

14 years agoIssue #8674: Fix incorrect and UB-inducing overflow checks in audioop
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.

14 years agoIssue #8490: adds a more solid test suite for asyncore
Giampaolo Rodolà [Mon, 10 May 2010 15:33:22 +0000 (15:33 +0000)]
Issue #8490: adds a more solid test suite for asyncore

14 years agoLink to unittest2 article
Andrew M. Kuchling [Mon, 10 May 2010 15:03:35 +0000 (15:03 +0000)]
Link to unittest2 article

14 years agoUse title case
Andrew M. Kuchling [Mon, 10 May 2010 14:20:12 +0000 (14:20 +0000)]
Use title case

14 years agoMarkup fix; re-word a sentence
Andrew M. Kuchling [Mon, 10 May 2010 14:18:27 +0000 (14:18 +0000)]
Markup fix; re-word a sentence

14 years agofinish clause
Benjamin Peterson [Sun, 9 May 2010 21:09:40 +0000 (21:09 +0000)]
finish clause

14 years agoWrap multiline macros in a 'do {} while(0)', for safety.
Mark Dickinson [Sun, 9 May 2010 20:42:09 +0000 (20:42 +0000)]
Wrap multiline macros in a 'do {} while(0)', for safety.

14 years agoPost-detabification cleanup: whitespace fixes and long line rewraps only.
Mark Dickinson [Sun, 9 May 2010 20:30:29 +0000 (20:30 +0000)]
Post-detabification cleanup:  whitespace fixes and long line rewraps only.

14 years agoRemove spurious newlines, and add version number.
Antoine Pitrou [Sun, 9 May 2010 18:32:48 +0000 (18:32 +0000)]
Remove spurious newlines, and add version number.

14 years agoFixup indentation of PC/_msi.c
Antoine Pitrou [Sun, 9 May 2010 15:15:11 +0000 (15:15 +0000)]
Fixup indentation of PC/_msi.c

14 years agoUntabify C files. Will watch buildbots.
Antoine Pitrou [Sun, 9 May 2010 14:46:46 +0000 (14:46 +0000)]
Untabify C files. Will watch buildbots.

14 years agoIssue 8671: Whitespace fix.
Eric Smith [Sun, 9 May 2010 14:04:59 +0000 (14:04 +0000)]
Issue 8671: Whitespace fix.

14 years agoAdding a test for unittest.BaseTestSuite.
Michael Foord [Sun, 9 May 2010 09:58:25 +0000 (09:58 +0000)]
Adding a test for unittest.BaseTestSuite.

14 years agoIssue #8644: Improve accuracy of timedelta.total_seconds method.
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.

14 years agoRevert r81012. buildbot problems and its questionable of me to even
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.

14 years agoFixes [issue7245] Better Ctrl-C support in pdb.
Gregory P. Smith [Sat, 8 May 2010 23:38:49 +0000 (23:38 +0000)]
Fixes [issue7245] Better Ctrl-C support in pdb.

14 years agoremove svn:mergeinfo property
Benjamin Peterson [Sat, 8 May 2010 20:59:42 +0000 (20:59 +0000)]
remove svn:mergeinfo property

14 years agoSkip signal handler re-installation if it is not necessary. Issue 8354.
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.

14 years agoFix configure bug that was misreporting availability of MacOS X 10.5 SDK as available...
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.

14 years agotowards 2.7 release candidate 1
Benjamin Peterson [Sat, 8 May 2010 18:53:42 +0000 (18:53 +0000)]
towards 2.7 release candidate 1

14 years agotag second 2.7 beta
Benjamin Peterson [Sat, 8 May 2010 17:10:37 +0000 (17:10 +0000)]
tag second 2.7 beta

14 years agobump version to 2.7 beta 2 v2.7b2
Benjamin Peterson [Sat, 8 May 2010 17:08:17 +0000 (17:08 +0000)]
bump version to 2.7 beta 2

14 years agounittest: issue 8301. Adding functions to test suites no longer crashes.
Michael Foord [Sat, 8 May 2010 17:06:25 +0000 (17:06 +0000)]
unittest: issue 8301. Adding functions to test suites no longer crashes.

14 years agoupdate pydoc-topics
Benjamin Peterson [Sat, 8 May 2010 17:05:19 +0000 (17:05 +0000)]
update pydoc-topics

14 years agorun and fix enumerate start test cases #8636
Benjamin Peterson [Sat, 8 May 2010 16:44:52 +0000 (16:44 +0000)]
run and fix enumerate start test cases #8636

14 years agoUpdating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches...
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.

14 years agoadd underscore
Benjamin Peterson [Sat, 8 May 2010 15:42:29 +0000 (15:42 +0000)]
add underscore

14 years agor80967 introduced a new scheme
Benjamin Peterson [Sat, 8 May 2010 15:41:44 +0000 (15:41 +0000)]
r80967 introduced a new scheme

14 years agoWrite summary of the 2.7 release; rewrite the future section some more;
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.

14 years agoRevert r80963 - it broke compilation everywhere
Antoine Pitrou [Sat, 8 May 2010 15:23:57 +0000 (15:23 +0000)]
Revert r80963 - it broke compilation everywhere

14 years agoDocumenting test discovery from package name and potential problems with test discove...
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.

14 years agoMarkup fixes
Andrew M. Kuchling [Sat, 8 May 2010 13:29:46 +0000 (13:29 +0000)]
Markup fixes

14 years agoAdd logging.dictConfig example; give up on writing a Ttk example
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

14 years agoIssue 7780. Adding a test for unittest test discovery from a dotted path.
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.

14 years agoconfigure.in: Avoid autoconf warning: Assume C89 semantics that
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

14 years agoconfigure.in: convert all obsolete AC_TRY_* macros to AC_*_IFELSE,
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).

14 years agoIssue #8084: ensure that the --user directory
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.

14 years agoconfigure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/
Matthias Klose [Sat, 8 May 2010 10:17:27 +0000 (10:17 +0000)]
configure.in: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/

14 years ago- configure.in: Replace AC_HELP_STRING with AS_HELP_STRING
Matthias Klose [Sat, 8 May 2010 10:14:46 +0000 (10:14 +0000)]
- configure.in: Replace AC_HELP_STRING with AS_HELP_STRING

14 years ago- Issue #8510: Update to autoconf2.65.
Matthias Klose [Sat, 8 May 2010 10:00:28 +0000 (10:00 +0000)]
- Issue #8510: Update to autoconf2.65.

14 years agoFix for issue #7724: make it possible to build using
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.

14 years agoIssue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach.
Mark Dickinson [Sat, 8 May 2010 08:01:19 +0000 (08:01 +0000)]
Issue #8659: Remove redundant ABS calls.  Thanks Daniel Stutzbach.

14 years agoFixing the errors trigerred in test_urllib2net. Related to issue8656.
Senthil Kumaran [Sat, 8 May 2010 05:00:11 +0000 (05:00 +0000)]
Fixing the errors trigerred in test_urllib2net. Related to issue8656.

14 years agoFix Issue8656 - urllib2 mangles file://-scheme URLs
Senthil Kumaran [Sat, 8 May 2010 03:11:50 +0000 (03:11 +0000)]
Fix Issue8656 - urllib2 mangles file://-scheme URLs

14 years agoGet accents correct
Andrew M. Kuchling [Sat, 8 May 2010 01:35:55 +0000 (01:35 +0000)]
Get accents correct

14 years agoAdd two items
Andrew M. Kuchling [Sat, 8 May 2010 01:15:26 +0000 (01:15 +0000)]
Add two items

14 years agoIssue 8547 - detecting and reporting that modules have been imported from the wrong...
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.

14 years agorevert r80932; it breaks windows
Benjamin Peterson [Fri, 7 May 2010 20:45:07 +0000 (20:45 +0000)]
revert r80932; it breaks windows

14 years agoMerged revisions 79911,79916-79917,80018,80418,80572-80573,80635-80639,80668,80922...
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
........

14 years agoIssue 8547 - detecting and reporting that modules have been imported from the wrong...
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.

14 years agoIssue #8571: Fix an internal error when compressing or decompressing a
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.

14 years agoAdding tests for unittest command line handling of buffer, catchbreak and failfast.
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.

14 years agoAdding a test for unittest test discovery with dotted path name.
Michael Foord [Fri, 7 May 2010 15:34:08 +0000 (15:34 +0000)]
Adding a test for unittest test discovery with dotted path name.

14 years agoRe-word text
Andrew M. Kuchling [Fri, 7 May 2010 11:30:47 +0000 (11:30 +0000)]
Re-word text

14 years agoFix some markup and a class name. Also, wrap a long line.
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.

14 years agoTestsuite for RFC3986 based parsing scenario. Related Issue1462525.
Senthil Kumaran [Fri, 7 May 2010 04:07:29 +0000 (04:07 +0000)]
Testsuite for RFC3986 based parsing scenario. Related Issue1462525.

14 years agoAdd a new section on the development plan; add an item
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

14 years agoensure that availability information is on its own line at the end of the function...
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

14 years agoAvailability gets its own line
Benjamin Peterson [Thu, 6 May 2010 22:33:46 +0000 (22:33 +0000)]
Availability gets its own line

14 years agoadds handle_error(self):raise to test modules using asyncore to provide a clearer...
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

14 years agoprovides a clearer warning message when cheap inheritance with the underlying socket...
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

14 years agoFix asyncore issues 8573 and 8483: _strerror might throw ValueError; asyncore.__getat...
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__

14 years agoAdd back in a line that was unneeded which advanced a pointer, but commented
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.

14 years agoChange section title; point to unittest2
Andrew M. Kuchling [Thu, 6 May 2010 17:27:57 +0000 (17:27 +0000)]
Change section title; point to unittest2

14 years agoAdd 2 items; record ideas for two initial sections; clarify wording
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

14 years agoDescribe ElementTree 1.3; rearrange new-module sections; describe dict views as sets...
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

14 years ago`self` doesn't exist here
Antoine Pitrou [Thu, 6 May 2010 14:11:23 +0000 (14:11 +0000)]
`self` doesn't exist here

14 years agoUse anonymous hyperlinks
Andrew M. Kuchling [Thu, 6 May 2010 13:03:39 +0000 (13:03 +0000)]
Use anonymous hyperlinks

14 years agoFix #7863. Properly identify Windows 7 and Server 2008 R2.
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.

14 years agoAdd various items
Andrew M. Kuchling [Thu, 6 May 2010 01:10:56 +0000 (01:10 +0000)]
Add various items

14 years agoReword paragraph; fix filename, which should be pyconfig.h
Andrew M. Kuchling [Thu, 6 May 2010 01:09:47 +0000 (01:09 +0000)]
Reword paragraph; fix filename, which should be pyconfig.h

14 years agoHave the serve.py script announce the directory it is
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...)

14 years agoUntabify Modules/posixmodule.c (2)
Victor Stinner [Thu, 6 May 2010 00:03:44 +0000 (00:03 +0000)]
Untabify Modules/posixmodule.c (2)

Fix some more functions by hand

14 years agoUntabify Modules/posixmodule.c
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).

14 years agoRevert a change where an expression is not needed now, but could be in the future.
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.

14 years agoIssue #1533: test_range in test_builtin: fix test comment and add test
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.

14 years agoremoved non needed lines
Tarek Ziadé [Wed, 5 May 2010 22:41:25 +0000 (22:41 +0000)]
removed non needed lines

14 years agoIssue #8625: Turn off gcc optimization in debug builds.
Mark Dickinson [Wed, 5 May 2010 22:23:58 +0000 (22:23 +0000)]
Issue #8625:  Turn off gcc optimization in debug builds.

14 years agoFixed #4265: shutil.copyfile() was leaking file descriptors when disk fills
Tarek Ziadé [Wed, 5 May 2010 22:15:31 +0000 (22:15 +0000)]
Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fills

14 years agoIssue 8628: fix incorrect documentation for numbers.Complex.imag.
Mark Dickinson [Wed, 5 May 2010 21:52:39 +0000 (21:52 +0000)]
Issue 8628: fix incorrect documentation for numbers.Complex.imag.

14 years agoMention how Clang's static anaylzer was run over Objects/ and Python/.
Brett Cannon [Wed, 5 May 2010 20:54:53 +0000 (20:54 +0000)]
Mention how Clang's static anaylzer was run over Objects/ and Python/.

14 years agoRemove an unneeded variable assignment.
Brett Cannon [Wed, 5 May 2010 20:53:20 +0000 (20:53 +0000)]
Remove an unneeded variable assignment.

Found using Clang's static analyzer.

14 years agoExplicitly add stdio.h and string.h to make strtod.c work standalone.
Brett Cannon [Wed, 5 May 2010 20:50:03 +0000 (20:50 +0000)]
Explicitly add stdio.h and string.h to make strtod.c work standalone.

Found using Clang's static analyzer.

14 years agoChange to a Py_XDECREF and fix some whitespace.
Brett Cannon [Wed, 5 May 2010 20:38:52 +0000 (20:38 +0000)]
Change to a Py_XDECREF and fix some whitespace.

Found using Clang's static analyzer.

14 years agoRemove an unnecessary variable assignment.
Brett Cannon [Wed, 5 May 2010 20:35:24 +0000 (20:35 +0000)]
Remove an unnecessary variable assignment.

Found using Clang's static analyzer.

14 years agoRemove two unneeded branches to an 'if' statement by applying De Morgan's Law
Brett Cannon [Wed, 5 May 2010 20:30:30 +0000 (20:30 +0000)]
Remove two unneeded branches to an 'if' statement by applying De Morgan's Law
and creating a single 'if' statement along with a NULL default value for a
variable.

Also clean up a bunch of whitespace.

Found using Clang's static analyzer.

14 years agoRemove an unneeded variable increment.
Brett Cannon [Wed, 5 May 2010 20:27:49 +0000 (20:27 +0000)]
Remove an unneeded variable increment.

Found using Clang's static analyzer.

14 years agoRemove an unneeded variable and fix a little whitespace.
Brett Cannon [Wed, 5 May 2010 20:26:58 +0000 (20:26 +0000)]
Remove an unneeded variable and fix a little whitespace.

Found using Clang's static analyzer.

14 years agoFix whitespace.
Brett Cannon [Wed, 5 May 2010 20:25:47 +0000 (20:25 +0000)]
Fix whitespace.

14 years agoPartially revert the over-reaching r80813.
Brett Cannon [Wed, 5 May 2010 20:24:30 +0000 (20:24 +0000)]
Partially revert the over-reaching r80813.

14 years agoRemove three unneeded variable assignments.
Brett Cannon [Wed, 5 May 2010 20:20:19 +0000 (20:20 +0000)]
Remove three unneeded variable assignments.

Found using Clang's static analyzer.