]> granicus.if.org Git - python/log
python
13 years agoIssue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
Ned Deily [Mon, 31 Oct 2011 03:05:30 +0000 (20:05 -0700)]
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)

13 years agoIssue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
Ned Deily [Mon, 31 Oct 2011 03:01:35 +0000 (20:01 -0700)]
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)

13 years agomerge with 3.2
Sandro Tosi [Mon, 31 Oct 2011 01:42:06 +0000 (02:42 +0100)]
merge with 3.2

13 years agocaught is the right pp of catch; thanks to Don Bennett from docs@
Sandro Tosi [Mon, 31 Oct 2011 01:41:06 +0000 (02:41 +0100)]
caught is the right pp of catch; thanks to Don Bennett from docs@

13 years agoLet's assume that the datetime module is always available.
Florent Xicluna [Sun, 30 Oct 2011 22:54:17 +0000 (23:54 +0100)]
Let's assume that the datetime module is always available.

13 years agoPort import_module_level to Unicode API.
Martin v. Löwis [Sun, 30 Oct 2011 22:50:02 +0000 (23:50 +0100)]
Port import_module_level to Unicode API.

13 years agoMerge
Raymond Hettinger [Sun, 30 Oct 2011 22:07:01 +0000 (15:07 -0700)]
Merge

13 years agoImprove itertools docs with clearer examples of pure python equivalent code.
Raymond Hettinger [Sun, 30 Oct 2011 22:06:14 +0000 (15:06 -0700)]
Improve itertools docs with clearer examples of pure python equivalent code.

13 years agoMerge
Raymond Hettinger [Sun, 30 Oct 2011 21:33:31 +0000 (14:33 -0700)]
Merge

13 years agoIssue 13274: Make the pure python code for heapq more closely match the C implementa...
Raymond Hettinger [Sun, 30 Oct 2011 21:32:54 +0000 (14:32 -0700)]
Issue 13274:  Make the pure python code for heapq more closely match the C implementation for an undefined corner case.

13 years agoFix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone...
Florent Xicluna [Sun, 30 Oct 2011 19:39:24 +0000 (20:39 +0100)]
Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone xmlrpc.server.

13 years agoMerge heads
Florent Xicluna [Sun, 30 Oct 2011 19:26:28 +0000 (20:26 +0100)]
Merge heads

13 years agoMerge heads
Florent Xicluna [Sun, 30 Oct 2011 19:25:29 +0000 (20:25 +0100)]
Merge heads

13 years agoMerge 3.2
Florent Xicluna [Sun, 30 Oct 2011 19:24:40 +0000 (20:24 +0100)]
Merge 3.2

13 years agoIssue #13293: Better error message when trying to marshal bytes using xmlrpc.client.
Florent Xicluna [Sun, 30 Oct 2011 19:22:25 +0000 (20:22 +0100)]
Issue #13293: Better error message when trying to marshal bytes using xmlrpc.client.

13 years agoCleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.
Florent Xicluna [Sun, 30 Oct 2011 19:19:32 +0000 (20:19 +0100)]
Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.

13 years agoCloses #13291: NameError in xmlrpc package.
Florent Xicluna [Sun, 30 Oct 2011 19:18:50 +0000 (20:18 +0100)]
Closes #13291: NameError in xmlrpc package.

13 years agoAdd Misc/NEWS entry for issue #10519
Petri Lehtinen [Sun, 30 Oct 2011 19:18:25 +0000 (21:18 +0200)]
Add Misc/NEWS entry for issue #10519

13 years agoAdd Misc/NEWS entry for issue #10519
Petri Lehtinen [Sun, 30 Oct 2011 18:59:10 +0000 (20:59 +0200)]
Add Misc/NEWS entry for issue #10519

13 years agomerge 3.2
Benjamin Peterson [Sun, 30 Oct 2011 18:24:59 +0000 (14:24 -0400)]
merge 3.2

13 years agoremove unused variable
Benjamin Peterson [Sun, 30 Oct 2011 18:24:44 +0000 (14:24 -0400)]
remove unused variable

13 years agoIssue #10363: Deallocate global locks in Py_Finalize().
Antoine Pitrou [Sun, 30 Oct 2011 18:14:46 +0000 (19:14 +0100)]
Issue #10363: Deallocate global locks in Py_Finalize().

13 years agoIssue #10363: Deallocate global locks in Py_Finalize().
Antoine Pitrou [Sun, 30 Oct 2011 18:13:55 +0000 (19:13 +0100)]
Issue #10363: Deallocate global locks in Py_Finalize().

