]>
granicus.if.org Git - python/log
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.
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/.
Brett Cannon [Wed, 5 May 2010 20:53:20 +0000 (20:53 +0000)]
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
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.
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.
Brett Cannon [Wed, 5 May 2010 20:35:24 +0000 (20:35 +0000)]
Remove an unnecessary variable assignment.
Found using Clang's static analyzer.
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.
Brett Cannon [Wed, 5 May 2010 20:27:49 +0000 (20:27 +0000)]
Remove an unneeded variable increment.
Found using Clang's static analyzer.
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.
Brett Cannon [Wed, 5 May 2010 20:25:47 +0000 (20:25 +0000)]
Fix whitespace.
Brett Cannon [Wed, 5 May 2010 20:24:30 +0000 (20:24 +0000)]
Partially revert the over-reaching r80813.
Brett Cannon [Wed, 5 May 2010 20:20:19 +0000 (20:20 +0000)]
Remove three unneeded variable assignments.
Found using Clang's static analyzer.
Brett Cannon [Wed, 5 May 2010 20:19:26 +0000 (20:19 +0000)]
Remove an unneeded assignment.
Found using Clang's static analyzer.
Brett Cannon [Wed, 5 May 2010 20:18:23 +0000 (20:18 +0000)]
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
Brett Cannon [Wed, 5 May 2010 20:16:50 +0000 (20:16 +0000)]
Remove an unneeded variable.
Found using Clang's static analyzer.
Brett Cannon [Wed, 5 May 2010 20:16:09 +0000 (20:16 +0000)]
Remove an unneeded variable increment.
Found using Clang's static analyzer.
Brett Cannon [Wed, 5 May 2010 20:15:14 +0000 (20:15 +0000)]
Remove extraneous whitespace.
Brett Cannon [Wed, 5 May 2010 20:14:27 +0000 (20:14 +0000)]
Remove an unnecessary variable.
Found using Clang's static analyzer.
Ronald Oussoren [Wed, 5 May 2010 19:09:31 +0000 (19:09 +0000)]
In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
Antoine Pitrou [Wed, 5 May 2010 18:29:02 +0000 (18:29 +0000)]
Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.
R. David Murray [Wed, 5 May 2010 17:31:03 +0000 (17:31 +0000)]
Issue #7472: remove unused code from email.encoders.encode_7or8bit.
Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
to special case iso-2022 codecs. It turns out that the code in
question is never used, because whereas it was designed to trigger
if the payload encoding was eight bit but its output encoding was
7 bit, in practice the payload is always converted to the 7bit
encoding before encode_7or8bit is called. Patch by Shawat Anand.
Antoine Pitrou [Wed, 5 May 2010 16:27:30 +0000 (16:27 +0000)]
Untabify Modules/_io/fileio.c
Barry Warsaw [Wed, 5 May 2010 16:17:22 +0000 (16:17 +0000)]
NEWS
Barry Warsaw [Wed, 5 May 2010 16:15:09 +0000 (16:15 +0000)]
Bug 7755: audiotest.au is arguably copyrighted material, but definitely makes
Debian unhappy. The actual contents of the audio clip are unimportant, so
replace it with something that we know is okay. Guido likes woodpeckers.
Antoine Pitrou [Wed, 5 May 2010 15:53:45 +0000 (15:53 +0000)]
Untabify Modules/_ssl.c
Ronald Oussoren [Wed, 5 May 2010 15:32:39 +0000 (15:32 +0000)]
Force exit using os._exit instead of sys.exit,
this makes sure that the child does not continue
testing.
Ronald Oussoren [Wed, 5 May 2010 14:48:37 +0000 (14:48 +0000)]
The C function used by uuid.uuid4 is broken on
OSX 10.6 in that after os.fork() the parent and
child generate the same sequence of UUIDs.
This patch falls back to the the Python implementation
on OSX 10.6 or later.
Fixes issue #8621.
Marc-André Lemburg [Wed, 5 May 2010 13:30:01 +0000 (13:30 +0000)]
Update the NEWS entry for issue #8211.
Victor Stinner [Wed, 5 May 2010 12:40:49 +0000 (12:40 +0000)]
Issue #8313: traceback.format_exception_only() encodes unicode message to
ASCII with backslashreplace error handler if str(value) failed
Thomas Heller [Tue, 4 May 2010 19:08:18 +0000 (19:08 +0000)]
Remove reference to unused source file.
Mark Dickinson [Tue, 4 May 2010 18:45:27 +0000 (18:45 +0000)]
Fix test_gzip failure on OS X. The failure was a result of trying to fflush
a file that wasn't open for writing. Patch by Antoine Pitrou.
Thomas Heller [Tue, 4 May 2010 18:44:42 +0000 (18:44 +0000)]
On Windows, ctypes does no longer check the stack before and after
calling a foreign function. This allows to use the unmodified libffi
library.
Remove most files from _ctypes/libffi_msvc, only two include files
stay (updated from _ctypes/libffi/...). Other files are used in the
cross-platform _ctypes/libffi directory.
Mark Dickinson [Tue, 4 May 2010 16:19:06 +0000 (16:19 +0000)]
Fix trailing whitespace.
Mark Dickinson [Tue, 4 May 2010 16:18:25 +0000 (16:18 +0000)]
Issue #1533: fix inconsistency in range function argument processing:
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method. Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.
Patch by Alexander Belopolsky (with minor modifications).
Mark Dickinson [Tue, 4 May 2010 14:25:50 +0000 (14:25 +0000)]
Issue #8567: Fix incorrect precedence of signals in Decimal module.
When a Decimal operation raises multiple signals and more than one of
those signals is trapped, the specification determines the order in
which the signals should be handled. In many cases this order wasn't
being followed, leading to the wrong Python exception being raised.
This commit fixes those cases, and adds extra tests. The tests are
only enabled when EXTENDEDERRORTESTS is True, since they involve
rerunning each Decimal testcase several times.
Victor Stinner [Tue, 4 May 2010 11:35:36 +0000 (11:35 +0000)]
_pyio: Fix TextIOWrapper constructor: os has no device_encoding() function
_io module doesn't call this function which was introduced in Python3.
Alexandre Vassalotti [Tue, 4 May 2010 03:21:51 +0000 (03:21 +0000)]
Issue #8404: Fix set operations on dictionary views.
Andrew M. Kuchling [Tue, 4 May 2010 01:24:22 +0000 (01:24 +0000)]
Add some more items; the urlparse change is added twice
Brett Cannon [Tue, 4 May 2010 01:23:36 +0000 (01:23 +0000)]
Pull a NULL pointer check up to cover more cases in the function.
Found using Clang's static analyzer.
Brett Cannon [Tue, 4 May 2010 01:16:51 +0000 (01:16 +0000)]
Remove an unneeded variable and assignment.
Found using Clang's static analyzer.
Brett Cannon [Tue, 4 May 2010 01:04:53 +0000 (01:04 +0000)]
Mention the code clean-up thanks to Clang's static analyzer in Modules.
Was not applied to modules that will not compile under OS X, dbmmodule.c,
getaddrinfo.c, and getnameinfo.c.
Brett Cannon [Tue, 4 May 2010 01:01:00 +0000 (01:01 +0000)]
Fix some whitespace.
Brett Cannon [Tue, 4 May 2010 00:57:44 +0000 (00:57 +0000)]
Remove an unneeded variable assignment.
Found using Clang's static analyzer.
Brett Cannon [Tue, 4 May 2010 00:52:41 +0000 (00:52 +0000)]
Strip out extraneous whitespace, cast a some `const char *` to `void *` when
passed to free() and make a `char *` to a `const char *` as found by Clang's
static analyzer.
Brett Cannon [Tue, 4 May 2010 00:48:11 +0000 (00:48 +0000)]
Fix a Py_DECREF to a Py_XDECREF.
Found using Clang's static analyzer.
Brett Cannon [Tue, 4 May 2010 00:36:00 +0000 (00:36 +0000)]
Prevent a possible NULL de-reference and an unneeded variable assignment.
Found using Clang's static analyzer.
Brett Cannon [Tue, 4 May 2010 00:30:17 +0000 (00:30 +0000)]
Remove a redundant string length check and variable assignment.
Found with Clang's static analyzer.
Brett Cannon [Mon, 3 May 2010 23:57:15 +0000 (23:57 +0000)]
Fix two potential uninitialization errors and an unneeded assignment.
Found using Clang's static analyzer.
Brett Cannon [Mon, 3 May 2010 23:51:28 +0000 (23:51 +0000)]
Remove unused variables and a variable initialization.
Found using Clang's static analyzer.
Brett Cannon [Mon, 3 May 2010 23:44:54 +0000 (23:44 +0000)]
Remove unneeded variable assignment.
Found using Clang's static analyzer.
Brett Cannon [Mon, 3 May 2010 23:43:49 +0000 (23:43 +0000)]
Remove unneeded variable mutation and initializations.
Found using Clang's static analyzer.
Brett Cannon [Mon, 3 May 2010 23:42:40 +0000 (23:42 +0000)]
Clean up whitespace and remove unneeded variable initialization as found by
Clang.
Brett Cannon [Mon, 3 May 2010 23:41:51 +0000 (23:41 +0000)]
Remove an unused variable.
Found using Clang's static analyzer.
Brett Cannon [Mon, 3 May 2010 23:41:23 +0000 (23:41 +0000)]
Remove unneeded variable initialization.
Found using Clang's static analyzer.
Antoine Pitrou [Mon, 3 May 2010 16:25:33 +0000 (16:25 +0000)]
Issue #7865: The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.
Jesus Cea [Mon, 3 May 2010 16:09:21 +0000 (16:09 +0000)]
wbits negative was documented SEVEN years ago
Vinay Sajip [Mon, 3 May 2010 15:11:53 +0000 (15:11 +0000)]
Issue #8576: logging updated to remove usage of find_unused_port().
Brett Cannon [Sun, 2 May 2010 21:51:23 +0000 (21:51 +0000)]
Update the Vim syntax highlight file.
Michael Foord [Sun, 2 May 2010 20:39:42 +0000 (20:39 +0000)]
Fix unittest tests to not abuse traceback.format_exception
Antoine Pitrou [Sun, 2 May 2010 19:51:14 +0000 (19:51 +0000)]
Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
Ronald Oussoren [Sun, 2 May 2010 09:55:57 +0000 (09:55 +0000)]
Small update to r80698 to ensure that webbrowser.open
uses the default browser.
Ronald Oussoren [Sun, 2 May 2010 09:48:21 +0000 (09:48 +0000)]
For for issue #7192: with this patch webbrowser.get("firefox")
works on OSX
Mark Dickinson [Sun, 2 May 2010 09:38:43 +0000 (09:38 +0000)]
Improve error message from nb_int returning a non-integer, in various PyInt_As* functions:
Antoine Pitrou [Sat, 1 May 2010 20:26:58 +0000 (20:26 +0000)]
Remove duplicate test
Antoine Pitrou [Sat, 1 May 2010 12:16:39 +0000 (12:16 +0000)]
Fix attribution. Travis didn't do much and he did a bad work.
(yes, this is a sensitive subject, sorry)
Andrew M. Kuchling [Sat, 1 May 2010 12:06:51 +0000 (12:06 +0000)]
Describe memoryview
Andrew M. Kuchling [Sat, 1 May 2010 12:05:52 +0000 (12:05 +0000)]
Minor grammar fix
Mark Dickinson [Sat, 1 May 2010 11:46:20 +0000 (11:46 +0000)]
Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
Senthil Kumaran [Sat, 1 May 2010 08:01:56 +0000 (08:01 +0000)]
Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string
Andrew M. Kuchling [Sat, 1 May 2010 01:19:16 +0000 (01:19 +0000)]
Add various items
Antoine Pitrou [Fri, 30 Apr 2010 23:08:48 +0000 (23:08 +0000)]
Issue #8576: Remove use of find_unused_port() in test_smtplib and
test_multiprocessing. Patch by Paul Moore.
Marc-André Lemburg [Fri, 30 Apr 2010 17:20:14 +0000 (17:20 +0000)]
[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS
Only override the AC_PROG_CC determined CFLAGS if they were set by the user.
This restores the default behavior in the common case of not having CFLAGS
defined when running configure.
Ronald Oussoren [Fri, 30 Apr 2010 15:11:22 +0000 (15:11 +0000)]
Add notes about uninstalling a framework install to
Mac/README. Fixes issue 7107.