]>
granicus.if.org Git - python/log
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.
R. David Murray [Mon, 14 Dec 2009 02:50:32 +0000 (02:50 +0000)]
Clarify phrasing that explains that there are currently two branches.
Tarek Ziadé [Sun, 13 Dec 2009 23:24:13 +0000 (23:24 +0000)]
reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
Benjamin Peterson [Sun, 13 Dec 2009 21:27:53 +0000 (21:27 +0000)]
add a test of loading the datetime capi
Benjamin Peterson [Sun, 13 Dec 2009 21:21:43 +0000 (21:21 +0000)]
initialize to NULL
Benjamin Peterson [Sun, 13 Dec 2009 21:15:31 +0000 (21:15 +0000)]
avoid having to update this statement all the time
Mark Dickinson [Sun, 13 Dec 2009 21:06:06 +0000 (21:06 +0000)]
Issue #7492: Autoconf tests were leaving semaphore files behind. Add
sem_unlink calls to delete those semaphore files.
Benjamin Peterson [Sun, 13 Dec 2009 19:27:02 +0000 (19:27 +0000)]
remove unused variable
Benjamin Peterson [Sun, 13 Dec 2009 19:19:07 +0000 (19:19 +0000)]
accept None as the same as having passed no argument in file types #7349
This is for consistency with imitation file objects like StringIO and BytesIO.
This commit also adds a few tests, where they were lacking for concerned
methods.
Ezio Melotti [Sun, 13 Dec 2009 18:54:53 +0000 (18:54 +0000)]
#7342: make sure that the datetime object in test_fraction always has a number of microseconds != 0
Benjamin Peterson [Sun, 13 Dec 2009 17:31:31 +0000 (17:31 +0000)]
add NEWS note
Benjamin Peterson [Sun, 13 Dec 2009 17:29:16 +0000 (17:29 +0000)]
make StringIO like other file objects in that readline(-1) has no effect #7348
Benjamin Peterson [Sun, 13 Dec 2009 16:36:53 +0000 (16:36 +0000)]
fix the ignoring of __cmp__ method on metaclasses #7491
Antoine Pitrou [Sun, 13 Dec 2009 16:18:14 +0000 (16:18 +0000)]
Add NEWS entry as per RDM's suggestion (the bug was actually present
in 2.7 alpha 1)
Benjamin Peterson [Sun, 13 Dec 2009 14:18:08 +0000 (14:18 +0000)]
add 2.6.x point releases
Lars Gustäbel [Sun, 13 Dec 2009 11:32:27 +0000 (11:32 +0000)]
Issue #7357: No longer suppress fatal extraction errors by
default.
TarFile's errorlevel argument controls how errors are
handled that occur during extraction. There are three
possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
fatal errors (e.g. a full filesystem) are raised as
exceptions. If it is set to 0, which is the default value,
extraction errors are suppressed, and error messages are
written to the debug log instead. But, if the debug log is
not activated, which is the default as well, all these
errors go unnoticed.
The original intention was to imitate GNU tar which tries
to extract as many members as possible instead of stopping
on the first error. It turns out that this is no good
default behaviour for a tar library. This patch simply
changes the default value for the errorlevel argument from
0 to 1, so that fatal extraction errors are raised as
EnvironmentError exceptions.
Benjamin Peterson [Sun, 13 Dec 2009 00:54:15 +0000 (00:54 +0000)]
account for PyObject_IsInstance's new ability to fail
Antoine Pitrou [Sat, 12 Dec 2009 19:13:08 +0000 (19:13 +0000)]
Issue #7466: segmentation fault when the garbage collector is called
in the middle of populating a tuple. Patch by Florent Xicluna.
(note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
Mark Dickinson [Fri, 11 Dec 2009 17:29:33 +0000 (17:29 +0000)]
Issue #3366: Add lgamma function to math module.
Vinay Sajip [Fri, 11 Dec 2009 09:16:01 +0000 (09:16 +0000)]
Issue #7470: logging: fix bug in Unicode encoding fallback.
Tarek Ziadé [Thu, 10 Dec 2009 19:29:53 +0000 (19:29 +0000)]
using an existing file to avoid dealing with a sleep to test file ages
Tarek Ziadé [Thu, 10 Dec 2009 15:29:03 +0000 (15:29 +0000)]
added test coverage for distutils.dep_util, and cleaned up the module
Mark Dickinson [Thu, 10 Dec 2009 10:36:32 +0000 (10:36 +0000)]
Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
check on an unsigned type.
[*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
unsigned or signed integer type.
Ronald Oussoren [Thu, 10 Dec 2009 10:27:09 +0000 (10:27 +0000)]
Fix an issue with the detection of a non-existing SDK
on OSX. Without this patch it wasn't possible after all
to compile extensions on OSX 10.6 with the binary
installer unless the user had installed the (non-default)
10.4u SDK.
Raymond Hettinger [Thu, 10 Dec 2009 06:42:54 +0000 (06:42 +0000)]
Add a reverse() method to collections.deque().
Raymond Hettinger [Thu, 10 Dec 2009 06:00:33 +0000 (06:00 +0000)]
Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
Benjamin Peterson [Thu, 10 Dec 2009 03:37:59 +0000 (03:37 +0000)]
substitute PyDict_Check() for PyObject_IsInstance
R. David Murray [Wed, 9 Dec 2009 16:41:39 +0000 (16:41 +0000)]
Skip new imaplib SSL tests if ssl is not available.
R. David Murray [Wed, 9 Dec 2009 15:15:31 +0000 (15:15 +0000)]
Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is
missing proper end-of-line termination. Patch and tests by
Scott Dial. The new tests include a test harness which will
make it easier to add additional tests.
Antoine Pitrou [Tue, 8 Dec 2009 19:46:38 +0000 (19:46 +0000)]
Make test_pipes a little bit more robust.
Antoine Pitrou [Tue, 8 Dec 2009 19:35:12 +0000 (19:35 +0000)]
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
Antoine Pitrou [Tue, 8 Dec 2009 19:25:51 +0000 (19:25 +0000)]
Fix the transient refleaks in test_zipimport_support.
Diagnosis and original patch by Florent Xicluna (flox).
Ronald Oussoren [Tue, 8 Dec 2009 16:32:52 +0000 (16:32 +0000)]
Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
an i386 based machine, but should only be active when compiling the x86 part of
the universal binary.
Antoine Pitrou [Tue, 8 Dec 2009 15:40:51 +0000 (15:40 +0000)]
Issue #6986: Fix crash in the JSON C accelerator when called with the
wrong parameter types. Patch by Victor Stinner.
Tarek Ziadé [Tue, 8 Dec 2009 09:39:51 +0000 (09:39 +0000)]
removed the usage of rfc822 in favor of email.message.Message
Tarek Ziadé [Tue, 8 Dec 2009 08:56:49 +0000 (08:56 +0000)]
Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
Andrew M. Kuchling [Tue, 8 Dec 2009 02:37:05 +0000 (02:37 +0000)]
Typo fix; grammar fix
Benjamin Peterson [Sun, 6 Dec 2009 21:24:30 +0000 (21:24 +0000)]
fix test_parser from tokenizer tweak
Martin v. Löwis [Sun, 6 Dec 2009 18:27:29 +0000 (18:27 +0000)]
Add UUIDs for 2.7. Drop UUIDs for 2.4.
Vinay Sajip [Sun, 6 Dec 2009 18:05:04 +0000 (18:05 +0000)]
logging: Improved support for SMTP over TLS.
Vinay Sajip [Sun, 6 Dec 2009 17:57:11 +0000 (17:57 +0000)]
logging: Added optional 'secure' parameter to SMTPHandler.
Benjamin Peterson [Sun, 6 Dec 2009 17:37:48 +0000 (17:37 +0000)]
rewrite translate_newlines for clarity
Tarek Ziadé [Sun, 6 Dec 2009 09:22:40 +0000 (09:22 +0000)]
Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description field
Benjamin Peterson [Sat, 5 Dec 2009 18:48:13 +0000 (18:48 +0000)]
fix date
Benjamin Peterson [Sat, 5 Dec 2009 18:40:02 +0000 (18:40 +0000)]
post release version bump
Benjamin Peterson [Sat, 5 Dec 2009 17:48:36 +0000 (17:48 +0000)]
tag 2.7 alpha 1
Benjamin Peterson [Sat, 5 Dec 2009 17:47:56 +0000 (17:47 +0000)]
bump version to 2.7a1
Benjamin Peterson [Sat, 5 Dec 2009 17:46:33 +0000 (17:46 +0000)]
move RPM spec for 2.7
Benjamin Peterson [Sat, 5 Dec 2009 17:45:40 +0000 (17:45 +0000)]
regenerate pydoc_topics
Mark Dickinson [Fri, 4 Dec 2009 11:30:16 +0000 (11:30 +0000)]
Add missing issue number in Misc/NEWS entry.
Mark Dickinson [Fri, 4 Dec 2009 11:24:38 +0000 (11:24 +0000)]
Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c).