]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 31 Dec 2009 16:28:24 +0000 (16:28 +0000)]
update expat comment
Andrew M. Kuchling [Thu, 31 Dec 2009 16:17:05 +0000 (16:17 +0000)]
Add some items
Ezio Melotti [Thu, 31 Dec 2009 13:47:24 +0000 (13:47 +0000)]
#7613: missing ) in flmodule.c
Ezio Melotti [Thu, 31 Dec 2009 13:27:41 +0000 (13:27 +0000)]
indentation and further alignment with py3k
Ezio Melotti [Thu, 31 Dec 2009 13:00:43 +0000 (13:00 +0000)]
cleanup and refactoring
Benjamin Peterson [Thu, 31 Dec 2009 03:17:18 +0000 (03:17 +0000)]
add a --with-system-expat option to build pyexpat against the system's lib #7609
Benjamin Peterson [Wed, 30 Dec 2009 19:44:23 +0000 (19:44 +0000)]
Merged revisions 77158 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line
clean up logging's global state after the test finishes
........
Benjamin Peterson [Wed, 30 Dec 2009 19:34:10 +0000 (19:34 +0000)]
check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
Also, add a note to the docs about the better behavior of T_OBJECT_EX as
compared to T_OBJECT.
Georg Brandl [Wed, 30 Dec 2009 19:03:00 +0000 (19:03 +0000)]
We only support Windows NT derivatives now.
Georg Brandl [Wed, 30 Dec 2009 18:36:09 +0000 (18:36 +0000)]
#7602: improve "clean" and "checkout" targets now that all tools are in externals.
Georg Brandl [Wed, 30 Dec 2009 18:32:50 +0000 (18:32 +0000)]
#7487: update Pygments version.
Georg Brandl [Wed, 30 Dec 2009 16:21:26 +0000 (16:21 +0000)]
Use new Pygments version.
Mark Dickinson [Wed, 30 Dec 2009 12:22:49 +0000 (12:22 +0000)]
Add Marcos Donolo for work on issue 7534 patch.
Mark Dickinson [Wed, 30 Dec 2009 12:12:23 +0000 (12:12 +0000)]
Issue #7534: Fix handling of nans, infinities, and negative zero in **
operator, on IEEE 754 platforms. Thanks Marcos Donolo for original patch.
Ezio Melotti [Wed, 30 Dec 2009 06:14:51 +0000 (06:14 +0000)]
#5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
Benjamin Peterson [Wed, 30 Dec 2009 03:02:34 +0000 (03:02 +0000)]
wrap long line
Benjamin Peterson [Wed, 30 Dec 2009 02:58:50 +0000 (02:58 +0000)]
only build the nis module when the headers are found #7589
Andrew M. Kuchling [Tue, 29 Dec 2009 23:41:04 +0000 (23:41 +0000)]
Add various items
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 23:06:17 +0000 (23:06 +0000)]
#7579: Add docstrings to the msvcrt module
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 22:03:38 +0000 (22:03 +0000)]
#7413: Passing '\0' as the separator to datetime.datetime.isoformat()
used to drop the time part of the result.
Georg Brandl [Tue, 29 Dec 2009 21:09:17 +0000 (21:09 +0000)]
#7595: fix typo in argument default constant.
Mark Dickinson [Tue, 29 Dec 2009 20:51:24 +0000 (20:51 +0000)]
Issue #7575: An overflow test for math.expm1 was failing on OS X 10.4/Intel,
due to a defect in the platform's implementation of expm1. Since the issue
is of low severity, and appears to be fixed in OS X 10.5 and 10.6, it doesn't
seem worth working around, so I'm just weakening the relevant test so that
it passes on 10.4.
Andrew M. Kuchling [Tue, 29 Dec 2009 20:10:16 +0000 (20:10 +0000)]
Various additions
Georg Brandl [Tue, 29 Dec 2009 11:25:38 +0000 (11:25 +0000)]
Fix wrong markup.
Georg Brandl [Tue, 29 Dec 2009 11:06:31 +0000 (11:06 +0000)]
Improve markup of ctypes docs.
Georg Brandl [Tue, 29 Dec 2009 10:34:34 +0000 (10:34 +0000)]
#7569: clarification about c_char_p.
Benjamin Peterson [Tue, 29 Dec 2009 00:09:33 +0000 (00:09 +0000)]
enable test_main.py
Benjamin Peterson [Mon, 28 Dec 2009 23:50:41 +0000 (23:50 +0000)]
Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line
handle unencodable diffs gracefully #5093
........
r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line
fix emacs header
........
r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines
replace callable(x) with isinstance(x, collections.Callable) #7006
This is a more accurate translation than hasattr(x, '__call__') which failed in
the case that somebody had put __call__ in the instance dictionary.
Patch mostly by Joe Amenta.
........
r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines
deuglify imports
........
r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line
remove unused flag
........
r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines
clean up imports and whitespace
........
r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line
*** empty log message ***
........
r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line
revert unintended change
........
r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line
revert unintended changes
........
r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line
normalize whitespace
........
Benjamin Peterson [Mon, 28 Dec 2009 20:51:17 +0000 (20:51 +0000)]
document new fix_callable behavior
Georg Brandl [Mon, 28 Dec 2009 08:48:24 +0000 (08:48 +0000)]
#7404: remove reference to non-existing example files.
Georg Brandl [Mon, 28 Dec 2009 08:34:58 +0000 (08:34 +0000)]
#7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring.
Georg Brandl [Mon, 28 Dec 2009 08:09:32 +0000 (08:09 +0000)]
#7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.
Georg Brandl [Mon, 28 Dec 2009 08:01:59 +0000 (08:01 +0000)]
#7586: fix typo.
Georg Brandl [Mon, 28 Dec 2009 07:59:05 +0000 (07:59 +0000)]
#7577: fix signature of PyBuffer_FillInfo().
Mark Dickinson [Sun, 27 Dec 2009 21:31:50 +0000 (21:31 +0000)]
Use a more idiomatic check in check_truediv.
Amaury Forgeot d'Arc [Sun, 27 Dec 2009 20:06:44 +0000 (20:06 +0000)]
Fix a typo in comment
Mark Dickinson [Sun, 27 Dec 2009 16:16:02 +0000 (16:16 +0000)]
Use ldexp(q, exp) instead of q*2.**exp in true division test, to avoid bogus failures on platforms with broken pow (e.g., Ubuntu/ia64).
Mark Dickinson [Sun, 27 Dec 2009 14:55:57 +0000 (14:55 +0000)]
Issue #1811: Improve accuracy and consistency of true division for integers.
Senthil Kumaran [Sun, 27 Dec 2009 09:11:09 +0000 (09:11 +0000)]
Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host.
This is on hosts with multiple ip addresses.
Ezio Melotti [Fri, 25 Dec 2009 02:12:01 +0000 (02:12 +0000)]
Updated sys.flags table in Doc
Ezio Melotti [Thu, 24 Dec 2009 22:25:17 +0000 (22:25 +0000)]
#6108: unicode(exception) and str(exception) should return the same message
Mark Dickinson [Thu, 24 Dec 2009 16:06:58 +0000 (16:06 +0000)]
Issue #7568: typo in docstring. Thanks Mike Putnam.
Benjamin Peterson [Thu, 24 Dec 2009 15:19:40 +0000 (15:19 +0000)]
allow Process name to be unicode #7571
Ronald Oussoren [Thu, 24 Dec 2009 14:50:35 +0000 (14:50 +0000)]
Unittests and news items for the patch in r77026.
Ronald Oussoren [Thu, 24 Dec 2009 14:17:19 +0000 (14:17 +0000)]
Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a
Ronald Oussoren [Thu, 24 Dec 2009 13:30:58 +0000 (13:30 +0000)]
Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
The previous implementation used execv(2) to run the real interpreter, which means that
you cannot use the arch(1) tool to select the architecture you want to use for a
universal build because that only affects the python/pythonw wrapper and not the actual
interpreter.
The new version uses posix_spawnv with a number of OSX-specific options that ensure that
the real interpreter is started using the same CPU architecture as the wrapper, and that
means that 'arch -ppc python' now actually works.
I've also changed the way that the wrapper looks for the framework: it is now linked to
the framework rather than hardcoding the framework path. This should make it easier to
provide pythonw support in tools like virtualenv.
Ronald Oussoren [Thu, 24 Dec 2009 13:30:42 +0000 (13:30 +0000)]
An update to the script that's used to build the binary installer: don't install files in
/usr/local by default. Users can still choose to install files into /usr/local, but by
default we'll only install files in /Library/Framework/Python.framework and
/Applications/Python X.Y/
Ronald Oussoren [Thu, 24 Dec 2009 13:06:39 +0000 (13:06 +0000)]
On OSX the output of "uname -m" always reflects the 32-bit architecture
for the machine ("i386" or "ppc"), even if the executable is
64-bit.
This patchs ensures that the distutils platform architecture
represents the architecture for the executable when running a
64-bit only executable on OSX.
Ezio Melotti [Thu, 24 Dec 2009 02:54:53 +0000 (02:54 +0000)]
Added markup and default arg, fixed example
Senthil Kumaran [Thu, 24 Dec 2009 02:18:14 +0000 (02:18 +0000)]
Fix for Issue7570: Error in urllib2 example.
Benjamin Peterson [Thu, 24 Dec 2009 01:09:53 +0000 (01:09 +0000)]
fix alleged refleak
Gregory P. Smith [Wed, 23 Dec 2009 09:31:11 +0000 (09:31 +0000)]
Fix possible integer overflow in lchown and fchown functions. For issue1747858.
Brett Cannon [Tue, 22 Dec 2009 02:37:37 +0000 (02:37 +0000)]
Make a word plural.
Tarek Ziadé [Mon, 21 Dec 2009 23:37:44 +0000 (23:37 +0000)]
added a note about #7556 in Misc/NEWS
Tarek Ziadé [Mon, 21 Dec 2009 23:31:55 +0000 (23:31 +0000)]
backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
Martin v. Löwis [Mon, 21 Dec 2009 19:29:59 +0000 (19:29 +0000)]
Add NEWS for OpenSSL changes.
Martin v. Löwis [Mon, 21 Dec 2009 19:27:15 +0000 (19:27 +0000)]
Switch to OpenSSL 0.9.8l.
Martin v. Löwis [Mon, 21 Dec 2009 19:25:56 +0000 (19:25 +0000)]
Drop 2.4 compatibility.
Mark Dickinson [Mon, 21 Dec 2009 16:29:21 +0000 (16:29 +0000)]
Issue #7553: test_long_future wasn't testing properly. Thanks Florent Xicluna
for bug report and patch.
Mark Dickinson [Mon, 21 Dec 2009 15:40:33 +0000 (15:40 +0000)]
Inverse hyperbolic trigonometric functions should call m_log1p, not log1p.
Mark Dickinson [Mon, 21 Dec 2009 15:22:00 +0000 (15:22 +0000)]
Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
R. David Murray [Mon, 21 Dec 2009 12:45:41 +0000 (12:45 +0000)]
Remove a leftover from a previous iteration of the issue 7376 patch.
Mark Dickinson [Mon, 21 Dec 2009 12:15:48 +0000 (12:15 +0000)]
Additional edge-case tests for test_long_and_overflow.
Mark Dickinson [Mon, 21 Dec 2009 11:31:54 +0000 (11:31 +0000)]
Fix reference counts for test_long_and_overflow.
Mark Dickinson [Mon, 21 Dec 2009 11:21:25 +0000 (11:21 +0000)]
Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.
Thanks Case Van Horsen for the patch.
Tarek Ziadé [Mon, 21 Dec 2009 01:22:46 +0000 (01:22 +0000)]
massive import cleaning in Distutils
Tarek Ziadé [Sun, 20 Dec 2009 23:23:34 +0000 (23:23 +0000)]
Fixed #7552: fixed distutils.command.upload failure on very long passwords
Mark Dickinson [Sun, 20 Dec 2009 20:34:44 +0000 (20:34 +0000)]
Issue #7554: Various fixups in test_cmath.py: remove code duplication,
use new-style formatting. Thanks Florent Xicluna for the patch.
Mark Dickinson [Sun, 20 Dec 2009 20:23:01 +0000 (20:23 +0000)]
Silence -3 warnings. Thanks Florent Xicluna.
Mark Dickinson [Sun, 20 Dec 2009 19:52:36 +0000 (19:52 +0000)]
Fix for consistency with py3k keyword-only version of assertAlmostEqual
Mark Dickinson [Sun, 20 Dec 2009 19:45:37 +0000 (19:45 +0000)]
Issue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent Xicluna.
R. David Murray [Sun, 20 Dec 2009 16:46:06 +0000 (16:46 +0000)]
Issue #7376: When called with no arguments doctest was running a
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
R. David Murray [Sun, 20 Dec 2009 16:24:46 +0000 (16:24 +0000)]
Fix comment typo.
Mark Dickinson [Sun, 20 Dec 2009 15:57:56 +0000 (15:57 +0000)]
Add missing tests for PyArg_Parse* with format 'h'
Benjamin Peterson [Sun, 20 Dec 2009 15:23:22 +0000 (15:23 +0000)]
builtin-ins -> builtins
Georg Brandl [Sun, 20 Dec 2009 14:33:20 +0000 (14:33 +0000)]
#7381: subprocess documentation and library docstring consistency fixes.
Georg Brandl [Sun, 20 Dec 2009 14:28:05 +0000 (14:28 +0000)]
Small indentation fix.
Georg Brandl [Sun, 20 Dec 2009 14:20:16 +0000 (14:20 +0000)]
#7495: backport Programming FAQ review to trunk.
Mark Dickinson [Sun, 20 Dec 2009 13:58:18 +0000 (13:58 +0000)]
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
it to do the conversion explicitly instead. See issue #7550.
Senthil Kumaran [Sun, 20 Dec 2009 07:29:31 +0000 (07:29 +0000)]
Document the headers parameter for set_tunnel.
Senthil Kumaran [Sun, 20 Dec 2009 06:05:13 +0000 (06:05 +0000)]
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Refactored HTTPHandler tests and added testcase for proxy authorization.
Ezio Melotti [Sat, 19 Dec 2009 22:41:49 +0000 (22:41 +0000)]
#7388: "python".capitalize() in the Doc
Antoine Pitrou [Sat, 19 Dec 2009 21:06:36 +0000 (21:06 +0000)]
Remove superfetatory paragraph (left there by mistake).
Antoine Pitrou [Sat, 19 Dec 2009 21:01:10 +0000 (21:01 +0000)]
Issue #7545: improve documentation of the `buffering` argument in io.open().
Georg Brandl [Sat, 19 Dec 2009 18:20:18 +0000 (18:20 +0000)]
#7480: remove tautology.
Georg Brandl [Sat, 19 Dec 2009 18:16:31 +0000 (18:16 +0000)]
#7479: add note about function availability on Unices.
Georg Brandl [Sat, 19 Dec 2009 17:43:33 +0000 (17:43 +0000)]
#7493: review of Design FAQ by Florent Xicluna.
Georg Brandl [Sat, 19 Dec 2009 17:34:32 +0000 (17:34 +0000)]
#7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().
Georg Brandl [Sat, 19 Dec 2009 17:30:28 +0000 (17:30 +0000)]
#7527: use standard versionadded tags.
Mark Dickinson [Sat, 19 Dec 2009 11:07:23 +0000 (11:07 +0000)]
Issue #3366: Add error function and complementary error function to
math module.
Vinay Sajip [Thu, 17 Dec 2009 14:52:00 +0000 (14:52 +0000)]
Issue #7529: logging: Minor correction to documentation.
Mark Dickinson [Thu, 17 Dec 2009 08:33:56 +0000 (08:33 +0000)]
Add _math.h to math module dependencies in setup.py.
Mark Dickinson [Wed, 16 Dec 2009 20:13:40 +0000 (20:13 +0000)]
Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
R. David Murray [Wed, 16 Dec 2009 11:49:46 +0000 (11:49 +0000)]
Issue #7396: fix -s, which was broken by the -j enhancement.
Benjamin Peterson [Wed, 16 Dec 2009 03:36:22 +0000 (03:36 +0000)]
remove type_compare, since type_richcompare does the same trick
Benjamin Peterson [Wed, 16 Dec 2009 03:28:52 +0000 (03:28 +0000)]
remove lib2to3 resource
Tarek Ziadé [Tue, 15 Dec 2009 06:29:19 +0000 (06:29 +0000)]
cleaned up the module (PEP 8 + old fashion test removal)
Benjamin Peterson [Tue, 15 Dec 2009 03:25:27 +0000 (03:25 +0000)]
adverb
R. David Murray [Mon, 14 Dec 2009 21:57:39 +0000 (21:57 +0000)]
Issue #7498: make test_multiprocessing use test_support.find_unused_port
instead of a hard coded port number in test_rapid_restart.
R. David Murray [Mon, 14 Dec 2009 16:28:26 +0000 (16:28 +0000)]
Issue #
1680159 : unicode coercion during an 'in' operation was masking
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context. This patch lets any errors through, as was already
done during coercion of the right hand side.