13 years agoFix the return value of set_discard (issue #10519)
Petri Lehtinen [Sun, 30 Oct 2011 12:35:39 +0000 (14:35 +0200)]
Fix the return value of set_discard (issue #10519)

13 years agoFix the return value of set_discard (issue #10519)
Petri Lehtinen [Sun, 30 Oct 2011 12:31:27 +0000 (14:31 +0200)]
Fix the return value of set_discard (issue #10519)

13 years agoAvoid unnecessary recursive function calls (#closes #10519)
Petri Lehtinen [Sun, 30 Oct 2011 11:57:45 +0000 (13:57 +0200)]
Avoid unnecessary recursive function calls (#closes #10519)

13 years agoAvoid unnecessary recursive function calls (closes #10519)
Petri Lehtinen [Sun, 30 Oct 2011 11:56:41 +0000 (13:56 +0200)]
Avoid unnecessary recursive function calls (closes #10519)

13 years agoPort PyImport_ReloadModule to Unicode API.
Martin v. Löwis [Sun, 30 Oct 2011 08:07:07 +0000 (09:07 +0100)]
Port PyImport_ReloadModule to Unicode API.

13 years agoMerge the button to show/hide the prompts and output from 3.2.
Ezio Melotti [Sun, 30 Oct 2011 07:37:46 +0000 (09:37 +0200)]
Merge the button to show/hide the prompts and output from 3.2.

13 years agoAdd a button to the code examples in the doc to show/hide the prompts and output.
Ezio Melotti [Sun, 30 Oct 2011 07:20:19 +0000 (09:20 +0200)]
Add a button to the code examples in the doc to show/hide the prompts and output.

13 years agoIssue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...
Charles-François Natali [Sat, 29 Oct 2011 12:29:39 +0000 (14:29 +0200)]
Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...

13 years agoIssue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
Charles-François Natali [Sat, 29 Oct 2011 10:45:56 +0000 (12:45 +0200)]
Issue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
by Xavier de Gaye.

13 years ago#13289: merge with 3.2.
Ezio Melotti [Sat, 29 Oct 2011 07:44:59 +0000 (10:44 +0300)]
#13289: merge with 3.2.

13 years ago#13289: fix typo.
Ezio Melotti [Sat, 29 Oct 2011 07:41:51 +0000 (10:41 +0300)]
#13289: fix typo.

13 years agobring is_integer into tested existence
Benjamin Peterson [Fri, 28 Oct 2011 23:42:48 +0000 (19:42 -0400)]
bring is_integer into tested existence

13 years ago- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
Barry Warsaw [Fri, 28 Oct 2011 21:02:27 +0000 (17:02 -0400)]
- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.

13 years ago- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
Barry Warsaw [Fri, 28 Oct 2011 20:52:17 +0000 (16:52 -0400)]
- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.

13 years agoDocumentation typo
Florent Xicluna [Fri, 28 Oct 2011 20:14:41 +0000 (22:14 +0200)]
Documentation typo

13 years agoI should be someone
Florent Xicluna [Fri, 28 Oct 2011 20:03:55 +0000 (22:03 +0200)]
I should be someone

13 years agoRemove unused variable.
Florent Xicluna [Fri, 28 Oct 2011 13:00:50 +0000 (15:00 +0200)]
Remove unused variable.

13 years agoCloses #13258: Use callable() built-in in the standard library.
Florent Xicluna [Fri, 28 Oct 2011 12:45:05 +0000 (14:45 +0200)]
Closes #13258: Use callable() built-in in the standard library.

13 years agoImprove HTMLParser example in the doc and fix a couple minor things.
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.

13 years ago#13273: fix a bug that prevented HTMLParser to properly detect some tags when strict...
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.

13 years agoMerge heads.
Ezio Melotti [Fri, 28 Oct 2011 09:32:53 +0000 (12:32 +0300)]
Merge heads.

13 years ago#13278: fix typo.
Ezio Melotti [Fri, 28 Oct 2011 09:22:25 +0000 (12:22 +0300)]
#13278: fix typo.

13 years agoFixes #13270: obsolete reference to old-style/new-style classes.
Florent Xicluna [Fri, 28 Oct 2011 09:21:19 +0000 (11:21 +0200)]
Fixes #13270: obsolete reference to old-style/new-style classes.

13 years agoAdded lost documentation cross-reference.
Vinay Sajip [Thu, 27 Oct 2011 16:50:55 +0000 (17:50 +0100)]
Added lost documentation cross-reference.

13 years agoIssue #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

13 years agoRefactor a bit the codecs doc.
Ezio Melotti [Tue, 25 Oct 2011 07:40:38 +0000 (10:40 +0300)]
Refactor a bit the codecs doc.

13 years agoFix typo.
Ezio Melotti [Tue, 25 Oct 2011 06:41:13 +0000 (09:41 +0300)]
Fix typo.

13 years agomerge heads
Benjamin Peterson [Tue, 25 Oct 2011 04:04:37 +0000 (00:04 -0400)]
merge heads

13 years agodocument __bytes__ special method (closes #13259)
Benjamin Peterson [Tue, 25 Oct 2011 04:03:51 +0000 (00:03 -0400)]
document __bytes__ special method (closes #13259)

13 years agomerge heads
Petri Lehtinen [Mon, 24 Oct 2011 18:24:58 +0000 (21:24 +0300)]
merge heads

13 years agoIssue #13018: Fix reference leaks in error paths in dictobject.c.
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.

13 years agoIssue #10332: multiprocessing: fix a race condition when a Pool is closed
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.

13 years agonote callable is back in 3.2
Benjamin Peterson [Mon, 24 Oct 2011 12:51:15 +0000 (08:51 -0400)]
note callable is back in 3.2

13 years agoIssue #13255: wrong docstrings in array module.
Florent Xicluna [Mon, 24 Oct 2011 11:14:55 +0000 (13:14 +0200)]
Issue #13255: wrong docstrings in array module.

13 years agoIssue 13141: Demonstrate recommended style for socketserver examples.
Florent Xicluna [Sun, 23 Oct 2011 20:40:37 +0000 (22:40 +0200)]
Issue 13141: Demonstrate recommended style for socketserver examples.

13 years agoPyUnicode_AsUnicodeCopy() uses PyUnicode_AsUnicodeAndSize() to get directly the length
Victor Stinner [Sun, 23 Oct 2011 18:10:08 +0000 (20:10 +0200)]
PyUnicode_AsUnicodeCopy() uses PyUnicode_AsUnicodeAndSize() to get directly the length

13 years agoFix PyUnicode_InternImmortal(): PyUnicode_InternInPlace() may changes *p
Victor Stinner [Sun, 23 Oct 2011 18:07:00 +0000 (20:07 +0200)]
Fix PyUnicode_InternImmortal(): PyUnicode_InternInPlace() may changes *p

13 years agoCast directly to unsigned char, instead of using Py_CHARMASK
Victor Stinner [Sun, 23 Oct 2011 18:06:00 +0000 (20:06 +0200)]
Cast directly to unsigned char, instead of using Py_CHARMASK

We don't need "& 0xff" on an unsigned char.

13 years agoReplace PyUnicodeObject* by PyObject* where it was irrevelant
Victor Stinner [Sun, 23 Oct 2011 18:04:37 +0000 (20:04 +0200)]
Replace PyUnicodeObject* by PyObject* where it was irrevelant

A Unicode string can now be a PyASCIIObject, PyCompactUnicodeObject or
PyUnicodeObject. Aliasing a PyASCIIObject* or PyCompactUnicodeObject* to
PyUnicodeObject* is wrong

13 years agoAdd the green "New reference" note to the doc of PyException_GetTraceback()
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()

13 years agoFix data variable in _PyUnicode_Dump() for compact ASCII
Victor Stinner [Sun, 23 Oct 2011 17:47:19 +0000 (19:47 +0200)]
Fix data variable in _PyUnicode_Dump() for compact ASCII

13 years agoRemove last references to the removed Unicode free list
Victor Stinner [Sun, 23 Oct 2011 17:43:33 +0000 (19:43 +0200)]
Remove last references to the removed Unicode free list

13 years agomerge 3.2
Benjamin Peterson [Fri, 28 Oct 2011 23:44:00 +0000 (19:44 -0400)]
merge 3.2

13 years ago- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
Barry Warsaw [Fri, 28 Oct 2011 21:08:12 +0000 (17:08 -0400)]
- Issue #13218: Fix test_ssl failures on Debian/Ubuntu.

13 years agoMerge 3.2
Florent Xicluna [Fri, 28 Oct 2011 20:16:23 +0000 (22:16 +0200)]
Merge 3.2

13 years agoMerge 3.2
Florent Xicluna [Fri, 28 Oct 2011 20:05:12 +0000 (22:05 +0200)]
Merge 3.2

13 years agoRemove no-op code from previous commit.
Florent Xicluna [Fri, 28 Oct 2011 19:58:56 +0000 (21:58 +0200)]
Remove no-op code from previous commit.

13 years agoSimplify and remove few dependencies on 'errno', thanks to PEP 3151.
Florent Xicluna [Fri, 28 Oct 2011 14:06:23 +0000 (16:06 +0200)]
Simplify and remove few dependencies on 'errno', thanks to PEP 3151.

13 years agoMerge 3.2 (linked to issue #1294232)
Florent Xicluna [Fri, 28 Oct 2011 13:06:13 +0000 (15:06 +0200)]
Merge 3.2 (linked to issue #1294232)

13 years agoMerge 3.2
Florent Xicluna [Fri, 28 Oct 2011 12:52:29 +0000 (14:52 +0200)]
Merge 3.2

13 years agoMerge HTMLParser doc changes from 3.2.
Ezio Melotti [Fri, 28 Oct 2011 11:36:11 +0000 (14:36 +0300)]
Merge HTMLParser doc changes from 3.2.

13 years ago#13273: merge with 3.2.
Ezio Melotti [Fri, 28 Oct 2011 10:23:57 +0000 (13:23 +0300)]
#13273: merge with 3.2.

13 years ago#13278: merge with 3.2.
Ezio Melotti [Fri, 28 Oct 2011 09:33:27 +0000 (12:33 +0300)]
#13278: merge with 3.2.

13 years agoMerge 3.2
Florent Xicluna [Fri, 28 Oct 2011 09:23:25 +0000 (11:23 +0200)]
Merge 3.2

13 years agoFix typo
Antoine Pitrou [Thu, 27 Oct 2011 22:01:03 +0000 (00:01 +0200)]
Fix typo

13 years agoUpdate example of non-blocking SSL code for the new finer-grained exceptions
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

13 years agoIssue #11183: Add finer-grained exceptions to the ssl module, so that
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.

13 years agoMerged documentation fix from 3.2.
Vinay Sajip [Thu, 27 Oct 2011 16:53:19 +0000 (17:53 +0100)]
Merged documentation fix from 3.2.

13 years agoadd a test for an assertion with tuple msg
Benjamin Peterson [Thu, 27 Oct 2011 12:20:01 +0000 (08:20 -0400)]
add a test for an assertion with tuple msg

13 years agoPyUnicode_FSDecoder() ensures that the decoded string is ready
Victor Stinner [Wed, 26 Oct 2011 23:56:33 +0000 (01:56 +0200)]
PyUnicode_FSDecoder() ensures that the decoded string is ready

13 years agoFix the issue number of my cp65001 commit: 13247 => issue #13216
Victor Stinner [Wed, 26 Oct 2011 23:43:48 +0000 (01:43 +0200)]
Fix the issue number of my cp65001 commit: 13247 => issue #13216

13 years agoClose #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)
Victor Stinner [Wed, 26 Oct 2011 23:38:56 +0000 (01:38 +0200)]
Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)

13 years agoIssue #10860: Skip the new test if HTTPS is not available
Petri Lehtinen [Wed, 26 Oct 2011 18:29:54 +0000 (21:29 +0300)]
Issue #10860: Skip the new test if HTTPS is not available

13 years agoChanged warn() to warning() in logging tests.
Vinay Sajip [Wed, 26 Oct 2011 12:17:20 +0000 (13:17 +0100)]
Changed warn() to warning() in logging tests.

13 years agoFix typo in NEWS
Victor Stinner [Tue, 25 Oct 2011 23:42:30 +0000 (01:42 +0200)]
Fix typo in NEWS

13 years agoFix typos.
Ezio Melotti [Tue, 25 Oct 2011 14:22:22 +0000 (17:22 +0300)]
Fix typos.

13 years agoIssue #12619: Expose socket.SO_BINDTODEVICE constant
Victor Stinner [Tue, 25 Oct 2011 11:45:48 +0000 (13:45 +0200)]
Issue #12619: Expose socket.SO_BINDTODEVICE constant

13 years agoIssue #13226: Add RTLD_xxx constants to the os module. These constants can by
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().

13 years agoClose #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
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

13 years agoMerge the codecs doc refactoring with 3.2.
Ezio Melotti [Tue, 25 Oct 2011 07:41:37 +0000 (10:41 +0300)]
Merge the codecs doc refactoring with 3.2.

13 years agoRemove mention of narrow/wide builds in 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.

13 years agoRemove mention of narrow/wide builds and update array doc, add a test.
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.

13 years agoNull merge with 3.2.
Ezio Melotti [Tue, 25 Oct 2011 06:42:01 +0000 (09:42 +0300)]
Null merge with 3.2.

13 years agoRemove mention of narrow/wide builds from ord/chr doc.
Ezio Melotti [Tue, 25 Oct 2011 06:32:34 +0000 (09:32 +0300)]
Remove mention of narrow/wide builds from ord/chr doc.

13 years ago#13251: update string description in datamodel.rst.
Ezio Melotti [Tue, 25 Oct 2011 06:23:42 +0000 (09:23 +0300)]
#13251: update string description in datamodel.rst.

13 years agomerge 3.2
Benjamin Peterson [Tue, 25 Oct 2011 04:07:05 +0000 (00:07 -0400)]
merge 3.2

13 years agomerge heads
Benjamin Peterson [Tue, 25 Oct 2011 04:06:15 +0000 (00:06 -0400)]
merge heads