]>
granicus.if.org Git - python/log
Florent Xicluna [Fri, 28 Oct 2011 14:06:23 +0000 (16:06 +0200)]
Simplify and remove few dependencies on 'errno', thanks to PEP 3151.
Florent Xicluna [Fri, 28 Oct 2011 13:06:13 +0000 (15:06 +0200)]
Merge 3.2 (linked to issue #
1294232 )
Florent Xicluna [Fri, 28 Oct 2011 13:00:50 +0000 (15:00 +0200)]
Remove unused variable.
Florent Xicluna [Fri, 28 Oct 2011 12:52:29 +0000 (14:52 +0200)]
Merge 3.2
Florent Xicluna [Fri, 28 Oct 2011 12:45:05 +0000 (14:45 +0200)]
Closes #13258: Use callable() built-in in the standard library.
Ezio Melotti [Fri, 28 Oct 2011 11:36:11 +0000 (14:36 +0300)]
Merge HTMLParser doc changes from 3.2.
Ezio Melotti [Fri, 28 Oct 2011 11:34:56 +0000 (14:34 +0300)]
Improve HTMLParser example in the doc and fix a couple minor things.
Ezio Melotti [Fri, 28 Oct 2011 10:23:57 +0000 (13:23 +0300)]
#13273: merge with 3.2.
Ezio Melotti [Fri, 28 Oct 2011 10:21:09 +0000 (13:21 +0300)]
#13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False.
Ezio Melotti [Fri, 28 Oct 2011 09:33:27 +0000 (12:33 +0300)]
#13278: merge with 3.2.
Ezio Melotti [Fri, 28 Oct 2011 09:32:53 +0000 (12:32 +0300)]
Merge heads.
Florent Xicluna [Fri, 28 Oct 2011 09:23:25 +0000 (11:23 +0200)]
Merge 3.2
Ezio Melotti [Fri, 28 Oct 2011 09:22:25 +0000 (12:22 +0300)]
#13278: fix typo.
Florent Xicluna [Fri, 28 Oct 2011 09:21:19 +0000 (11:21 +0200)]
Fixes #13270: obsolete reference to old-style/new-style classes.
Antoine Pitrou [Thu, 27 Oct 2011 22:01:03 +0000 (00:01 +0200)]
Fix typo
Antoine Pitrou [Thu, 27 Oct 2011 21:59:03 +0000 (23:59 +0200)]
Update example of non-blocking SSL code for the new finer-grained exceptions
Antoine Pitrou [Thu, 27 Oct 2011 21:56:55 +0000 (23:56 +0200)]
Issue #11183: Add finer-grained exceptions to the ssl module, so that
you don't have to inspect the exception's attributes in the common case.
Vinay Sajip [Thu, 27 Oct 2011 16:53:19 +0000 (17:53 +0100)]
Merged documentation fix from 3.2.
Vinay Sajip [Thu, 27 Oct 2011 16:50:55 +0000 (17:50 +0100)]
Added lost documentation cross-reference.
Benjamin Peterson [Thu, 27 Oct 2011 12:20:01 +0000 (08:20 -0400)]
add a test for an assertion with tuple msg
Victor Stinner [Wed, 26 Oct 2011 23:56:33 +0000 (01:56 +0200)]
PyUnicode_FSDecoder() ensures that the decoded string is ready
Victor Stinner [Wed, 26 Oct 2011 23:43:48 +0000 (01:43 +0200)]
Fix the issue number of my cp65001 commit: 13247 => issue #13216
Victor Stinner [Wed, 26 Oct 2011 23:38:56 +0000 (01:38 +0200)]
Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)
Petri Lehtinen [Wed, 26 Oct 2011 18:29:54 +0000 (21:29 +0300)]
Issue #10860: Skip the new test if HTTPS is not available
Petri Lehtinen [Wed, 26 Oct 2011 18:29:15 +0000 (21:29 +0300)]
Issue #10860: Skip the new test if HTTPS is not available
Vinay Sajip [Wed, 26 Oct 2011 12:17:20 +0000 (13:17 +0100)]
Changed warn() to warning() in logging tests.
Victor Stinner [Tue, 25 Oct 2011 23:42:30 +0000 (01:42 +0200)]
Fix typo in NEWS
Ezio Melotti [Tue, 25 Oct 2011 14:22:22 +0000 (17:22 +0300)]
Fix typos.
Victor Stinner [Tue, 25 Oct 2011 11:45:48 +0000 (13:45 +0200)]
Issue #12619: Expose socket.SO_BINDTODEVICE constant
Victor Stinner [Tue, 25 Oct 2011 11:34:04 +0000 (13:34 +0200)]
Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
Victor Stinner [Tue, 25 Oct 2011 11:06:09 +0000 (13:06 +0200)]
Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
Ezio Melotti [Tue, 25 Oct 2011 07:41:37 +0000 (10:41 +0300)]
Merge the codecs doc refactoring with 3.2.
Ezio Melotti [Tue, 25 Oct 2011 07:40:38 +0000 (10:40 +0300)]
Refactor a bit the codecs doc.
Ezio Melotti [Tue, 25 Oct 2011 07:30:19 +0000 (10:30 +0300)]
Remove mention of narrow/wide builds in the codecs doc.
Ezio Melotti [Tue, 25 Oct 2011 07:05:34 +0000 (10:05 +0300)]
Remove mention of narrow/wide builds and update array doc, add a test.
Ezio Melotti [Tue, 25 Oct 2011 06:42:01 +0000 (09:42 +0300)]
Null merge with 3.2.
Ezio Melotti [Tue, 25 Oct 2011 06:41:13 +0000 (09:41 +0300)]
Fix typo.
Ezio Melotti [Tue, 25 Oct 2011 06:32:34 +0000 (09:32 +0300)]
Remove mention of narrow/wide builds from ord/chr doc.
Ezio Melotti [Tue, 25 Oct 2011 06:23:42 +0000 (09:23 +0300)]
#13251: update string description in datamodel.rst.
Benjamin Peterson [Tue, 25 Oct 2011 04:07:05 +0000 (00:07 -0400)]
merge 3.2
Benjamin Peterson [Tue, 25 Oct 2011 04:06:15 +0000 (00:06 -0400)]
merge heads
Benjamin Peterson [Tue, 25 Oct 2011 04:04:37 +0000 (00:04 -0400)]
merge heads
Benjamin Peterson [Tue, 25 Oct 2011 04:04:10 +0000 (00:04 -0400)]
merge 3.2 (#13259)
Benjamin Peterson [Tue, 25 Oct 2011 04:03:51 +0000 (00:03 -0400)]
document __bytes__ special method (closes #13259)
Antoine Pitrou [Mon, 24 Oct 2011 22:21:02 +0000 (00:21 +0200)]
Fix test_imp failure under Windows
Petri Lehtinen [Mon, 24 Oct 2011 18:24:58 +0000 (21:24 +0300)]
merge heads
Petri Lehtinen [Mon, 24 Oct 2011 18:22:39 +0000 (21:22 +0300)]
merge heads
Petri Lehtinen [Mon, 24 Oct 2011 18:17:52 +0000 (21:17 +0300)]
Merge 3.2
Petri Lehtinen [Mon, 24 Oct 2011 18:12:58 +0000 (21:12 +0300)]
Issue #13018: Fix reference leaks in error paths in dictobject.c.
Patch by Suman Saha.
Charles-François Natali [Mon, 24 Oct 2011 16:47:43 +0000 (18:47 +0200)]
Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
Charles-François Natali [Mon, 24 Oct 2011 16:45:29 +0000 (18:45 +0200)]
Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
Benjamin Peterson [Mon, 24 Oct 2011 12:52:30 +0000 (08:52 -0400)]
merge 3.2
Benjamin Peterson [Mon, 24 Oct 2011 12:51:15 +0000 (08:51 -0400)]
note callable is back in 3.2
Florent Xicluna [Mon, 24 Oct 2011 11:17:27 +0000 (13:17 +0200)]
Merge 3.2.
Florent Xicluna [Mon, 24 Oct 2011 11:14:55 +0000 (13:14 +0200)]
Issue #13255: wrong docstrings in array module.
Mark Dickinson [Mon, 24 Oct 2011 09:31:52 +0000 (10:31 +0100)]
Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module.
Antoine Pitrou [Sun, 23 Oct 2011 22:25:41 +0000 (00:25 +0200)]
Improve the porting section
Antoine Pitrou [Sun, 23 Oct 2011 22:14:43 +0000 (00:14 +0200)]
Improve / clean up the PEP 393 description
Antoine Pitrou [Sun, 23 Oct 2011 22:07:02 +0000 (00:07 +0200)]
Improve description of PEP 3151
Antoine Pitrou [Sun, 23 Oct 2011 21:52:23 +0000 (23:52 +0200)]
Mention InterruptedError in the doc for new function signal.sigwaitinfo
Antoine Pitrou [Sun, 23 Oct 2011 21:50:21 +0000 (23:50 +0200)]
Merge
Antoine Pitrou [Sun, 23 Oct 2011 21:49:42 +0000 (23:49 +0200)]
Use InterruptedError instead of checking for EINTR
Ezio Melotti [Sun, 23 Oct 2011 21:44:03 +0000 (00:44 +0300)]
Use ``...`` for string literals.
Florent Xicluna [Sun, 23 Oct 2011 21:37:46 +0000 (23:37 +0200)]
Fix documentation formatting.
Florent Xicluna [Sun, 23 Oct 2011 20:47:56 +0000 (22:47 +0200)]
Merge heads
Florent Xicluna [Sun, 23 Oct 2011 20:44:19 +0000 (22:44 +0200)]
Merge 3.2
Ezio Melotti [Sun, 23 Oct 2011 20:42:51 +0000 (23:42 +0300)]
Remove obsolete FAQ.
Florent Xicluna [Sun, 23 Oct 2011 20:40:37 +0000 (22:40 +0200)]
Issue 13141: Demonstrate recommended style for socketserver examples.
Florent Xicluna [Sun, 23 Oct 2011 20:23:57 +0000 (22:23 +0200)]
Documentation typo.
Florent Xicluna [Sun, 23 Oct 2011 20:11:00 +0000 (22:11 +0200)]
Cleanup code: remove int/long idioms and simplify a while statement.
Mark Dickinson [Sun, 23 Oct 2011 19:47:14 +0000 (20:47 +0100)]
Issue #12965: Fix some inaccurate comments in Objects/longobject.c. Thanks Stefan Krah.
Mark Dickinson [Sun, 23 Oct 2011 19:07:13 +0000 (20:07 +0100)]
Issue #10925: Add equivalent pure Python code for the builtin int-to-float conversion to test_long.
Mark Dickinson [Sun, 23 Oct 2011 18:53:01 +0000 (19:53 +0100)]
Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch.
Petri Lehtinen [Sun, 23 Oct 2011 18:07:50 +0000 (21:07 +0300)]
Merge 3.2
Petri Lehtinen [Sun, 23 Oct 2011 18:03:33 +0000 (21:03 +0300)]
Add the green "New reference" note to the doc of PyException_GetTraceback()
Martin v. Löwis [Sun, 23 Oct 2011 16:45:16 +0000 (18:45 +0200)]
Rewrite find_module_path using unicode API.
Martin v. Löwis [Sun, 23 Oct 2011 16:41:56 +0000 (18:41 +0200)]
Fix off-by-one error.
Martin v. Löwis [Sun, 23 Oct 2011 16:08:20 +0000 (18:08 +0200)]
Drop unused macros. Use CACHEDIR consistently.
Martin v. Löwis [Sun, 23 Oct 2011 16:05:06 +0000 (18:05 +0200)]
Rewrite make_source_pathname using Unicode API.
Martin v. Löwis [Sun, 23 Oct 2011 15:35:46 +0000 (17:35 +0200)]
Add ready checks for make_compiled_pathname.
Martin v. Löwis [Sun, 23 Oct 2011 15:29:08 +0000 (17:29 +0200)]
Reformulate make_compiled_pathname in terms of unicode objects.
Nick Coghlan [Sun, 23 Oct 2011 12:36:42 +0000 (22:36 +1000)]
Merge issue
1294232 patch from 3.2
Nick Coghlan [Sun, 23 Oct 2011 12:04:16 +0000 (22:04 +1000)]
Issue
1294232 : Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban.
Antoine Pitrou [Sat, 22 Oct 2011 21:41:52 +0000 (23:41 +0200)]
Add a docstring to SSLError
Antoine Pitrou [Sat, 22 Oct 2011 21:37:51 +0000 (23:37 +0200)]
Use PyExc_OSError directly instead of grabbing it from the socket module API
Antoine Pitrou [Sat, 22 Oct 2011 20:08:46 +0000 (22:08 +0200)]
Add missing prefixes
Antoine Pitrou [Sat, 22 Oct 2011 20:08:05 +0000 (22:08 +0200)]
Elaborate on representations and canonical/legacy unicode objects
Antoine Pitrou [Sat, 22 Oct 2011 19:56:20 +0000 (21:56 +0200)]
Move deprecated functions at the end of their respective sections.
Meador Inge [Sat, 22 Oct 2011 19:06:50 +0000 (14:06 -0500)]
Issue 13243: Rename _Py_identifier to _Py_IDENTIFIER in asdl_c.py
Parser/asdl_c.py was missed in commit
7109f31300fb when _Py_identifier
was replaced with _Py_IDENTIFIER. Thanks to Eric Snow for the patch.
Éric Araujo [Sat, 22 Oct 2011 17:29:48 +0000 (19:29 +0200)]
Avoid relying on the default reST role in logging library doc
Vinay Sajip [Sat, 22 Oct 2011 12:34:48 +0000 (13:34 +0100)]
Closes #13235: Changed PendingDeprecationWarning to DeprecationWarning.
Victor Stinner [Sat, 22 Oct 2011 09:08:10 +0000 (11:08 +0200)]
Fix unicode_subtype_new() on debug build
Patch written by Stefan Behnel.
Éric Araujo [Fri, 21 Oct 2011 23:44:36 +0000 (01:44 +0200)]
Fix text duplication. Spotted by Nick Coghlan, thanks!
Ezio Melotti [Fri, 21 Oct 2011 22:01:32 +0000 (01:01 +0300)]
Remove unused variable.
Ezio Melotti [Fri, 21 Oct 2011 21:24:17 +0000 (00:24 +0300)]
#12753: fix compilation on Windows.
Ezio Melotti [Fri, 21 Oct 2011 18:57:36 +0000 (21:57 +0300)]
#12753: Add support for Unicode name aliases and named sequences.
Éric Araujo [Fri, 21 Oct 2011 13:52:10 +0000 (15:52 +0200)]
Banch merge
Vinay Sajip [Fri, 21 Oct 2011 06:33:42 +0000 (07:33 +0100)]
Closes #13235: Added deprecation for warn() methods and function in logging.
Éric Araujo [Fri, 21 Oct 2011 05:56:32 +0000 (07:56 +0200)]
Add tests for packaging.tests.support (#12659).
Thanks to Francisco Martín Brugué for the patch.
Éric Araujo [Fri, 21 Oct 2011 05:34:00 +0000 (07:34 +0200)]
Document that packaging doesn’t create __init__.py files (#3902).
The bug reported expected distutils to create an __init__.py file for a
project using only C extension modules. IMO, how Python imports
packages and submodules is well documented, and it’s never suggested
that distutils might create an __init__.py file, so I’m adding this
clarification to the packaging docs but won’t backport unless other
people tell me they shared the same wrong expectation.
Thanks to Mike Hoy for his help with the patch.